//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__ToolTipManager : public Plasma::ToolTipManager {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_Plasma__ToolTipManager*)this)->Plasma::ToolTipManager::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->Plasma::ToolTipManager::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::ToolTipManager::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::ToolTipManager::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::ToolTipManager::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::ToolTipManager::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**)
        int xret = this->Plasma::ToolTipManager::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) {
        // static Plasma::ToolTipManager* self()
        Plasma::ToolTipManager* xret = Plasma::ToolTipManager::self();
        x[0].s_class = (void*)xret;
    }
    void x_9(Smoke::Stack x) {
        // void show(QGraphicsWidget*)
        this->Plasma::ToolTipManager::show((QGraphicsWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isVisible(QGraphicsWidget*) const
        bool xret = ((const x_Plasma__ToolTipManager*)this)->Plasma::ToolTipManager::isVisible((QGraphicsWidget*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void hide(QGraphicsWidget*)
        this->Plasma::ToolTipManager::hide((QGraphicsWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void registerWidget(QGraphicsWidget*)
        this->Plasma::ToolTipManager::registerWidget((QGraphicsWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void unregisterWidget(QGraphicsWidget*)
        this->Plasma::ToolTipManager::unregisterWidget((QGraphicsWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setContent(QGraphicsWidget*, const Plasma::ToolTipContent&)
        this->Plasma::ToolTipManager::setContent((QGraphicsWidget*)x[1].s_class,*(const Plasma::ToolTipContent*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void clearContent(QGraphicsWidget*)
        this->Plasma::ToolTipManager::clearContent((QGraphicsWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setState(Plasma::ToolTipManager::State)
        this->Plasma::ToolTipManager::setState((Plasma::ToolTipManager::State)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // Plasma::ToolTipManager::State state() const
        Plasma::ToolTipManager::State xret = ((const x_Plasma__ToolTipManager*)this)->Plasma::ToolTipManager::state();
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // void windowPreviewActivated(WId, Qt::MouseButtons, Qt::KeyboardModifiers, const QPoint&)
        this->Plasma::ToolTipManager::windowPreviewActivated((WId)x[1].s_ulong,(Qt::MouseButtons)x[2].s_uint,(Qt::KeyboardModifiers)x[3].s_uint,*(const QPoint*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void linkActivated(const QString&, Qt::MouseButtons, Qt::KeyboardModifiers, const QPoint&)
        this->Plasma::ToolTipManager::linkActivated(*(const QString*)x[1].s_class,(Qt::MouseButtons)x[2].s_uint,(Qt::KeyboardModifiers)x[3].s_uint,*(const QPoint*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::ToolTipManager::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::ToolTipManager::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::ToolTipManager::staticMetaObject;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ToolTipManager::Activated;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ToolTipManager::Inhibited;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ToolTipManager::Deactivated;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 167: //Plasma::ToolTipManager::State
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::ToolTipManager::State;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::ToolTipManager::State*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::ToolTipManager::State*)xdata = (Plasma::ToolTipManager::State)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::ToolTipManager::State*)xdata;
                    break;
            }
            break;
        }
    }
};
void xenum_Plasma__ToolTipManager(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__ToolTipManager::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__ToolTipManager(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__ToolTipManager *xself = (x_Plasma__ToolTipManager*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__ToolTipManager::x_3(args);	break;
        case 4: x_Plasma__ToolTipManager::x_4(args);	break;
        case 5: x_Plasma__ToolTipManager::x_5(args);	break;
        case 6: x_Plasma__ToolTipManager::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__ToolTipManager::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: x_Plasma__ToolTipManager::x_20(args);	break;
        case 21: x_Plasma__ToolTipManager::x_21(args);	break;
        case 22: x_Plasma__ToolTipManager::x_22(args);	break;
        case 23: x_Plasma__ToolTipManager::x_23(args);	break;
        case 24: x_Plasma__ToolTipManager::x_24(args);	break;
        case 25: x_Plasma__ToolTipManager::x_25(args);	break;
    }
}
class x_Plasma__TreeView : public Plasma::TreeView, 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::TreeView*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__TreeView*)this)->Plasma::TreeView::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__TreeView*)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::TreeView*>(this))) {
            void* xret = this->Plasma::TreeView::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::TreeView::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::TreeView::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::TreeView::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::TreeView::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::TreeView*>(this))) {
            int xret = this->Plasma::TreeView::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::TreeView* TreeView(QGraphicsWidget*)
        x_Plasma__TreeView* xret = new x_Plasma__TreeView((QGraphicsWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__TreeView(QGraphicsWidget* x1) : TreeView(x1) {}
    void x_9(Smoke::Stack x) {
        // void setModel(QAbstractItemModel*)
        this->Plasma::TreeView::setModel((QAbstractItemModel*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QAbstractItemModel* model()
        QAbstractItemModel* xret = this->Plasma::TreeView::model();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setStyleSheet(const QString&)
        this->Plasma::TreeView::setStyleSheet(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString styleSheet()
        QString xret = this->Plasma::TreeView::styleSheet();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QTreeView* nativeWidget() const
        QTreeView* xret = ((const x_Plasma__TreeView*)this)->Plasma::TreeView::nativeWidget();
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::TreeView::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::TreeView::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // Plasma::TreeView* TreeView()
        x_Plasma__TreeView* xret = new x_Plasma__TreeView((QGraphicsWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::TreeView::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2808, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::TreeView::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2809, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::TreeView::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(2814, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::TreeView::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(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(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(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(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(3185, (void*)this, x)) return;
        this->QGraphicsProxyWidget::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(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(3203, (void*)this, x)) return;
        this->QGraphicsProxyWidget::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__TreeView() { this->_binding->deleted(102, (void*)this); }
};
void xcall_Plasma__TreeView(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__TreeView *xself = (x_Plasma__TreeView*)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__TreeView::x_3(args);	break;
        case 4: x_Plasma__TreeView::x_4(args);	break;
        case 5: x_Plasma__TreeView::x_5(args);	break;
        case 6: x_Plasma__TreeView::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__TreeView::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: x_Plasma__TreeView::x_14(args);	break;
        case 15: x_Plasma__TreeView::x_15(args);	break;
        case 16: x_Plasma__TreeView::x_16(args);	break;
        case 17: x_Plasma__TreeView::x_17(args);	break;
        case 18: delete (Plasma::TreeView*)xself;	break;
    }
}
class x_Plasma__VideoWidget : public Plasma::VideoWidget, 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::VideoWidget*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__VideoWidget*)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::VideoWidget*>(this))) {
            void* xret = this->Plasma::VideoWidget::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::VideoWidget::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::VideoWidget::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::VideoWidget::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::VideoWidget::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::VideoWidget*>(this))) {
            int xret = this->Plasma::VideoWidget::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::VideoWidget* VideoWidget(QGraphicsWidget*)
        x_Plasma__VideoWidget* xret = new x_Plasma__VideoWidget((QGraphicsWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__VideoWidget(QGraphicsWidget* x1) : VideoWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // void setUrl(const QString&)
        this->Plasma::VideoWidget::setUrl(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString url() const
        QString xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::url();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // Phonon::MediaObject* mediaObject() const
        Phonon::MediaObject* xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::mediaObject();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // Phonon::AudioOutput* audioOutput() const
        Phonon::AudioOutput* xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::audioOutput();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // long long currentTime() const
        long long xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::currentTime();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_14(Smoke::Stack x) {
        // long long totalTime() const
        long long xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::totalTime();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_15(Smoke::Stack x) {
        // long long remainingTime() const
        long long xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::remainingTime();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setUsedControls(const QFlags<Plasma::VideoWidget::Control>)
        this->Plasma::VideoWidget::setUsedControls((const QFlags<Plasma::VideoWidget::Control>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QFlags<Plasma::VideoWidget::Control> usedControls() const
        QFlags<Plasma::VideoWidget::Control> xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::usedControls();
        x[0].s_uint = (uint)xret;
    }
    void x_18(Smoke::Stack x) {
        // void setControlsVisible(bool)
        this->Plasma::VideoWidget::setControlsVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // bool controlsVisible() const
        bool xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::controlsVisible();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setTickInterval(long long)
        this->Plasma::VideoWidget::setTickInterval(*(long long*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // long long tickInterval() const
        long long xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::tickInterval();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_22(Smoke::Stack x) {
        // void setStyleSheet(const QString&)
        this->Plasma::VideoWidget::setStyleSheet(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QString styleSheet()
        QString xret = this->Plasma::VideoWidget::styleSheet();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // Phonon::VideoWidget* nativeWidget() const
        Phonon::VideoWidget* xret = ((const x_Plasma__VideoWidget*)this)->Plasma::VideoWidget::nativeWidget();
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // void play()
        this->Plasma::VideoWidget::play();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void pause()
        this->Plasma::VideoWidget::pause();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void stop()
        this->Plasma::VideoWidget::stop();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void seek(qint64)
        this->Plasma::VideoWidget::seek(*(qint64*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void tick(qint64)
        this->Plasma::VideoWidget::tick(*(qint64*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void aboutToFinish()
        this->Plasma::VideoWidget::aboutToFinish();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void nextRequested()
        this->Plasma::VideoWidget::nextRequested();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void previousRequested()
        this->Plasma::VideoWidget::previousRequested();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void resizeEvent(QGraphicsSceneResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::VideoWidget*>(this))) {
            this->Plasma::VideoWidget::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_34(Smoke::Stack x) {
        // void hoverEnterEvent(QGraphicsSceneHoverEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::VideoWidget*>(this))) {
            this->Plasma::VideoWidget::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_35(Smoke::Stack x) {
        // void hoverLeaveEvent(QGraphicsSceneHoverEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::VideoWidget*>(this))) {
            this->Plasma::VideoWidget::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_36(Smoke::Stack x) {
        // void hoverMoveEvent(QGraphicsSceneHoverEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::VideoWidget*>(this))) {
            this->Plasma::VideoWidget::hoverMoveEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hoverMoveEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_37(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::VideoWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::VideoWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_39(Smoke::Stack x) {
        // Plasma::VideoWidget* VideoWidget()
        x_Plasma__VideoWidget* xret = new x_Plasma__VideoWidget((QGraphicsWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_40(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::VideoWidget::staticMetaObject;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::NoControls;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::Play;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::Pause;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::Stop;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::PlayPause;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::Previous;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::Next;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::Progress;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::Volume;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::OpenFile;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VideoWidget::DefaultControls;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2826, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::VideoWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2827, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::VideoWidget::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(2832, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::VideoWidget::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(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(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(2858, (void*)this, x)) return;
        this->Plasma::VideoWidget::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(2861, (void*)this, x)) return;
        this->Plasma::VideoWidget::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2860, (void*)this, x)) return;
        this->Plasma::VideoWidget::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(3185, (void*)this, x)) return;
        this->QGraphicsProxyWidget::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(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(2859, (void*)this, x)) return;
        this->Plasma::VideoWidget::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(3203, (void*)this, x)) return;
        this->QGraphicsProxyWidget::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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 171: //Plasma::VideoWidget::Control
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::VideoWidget::Control;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::VideoWidget::Control*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::VideoWidget::Control*)xdata = (Plasma::VideoWidget::Control)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::VideoWidget::Control*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Plasma__VideoWidget() { this->_binding->deleted(103, (void*)this); }
};
void xenum_Plasma__VideoWidget(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__VideoWidget::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__VideoWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__VideoWidget *xself = (x_Plasma__VideoWidget*)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__VideoWidget::x_3(args);	break;
        case 4: x_Plasma__VideoWidget::x_4(args);	break;
        case 5: x_Plasma__VideoWidget::x_5(args);	break;
        case 6: x_Plasma__VideoWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__VideoWidget::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: x_Plasma__VideoWidget::x_37(args);	break;
        case 38: x_Plasma__VideoWidget::x_38(args);	break;
        case 39: x_Plasma__VideoWidget::x_39(args);	break;
        case 40: x_Plasma__VideoWidget::x_40(args);	break;
        case 41: x_Plasma__VideoWidget::x_41(args);	break;
        case 42: x_Plasma__VideoWidget::x_42(args);	break;
        case 43: x_Plasma__VideoWidget::x_43(args);	break;
        case 44: x_Plasma__VideoWidget::x_44(args);	break;
        case 45: x_Plasma__VideoWidget::x_45(args);	break;
        case 46: x_Plasma__VideoWidget::x_46(args);	break;
        case 47: x_Plasma__VideoWidget::x_47(args);	break;
        case 48: x_Plasma__VideoWidget::x_48(args);	break;
        case 49: x_Plasma__VideoWidget::x_49(args);	break;
        case 50: x_Plasma__VideoWidget::x_50(args);	break;
        case 51: x_Plasma__VideoWidget::x_51(args);	break;
        case 52: delete (Plasma::VideoWidget*)xself;	break;
    }
}
class x_Plasma__View : public Plasma::View, 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::View*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__View*)this)->Plasma::View::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__View*)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::View*>(this))) {
            void* xret = this->Plasma::View::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::View::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::View::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::View::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::View::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::View*>(this))) {
            int xret = this->Plasma::View::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::View* View(Plasma::Containment*, QWidget*)
        x_Plasma__View* xret = new x_Plasma__View((Plasma::Containment*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__View(Plasma::Containment* x1, QWidget* x2) : View(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // Plasma::View* View(Plasma::Containment*, int, QWidget*)
        x_Plasma__View* xret = new x_Plasma__View((Plasma::Containment*)x[1].s_class,(int)x[2].s_int,(QWidget*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__View(Plasma::Containment* x1, int x2, QWidget* x3) : View(x1, x2, x3) {}
    void x_10(Smoke::Stack x) {
        // void setWallpaperEnabled(bool)
        this->Plasma::View::setWallpaperEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool isWallpaperEnabled() const
        bool xret = ((const x_Plasma__View*)this)->Plasma::View::isWallpaperEnabled();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setScreen(int, int)
        this->Plasma::View::setScreen((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // int screen() const
        int xret = ((const x_Plasma__View*)this)->Plasma::View::screen();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // int desktop() const
        int xret = ((const x_Plasma__View*)this)->Plasma::View::desktop();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // int effectiveDesktop() const
        int xret = ((const x_Plasma__View*)this)->Plasma::View::effectiveDesktop();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // Plasma::Containment* containment() const
        Plasma::Containment* xret = ((const x_Plasma__View*)this)->Plasma::View::containment();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // Plasma::Containment* swapContainment(Plasma::Containment*, const QString&, const QList<QVariant>&)
        Plasma::Containment* xret = this->Plasma::View::swapContainment((Plasma::Containment*)x[1].s_class,*(const QString*)x[2].s_class,*(const QList<QVariant>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // Plasma::Containment* swapContainment(const QString&, const QList<QVariant>&)
        Plasma::Containment* xret = this->Plasma::View::swapContainment(*(const QString*)x[1].s_class,*(const QList<QVariant>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void setTrackContainmentChanges(bool)
        this->Plasma::View::setTrackContainmentChanges((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool trackContainmentChanges()
        bool xret = this->Plasma::View::trackContainmentChanges();
        x[0].s_bool = xret;
    }
    static void x_21(Smoke::Stack x) {
        // static Plasma::View* topLevelViewAt(const QPoint&)
        Plasma::View* xret = Plasma::View::topLevelViewAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // int id() const
        int xret = ((const x_Plasma__View*)this)->Plasma::View::id();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // void sceneRectAboutToChange()
        this->Plasma::View::sceneRectAboutToChange();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void sceneRectChanged()
        this->Plasma::View::sceneRectChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void lostContainment()
        this->Plasma::View::lostContainment();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // virtual void setContainment(Plasma::Containment*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::View*>(this))) {
            this->Plasma::View::setContainment((Plasma::Containment*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setContainment((Plasma::Containment*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // KConfigGroup config() const
        KConfigGroup xret = ((const x_Plasma__View*)this)->Plasma::View::config();
        x[0].s_class = (void*)new KConfigGroup(xret);
    }
    void x_28(Smoke::Stack x) {
        // void configNeedsSaving() const
        ((const x_Plasma__View*)this)->Plasma::View::configNeedsSaving();
        (void)x; // noop (for compiler warning)
    }
    static void x_29(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::View::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::View::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_31(Smoke::Stack x) {
        // Plasma::View* View(Plasma::Containment*)
        x_Plasma__View* xret = new x_Plasma__View((Plasma::Containment*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_32(Smoke::Stack x) {
        // Plasma::View* View(Plasma::Containment*, int)
        x_Plasma__View* xret = new x_Plasma__View((Plasma::Containment*)x[1].s_class,(int)x[2].s_int,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_33(Smoke::Stack x) {
        // void setScreen(int)
        this->Plasma::View::setScreen((int)x[1].s_int,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // Plasma::Containment* swapContainment(Plasma::Containment*, const QString&)
        Plasma::Containment* xret = this->Plasma::View::swapContainment((Plasma::Containment*)x[1].s_class,*(const QString*)x[2].s_class,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    void x_35(Smoke::Stack x) {
        // Plasma::Containment* swapContainment(const QString&)
        Plasma::Containment* xret = this->Plasma::View::swapContainment(*(const QString*)x[1].s_class,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_36(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::View::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2878, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::View::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2879, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::View::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(2884, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::View::qt_metacall(x1, x2, x3);
    }
    virtual void setContainment(Plasma::Containment* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2903, (void*)this, x)) return;
        this->Plasma::View::setContainment(x1);
    }
    virtual void drawBackground(QPainter* x1, const QRectF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3258, (void*)this, x)) return;
        this->QGraphicsView::drawBackground(x1, x2);
    }
    virtual void drawForeground(QPainter* x1, const QRectF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3259, (void*)this, x)) return;
        this->QGraphicsView::drawForeground(x1, x2);
    }
    virtual void drawItems(QPainter* x1, int x2, QGraphicsItem** x3, const QStyleOptionGraphicsItem* x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3260, (void*)this, x)) return;
        this->QGraphicsView::drawItems(x1, x2, x3, x4);
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3237, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsView::viewportEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(3255, (void*)this, x)) return;
        this->QGraphicsView::scrollContentsBy(x1, x2);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3302, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3234, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsView::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3120, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3305, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3249, (void*)this, x)) return;
        this->QGraphicsView::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3251, (void*)this, x)) return;
        this->QGraphicsView::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3248, (void*)this, x)) return;
        this->QGraphicsView::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3250, (void*)this, x)) return;
        this->QGraphicsView::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3252, (void*)this, x)) return;
        this->QGraphicsView::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3246, (void*)this, x)) return;
        this->QGraphicsView::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3247, (void*)this, x)) return;
        this->QGraphicsView::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3243, (void*)this, x)) return;
        this->QGraphicsView::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3245, (void*)this, x)) return;
        this->QGraphicsView::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3311, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3312, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3253, (void*)this, x)) return;
        this->QGraphicsView::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3313, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3254, (void*)this, x)) return;
        this->QGraphicsView::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3314, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3238, (void*)this, x)) return;
        this->QGraphicsView::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3316, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3317, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3239, (void*)this, x)) return;
        this->QGraphicsView::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3241, (void*)this, x)) return;
        this->QGraphicsView::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3240, (void*)this, x)) return;
        this->QGraphicsView::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3242, (void*)this, x)) return;
        this->QGraphicsView::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3256, (void*)this, x)) return;
        this->QGraphicsView::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3322, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3323, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3121, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3257, (void*)this, x)) return;
        this->QGraphicsView::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3235, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsView::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3244, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsView::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3329, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3330, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3331, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3332, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3333, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3334, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3236, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsView::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 int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3301, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3306, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3325, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_Plasma__View() { this->_binding->deleted(104, (void*)this); }
};
void xcall_Plasma__View(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__View *xself = (x_Plasma__View*)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__View::x_3(args);	break;
        case 4: x_Plasma__View::x_4(args);	break;
        case 5: x_Plasma__View::x_5(args);	break;
        case 6: x_Plasma__View::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__View::x_8(args);	break;
        case 9: x_Plasma__View::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: x_Plasma__View::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: x_Plasma__View::x_29(args);	break;
        case 30: x_Plasma__View::x_30(args);	break;
        case 31: x_Plasma__View::x_31(args);	break;
        case 32: x_Plasma__View::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__View::x_36(args);	break;
        case 37: delete (Plasma::View*)xself;	break;
    }
}
class x_Plasma__Wallpaper : public Plasma::Wallpaper, 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::Wallpaper*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__Wallpaper*)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::Wallpaper*>(this))) {
            void* xret = this->Plasma::Wallpaper::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::Wallpaper::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::Wallpaper::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::Wallpaper::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::Wallpaper::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::Wallpaper*>(this))) {
            int xret = this->Plasma::Wallpaper::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::Wallpaper* Wallpaper(QObject*)
        x_Plasma__Wallpaper* xret = new x_Plasma__Wallpaper((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Wallpaper(QObject* x1) : Wallpaper(x1) {}
    void x_9(Smoke::Stack x) {
        // void setUrls(const KUrl::List&)
        this->Plasma::Wallpaper::setUrls(*(const KUrl::List*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static QList<KPluginInfo> listWallpaperInfo(const QString&)
        QList<KPluginInfo> xret = Plasma::Wallpaper::listWallpaperInfo(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QList<KPluginInfo> listWallpaperInfoForMimetype(const QString&, const QString&)
        QList<KPluginInfo> xret = Plasma::Wallpaper::listWallpaperInfoForMimetype(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static Plasma::Wallpaper* load(const QString&, const QList<QVariant>&)
        Plasma::Wallpaper* xret = Plasma::Wallpaper::load(*(const QString*)x[1].s_class,*(const QList<QVariant>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // static Plasma::Wallpaper* load(const KPluginInfo&, const QList<QVariant>&)
        Plasma::Wallpaper* xret = Plasma::Wallpaper::load(*(const KPluginInfo*)x[1].s_class,*(const QList<QVariant>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static KSharedPtr<Plasma::PackageStructure> packageStructure(Plasma::Wallpaper*)
        KSharedPtr<Plasma::PackageStructure> xret = Plasma::Wallpaper::packageStructure((Plasma::Wallpaper*)x[1].s_class);
        x[0].s_class = (void*)new KSharedPtr<Plasma::PackageStructure>(xret);
    }
    void x_15(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // const Plasma::Package* package() const
        const Plasma::Package* xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::package();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // QString pluginName() const
        QString xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::pluginName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // QString icon() const
        QString xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::icon();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_19(Smoke::Stack x) {
        // KServiceAction renderingMode() const
        KServiceAction xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::renderingMode();
        x[0].s_class = (void*)new KServiceAction(xret);
    }
    void x_20(Smoke::Stack x) {
        // bool supportsMimetype(const QString&) const
        bool xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::supportsMimetype(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setRenderingMode(const QString&)
        this->Plasma::Wallpaper::setRenderingMode(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QList<KServiceAction> listRenderingModes() const
        QList<KServiceAction> xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::listRenderingModes();
        x[0].s_class = (void*)new QList<KServiceAction>(xret);
    }
    void x_23(Smoke::Stack x) {
        // bool isInitialized() const
        bool xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::isInitialized();
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // QRectF boundingRect() const
        QRectF xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::boundingRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_25(Smoke::Stack x) {
        // void setBoundingRect(const QRectF&)
        this->Plasma::Wallpaper::setBoundingRect(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // virtual void paint(QPainter*, const QRectF&) = 0
        this->paint((QPainter*)x[1].s_class,*(const QRectF*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void restore(const KConfigGroup&)
        this->Plasma::Wallpaper::restore(*(const KConfigGroup*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // virtual void save(KConfigGroup&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Wallpaper*>(this))) {
            this->Plasma::Wallpaper::save(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->save(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // virtual QWidget* createConfigurationInterface(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Wallpaper*>(this))) {
            QWidget* xret = this->Plasma::Wallpaper::createConfigurationInterface((QWidget*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = this->createConfigurationInterface((QWidget*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_30(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Wallpaper*>(this))) {
            this->Plasma::Wallpaper::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_31(Smoke::Stack x) {
        // virtual void mousePressEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Wallpaper*>(this))) {
            this->Plasma::Wallpaper::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_32(Smoke::Stack x) {
        // virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Wallpaper*>(this))) {
            this->Plasma::Wallpaper::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_33(Smoke::Stack x) {
        // virtual void wheelEvent(QGraphicsSceneWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Wallpaper*>(this))) {
            this->Plasma::Wallpaper::wheelEvent((QGraphicsSceneWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QGraphicsSceneWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // Plasma::DataEngine* dataEngine(const QString&) const
        Plasma::DataEngine* xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::dataEngine(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_35(Smoke::Stack x) {
        // bool configurationRequired() const
        bool xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::configurationRequired();
        x[0].s_bool = xret;
    }
    void x_36(Smoke::Stack x) {
        // bool isUsingRenderingCache() const
        bool xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::isUsingRenderingCache();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // void setResizeMethodHint(Plasma::Wallpaper::ResizeMethod)
        this->Plasma::Wallpaper::setResizeMethodHint((Plasma::Wallpaper::ResizeMethod)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // Plasma::Wallpaper::ResizeMethod resizeMethodHint() const
        Plasma::Wallpaper::ResizeMethod xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::resizeMethodHint();
        x[0].s_enum = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setTargetSizeHint(const QSizeF&)
        this->Plasma::Wallpaper::setTargetSizeHint(*(const QSizeF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // QSizeF targetSizeHint() const
        QSizeF xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::targetSizeHint();
        x[0].s_class = (void*)new QSizeF(xret);
    }
    void x_41(Smoke::Stack x) {
        // QList<QAction*> contextualActions() const
        QList<QAction*> xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::contextualActions();
        x[0].s_class = (void*)new QList<QAction*>(xret);
    }
    void x_42(Smoke::Stack x) {
        // bool isPreviewing() const
        bool xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::isPreviewing();
        x[0].s_bool = xret;
    }
    void x_43(Smoke::Stack x) {
        // void setPreviewing(bool)
        this->Plasma::Wallpaper::setPreviewing((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // bool needsPreviewDuringConfiguration() const
        bool xret = ((const x_Plasma__Wallpaper*)this)->Plasma::Wallpaper::needsPreviewDuringConfiguration();
        x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
        // void update(const QRectF&)
        this->Plasma::Wallpaper::update(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void configureRequested()
        this->Plasma::Wallpaper::configureRequested();
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void configurationRequired(bool)
        this->Plasma::Wallpaper::configurationRequired((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void configNeedsSaving()
        this->Plasma::Wallpaper::configNeedsSaving();
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void renderCompleted(const QImage&)
        this->Plasma::Wallpaper::renderCompleted(*(const QImage*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void urlDropped(const KUrl&)
        this->Plasma::Wallpaper::urlDropped(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void renderHintsChanged()
        this->Plasma::Wallpaper::renderHintsChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void addUrls(const KUrl::List&)
        this->Plasma::Wallpaper::addUrls(*(const KUrl::List*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_53(Smoke::Stack x) {
        // Plasma::Wallpaper* Wallpaper(QObject*, const QList<QVariant>&)
        x_Plasma__Wallpaper* xret = new x_Plasma__Wallpaper((QObject*)x[1].s_class,*(const QList<QVariant>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Wallpaper(QObject* x1, const QList<QVariant>& x2) : Wallpaper(x1, x2) {}
    void x_54(Smoke::Stack x) {
        // virtual void init(const KConfigGroup&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Wallpaper*>(this))) {
            this->Plasma::Wallpaper::init(*(const KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->init(*(const KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // void setConfigurationRequired(bool, const QString&)
        this->Plasma::Wallpaper::setConfigurationRequired((bool)x[1].s_bool,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void render(const QString&, const QSize&, Plasma::Wallpaper::ResizeMethod, const QColor&)
        this->Plasma::Wallpaper::render(*(const QString*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)x[3].s_enum,*(const QColor*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void render(const QImage&, const QSize&, Plasma::Wallpaper::ResizeMethod, const QColor&)
        this->Plasma::Wallpaper::render(*(const QImage*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)x[3].s_enum,*(const QColor*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void setUsingRenderingCache(bool)
        this->Plasma::Wallpaper::setUsingRenderingCache((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // bool findInCache(const QString&, QImage&, unsigned int)
        bool xret = this->Plasma::Wallpaper::findInCache(*(const QString*)x[1].s_class,*(QImage*)x[2].s_class,(unsigned int)x[3].s_uint);
        x[0].s_bool = xret;
    }
    void x_60(Smoke::Stack x) {
        // void insertIntoCache(const QString&, const QImage&)
        this->Plasma::Wallpaper::insertIntoCache(*(const QString*)x[1].s_class,*(const QImage*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void setContextualActions(const QList<QAction*>&)
        this->Plasma::Wallpaper::setContextualActions(*(const QList<QAction*>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void setPreviewDuringConfiguration(const bool)
        this->Plasma::Wallpaper::setPreviewDuringConfiguration((const bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_63(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::Wallpaper::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_64(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::Wallpaper::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_65(Smoke::Stack x) {
        // Plasma::Wallpaper* Wallpaper()
        x_Plasma__Wallpaper* xret = new x_Plasma__Wallpaper((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_66(Smoke::Stack x) {
        // static QList<KPluginInfo> listWallpaperInfo()
        QList<KPluginInfo> xret = Plasma::Wallpaper::listWallpaperInfo((const QString&)QString());
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_67(Smoke::Stack x) {
        // static QList<KPluginInfo> listWallpaperInfoForMimetype(const QString&)
        QList<KPluginInfo> xret = Plasma::Wallpaper::listWallpaperInfoForMimetype(*(const QString*)x[1].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_68(Smoke::Stack x) {
        // static Plasma::Wallpaper* load(const QString&)
        Plasma::Wallpaper* xret = Plasma::Wallpaper::load(*(const QString*)x[1].s_class,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_69(Smoke::Stack x) {
        // static Plasma::Wallpaper* load(const KPluginInfo&)
        Plasma::Wallpaper* xret = Plasma::Wallpaper::load(*(const KPluginInfo*)x[1].s_class,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_70(Smoke::Stack x) {
        // static KSharedPtr<Plasma::PackageStructure> packageStructure()
        KSharedPtr<Plasma::PackageStructure> xret = Plasma::Wallpaper::packageStructure((Plasma::Wallpaper*)0);
        x[0].s_class = (void*)new KSharedPtr<Plasma::PackageStructure>(xret);
    }
    void x_71(Smoke::Stack x) {
        // void setConfigurationRequired(bool)
        this->Plasma::Wallpaper::setConfigurationRequired((bool)x[1].s_bool,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_72(Smoke::Stack x) {
        // void render(const QString&, const QSize&)
        this->Plasma::Wallpaper::render(*(const QString*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)Plasma::Wallpaper::ScaledResize,(const QColor&)QColor(0,0,0));
        (void)x; // noop (for compiler warning)
    }
    void x_73(Smoke::Stack x) {
        // void render(const QString&, const QSize&, Plasma::Wallpaper::ResizeMethod)
        this->Plasma::Wallpaper::render(*(const QString*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)x[3].s_enum,(const QColor&)QColor(0,0,0));
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // void render(const QImage&, const QSize&)
        this->Plasma::Wallpaper::render(*(const QImage*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)Plasma::Wallpaper::ScaledResize,(const QColor&)QColor(0,0,0));
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void render(const QImage&, const QSize&, Plasma::Wallpaper::ResizeMethod)
        this->Plasma::Wallpaper::render(*(const QImage*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)x[3].s_enum,(const QColor&)QColor(0,0,0));
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // bool findInCache(const QString&, QImage&)
        bool xret = this->Plasma::Wallpaper::findInCache(*(const QString*)x[1].s_class,*(QImage*)x[2].s_class,(unsigned int)0);
        x[0].s_bool = xret;
    }
    static void x_77(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::Wallpaper::staticMetaObject;
    }
    void x_78(Smoke::Stack x) {
        // QList<QAction*> contextActions
        x[0].s_class = (void*)&this->Plasma::Wallpaper::contextActions;
    }
    void x_79(Smoke::Stack x) {
        // QList<QAction*> contextActions=
        this->Plasma::Wallpaper::contextActions = *(const QList<QAction*>*)x[1].s_class;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Wallpaper::ScaledResize;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Wallpaper::CenteredResize;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Wallpaper::ScaledAndCroppedResize;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Wallpaper::TiledResize;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Wallpaper::CenterTiledResize;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Wallpaper::MaxpectResize;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Wallpaper::LastResizeMethod;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2915, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::Wallpaper::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2916, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::Wallpaper::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(2921, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Wallpaper::qt_metacall(x1, x2, x3);
    }
    virtual void paint(QPainter* x1, const QRectF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        this->_binding->callMethod(2940, (void*)this, x, true /*pure virtual*/);
    }
    virtual void save(KConfigGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2942, (void*)this, x)) return;
        this->Plasma::Wallpaper::save(x1);
    }
    virtual QWidget* createConfigurationInterface(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2943, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->Plasma::Wallpaper::createConfigurationInterface(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2944, (void*)this, x)) return;
        this->Plasma::Wallpaper::mouseMoveEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2945, (void*)this, x)) return;
        this->Plasma::Wallpaper::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2946, (void*)this, x)) return;
        this->Plasma::Wallpaper::mouseReleaseEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2947, (void*)this, x)) return;
        this->Plasma::Wallpaper::wheelEvent(x1);
    }
    virtual void init(const KConfigGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2968, (void*)this, x)) return;
        this->Plasma::Wallpaper::init(x1);
    }
    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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 174: //Plasma::Wallpaper::ResizeMethod
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Wallpaper::ResizeMethod;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Wallpaper::ResizeMethod*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Wallpaper::ResizeMethod*)xdata = (Plasma::Wallpaper::ResizeMethod)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Wallpaper::ResizeMethod*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Plasma__Wallpaper() { this->_binding->deleted(105, (void*)this); }
};
void xenum_Plasma__Wallpaper(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__Wallpaper::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__Wallpaper(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__Wallpaper *xself = (x_Plasma__Wallpaper*)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__Wallpaper::x_3(args);	break;
        case 4: x_Plasma__Wallpaper::x_4(args);	break;
        case 5: x_Plasma__Wallpaper::x_5(args);	break;
        case 6: x_Plasma__Wallpaper::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__Wallpaper::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_Plasma__Wallpaper::x_10(args);	break;
        case 11: x_Plasma__Wallpaper::x_11(args);	break;
        case 12: x_Plasma__Wallpaper::x_12(args);	break;
        case 13: x_Plasma__Wallpaper::x_13(args);	break;
        case 14: x_Plasma__Wallpaper::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: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: x_Plasma__Wallpaper::x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: x_Plasma__Wallpaper::x_63(args);	break;
        case 64: x_Plasma__Wallpaper::x_64(args);	break;
        case 65: x_Plasma__Wallpaper::x_65(args);	break;
        case 66: x_Plasma__Wallpaper::x_66(args);	break;
        case 67: x_Plasma__Wallpaper::x_67(args);	break;
        case 68: x_Plasma__Wallpaper::x_68(args);	break;
        case 69: x_Plasma__Wallpaper::x_69(args);	break;
        case 70: x_Plasma__Wallpaper::x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: x_Plasma__Wallpaper::x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: x_Plasma__Wallpaper::x_80(args);	break;
        case 81: x_Plasma__Wallpaper::x_81(args);	break;
        case 82: x_Plasma__Wallpaper::x_82(args);	break;
        case 83: x_Plasma__Wallpaper::x_83(args);	break;
        case 84: x_Plasma__Wallpaper::x_84(args);	break;
        case 85: x_Plasma__Wallpaper::x_85(args);	break;
        case 86: x_Plasma__Wallpaper::x_86(args);	break;
        case 87: delete (Plasma::Wallpaper*)xself;	break;
    }
}
class x_Plasma__WallpaperScript : public Plasma::WallpaperScript, 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::WallpaperScript*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__WallpaperScript*)this)->Plasma::WallpaperScript::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__WallpaperScript*)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::WallpaperScript*>(this))) {
            void* xret = this->Plasma::WallpaperScript::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::WallpaperScript::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::WallpaperScript::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::WallpaperScript::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::WallpaperScript::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::WallpaperScript*>(this))) {
            int xret = this->Plasma::WallpaperScript::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::WallpaperScript* WallpaperScript(QObject*)
        x_Plasma__WallpaperScript* xret = new x_Plasma__WallpaperScript((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__WallpaperScript(QObject* x1) : WallpaperScript(x1) {}
    void x_9(Smoke::Stack x) {
        // void setWallpaper(Plasma::Wallpaper*)
        this->Plasma::WallpaperScript::setWallpaper((Plasma::Wallpaper*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // Plasma::Wallpaper* wallpaper() const
        Plasma::Wallpaper* xret = ((const x_Plasma__WallpaperScript*)this)->Plasma::WallpaperScript::wallpaper();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // virtual void initWallpaper(const KConfigGroup&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::initWallpaper(*(const KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->initWallpaper(*(const KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual void paint(QPainter*, const QRectF&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::paint((QPainter*)x[1].s_class,*(const QRectF*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paint((QPainter*)x[1].s_class,*(const QRectF*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void save(KConfigGroup&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::save(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->save(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual QWidget* createConfigurationInterface(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            QWidget* xret = this->Plasma::WallpaperScript::createConfigurationInterface((QWidget*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = this->createConfigurationInterface((QWidget*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::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_16(Smoke::Stack x) {
        // virtual void mousePressEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::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_17(Smoke::Stack x) {
        // virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::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_18(Smoke::Stack x) {
        // virtual void wheelEvent(QGraphicsSceneWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::wheelEvent((QGraphicsSceneWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QGraphicsSceneWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // void setUrls(const KUrl::List)
        this->Plasma::WallpaperScript::setUrls(*(const KUrl::List*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // QString mainScript() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            QString xret = ((const x_Plasma__WallpaperScript*)this)->Plasma::WallpaperScript::mainScript();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_Plasma__WallpaperScript*)this)->mainScript();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_21(Smoke::Stack x) {
        // const Plasma::Package* package() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            const Plasma::Package* xret = ((const x_Plasma__WallpaperScript*)this)->Plasma::WallpaperScript::package();
            x[0].s_class = (void*)xret;
        } else {
            const Plasma::Package* xret = ((const x_Plasma__WallpaperScript*)this)->package();
            x[0].s_class = (void*)xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // KPluginInfo description() const
        KPluginInfo xret = ((const x_Plasma__WallpaperScript*)this)->Plasma::WallpaperScript::description();
        x[0].s_class = (void*)new KPluginInfo(xret);
    }
    void x_23(Smoke::Stack x) {
        // bool isInitialized() const
        bool xret = ((const x_Plasma__WallpaperScript*)this)->Plasma::WallpaperScript::isInitialized();
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // QRectF boundingRect() const
        QRectF xret = ((const x_Plasma__WallpaperScript*)this)->Plasma::WallpaperScript::boundingRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_25(Smoke::Stack x) {
        // Plasma::DataEngine* dataEngine(const QString&) const
        Plasma::DataEngine* xret = ((const x_Plasma__WallpaperScript*)this)->Plasma::WallpaperScript::dataEngine(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // void setResizeMethodHint(Plasma::Wallpaper::ResizeMethod)
        this->Plasma::WallpaperScript::setResizeMethodHint((Plasma::Wallpaper::ResizeMethod)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setTargetSizeHint(const QSizeF&)
        this->Plasma::WallpaperScript::setTargetSizeHint(*(const QSizeF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setConfigurationRequired(bool, const QString&)
        this->Plasma::WallpaperScript::setConfigurationRequired((bool)x[1].s_bool,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void render(const QString&, const QSize&, Plasma::Wallpaper::ResizeMethod, const QColor&)
        this->Plasma::WallpaperScript::render(*(const QString*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)x[3].s_enum,*(const QColor*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setUsingRenderingCache(bool)
        this->Plasma::WallpaperScript::setUsingRenderingCache((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // bool findInCache(const QString&, QImage&, unsigned int)
        bool xret = this->Plasma::WallpaperScript::findInCache(*(const QString*)x[1].s_class,*(QImage*)x[2].s_class,(unsigned int)x[3].s_uint);
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // void insertIntoCache(const QString&, const QImage&)
        this->Plasma::WallpaperScript::insertIntoCache(*(const QString*)x[1].s_class,*(const QImage*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setContextualActions(const QList<QAction*>&)
        this->Plasma::WallpaperScript::setContextualActions(*(const QList<QAction*>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void update(const QRectF&)
        this->Plasma::WallpaperScript::update(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void configNeedsSaving()
        this->Plasma::WallpaperScript::configNeedsSaving();
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // virtual void renderCompleted(const QImage&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::renderCompleted(*(const QImage*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->renderCompleted(*(const QImage*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_37(Smoke::Stack x) {
        // virtual void urlDropped(const KUrl&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WallpaperScript*>(this))) {
            this->Plasma::WallpaperScript::urlDropped(*(const KUrl*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->urlDropped(*(const KUrl*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_38(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::WallpaperScript::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::WallpaperScript::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_40(Smoke::Stack x) {
        // Plasma::WallpaperScript* WallpaperScript()
        x_Plasma__WallpaperScript* xret = new x_Plasma__WallpaperScript((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_41(Smoke::Stack x) {
        // void setConfigurationRequired(bool)
        this->Plasma::WallpaperScript::setConfigurationRequired((bool)x[1].s_bool,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void render(const QString&, const QSize&)
        this->Plasma::WallpaperScript::render(*(const QString*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)Plasma::Wallpaper::ScaledResize,(const QColor&)QColor(0,0,0));
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void render(const QString&, const QSize&, Plasma::Wallpaper::ResizeMethod)
        this->Plasma::WallpaperScript::render(*(const QString*)x[1].s_class,*(const QSize*)x[2].s_class,(Plasma::Wallpaper::ResizeMethod)x[3].s_enum,(const QColor&)QColor(0,0,0));
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // bool findInCache(const QString&, QImage&)
        bool xret = this->Plasma::WallpaperScript::findInCache(*(const QString*)x[1].s_class,*(QImage*)x[2].s_class,(unsigned int)0);
        x[0].s_bool = xret;
    }
    static void x_45(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::WallpaperScript::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3002, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::WallpaperScript::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3003, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::WallpaperScript::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(3008, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::WallpaperScript::qt_metacall(x1, x2, x3);
    }
    virtual void initWallpaper(const KConfigGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3012, (void*)this, x)) return;
        this->Plasma::WallpaperScript::initWallpaper(x1);
    }
    virtual void paint(QPainter* x1, const QRectF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3013, (void*)this, x)) return;
        this->Plasma::WallpaperScript::paint(x1, x2);
    }
    virtual void save(KConfigGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3014, (void*)this, x)) return;
        this->Plasma::WallpaperScript::save(x1);
    }
    virtual QWidget* createConfigurationInterface(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3015, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->Plasma::WallpaperScript::createConfigurationInterface(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3016, (void*)this, x)) return;
        this->Plasma::WallpaperScript::mouseMoveEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3017, (void*)this, x)) return;
        this->Plasma::WallpaperScript::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3018, (void*)this, x)) return;
        this->Plasma::WallpaperScript::mouseReleaseEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3019, (void*)this, x)) return;
        this->Plasma::WallpaperScript::wheelEvent(x1);
    }
    virtual void renderCompleted(const QImage& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3037, (void*)this, x)) return;
        this->Plasma::WallpaperScript::renderCompleted(x1);
    }
    virtual void urlDropped(const KUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3038, (void*)this, x)) return;
        this->Plasma::WallpaperScript::urlDropped(x1);
    }
    virtual bool init() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2164, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::ScriptEngine::init();
    }
    virtual QString mainScript() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3021, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::WallpaperScript::mainScript();
    }
    virtual const Plasma::Package* package() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3022, (void*)this, x)) return (const Plasma::Package*)x[0].s_class;
        return this->Plasma::WallpaperScript::package();
    }
    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__WallpaperScript() { this->_binding->deleted(106, (void*)this); }
};
void xcall_Plasma__WallpaperScript(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__WallpaperScript *xself = (x_Plasma__WallpaperScript*)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__WallpaperScript::x_3(args);	break;
        case 4: x_Plasma__WallpaperScript::x_4(args);	break;
        case 5: x_Plasma__WallpaperScript::x_5(args);	break;
        case 6: x_Plasma__WallpaperScript::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__WallpaperScript::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: x_Plasma__WallpaperScript::x_38(args);	break;
        case 39: x_Plasma__WallpaperScript::x_39(args);	break;
        case 40: x_Plasma__WallpaperScript::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: x_Plasma__WallpaperScript::x_45(args);	break;
        case 46: delete (Plasma::WallpaperScript*)xself;	break;
    }
}
class x_Plasma__WebView : public Plasma::WebView, 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::WebView*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__WebView*)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::WebView*>(this))) {
            void* xret = this->Plasma::WebView::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::WebView::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::WebView::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::WebView::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::WebView::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::WebView*>(this))) {
            int xret = this->Plasma::WebView::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::WebView* WebView(QGraphicsItem*)
        x_Plasma__WebView* xret = new x_Plasma__WebView((QGraphicsItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__WebView(QGraphicsItem* x1) : WebView(x1) {}
    void x_9(Smoke::Stack x) {
        // void setUrl(const KUrl&)
        this->Plasma::WebView::setUrl(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // KUrl url() const
        KUrl xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::url();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setHtml(const QByteArray&, const KUrl&)
        this->Plasma::WebView::setHtml(*(const QByteArray*)x[1].s_class,*(const KUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString html() const
        QString xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::html();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setHtml(const QString&, const KUrl&)
        this->Plasma::WebView::setHtml(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QRectF geometry() const
        QRectF xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::geometry();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_15(Smoke::Stack x) {
        // QSizeF contentsSize() const
        QSizeF xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::contentsSize();
        x[0].s_class = (void*)new QSizeF(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setScrollPosition(const QPointF&)
        this->Plasma::WebView::setScrollPosition(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QPointF scrollPosition() const
        QPointF xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::scrollPosition();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_18(Smoke::Stack x) {
        // QRectF viewportGeometry() const
        QRectF xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::viewportGeometry();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_19(Smoke::Stack x) {
        // double zoomFactor() const
        double xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::zoomFactor();
        x[0].s_double = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setZoomFactor(const double)
        this->Plasma::WebView::setZoomFactor((const double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setPage(QWebPage*)
        this->Plasma::WebView::setPage((QWebPage*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QWebPage* page() const
        QWebPage* xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::page();
        x[0].s_class = (void*)xret;
    }
    void x_23(Smoke::Stack x) {
        // QWebFrame* mainFrame() const
        QWebFrame* xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::mainFrame();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void setDragToScroll(bool)
        this->Plasma::WebView::setDragToScroll((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // bool dragToScroll()
        bool xret = this->Plasma::WebView::dragToScroll();
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setGeometry(const QRectF&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::setGeometry(*(const QRectF*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setGeometry(*(const QRectF*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // void back()
        this->Plasma::WebView::back();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void forward()
        this->Plasma::WebView::forward();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void reload()
        this->Plasma::WebView::reload();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void stop()
        this->Plasma::WebView::stop();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void loadProgress(int)
        this->Plasma::WebView::loadProgress((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void loadFinished(bool)
        this->Plasma::WebView::loadFinished((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void urlChanged(const QUrl&)
        this->Plasma::WebView::urlChanged(*(const QUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_35(Smoke::Stack x) {
        // void mouseMoveEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_36(Smoke::Stack x) {
        // void hoverMoveEvent(QGraphicsSceneHoverEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::hoverMoveEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hoverMoveEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_37(Smoke::Stack x) {
        // void mousePressEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_38(Smoke::Stack x) {
        // void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::mouseDoubleClickEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClickEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_39(Smoke::Stack x) {
        // void mouseReleaseEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_40(Smoke::Stack x) {
        // void contextMenuEvent(QGraphicsSceneContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_41(Smoke::Stack x) {
        // void wheelEvent(QGraphicsSceneWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::wheelEvent((QGraphicsSceneWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QGraphicsSceneWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_42(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // void keyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_45(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_46(Smoke::Stack x) {
        // void dragEnterEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_47(Smoke::Stack x) {
        // void dragLeaveEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_48(Smoke::Stack x) {
        // void dragMoveEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::dragMoveEvent((QGraphicsSceneDragDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragMoveEvent((QGraphicsSceneDragDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // void dropEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            this->Plasma::WebView::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_50(Smoke::Stack x) {
        // QVariant itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            QVariant xret = this->Plasma::WebView::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_51(Smoke::Stack x) {
        // QSizeF sizeHint(Qt::SizeHint, const QSizeF&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::WebView*>(this))) {
            QSizeF xret = ((const x_Plasma__WebView*)this)->Plasma::WebView::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__WebView*)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_52(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::WebView::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_53(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::WebView::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_54(Smoke::Stack x) {
        // Plasma::WebView* WebView()
        x_Plasma__WebView* xret = new x_Plasma__WebView((QGraphicsItem*)0);
        x[0].s_class = (void*)xret;
    }
    void x_55(Smoke::Stack x) {
        // void setHtml(const QByteArray&)
        this->Plasma::WebView::setHtml(*(const QByteArray*)x[1].s_class,(const KUrl&)KUrl());
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void setHtml(const QString&)
        this->Plasma::WebView::setHtml(*(const QString*)x[1].s_class,(const KUrl&)KUrl());
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void paint(QPainter*, const QStyleOptionGraphicsItem*)
        this->Plasma::WebView::paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_58(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::WebView::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3048, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::WebView::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3049, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::WebView::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(3054, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::WebView::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(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(3083, (void*)this, x)) return;
        this->Plasma::WebView::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 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(3081, (void*)this, x)) return;
        this->Plasma::WebView::paint(x1, x2, x3);
    }
    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(3087, (void*)this, x)) return;
        this->Plasma::WebView::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3093, (void*)this, x)) return;
        this->Plasma::WebView::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3094, (void*)this, x)) return;
        this->Plasma::WebView::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3095, (void*)this, x)) return;
        this->Plasma::WebView::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3096, (void*)this, x)) return;
        this->Plasma::WebView::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3091, (void*)this, x)) return;
        this->Plasma::WebView::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3092, (void*)this, x)) return;
        this->Plasma::WebView::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(3089, (void*)this, x)) return;
        this->Plasma::WebView::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3090, (void*)this, x)) return;
        this->Plasma::WebView::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3084, (void*)this, x)) return;
        this->Plasma::WebView::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3082, (void*)this, x)) return;
        this->Plasma::WebView::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3086, (void*)this, x)) return;
        this->Plasma::WebView::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3085, (void*)this, x)) return;
        this->Plasma::WebView::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3088, (void*)this, x)) return;
        this->Plasma::WebView::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(3097, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::WebView::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(3073, (void*)this, x)) return;
        this->Plasma::WebView::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(3098, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::WebView::sizeHint(x1, x2);
    }
    ~x_Plasma__WebView() { this->_binding->deleted(107, (void*)this); }
};
void xcall_Plasma__WebView(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__WebView *xself = (x_Plasma__WebView*)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__WebView::x_3(args);	break;
        case 4: x_Plasma__WebView::x_4(args);	break;
        case 5: x_Plasma__WebView::x_5(args);	break;
        case 6: x_Plasma__WebView::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__WebView::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: 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: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: x_Plasma__WebView::x_52(args);	break;
        case 53: x_Plasma__WebView::x_53(args);	break;
        case 54: x_Plasma__WebView::x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: x_Plasma__WebView::x_58(args);	break;
        case 59: delete (Plasma::WebView*)xself;	break;
    }
}
class x_Plasma {
    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) {
        // static Plasma::RunnerScript* loadScriptEngine(const QString&, Plasma::AbstractRunner*)
        Plasma::RunnerScript* xret = Plasma::loadScriptEngine(*(const QString*)x[1].s_class,(Plasma::AbstractRunner*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_2(Smoke::Stack x) {
        // static unsigned int versionMajor()
        unsigned int xret = Plasma::versionMajor();
        x[0].s_uint = xret;
    }
    static void x_3(Smoke::Stack x) {
        // static KSharedPtr<Plasma::PackageStructure> packageStructure(const QString&, Plasma::ComponentType)
        KSharedPtr<Plasma::PackageStructure> xret = Plasma::packageStructure(*(const QString*)x[1].s_class,(Plasma::ComponentType)x[2].s_enum);
        x[0].s_class = (void*)new KSharedPtr<Plasma::PackageStructure>(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QStringList knownLanguages(QFlags<Plasma::ComponentType>)
        QStringList xret = Plasma::knownLanguages((QFlags<Plasma::ComponentType>)x[1].s_uint);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static unsigned int versionRelease()
        unsigned int xret = Plasma::versionRelease();
        x[0].s_uint = xret;
    }
    static void x_6(Smoke::Stack x) {
        // static const char* versionString()
        const char* xret = Plasma::versionString();
        x[0].s_class = (void*)xret;
    }
    static void x_7(Smoke::Stack x) {
        // static bool isPluginVersionCompatible(unsigned int)
        bool xret = Plasma::isPluginVersionCompatible((unsigned int)x[1].s_uint);
        x[0].s_bool = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static Plasma::AppletScript* loadScriptEngine(const QString&, Plasma::Applet*)
        Plasma::AppletScript* xret = Plasma::loadScriptEngine(*(const QString*)x[1].s_class,(Plasma::Applet*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_9(Smoke::Stack x) {
        // static Plasma::DataEngineScript* loadScriptEngine(const QString&, Plasma::DataEngine*)
        Plasma::DataEngineScript* xret = Plasma::loadScriptEngine(*(const QString*)x[1].s_class,(Plasma::DataEngine*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_10(Smoke::Stack x) {
        // static unsigned int versionMinor()
        unsigned int xret = Plasma::versionMinor();
        x[0].s_uint = xret;
    }
    static void x_11(Smoke::Stack x) {
        // static Plasma::Direction locationToDirection(Plasma::Location)
        Plasma::Direction xret = Plasma::locationToDirection((Plasma::Location)x[1].s_enum);
        x[0].s_enum = xret;
    }
    static void x_12(Smoke::Stack x) {
        // static Plasma::Direction locationToInverseDirection(Plasma::Location)
        Plasma::Direction xret = Plasma::locationToInverseDirection((Plasma::Location)x[1].s_enum);
        x[0].s_enum = xret;
    }
    static void x_13(Smoke::Stack x) {
        // static unsigned int version()
        unsigned int xret = Plasma::version();
        x[0].s_uint = xret;
    }
    static void x_14(Smoke::Stack x) {
        // static double scalingFactor(Plasma::ZoomLevel)
        double xret = Plasma::scalingFactor((Plasma::ZoomLevel)x[1].s_enum);
        x[0].s_double = xret;
    }
    static void x_15(Smoke::Stack x) {
        // static QGraphicsView* viewFor(const QGraphicsItem*)
        QGraphicsView* xret = Plasma::viewFor((const QGraphicsItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_16(Smoke::Stack x) {
        // static Plasma::WallpaperScript* loadScriptEngine(const QString&, Plasma::Wallpaper*)
        Plasma::WallpaperScript* xret = Plasma::loadScriptEngine(*(const QString*)x[1].s_class,(Plasma::Wallpaper*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static QList<QAction*> actionsFromMenu(QMenu*, const QString&, QObject*)
        QList<QAction*> xret = Plasma::actionsFromMenu((QMenu*)x[1].s_class,*(const QString*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)new QList<QAction*>(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QList<QAction*> actionsFromMenu(QMenu*)
        QList<QAction*> xret = Plasma::actionsFromMenu((QMenu*)x[1].s_class,(const QString&)QString(),(QObject*)0);
        x[0].s_class = (void*)new QList<QAction*>(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static QList<QAction*> actionsFromMenu(QMenu*, const QString&)
        QList<QAction*> xret = Plasma::actionsFromMenu((QMenu*)x[1].s_class,*(const QString*)x[2].s_class,(QObject*)0);
        x[0].s_class = (void*)new QList<QAction*>(xret);
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ZoomIn;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ZoomOut;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Planar;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::MediaCenter;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Horizontal;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Vertical;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Application;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ButtonNone;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ButtonOk;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ButtonYes;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ButtonNo;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ButtonCancel;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::NoAlignment;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AlignToMinute;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AlignToHour;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::TopMargin;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::BottomMargin;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::LeftMargin;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::RightMargin;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::InvalidAspectRatioMode;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::IgnoreAspectRatio;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::KeepAspectRatio;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Square;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ConstrainedSquare;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::FixedSize;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::LeftPositioned;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::RightPositioned;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::TopPositioned;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::BottomPositioned;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::CenterPositioned;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Down;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Up;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Left;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Right;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::NoAnnouncement;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ZeroconfAnnouncement;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::InvalidCredentials;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::UnknownCredentials;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ValidCredentials;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::TrustedCredentials;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::UltimateCredentials;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Mutable;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::UserImmutable;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::SystemImmutable;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::FloatingPopup;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::TopPosedLeftAlignedPopup;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::TopPosedRightAlignedPopup;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::LeftPosedTopAlignedPopup;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::LeftPosedBottomAlignedPopup;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::BottomPosedLeftAlignedPopup;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::BottomPosedRightAlignedPopup;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::RightPosedTopAlignedPopup;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::RightPosedBottomAlignedPopup;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AppletType;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::LineEditType;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::NoConstraint;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::FormFactorConstraint;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::LocationConstraint;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ScreenConstraint;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::SizeConstraint;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ImmutableConstraint;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::StartupCompletedConstraint;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ContextConstraint;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::PopupConstraint;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AllConstraints;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::NoFlip;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::HorizontalFlip;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::VerticalFlip;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::UnknownStatus;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::PassiveStatus;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ActiveStatus;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::NeedsAttentionStatus;
    }
    static void x_92(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AcceptingInputStatus;
    }
    static void x_93(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::DesktopZoom;
    }
    static void x_94(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::GroupZoom;
    }
    static void x_95(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::OverviewZoom;
    }
    static void x_96(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AppletComponent;
    }
    static void x_97(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::DataEngineComponent;
    }
    static void x_98(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::RunnerComponent;
    }
    static void x_99(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AnimatorComponent;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::ContainmentComponent;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::WallpaperComponent;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::GenericComponent;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Floating;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Desktop;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::FullScreen;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::TopEdge;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::BottomEdge;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::LeftEdge;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::RightEdge;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 178: //Plasma::ZoomDirection
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::ZoomDirection;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::ZoomDirection*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::ZoomDirection*)xdata = (Plasma::ZoomDirection)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::ZoomDirection*)xdata;
                    break;
            }
            break;
        case 97: //Plasma::FormFactor
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::FormFactor;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::FormFactor*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::FormFactor*)xdata = (Plasma::FormFactor)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::FormFactor*)xdata;
                    break;
            }
            break;
        case 114: //Plasma::MessageButton
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::MessageButton;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::MessageButton*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::MessageButton*)xdata = (Plasma::MessageButton)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::MessageButton*)xdata;
                    break;
            }
            break;
        case 106: //Plasma::IntervalAlignment
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::IntervalAlignment;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::IntervalAlignment*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::IntervalAlignment*)xdata = (Plasma::IntervalAlignment)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::IntervalAlignment*)xdata;
                    break;
            }
            break;
        case 113: //Plasma::MarginEdge
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::MarginEdge;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::MarginEdge*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::MarginEdge*)xdata = (Plasma::MarginEdge)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::MarginEdge*)xdata;
                    break;
            }
            break;
        case 52: //Plasma::AspectRatioMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::AspectRatioMode;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::AspectRatioMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::AspectRatioMode*)xdata = (Plasma::AspectRatioMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::AspectRatioMode*)xdata;
                    break;
            }
            break;
        case 129: //Plasma::Position
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Position;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Position*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Position*)xdata = (Plasma::Position)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Position*)xdata;
                    break;
            }
            break;
        case 90: //Plasma::Direction
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Direction;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Direction*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Direction*)xdata = (Plasma::Direction)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Direction*)xdata;
                    break;
            }
            break;
        case 47: //Plasma::AnnouncementMethod
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::AnnouncementMethod;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::AnnouncementMethod*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::AnnouncementMethod*)xdata = (Plasma::AnnouncementMethod)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::AnnouncementMethod*)xdata;
                    break;
            }
            break;
        case 169: //Plasma::TrustLevel
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::TrustLevel;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::TrustLevel*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::TrustLevel*)xdata = (Plasma::TrustLevel)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::TrustLevel*)xdata;
                    break;
            }
            break;
        case 105: //Plasma::ImmutabilityType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::ImmutabilityType;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::ImmutabilityType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::ImmutabilityType*)xdata = (Plasma::ImmutabilityType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::ImmutabilityType*)xdata;
                    break;
            }
            break;
        case 128: //Plasma::PopupPlacement
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::PopupPlacement;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::PopupPlacement*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::PopupPlacement*)xdata = (Plasma::PopupPlacement)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::PopupPlacement*)xdata;
                    break;
            }
            break;
        case 109: //Plasma::ItemTypes
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::ItemTypes;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::ItemTypes*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::ItemTypes*)xdata = (Plasma::ItemTypes)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::ItemTypes*)xdata;
                    break;
            }
            break;
        case 68: //Plasma::Constraint
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Constraint;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Constraint*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Constraint*)xdata = (Plasma::Constraint)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Constraint*)xdata;
                    break;
            }
            break;
        case 96: //Plasma::FlipDirection
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::FlipDirection;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::FlipDirection*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::FlipDirection*)xdata = (Plasma::FlipDirection)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::FlipDirection*)xdata;
                    break;
            }
            break;
        case 108: //Plasma::ItemStatus
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::ItemStatus;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::ItemStatus*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::ItemStatus*)xdata = (Plasma::ItemStatus)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::ItemStatus*)xdata;
                    break;
            }
            break;
        case 179: //Plasma::ZoomLevel
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::ZoomLevel;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::ZoomLevel*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::ZoomLevel*)xdata = (Plasma::ZoomLevel)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::ZoomLevel*)xdata;
                    break;
            }
            break;
        case 66: //Plasma::ComponentType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::ComponentType;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::ComponentType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::ComponentType*)xdata = (Plasma::ComponentType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::ComponentType*)xdata;
                    break;
            }
            break;
        case 112: //Plasma::Location
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Location;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Location*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Location*)xdata = (Plasma::Location)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Location*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Plasma() { this->_binding->deleted(27, (void*)this); }
};
void xenum_Plasma(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma *xself = (x_Plasma*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Plasma::x_1(args);	break;
        case 2: x_Plasma::x_2(args);	break;
        case 3: x_Plasma::x_3(args);	break;
        case 4: x_Plasma::x_4(args);	break;
        case 5: x_Plasma::x_5(args);	break;
        case 6: x_Plasma::x_6(args);	break;
        case 7: x_Plasma::x_7(args);	break;
        case 8: x_Plasma::x_8(args);	break;
        case 9: x_Plasma::x_9(args);	break;
        case 10: x_Plasma::x_10(args);	break;
        case 11: x_Plasma::x_11(args);	break;
        case 12: x_Plasma::x_12(args);	break;
        case 13: x_Plasma::x_13(args);	break;
        case 14: x_Plasma::x_14(args);	break;
        case 15: x_Plasma::x_15(args);	break;
        case 16: x_Plasma::x_16(args);	break;
        case 17: x_Plasma::x_17(args);	break;
        case 18: x_Plasma::x_18(args);	break;
        case 19: x_Plasma::x_19(args);	break;
        case 20: x_Plasma::x_20(args);	break;
        case 21: x_Plasma::x_21(args);	break;
        case 22: x_Plasma::x_22(args);	break;
        case 23: x_Plasma::x_23(args);	break;
        case 24: x_Plasma::x_24(args);	break;
        case 25: x_Plasma::x_25(args);	break;
        case 26: x_Plasma::x_26(args);	break;
        case 27: x_Plasma::x_27(args);	break;
        case 28: x_Plasma::x_28(args);	break;
        case 29: x_Plasma::x_29(args);	break;
        case 30: x_Plasma::x_30(args);	break;
        case 31: x_Plasma::x_31(args);	break;
        case 32: x_Plasma::x_32(args);	break;
        case 33: x_Plasma::x_33(args);	break;
        case 34: x_Plasma::x_34(args);	break;
        case 35: x_Plasma::x_35(args);	break;
        case 36: x_Plasma::x_36(args);	break;
        case 37: x_Plasma::x_37(args);	break;
        case 38: x_Plasma::x_38(args);	break;
        case 39: x_Plasma::x_39(args);	break;
        case 40: x_Plasma::x_40(args);	break;
        case 41: x_Plasma::x_41(args);	break;
        case 42: x_Plasma::x_42(args);	break;
        case 43: x_Plasma::x_43(args);	break;
        case 44: x_Plasma::x_44(args);	break;
        case 45: x_Plasma::x_45(args);	break;
        case 46: x_Plasma::x_46(args);	break;
        case 47: x_Plasma::x_47(args);	break;
        case 48: x_Plasma::x_48(args);	break;
        case 49: x_Plasma::x_49(args);	break;
        case 50: x_Plasma::x_50(args);	break;
        case 51: x_Plasma::x_51(args);	break;
        case 52: x_Plasma::x_52(args);	break;
        case 53: x_Plasma::x_53(args);	break;
        case 54: x_Plasma::x_54(args);	break;
        case 55: x_Plasma::x_55(args);	break;
        case 56: x_Plasma::x_56(args);	break;
        case 57: x_Plasma::x_57(args);	break;
        case 58: x_Plasma::x_58(args);	break;
        case 59: x_Plasma::x_59(args);	break;
        case 60: x_Plasma::x_60(args);	break;
        case 61: x_Plasma::x_61(args);	break;
        case 62: x_Plasma::x_62(args);	break;
        case 63: x_Plasma::x_63(args);	break;
        case 64: x_Plasma::x_64(args);	break;
        case 65: x_Plasma::x_65(args);	break;
        case 66: x_Plasma::x_66(args);	break;
        case 67: x_Plasma::x_67(args);	break;
        case 68: x_Plasma::x_68(args);	break;
        case 69: x_Plasma::x_69(args);	break;
        case 70: x_Plasma::x_70(args);	break;
        case 71: x_Plasma::x_71(args);	break;
        case 72: x_Plasma::x_72(args);	break;
        case 73: x_Plasma::x_73(args);	break;
        case 74: x_Plasma::x_74(args);	break;
        case 75: x_Plasma::x_75(args);	break;
        case 76: x_Plasma::x_76(args);	break;
        case 77: x_Plasma::x_77(args);	break;
        case 78: x_Plasma::x_78(args);	break;
        case 79: x_Plasma::x_79(args);	break;
        case 80: x_Plasma::x_80(args);	break;
        case 81: x_Plasma::x_81(args);	break;
        case 82: x_Plasma::x_82(args);	break;
        case 83: x_Plasma::x_83(args);	break;
        case 84: x_Plasma::x_84(args);	break;
        case 85: x_Plasma::x_85(args);	break;
        case 86: x_Plasma::x_86(args);	break;
        case 87: x_Plasma::x_87(args);	break;
        case 88: x_Plasma::x_88(args);	break;
        case 89: x_Plasma::x_89(args);	break;
        case 90: x_Plasma::x_90(args);	break;
        case 91: x_Plasma::x_91(args);	break;
        case 92: x_Plasma::x_92(args);	break;
        case 93: x_Plasma::x_93(args);	break;
        case 94: x_Plasma::x_94(args);	break;
        case 95: x_Plasma::x_95(args);	break;
        case 96: x_Plasma::x_96(args);	break;
        case 97: x_Plasma::x_97(args);	break;
        case 98: x_Plasma::x_98(args);	break;
        case 99: x_Plasma::x_99(args);	break;
        case 100: x_Plasma::x_100(args);	break;
        case 101: x_Plasma::x_101(args);	break;
        case 102: x_Plasma::x_102(args);	break;
        case 103: x_Plasma::x_103(args);	break;
        case 104: x_Plasma::x_104(args);	break;
        case 105: x_Plasma::x_105(args);	break;
        case 106: x_Plasma::x_106(args);	break;
        case 107: x_Plasma::x_107(args);	break;
        case 108: x_Plasma::x_108(args);	break;
        case 109: x_Plasma::x_109(args);	break;
    }
}
class x_QGlobalSpace {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    ~x_QGlobalSpace() { this->_binding->deleted(131, (void*)this); }
};
void xcall_QGlobalSpace(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGlobalSpace *xself = (x_QGlobalSpace*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
    }
}

}
