//Auto-generated by /usr/bin/smokegen. DO NOT EDIT.
#include <plasma_includes.h>
#include <typeinfo>

#include <smoke.h>
#include <plasma_smoke.h>

class __internal_SmokeClass {};

namespace __smokeplasma {

class x_Plasma__Label : public Plasma::Label, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__Label*)this)->Plasma::Label::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__Label*)this)->metaObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            void* xret = this->Plasma::Label::qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static QString tr(const char*, const char*)
        QString xret = Plasma::Label::tr((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*)
        QString xret = Plasma::Label::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString tr(const char*, const char*, int)
        QString xret = Plasma::Label::tr((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*, int)
        QString xret = Plasma::Label::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            int xret = this->Plasma::Label::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // Plasma::Label* Label(QGraphicsWidget*)
        x_Plasma__Label* xret = new x_Plasma__Label((QGraphicsWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Label(QGraphicsWidget* x1) : Label(x1) {}
    void x_9(Smoke::Stack x) {
        // void setText(const QString&)
        this->Plasma::Label::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_Plasma__Label*)this)->Plasma::Label::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setImage(const QString&)
        this->Plasma::Label::setImage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString image() const
        QString xret = ((const x_Plasma__Label*)this)->Plasma::Label::image();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->Plasma::Label::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_Plasma__Label*)this)->Plasma::Label::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_15(Smoke::Stack x) {
        // void setScaledContents(bool)
        this->Plasma::Label::setScaledContents((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // bool hasScaledContents() const
        bool xret = ((const x_Plasma__Label*)this)->Plasma::Label::hasScaledContents();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setTextSelectable(bool)
        this->Plasma::Label::setTextSelectable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool textSelectable() const
        bool xret = ((const x_Plasma__Label*)this)->Plasma::Label::textSelectable();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setWordWrap(bool)
        this->Plasma::Label::setWordWrap((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool wordWrap() const
        bool xret = ((const x_Plasma__Label*)this)->Plasma::Label::wordWrap();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setStyleSheet(const QString&)
        this->Plasma::Label::setStyleSheet(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QString styleSheet()
        QString xret = this->Plasma::Label::styleSheet();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_23(Smoke::Stack x) {
        // QLabel* nativeWidget() const
        QLabel* xret = ((const x_Plasma__Label*)this)->Plasma::Label::nativeWidget();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void linkActivated(const QString&)
        this->Plasma::Label::linkActivated(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void linkHovered(const QString&)
        this->Plasma::Label::linkHovered(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void dataUpdated(const QString&, const Plasma::DataEngine::Data&)
        this->Plasma::Label::dataUpdated(*(const QString*)x[1].s_class,*(const Plasma::DataEngine::Data*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void resizeEvent(QGraphicsSceneResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            this->Plasma::Label::resizeEvent((QGraphicsSceneResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QGraphicsSceneResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // void mousePressEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            this->Plasma::Label::mousePressEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // void mouseMoveEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            this->Plasma::Label::mouseMoveEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_30(Smoke::Stack x) {
        // void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            this->Plasma::Label::paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_31(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            this->Plasma::Label::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            bool xret = this->Plasma::Label::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_33(Smoke::Stack x) {
        // QVariant itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            QVariant xret = this->Plasma::Label::itemChange((QGraphicsItem::GraphicsItemChange)x[1].s_enum,*(const QVariant*)x[2].s_class);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = this->itemChange((QGraphicsItem::GraphicsItemChange)x[1].s_enum,*(const QVariant*)x[2].s_class);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_34(Smoke::Stack x) {
        // void contextMenuEvent(QGraphicsSceneContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            this->Plasma::Label::contextMenuEvent((QGraphicsSceneContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QGraphicsSceneContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_35(Smoke::Stack x) {
        // QSizeF sizeHint(Qt::SizeHint, const QSizeF&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Label*>(this))) {
            QSizeF xret = ((const x_Plasma__Label*)this)->Plasma::Label::sizeHint((Qt::SizeHint)x[1].s_enum,*(const QSizeF*)x[2].s_class);
            x[0].s_class = (void*)new QSizeF(xret);
        } else {
            QSizeF xret = ((const x_Plasma__Label*)this)->sizeHint((Qt::SizeHint)x[1].s_enum,*(const QSizeF*)x[2].s_class);
            x[0].s_class = (void*)new QSizeF(xret);
        }
    }
    static void x_36(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::Label::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::Label::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // Plasma::Label* Label()
        x_Plasma__Label* xret = new x_Plasma__Label((QGraphicsWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::Label::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1628, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::Label::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1629, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::Label::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1634, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Label::qt_metacall(x1, x2, x3);
    }
    virtual void paintWindowFrame(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(3265, (void*)this, x)) return;
        this->QGraphicsWidget::paintWindowFrame(x1, x2, x3);
    }
    virtual void initStyleOption(QStyleOption* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3268, (void*)this, x)) return;
        this->QGraphicsWidget::initStyleOption(x1);
    }
    virtual QVariant propertyChange(const QString& x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3272, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::propertyChange(x1, x2);
    }
    virtual bool windowFrameEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3274, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::windowFrameEvent(x1);
    }
    virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3275, (void*)this, x)) return (Qt::WindowFrameSection)x[0].s_enum;
        return this->QGraphicsWidget::windowFrameSectionAt(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1658, (void*)this, x)) return;
        this->Plasma::Label::changeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3278, (void*)this, x)) return;
        this->QGraphicsWidget::closeEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3211, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsProxyWidget::focusNextPrevChild(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3191, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hideEvent(x1);
    }
    virtual void moveEvent(QGraphicsSceneMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3283, (void*)this, x)) return;
        this->QGraphicsWidget::moveEvent(x1);
    }
    virtual void polishEvent() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3284, (void*)this, x)) return;
        this->QGraphicsWidget::polishEvent();
    }
    virtual void resizeEvent(QGraphicsSceneResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1654, (void*)this, x)) return;
        this->Plasma::Label::resizeEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3190, (void*)this, x)) return;
        this->QGraphicsProxyWidget::showEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3199, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3198, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hoverLeaveEvent(x1);
    }
    virtual void grabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3200, (void*)this, x)) return;
        this->QGraphicsProxyWidget::grabMouseEvent(x1);
    }
    virtual void ungrabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3201, (void*)this, x)) return;
        this->QGraphicsProxyWidget::ungrabMouseEvent(x1);
    }
    virtual void grabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3291, (void*)this, x)) return;
        this->QGraphicsWidget::grabKeyboardEvent(x1);
    }
    virtual void ungrabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3292, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabKeyboardEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1659, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::Label::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3189, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsProxyWidget::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3296, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3299, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3122, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3266, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::boundingRect();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3267, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3123, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3124, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3125, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3126, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3127, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::opaqueArea();
    }
    virtual void paint(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1657, (void*)this, x)) return;
        this->Plasma::Label::paint(x1, x2, x3);
    }
    virtual int type() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3186, (void*)this, x)) return (int)x[0].s_int;
        return this->QGraphicsProxyWidget::type();
    }
    virtual bool sceneEventFilter(QGraphicsItem* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3128, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::sceneEventFilter(x1, x2);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3273, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::sceneEvent(x1);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1661, (void*)this, x)) return;
        this->Plasma::Label::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3193, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3194, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3195, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3196, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3209, (void*)this, x)) return;
        this->QGraphicsProxyWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3210, (void*)this, x)) return;
        this->QGraphicsProxyWidget::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3197, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3207, (void*)this, x)) return;
        this->QGraphicsProxyWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3208, (void*)this, x)) return;
        this->QGraphicsProxyWidget::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1655, (void*)this, x)) return;
        this->Plasma::Label::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1656, (void*)this, x)) return;
        this->Plasma::Label::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3204, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3205, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3206, (void*)this, x)) return;
        this->QGraphicsProxyWidget::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3142, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3143, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1660, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Label::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3184, (void*)this, x)) return;
        this->QGraphicsProxyWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1662, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Label::sizeHint(x1, x2);
    }
    ~x_Plasma__Label() { this->_binding->deleted(68, (void*)this); }
};
void xcall_Plasma__Label(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__Label *xself = (x_Plasma__Label*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__Label::x_3(args);	break;
        case 4: x_Plasma__Label::x_4(args);	break;
        case 5: x_Plasma__Label::x_5(args);	break;
        case 6: x_Plasma__Label::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__Label::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: x_Plasma__Label::x_36(args);	break;
        case 37: x_Plasma__Label::x_37(args);	break;
        case 38: x_Plasma__Label::x_38(args);	break;
        case 39: x_Plasma__Label::x_39(args);	break;
        case 40: delete (Plasma::Label*)xself;	break;
    }
}
class x_Plasma__LineEdit : public Plasma::LineEdit, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__LineEdit*)this)->Plasma::LineEdit::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__LineEdit*)this)->metaObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            void* xret = this->Plasma::LineEdit::qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static QString tr(const char*, const char*)
        QString xret = Plasma::LineEdit::tr((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*)
        QString xret = Plasma::LineEdit::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString tr(const char*, const char*, int)
        QString xret = Plasma::LineEdit::tr((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*, int)
        QString xret = Plasma::LineEdit::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            int xret = this->Plasma::LineEdit::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // Plasma::LineEdit* LineEdit(QGraphicsWidget*)
        x_Plasma__LineEdit* xret = new x_Plasma__LineEdit((QGraphicsWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__LineEdit(QGraphicsWidget* x1) : LineEdit(x1) {}
    void x_9(Smoke::Stack x) {
        // void setText(const QString&)
        this->Plasma::LineEdit::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_Plasma__LineEdit*)this)->Plasma::LineEdit::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setClearButtonShown(bool)
        this->Plasma::LineEdit::setClearButtonShown((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool isClearButtonShown() const
        bool xret = ((const x_Plasma__LineEdit*)this)->Plasma::LineEdit::isClearButtonShown();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setClickMessage(const QString&)
        this->Plasma::LineEdit::setClickMessage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QString clickMessage() const
        QString xret = ((const x_Plasma__LineEdit*)this)->Plasma::LineEdit::clickMessage();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setStyleSheet(const QString&)
        this->Plasma::LineEdit::setStyleSheet(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QString styleSheet()
        QString xret = this->Plasma::LineEdit::styleSheet();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // void setNativeWidget(KLineEdit*)
        this->Plasma::LineEdit::setNativeWidget((KLineEdit*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // KLineEdit* nativeWidget() const
        KLineEdit* xret = ((const x_Plasma__LineEdit*)this)->Plasma::LineEdit::nativeWidget();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void hoverEnterEvent(QGraphicsSceneHoverEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            this->Plasma::LineEdit::hoverEnterEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hoverEnterEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // void hoverLeaveEvent(QGraphicsSceneHoverEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            this->Plasma::LineEdit::hoverLeaveEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hoverLeaveEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            this->Plasma::LineEdit::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_22(Smoke::Stack x) {
        // void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            this->Plasma::LineEdit::paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // void mousePressEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            this->Plasma::LineEdit::mousePressEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            this->Plasma::LineEdit::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::LineEdit*>(this))) {
            this->Plasma::LineEdit::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // void editingFinished()
        this->Plasma::LineEdit::editingFinished();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void returnPressed()
        this->Plasma::LineEdit::returnPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void textEdited(const QString&)
        this->Plasma::LineEdit::textEdited(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void textChanged(const QString&)
        this->Plasma::LineEdit::textChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void focusChanged(bool)
        this->Plasma::LineEdit::focusChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::LineEdit::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::LineEdit::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // Plasma::LineEdit* LineEdit()
        x_Plasma__LineEdit* xret = new x_Plasma__LineEdit((QGraphicsWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_34(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::LineEdit::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1668, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::LineEdit::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1669, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::LineEdit::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1674, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::LineEdit::qt_metacall(x1, x2, x3);
    }
    virtual void paintWindowFrame(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(3265, (void*)this, x)) return;
        this->QGraphicsWidget::paintWindowFrame(x1, x2, x3);
    }
    virtual void initStyleOption(QStyleOption* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3268, (void*)this, x)) return;
        this->QGraphicsWidget::initStyleOption(x1);
    }
    virtual QVariant propertyChange(const QString& x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3272, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::propertyChange(x1, x2);
    }
    virtual bool windowFrameEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3274, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::windowFrameEvent(x1);
    }
    virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3275, (void*)this, x)) return (Qt::WindowFrameSection)x[0].s_enum;
        return this->QGraphicsWidget::windowFrameSectionAt(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1688, (void*)this, x)) return;
        this->Plasma::LineEdit::changeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3278, (void*)this, x)) return;
        this->QGraphicsWidget::closeEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3211, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsProxyWidget::focusNextPrevChild(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3191, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hideEvent(x1);
    }
    virtual void moveEvent(QGraphicsSceneMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3283, (void*)this, x)) return;
        this->QGraphicsWidget::moveEvent(x1);
    }
    virtual void polishEvent() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3284, (void*)this, x)) return;
        this->QGraphicsWidget::polishEvent();
    }
    virtual void resizeEvent(QGraphicsSceneResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3213, (void*)this, x)) return;
        this->QGraphicsProxyWidget::resizeEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3190, (void*)this, x)) return;
        this->QGraphicsProxyWidget::showEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3199, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1687, (void*)this, x)) return;
        this->Plasma::LineEdit::hoverLeaveEvent(x1);
    }
    virtual void grabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3200, (void*)this, x)) return;
        this->QGraphicsProxyWidget::grabMouseEvent(x1);
    }
    virtual void ungrabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3201, (void*)this, x)) return;
        this->QGraphicsProxyWidget::ungrabMouseEvent(x1);
    }
    virtual void grabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3291, (void*)this, x)) return;
        this->QGraphicsWidget::grabKeyboardEvent(x1);
    }
    virtual void ungrabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3292, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabKeyboardEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3188, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsProxyWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3189, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsProxyWidget::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3296, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3299, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3122, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3266, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::boundingRect();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3267, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3123, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3124, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3125, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3126, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3127, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::opaqueArea();
    }
    virtual void paint(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1689, (void*)this, x)) return;
        this->Plasma::LineEdit::paint(x1, x2, x3);
    }
    virtual int type() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3186, (void*)this, x)) return (int)x[0].s_int;
        return this->QGraphicsProxyWidget::type();
    }
    virtual bool sceneEventFilter(QGraphicsItem* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3128, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::sceneEventFilter(x1, x2);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3273, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::sceneEvent(x1);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3192, (void*)this, x)) return;
        this->QGraphicsProxyWidget::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3193, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3194, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3195, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3196, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1691, (void*)this, x)) return;
        this->Plasma::LineEdit::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1692, (void*)this, x)) return;
        this->Plasma::LineEdit::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1686, (void*)this, x)) return;
        this->Plasma::LineEdit::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3207, (void*)this, x)) return;
        this->QGraphicsProxyWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3208, (void*)this, x)) return;
        this->QGraphicsProxyWidget::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1690, (void*)this, x)) return;
        this->Plasma::LineEdit::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3202, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3204, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3205, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3206, (void*)this, x)) return;
        this->QGraphicsProxyWidget::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3142, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3143, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3187, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsProxyWidget::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3184, (void*)this, x)) return;
        this->QGraphicsProxyWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3212, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsProxyWidget::sizeHint(x1, x2);
    }
    ~x_Plasma__LineEdit() { this->_binding->deleted(69, (void*)this); }
};
void xcall_Plasma__LineEdit(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__LineEdit *xself = (x_Plasma__LineEdit*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__LineEdit::x_3(args);	break;
        case 4: x_Plasma__LineEdit::x_4(args);	break;
        case 5: x_Plasma__LineEdit::x_5(args);	break;
        case 6: x_Plasma__LineEdit::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__LineEdit::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: x_Plasma__LineEdit::x_31(args);	break;
        case 32: x_Plasma__LineEdit::x_32(args);	break;
        case 33: x_Plasma__LineEdit::x_33(args);	break;
        case 34: x_Plasma__LineEdit::x_34(args);	break;
        case 35: delete (Plasma::LineEdit*)xself;	break;
    }
}
class x_Plasma__Meter : public Plasma::Meter, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Meter*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__Meter*)this)->metaObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Meter*>(this))) {
            void* xret = this->Plasma::Meter::qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static QString tr(const char*, const char*)
        QString xret = Plasma::Meter::tr((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*)
        QString xret = Plasma::Meter::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString tr(const char*, const char*, int)
        QString xret = Plasma::Meter::tr((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*, int)
        QString xret = Plasma::Meter::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Meter*>(this))) {
            int xret = this->Plasma::Meter::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // Plasma::Meter* Meter(QGraphicsItem*)
        x_Plasma__Meter* xret = new x_Plasma__Meter((QGraphicsItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Meter(QGraphicsItem* x1) : Meter(x1) {}
    void x_9(Smoke::Stack x) {
        // int maximum() const
        int xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::maximum();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // int minimum() const
        int xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::minimum();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // int value() const
        int xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::value();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setSvg(const QString&)
        this->Plasma::Meter::setSvg(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QString svg() const
        QString xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::svg();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setMeterType(Plasma::Meter::MeterType)
        this->Plasma::Meter::setMeterType((Plasma::Meter::MeterType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // Plasma::Meter::MeterType meterType() const
        Plasma::Meter::MeterType xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::meterType();
        x[0].s_enum = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setLabel(int, const QString&)
        this->Plasma::Meter::setLabel((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QString label(int) const
        QString xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::label((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setLabelColor(int, const QColor&)
        this->Plasma::Meter::setLabelColor((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QColor labelColor(int) const
        QColor xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::labelColor((int)x[1].s_int);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setLabelFont(int, const QFont&)
        this->Plasma::Meter::setLabelFont((int)x[1].s_int,*(const QFont*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QFont labelFont(int) const
        QFont xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::labelFont((int)x[1].s_int);
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_22(Smoke::Stack x) {
        // void setLabelAlignment(int, const QFlags<Qt::AlignmentFlag>)
        this->Plasma::Meter::setLabelAlignment((int)x[1].s_int,(const QFlags<Qt::AlignmentFlag>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> labelAlignment(int) const
        QFlags<Qt::AlignmentFlag> xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::labelAlignment((int)x[1].s_int);
        x[0].s_uint = (uint)xret;
    }
    void x_24(Smoke::Stack x) {
        // QRectF labelRect(int) const
        QRectF xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::labelRect((int)x[1].s_int);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_25(Smoke::Stack x) {
        // void dataUpdated(const QString&, const Plasma::DataEngine::Data&)
        this->Plasma::Meter::dataUpdated(*(const QString*)x[1].s_class,*(const Plasma::DataEngine::Data*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setMaximum(int)
        this->Plasma::Meter::setMaximum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setMinimum(int)
        this->Plasma::Meter::setMinimum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setValue(int)
        this->Plasma::Meter::setValue((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void valueChanged(const int&)
        this->Plasma::Meter::valueChanged(*(const int*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // virtual void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Meter*>(this))) {
            this->Plasma::Meter::paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_31(Smoke::Stack x) {
        // QSizeF sizeHint(Qt::SizeHint, const QSizeF&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Meter*>(this))) {
            QSizeF xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::sizeHint((Qt::SizeHint)x[1].s_enum,*(const QSizeF*)x[2].s_class);
            x[0].s_class = (void*)new QSizeF(xret);
        } else {
            QSizeF xret = ((const x_Plasma__Meter*)this)->sizeHint((Qt::SizeHint)x[1].s_enum,*(const QSizeF*)x[2].s_class);
            x[0].s_class = (void*)new QSizeF(xret);
        }
    }
    static void x_32(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::Meter::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::Meter::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // Plasma::Meter* Meter()
        x_Plasma__Meter* xret = new x_Plasma__Meter((QGraphicsItem*)0);
        x[0].s_class = (void*)xret;
    }
    void x_35(Smoke::Stack x) {
        // void paint(QPainter*, const QStyleOptionGraphicsItem*)
        this->Plasma::Meter::paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)0);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // QSizeF sizeHint(Qt::SizeHint) const
        QSizeF xret = ((const x_Plasma__Meter*)this)->Plasma::Meter::sizeHint((Qt::SizeHint)x[1].s_enum,(const QSizeF&)QSizeF());
        x[0].s_class = (void*)new QSizeF(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::Meter::staticMetaObject;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Meter::BarMeterHorizontal;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Meter::BarMeterVertical;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Meter::AnalogMeter;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1703, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::Meter::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1704, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::Meter::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1709, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Meter::qt_metacall(x1, x2, x3);
    }
    virtual void paint(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1732, (void*)this, x)) return;
        this->Plasma::Meter::paint(x1, x2, x3);
    }
    virtual void paintWindowFrame(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(3265, (void*)this, x)) return;
        this->QGraphicsWidget::paintWindowFrame(x1, x2, x3);
    }
    virtual void initStyleOption(QStyleOption* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3268, (void*)this, x)) return;
        this->QGraphicsWidget::initStyleOption(x1);
    }
    virtual QVariant propertyChange(const QString& x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3272, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::propertyChange(x1, x2);
    }
    virtual bool windowFrameEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3274, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::windowFrameEvent(x1);
    }
    virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3275, (void*)this, x)) return (Qt::WindowFrameSection)x[0].s_enum;
        return this->QGraphicsWidget::windowFrameSectionAt(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3277, (void*)this, x)) return;
        this->QGraphicsWidget::changeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3278, (void*)this, x)) return;
        this->QGraphicsWidget::closeEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3280, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::focusNextPrevChild(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3282, (void*)this, x)) return;
        this->QGraphicsWidget::hideEvent(x1);
    }
    virtual void moveEvent(QGraphicsSceneMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3283, (void*)this, x)) return;
        this->QGraphicsWidget::moveEvent(x1);
    }
    virtual void polishEvent() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3284, (void*)this, x)) return;
        this->QGraphicsWidget::polishEvent();
    }
    virtual void resizeEvent(QGraphicsSceneResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3285, (void*)this, x)) return;
        this->QGraphicsWidget::resizeEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3286, (void*)this, x)) return;
        this->QGraphicsWidget::showEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3287, (void*)this, x)) return;
        this->QGraphicsWidget::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3288, (void*)this, x)) return;
        this->QGraphicsWidget::hoverLeaveEvent(x1);
    }
    virtual void grabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3289, (void*)this, x)) return;
        this->QGraphicsWidget::grabMouseEvent(x1);
    }
    virtual void ungrabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3290, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabMouseEvent(x1);
    }
    virtual void grabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3291, (void*)this, x)) return;
        this->QGraphicsWidget::grabKeyboardEvent(x1);
    }
    virtual void ungrabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3292, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabKeyboardEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3276, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3295, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3296, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3299, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3122, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3266, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::boundingRect();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3267, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3123, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3124, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3125, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3126, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3127, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::opaqueArea();
    }
    virtual int type() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3263, (void*)this, x)) return (int)x[0].s_int;
        return this->QGraphicsWidget::type();
    }
    virtual bool sceneEventFilter(QGraphicsItem* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3128, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::sceneEventFilter(x1, x2);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3273, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::sceneEvent(x1);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3129, (void*)this, x)) return;
        this->QGraphicsItem::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3130, (void*)this, x)) return;
        this->QGraphicsItem::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3131, (void*)this, x)) return;
        this->QGraphicsItem::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3132, (void*)this, x)) return;
        this->QGraphicsItem::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3133, (void*)this, x)) return;
        this->QGraphicsItem::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3279, (void*)this, x)) return;
        this->QGraphicsWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3281, (void*)this, x)) return;
        this->QGraphicsWidget::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3134, (void*)this, x)) return;
        this->QGraphicsItem::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3135, (void*)this, x)) return;
        this->QGraphicsItem::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3136, (void*)this, x)) return;
        this->QGraphicsItem::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3137, (void*)this, x)) return;
        this->QGraphicsItem::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3138, (void*)this, x)) return;
        this->QGraphicsItem::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3139, (void*)this, x)) return;
        this->QGraphicsItem::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3140, (void*)this, x)) return;
        this->QGraphicsItem::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3141, (void*)this, x)) return;
        this->QGraphicsItem::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3142, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3143, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3271, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3261, (void*)this, x)) return;
        this->QGraphicsWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1733, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Meter::sizeHint(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 116: //Plasma::Meter::MeterType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Meter::MeterType;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Meter::MeterType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Meter::MeterType*)xdata = (Plasma::Meter::MeterType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Meter::MeterType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Plasma__Meter() { this->_binding->deleted(70, (void*)this); }
};
void xenum_Plasma__Meter(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__Meter::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__Meter(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__Meter *xself = (x_Plasma__Meter*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__Meter::x_3(args);	break;
        case 4: x_Plasma__Meter::x_4(args);	break;
        case 5: x_Plasma__Meter::x_5(args);	break;
        case 6: x_Plasma__Meter::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__Meter::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: x_Plasma__Meter::x_32(args);	break;
        case 33: x_Plasma__Meter::x_33(args);	break;
        case 34: x_Plasma__Meter::x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: x_Plasma__Meter::x_37(args);	break;
        case 38: x_Plasma__Meter::x_38(args);	break;
        case 39: x_Plasma__Meter::x_39(args);	break;
        case 40: x_Plasma__Meter::x_40(args);	break;
        case 41: delete (Plasma::Meter*)xself;	break;
    }
}
class x_Plasma__Package : public Plasma::Package {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // Plasma::Package* Package()
        x_Plasma__Package* xret = new x_Plasma__Package();
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Package() : Package() {}
    static void x_2(Smoke::Stack x) {
        // Plasma::Package* Package(const QString&, const QString&, KSharedPtr<Plasma::PackageStructure>)
        x_Plasma__Package* xret = new x_Plasma__Package(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(KSharedPtr<Plasma::PackageStructure>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Package(const QString& x1, const QString& x2, KSharedPtr<Plasma::PackageStructure> x3) : Package(x1, x2, x3) {}
    static void x_3(Smoke::Stack x) {
        // Plasma::Package* Package(const QString&, KSharedPtr<Plasma::PackageStructure>)
        x_Plasma__Package* xret = new x_Plasma__Package(*(const QString*)x[1].s_class,*(KSharedPtr<Plasma::PackageStructure>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Package(const QString& x1, KSharedPtr<Plasma::PackageStructure> x2) : Package(x1, x2) {}
    static void x_4(Smoke::Stack x) {
        // Plasma::Package* Package(const Plasma::Package&)
        x_Plasma__Package* xret = new x_Plasma__Package(*(const Plasma::Package*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Package(const Plasma::Package& x1) : Package(x1) {}
    void x_5(Smoke::Stack x) {
        // Plasma::Package& operator=(const Plasma::Package&)
        Plasma::Package& xret = this->Plasma::Package::operator=(*(const Plasma::Package*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_6(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_Plasma__Package*)this)->Plasma::Package::isValid();
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // QString filePath(const char*, const QString&) const
        QString xret = ((const x_Plasma__Package*)this)->Plasma::Package::filePath((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // QString filePath(const char*) const
        QString xret = ((const x_Plasma__Package*)this)->Plasma::Package::filePath((const char*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // QStringList entryList(const char*) const
        QStringList xret = ((const x_Plasma__Package*)this)->Plasma::Package::entryList((const char*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_10(Smoke::Stack x) {
        // Plasma::PackageMetadata metadata() const
        Plasma::PackageMetadata xret = ((const x_Plasma__Package*)this)->Plasma::Package::metadata();
        x[0].s_class = (void*)new Plasma::PackageMetadata(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setPath(const QString&)
        this->Plasma::Package::setPath(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // const QString path() const
        const QString xret = ((const x_Plasma__Package*)this)->Plasma::Package::path();
        x[0].s_class = (void*)new const QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // const KSharedPtr<Plasma::PackageStructure> structure() const
        const KSharedPtr<Plasma::PackageStructure> xret = ((const x_Plasma__Package*)this)->Plasma::Package::structure();
        x[0].s_class = (void*)new const KSharedPtr<Plasma::PackageStructure>(xret);
    }
    void x_14(Smoke::Stack x) {
        // QString contentsHash() const
        QString xret = ((const x_Plasma__Package*)this)->Plasma::Package::contentsHash();
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QStringList listInstalled(const QString&)
        QStringList xret = Plasma::Package::listInstalled(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QStringList listInstalledPaths(const QString&)
        QStringList xret = Plasma::Package::listInstalledPaths(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static bool installPackage(const QString&, const QString&, const QString&)
        bool xret = Plasma::Package::installPackage(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_18(Smoke::Stack x) {
        // static bool uninstallPackage(const QString&, const QString&, const QString&)
        bool xret = Plasma::Package::uninstallPackage(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_19(Smoke::Stack x) {
        // static bool registerPackage(const Plasma::PackageMetadata&, const QString&)
        bool xret = Plasma::Package::registerPackage(*(const Plasma::PackageMetadata*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static bool createPackage(const Plasma::PackageMetadata&, const QString&, const QString&, const QString&)
        bool xret = Plasma::Package::createPackage(*(const Plasma::PackageMetadata*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_bool = xret;
    }
    static void x_21(Smoke::Stack x) {
        // static bool createPackage(const Plasma::PackageMetadata&, const QString&, const QString&)
        bool xret = Plasma::Package::createPackage(*(const Plasma::PackageMetadata*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(const QString&)QString());
        x[0].s_bool = xret;
    }
    ~x_Plasma__Package() { this->_binding->deleted(71, (void*)this); }
};
void xcall_Plasma__Package(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__Package *xself = (x_Plasma__Package*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Plasma__Package::x_1(args);	break;
        case 2: x_Plasma__Package::x_2(args);	break;
        case 3: x_Plasma__Package::x_3(args);	break;
        case 4: x_Plasma__Package::x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: x_Plasma__Package::x_15(args);	break;
        case 16: x_Plasma__Package::x_16(args);	break;
        case 17: x_Plasma__Package::x_17(args);	break;
        case 18: x_Plasma__Package::x_18(args);	break;
        case 19: x_Plasma__Package::x_19(args);	break;
        case 20: x_Plasma__Package::x_20(args);	break;
        case 21: x_Plasma__Package::x_21(args);	break;
        case 22: delete (Plasma::Package*)xself;	break;
    }
}
class x_Plasma__PackageMetadata : public Plasma::PackageMetadata {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // Plasma::PackageMetadata* PackageMetadata(const QString&)
        x_Plasma__PackageMetadata* xret = new x_Plasma__PackageMetadata(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__PackageMetadata(const QString& x1) : PackageMetadata(x1) {}
    static void x_2(Smoke::Stack x) {
        // Plasma::PackageMetadata* PackageMetadata(const Plasma::PackageMetadata&)
        x_Plasma__PackageMetadata* xret = new x_Plasma__PackageMetadata(*(const Plasma::PackageMetadata*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__PackageMetadata(const Plasma::PackageMetadata& x1) : PackageMetadata(x1) {}
    void x_3(Smoke::Stack x) {
        // Plasma::PackageMetadata& operator=(const Plasma::PackageMetadata&)
        Plasma::PackageMetadata& xret = this->Plasma::PackageMetadata::operator=(*(const Plasma::PackageMetadata*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::isValid();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // void write(const QString&) const
        ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::write(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // void read(const QString&)
        this->Plasma::PackageMetadata::read(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // QString description() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::description();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // QStringList keywords() const
        QStringList xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::keywords();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_10(Smoke::Stack x) {
        // QString serviceType() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::serviceType();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // QString author() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::author();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // QString email() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::email();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QString version() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::version();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // QString website() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::website();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // QString license() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::license();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // QString application() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::application();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // QString category() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::category();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // QString requiredVersion() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::requiredVersion();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_19(Smoke::Stack x) {
        // QString pluginName() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::pluginName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // QString implementationApi() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::implementationApi();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_21(Smoke::Stack x) {
        // KUrl remoteLocation() const
        KUrl xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::remoteLocation();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_22(Smoke::Stack x) {
        // QString type() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::type();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_23(Smoke::Stack x) {
        // void setName(const QString&)
        this->Plasma::PackageMetadata::setName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setDescription(const QString&)
        this->Plasma::PackageMetadata::setDescription(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QString icon() const
        QString xret = ((const x_Plasma__PackageMetadata*)this)->Plasma::PackageMetadata::icon();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_26(Smoke::Stack x) {
        // void setIcon(const QString&)
        this->Plasma::PackageMetadata::setIcon(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setKeywords(const QStringList&)
        this->Plasma::PackageMetadata::setKeywords(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setServiceType(const QString&)
        this->Plasma::PackageMetadata::setServiceType(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setAuthor(const QString&)
        this->Plasma::PackageMetadata::setAuthor(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setEmail(const QString&)
        this->Plasma::PackageMetadata::setEmail(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setVersion(const QString&)
        this->Plasma::PackageMetadata::setVersion(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setWebsite(const QString&)
        this->Plasma::PackageMetadata::setWebsite(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setLicense(const QString&)
        this->Plasma::PackageMetadata::setLicense(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setApplication(const QString&)
        this->Plasma::PackageMetadata::setApplication(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setCategory(const QString&)
        this->Plasma::PackageMetadata::setCategory(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void setRequiredVersion(const QString&)
        this->Plasma::PackageMetadata::setRequiredVersion(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void setRemoteLocation(const KUrl&)
        this->Plasma::PackageMetadata::setRemoteLocation(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void setType(const QString&)
        this->Plasma::PackageMetadata::setType(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void setPluginName(const QString&)
        this->Plasma::PackageMetadata::setPluginName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void setImplementationApi(const QString&)
        this->Plasma::PackageMetadata::setImplementationApi(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_41(Smoke::Stack x) {
        // Plasma::PackageMetadata* PackageMetadata()
        x_Plasma__PackageMetadata* xret = new x_Plasma__PackageMetadata((const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    ~x_Plasma__PackageMetadata() { this->_binding->deleted(72, (void*)this); }
};
void xcall_Plasma__PackageMetadata(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__PackageMetadata *xself = (x_Plasma__PackageMetadata*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Plasma__PackageMetadata::x_1(args);	break;
        case 2: x_Plasma__PackageMetadata::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: x_Plasma__PackageMetadata::x_41(args);	break;
        case 42: delete (Plasma::PackageMetadata*)xself;	break;
    }
}
class x_Plasma__PackageStructure : public Plasma::PackageStructure, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PackageStructure*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__PackageStructure*)this)->metaObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PackageStructure*>(this))) {
            void* xret = this->Plasma::PackageStructure::qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static QString tr(const char*, const char*)
        QString xret = Plasma::PackageStructure::tr((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*)
        QString xret = Plasma::PackageStructure::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString tr(const char*, const char*, int)
        QString xret = Plasma::PackageStructure::tr((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*, int)
        QString xret = Plasma::PackageStructure::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PackageStructure*>(this))) {
            int xret = this->Plasma::PackageStructure::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // Plasma::PackageStructure* PackageStructure(QObject*, const QString&)
        x_Plasma__PackageStructure* xret = new x_Plasma__PackageStructure((QObject*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__PackageStructure(QObject* x1, const QString& x2) : PackageStructure(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // Plasma::PackageStructure& operator=(const Plasma::PackageStructure&)
        Plasma::PackageStructure& xret = this->Plasma::PackageStructure::operator=(*(const Plasma::PackageStructure*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_10(Smoke::Stack x) {
        // static KSharedPtr<Plasma::PackageStructure> load(const QString&)
        KSharedPtr<Plasma::PackageStructure> xret = Plasma::PackageStructure::load(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KSharedPtr<Plasma::PackageStructure>(xret);
    }
    void x_11(Smoke::Stack x) {
        // QString type() const
        QString xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::type();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // QList<const char*> directories() const
        QList<const char*> xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::directories();
        x[0].s_class = (void*)new QList<const char*>(xret);
    }
    void x_13(Smoke::Stack x) {
        // QList<const char*> requiredDirectories() const
        QList<const char*> xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::requiredDirectories();
        x[0].s_class = (void*)new QList<const char*>(xret);
    }
    void x_14(Smoke::Stack x) {
        // QList<const char*> files() const
        QList<const char*> xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::files();
        x[0].s_class = (void*)new QList<const char*>(xret);
    }
    void x_15(Smoke::Stack x) {
        // QList<const char*> requiredFiles() const
        QList<const char*> xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::requiredFiles();
        x[0].s_class = (void*)new QList<const char*>(xret);
    }
    void x_16(Smoke::Stack x) {
        // void addDirectoryDefinition(const char*, const QString&, const QString&)
        this->Plasma::PackageStructure::addDirectoryDefinition((const char*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void addFileDefinition(const char*, const QString&, const QString&)
        this->Plasma::PackageStructure::addFileDefinition((const char*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void removeDefinition(const char*)
        this->Plasma::PackageStructure::removeDefinition((const char*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QString path(const char*) const
        QString xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::path((const char*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // QStringList searchPath(const char*) const
        QStringList xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::searchPath((const char*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_21(Smoke::Stack x) {
        // QStringList entryList(const char*)
        QStringList xret = this->Plasma::PackageStructure::entryList((const char*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_22(Smoke::Stack x) {
        // QString name(const char*) const
        QString xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::name((const char*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_23(Smoke::Stack x) {
        // void setRequired(const char*, bool)
        this->Plasma::PackageStructure::setRequired((const char*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // bool isRequired(const char*) const
        bool xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::isRequired((const char*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setDefaultMimetypes(QStringList)
        this->Plasma::PackageStructure::setDefaultMimetypes(*(QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setMimetypes(const char*, QStringList)
        this->Plasma::PackageStructure::setMimetypes((const char*)x[1].s_class,*(QStringList*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // QStringList mimetypes(const char*) const
        QStringList xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::mimetypes((const char*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_28(Smoke::Stack x) {
        // void setPath(const QString&)
        this->Plasma::PackageStructure::setPath(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // QString path() const
        QString xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::path();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_30(Smoke::Stack x) {
        // void read(const KConfigBase*)
        this->Plasma::PackageStructure::read((const KConfigBase*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void write(KConfigBase*) const
        ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::write((KConfigBase*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // virtual bool installPackage(const QString&, const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PackageStructure*>(this))) {
            bool xret = this->Plasma::PackageStructure::installPackage(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->installPackage(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_33(Smoke::Stack x) {
        // virtual bool uninstallPackage(const QString&, const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PackageStructure*>(this))) {
            bool xret = this->Plasma::PackageStructure::uninstallPackage(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->uninstallPackage(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_34(Smoke::Stack x) {
        // virtual void createNewWidgetBrowser(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PackageStructure*>(this))) {
            this->Plasma::PackageStructure::createNewWidgetBrowser((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->createNewWidgetBrowser((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_35(Smoke::Stack x) {
        // QString contentsPrefix() const
        QString xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::contentsPrefix();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_36(Smoke::Stack x) {
        // QStringList contentsPrefixPaths() const
        QStringList xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::contentsPrefixPaths();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_37(Smoke::Stack x) {
        // QString defaultPackageRoot() const
        QString xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::defaultPackageRoot();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_38(Smoke::Stack x) {
        // QString servicePrefix() const
        QString xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::servicePrefix();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_39(Smoke::Stack x) {
        // void setServicePrefix(const QString&)
        this->Plasma::PackageStructure::setServicePrefix(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // virtual Plasma::PackageMetadata metadata()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PackageStructure*>(this))) {
            Plasma::PackageMetadata xret = this->Plasma::PackageStructure::metadata();
            x[0].s_class = (void*)new Plasma::PackageMetadata(xret);
        } else {
            Plasma::PackageMetadata xret = this->metadata();
            x[0].s_class = (void*)new Plasma::PackageMetadata(xret);
        }
    }
    void x_41(Smoke::Stack x) {
        // bool allowExternalPaths() const
        bool xret = ((const x_Plasma__PackageStructure*)this)->Plasma::PackageStructure::allowExternalPaths();
        x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
        // void newWidgetBrowserFinished()
        this->Plasma::PackageStructure::newWidgetBrowserFinished();
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void setAllowExternalPaths(bool)
        this->Plasma::PackageStructure::setAllowExternalPaths((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void setContentsPrefix(const QString&)
        this->Plasma::PackageStructure::setContentsPrefix(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void setContentsPrefixPaths(const QStringList&)
        this->Plasma::PackageStructure::setContentsPrefixPaths(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void setDefaultPackageRoot(const QString&)
        this->Plasma::PackageStructure::setDefaultPackageRoot(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // virtual void pathChanged()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PackageStructure*>(this))) {
            this->Plasma::PackageStructure::pathChanged();
            (void)x; // noop (for compiler warning)
        } else {
            this->pathChanged();
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_48(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::PackageStructure::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_49(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::PackageStructure::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_50(Smoke::Stack x) {
        // Plasma::PackageStructure* PackageStructure()
        x_Plasma__PackageStructure* xret = new x_Plasma__PackageStructure((QObject*)0,(const QString&)i18nc("A non-functional package","Invalid"));
        x[0].s_class = (void*)xret;
    }
    static void x_51(Smoke::Stack x) {
        // Plasma::PackageStructure* PackageStructure(QObject*)
        x_Plasma__PackageStructure* xret = new x_Plasma__PackageStructure((QObject*)x[1].s_class,(const QString&)i18nc("A non-functional package","Invalid"));
        x[0].s_class = (void*)xret;
    }
    void x_52(Smoke::Stack x) {
        // void createNewWidgetBrowser()
        this->Plasma::PackageStructure::createNewWidgetBrowser((QWidget*)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_53(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::PackageStructure::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1808, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::PackageStructure::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1809, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::PackageStructure::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1814, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::PackageStructure::qt_metacall(x1, x2, x3);
    }
    virtual bool installPackage(const QString& x1, const QString& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1839, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::PackageStructure::installPackage(x1, x2);
    }
    virtual bool uninstallPackage(const QString& x1, const QString& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1840, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::PackageStructure::uninstallPackage(x1, x2);
    }
    virtual void createNewWidgetBrowser(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1841, (void*)this, x)) return;
        this->Plasma::PackageStructure::createNewWidgetBrowser(x1);
    }
    virtual Plasma::PackageMetadata metadata() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1847, (void*)this, x)) {
            Plasma::PackageMetadata* xptr = (Plasma::PackageMetadata*)x[0].s_class;
            Plasma::PackageMetadata xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::PackageStructure::metadata();
    }
    virtual void pathChanged() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1854, (void*)this, x)) return;
        this->Plasma::PackageStructure::pathChanged();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3294, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3295, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3296, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3299, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_Plasma__PackageStructure() { this->_binding->deleted(73, (void*)this); }
};
void xcall_Plasma__PackageStructure(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__PackageStructure *xself = (x_Plasma__PackageStructure*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__PackageStructure::x_3(args);	break;
        case 4: x_Plasma__PackageStructure::x_4(args);	break;
        case 5: x_Plasma__PackageStructure::x_5(args);	break;
        case 6: x_Plasma__PackageStructure::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__PackageStructure::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_Plasma__PackageStructure::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: x_Plasma__PackageStructure::x_48(args);	break;
        case 49: x_Plasma__PackageStructure::x_49(args);	break;
        case 50: x_Plasma__PackageStructure::x_50(args);	break;
        case 51: x_Plasma__PackageStructure::x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: x_Plasma__PackageStructure::x_53(args);	break;
        case 54: delete (Plasma::PackageStructure*)xself;	break;
    }
}
class x_Plasma__PlotColor : public Plasma::PlotColor {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // Plasma::PlotColor* PlotColor()
        x_Plasma__PlotColor* xret = new x_Plasma__PlotColor();
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__PlotColor() : PlotColor() {}
    static void x_2(Smoke::Stack x) {
        // Plasma::PlotColor* PlotColor(const Plasma::PlotColor&)
        x_Plasma__PlotColor* xret = new x_Plasma__PlotColor(*(const Plasma::PlotColor*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__PlotColor(const Plasma::PlotColor& x1) : PlotColor(x1) {}
    void x_3(Smoke::Stack x) {
        // QColor color
        x[0].s_class = (void*)&this->Plasma::PlotColor::color;
    }
    void x_4(Smoke::Stack x) {
        // QColor color=
        this->Plasma::PlotColor::color = *(const QColor*)x[1].s_class;
    }
    void x_5(Smoke::Stack x) {
        // QColor darkColor
        x[0].s_class = (void*)&this->Plasma::PlotColor::darkColor;
    }
    void x_6(Smoke::Stack x) {
        // QColor darkColor=
        this->Plasma::PlotColor::darkColor = *(const QColor*)x[1].s_class;
    }
    ~x_Plasma__PlotColor() { this->_binding->deleted(74, (void*)this); }
};
void xcall_Plasma__PlotColor(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__PlotColor *xself = (x_Plasma__PlotColor*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Plasma__PlotColor::x_1(args);	break;
        case 2: x_Plasma__PlotColor::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: delete (Plasma::PlotColor*)xself;	break;
    }
}
class x_Plasma__PopupApplet : public Plasma::PopupApplet, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__PopupApplet*)this)->metaObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            void* xret = this->Plasma::PopupApplet::qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static QString tr(const char*, const char*)
        QString xret = Plasma::PopupApplet::tr((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*)
        QString xret = Plasma::PopupApplet::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString tr(const char*, const char*, int)
        QString xret = Plasma::PopupApplet::tr((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*, int)
        QString xret = Plasma::PopupApplet::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            int xret = this->Plasma::PopupApplet::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // Plasma::PopupApplet* PopupApplet(QObject*, const QList<QVariant>&)
        x_Plasma__PopupApplet* xret = new x_Plasma__PopupApplet((QObject*)x[1].s_class,*(const QList<QVariant>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__PopupApplet(QObject* x1, const QList<QVariant>& x2) : PopupApplet(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void setPopupIcon(const QIcon&)
        this->Plasma::PopupApplet::setPopupIcon(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void setPopupIcon(const QString&)
        this->Plasma::PopupApplet::setPopupIcon(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QIcon popupIcon() const
        QIcon xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::popupIcon();
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_12(Smoke::Stack x) {
        // virtual QWidget* widget()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            QWidget* xret = this->Plasma::PopupApplet::widget();
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = this->widget();
            x[0].s_class = (void*)xret;
        }
    }
    void x_13(Smoke::Stack x) {
        // void setWidget(QWidget*)
        this->Plasma::PopupApplet::setWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // virtual QGraphicsWidget* graphicsWidget()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            QGraphicsWidget* xret = this->Plasma::PopupApplet::graphicsWidget();
            x[0].s_class = (void*)xret;
        } else {
            QGraphicsWidget* xret = this->graphicsWidget();
            x[0].s_class = (void*)xret;
        }
    }
    void x_15(Smoke::Stack x) {
        // void setGraphicsWidget(QGraphicsWidget*)
        this->Plasma::PopupApplet::setGraphicsWidget((QGraphicsWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // Plasma::PopupPlacement popupPlacement() const
        Plasma::PopupPlacement xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::popupPlacement();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setPopupAlignment(Qt::AlignmentFlag)
        this->Plasma::PopupApplet::setPopupAlignment((Qt::AlignmentFlag)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // Qt::AlignmentFlag popupAlignment() const
        Qt::AlignmentFlag xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::popupAlignment();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setPassivePopup(bool)
        this->Plasma::PopupApplet::setPassivePopup((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool isPassivePopup() const
        bool xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::isPassivePopup();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // bool isPopupShowing() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            bool xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::isPopupShowing();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_Plasma__PopupApplet*)this)->isPopupShowing();
            x[0].s_bool = xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // bool isIconified() const
        bool xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::isIconified();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // void hidePopup()
        this->Plasma::PopupApplet::hidePopup();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void showPopup(uint)
        this->Plasma::PopupApplet::showPopup((uint)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void togglePopup()
        this->Plasma::PopupApplet::togglePopup();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // virtual void popupEvent(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            this->Plasma::PopupApplet::popupEvent((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->popupEvent((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // QSizeF sizeHint(Qt::SizeHint, const QSizeF&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            QSizeF xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::sizeHint((Qt::SizeHint)x[1].s_enum,*(const QSizeF*)x[2].s_class);
            x[0].s_class = (void*)new QSizeF(xret);
        } else {
            QSizeF xret = ((const x_Plasma__PopupApplet*)this)->sizeHint((Qt::SizeHint)x[1].s_enum,*(const QSizeF*)x[2].s_class);
            x[0].s_class = (void*)new QSizeF(xret);
        }
    }
    void x_28(Smoke::Stack x) {
        // void mousePressEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            this->Plasma::PopupApplet::mousePressEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // void mouseReleaseEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            this->Plasma::PopupApplet::mouseReleaseEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_30(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            bool xret = this->Plasma::PopupApplet::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_31(Smoke::Stack x) {
        // void dragEnterEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            this->Plasma::PopupApplet::dragEnterEvent((QGraphicsSceneDragDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QGraphicsSceneDragDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // void dragLeaveEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            this->Plasma::PopupApplet::dragLeaveEvent((QGraphicsSceneDragDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragLeaveEvent((QGraphicsSceneDragDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // void dropEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            this->Plasma::PopupApplet::dropEvent((QGraphicsSceneDragDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QGraphicsSceneDragDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::PopupApplet*>(this))) {
            this->Plasma::PopupApplet::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_35(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::PopupApplet::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::PopupApplet::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_37(Smoke::Stack x) {
        // void showPopup()
        this->Plasma::PopupApplet::showPopup((uint)0);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // QSizeF sizeHint(Qt::SizeHint) const
        QSizeF xret = ((const x_Plasma__PopupApplet*)this)->Plasma::PopupApplet::sizeHint((Qt::SizeHint)x[1].s_enum,(const QSizeF&)QSizeF());
        x[0].s_class = (void*)new QSizeF(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::PopupApplet::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1869, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::PopupApplet::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1870, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::PopupApplet::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1875, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::PopupApplet::qt_metacall(x1, x2, x3);
    }
    virtual QWidget* widget() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1880, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->Plasma::PopupApplet::widget();
    }
    virtual QGraphicsWidget* graphicsWidget() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1882, (void*)this, x)) return (QGraphicsWidget*)x[0].s_class;
        return this->Plasma::PopupApplet::graphicsWidget();
    }
    virtual void popupEvent(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1894, (void*)this, x)) return;
        this->Plasma::PopupApplet::popupEvent(x1);
    }
    virtual void save(KConfigGroup& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(402, (void*)this, x)) return;
        this->Plasma::Applet::save(x1);
    }
    virtual void restore(KConfigGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(403, (void*)this, x)) return;
        this->Plasma::Applet::restore(x1);
    }
    virtual Plasma::FormFactor formFactor() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(414, (void*)this, x)) return (Plasma::FormFactor)x[0].s_enum;
        return this->Plasma::Applet::formFactor();
    }
    virtual Plasma::Location location() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(415, (void*)this, x)) return (Plasma::Location)x[0].s_enum;
        return this->Plasma::Applet::location();
    }
    virtual void paintInterface(QPainter* x1, const QStyleOptionGraphicsItem* x2, const QRect& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(430, (void*)this, x)) return;
        this->Plasma::Applet::paintInterface(x1, x2, x3);
    }
    virtual QList<QAction*> contextualActions() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(443, (void*)this, x)) {
            QList<QAction*>* xptr = (QList<QAction*>*)x[0].s_class;
            QList<QAction*> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Applet::contextualActions();
    }
    virtual bool isPopupShowing() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1889, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::PopupApplet::isPopupShowing();
    }
    virtual void addAssociatedWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(455, (void*)this, x)) return;
        this->Plasma::Applet::addAssociatedWidget(x1);
    }
    virtual void removeAssociatedWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(456, (void*)this, x)) return;
        this->Plasma::Applet::removeAssociatedWidget(x1);
    }
    virtual void initExtenderItem(Plasma::ExtenderItem* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(457, (void*)this, x)) return;
        this->Plasma::Applet::initExtenderItem(x1);
    }
    virtual void createConfigurationInterface(KConfigDialog* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(462, (void*)this, x)) return;
        this->Plasma::Applet::createConfigurationInterface(x1);
    }
    virtual void destroy() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(482, (void*)this, x)) return;
        this->Plasma::Applet::destroy();
    }
    virtual void showConfigurationInterface() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(483, (void*)this, x)) return;
        this->Plasma::Applet::showConfigurationInterface();
    }
    virtual void init() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(489, (void*)this, x)) return;
        this->Plasma::Applet::init();
    }
    virtual void configChanged() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(490, (void*)this, x)) return;
        this->Plasma::Applet::configChanged();
    }
    virtual void saveState(KConfigGroup& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(501, (void*)this, x)) return;
        this->Plasma::Applet::saveState(x1);
    }
    virtual void constraintsEvent(QFlags<Plasma::Constraint> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(505, (void*)this, x)) return;
        this->Plasma::Applet::constraintsEvent(x1);
    }
    virtual void paintWindowFrame(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(438, (void*)this, x)) return;
        this->Plasma::Applet::paintWindowFrame(x1, x2, x3);
    }
    virtual void initStyleOption(QStyleOption* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3268, (void*)this, x)) return;
        this->QGraphicsWidget::initStyleOption(x1);
    }
    virtual QVariant propertyChange(const QString& x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3272, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::propertyChange(x1, x2);
    }
    virtual bool windowFrameEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3274, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::windowFrameEvent(x1);
    }
    virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3275, (void*)this, x)) return (Qt::WindowFrameSection)x[0].s_enum;
        return this->QGraphicsWidget::windowFrameSectionAt(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3277, (void*)this, x)) return;
        this->QGraphicsWidget::changeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3278, (void*)this, x)) return;
        this->QGraphicsWidget::closeEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3280, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::focusNextPrevChild(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3282, (void*)this, x)) return;
        this->QGraphicsWidget::hideEvent(x1);
    }
    virtual void moveEvent(QGraphicsSceneMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3283, (void*)this, x)) return;
        this->QGraphicsWidget::moveEvent(x1);
    }
    virtual void polishEvent() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3284, (void*)this, x)) return;
        this->QGraphicsWidget::polishEvent();
    }
    virtual void resizeEvent(QGraphicsSceneResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(514, (void*)this, x)) return;
        this->Plasma::Applet::resizeEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3286, (void*)this, x)) return;
        this->QGraphicsWidget::showEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3287, (void*)this, x)) return;
        this->QGraphicsWidget::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(519, (void*)this, x)) return;
        this->Plasma::Applet::hoverLeaveEvent(x1);
    }
    virtual void grabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3289, (void*)this, x)) return;
        this->QGraphicsWidget::grabMouseEvent(x1);
    }
    virtual void ungrabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3290, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabMouseEvent(x1);
    }
    virtual void grabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3291, (void*)this, x)) return;
        this->QGraphicsWidget::grabKeyboardEvent(x1);
    }
    virtual void ungrabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3292, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabKeyboardEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3276, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(1898, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::PopupApplet::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1902, (void*)this, x)) return;
        this->Plasma::PopupApplet::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3299, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3122, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3266, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::boundingRect();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(516, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Applet::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3123, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3124, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3125, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3126, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3127, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::opaqueArea();
    }
    virtual int type() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(450, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Applet::type();
    }
    virtual bool sceneEventFilter(QGraphicsItem* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(511, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::Applet::sceneEventFilter(x1, x2);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3273, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::sceneEvent(x1);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3129, (void*)this, x)) return;
        this->QGraphicsItem::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1899, (void*)this, x)) return;
        this->Plasma::PopupApplet::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1900, (void*)this, x)) return;
        this->Plasma::PopupApplet::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3132, (void*)this, x)) return;
        this->QGraphicsItem::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1901, (void*)this, x)) return;
        this->Plasma::PopupApplet::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(513, (void*)this, x)) return;
        this->Plasma::Applet::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3281, (void*)this, x)) return;
        this->QGraphicsWidget::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(518, (void*)this, x)) return;
        this->Plasma::Applet::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3135, (void*)this, x)) return;
        this->QGraphicsItem::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3136, (void*)this, x)) return;
        this->QGraphicsItem::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1896, (void*)this, x)) return;
        this->Plasma::PopupApplet::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(512, (void*)this, x)) return;
        this->Plasma::Applet::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1897, (void*)this, x)) return;
        this->Plasma::PopupApplet::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3140, (void*)this, x)) return;
        this->QGraphicsItem::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3141, (void*)this, x)) return;
        this->QGraphicsItem::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3142, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3143, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(515, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Applet::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3261, (void*)this, x)) return;
        this->QGraphicsWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1895, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::PopupApplet::sizeHint(x1, x2);
    }
    ~x_Plasma__PopupApplet() { this->_binding->deleted(75, (void*)this); }
};
void xcall_Plasma__PopupApplet(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__PopupApplet *xself = (x_Plasma__PopupApplet*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__PopupApplet::x_3(args);	break;
        case 4: x_Plasma__PopupApplet::x_4(args);	break;
        case 5: x_Plasma__PopupApplet::x_5(args);	break;
        case 6: x_Plasma__PopupApplet::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__PopupApplet::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: x_Plasma__PopupApplet::x_35(args);	break;
        case 36: x_Plasma__PopupApplet::x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: x_Plasma__PopupApplet::x_39(args);	break;
        case 40: delete (Plasma::PopupApplet*)xself;	break;
    }
}

}
