//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__DataContainer : public Plasma::DataContainer, 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::DataContainer*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__DataContainer*)this)->Plasma::DataContainer::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__DataContainer*)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::DataContainer*>(this))) {
            void* xret = this->Plasma::DataContainer::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::DataContainer::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::DataContainer::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::DataContainer::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::DataContainer::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::DataContainer*>(this))) {
            int xret = this->Plasma::DataContainer::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::DataContainer* DataContainer(QObject*)
        x_Plasma__DataContainer* xret = new x_Plasma__DataContainer((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__DataContainer(QObject* x1) : DataContainer(x1) {}
    void x_9(Smoke::Stack x) {
        // const QHash<QString,QVariant> data() const
        const QHash<QString,QVariant> xret = ((const x_Plasma__DataContainer*)this)->Plasma::DataContainer::data();
        x[0].s_class = (void*)new const QHash<QString,QVariant>(xret);
    }
    void x_10(Smoke::Stack x) {
        // void setData(const QString&, const QVariant&)
        this->Plasma::DataContainer::setData(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void removeAllData()
        this->Plasma::DataContainer::removeAllData();
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool visualizationIsConnected(QObject*) const
        bool xret = ((const x_Plasma__DataContainer*)this)->Plasma::DataContainer::visualizationIsConnected((QObject*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void connectVisualization(QObject*, unsigned int, Plasma::IntervalAlignment)
        this->Plasma::DataContainer::connectVisualization((QObject*)x[1].s_class,(unsigned int)x[2].s_uint,(Plasma::IntervalAlignment)x[3].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setStorageEnabled(bool)
        this->Plasma::DataContainer::setStorageEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool isStorageEnabled() const
        bool xret = ((const x_Plasma__DataContainer*)this)->Plasma::DataContainer::isStorageEnabled();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool needsToBeStored() const
        bool xret = ((const x_Plasma__DataContainer*)this)->Plasma::DataContainer::needsToBeStored();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setNeedsToBeStored(bool)
        this->Plasma::DataContainer::setNeedsToBeStored((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // Plasma::DataEngine* getDataEngine()
        Plasma::DataEngine* xret = this->Plasma::DataContainer::getDataEngine();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void disconnectVisualization(QObject*)
        this->Plasma::DataContainer::disconnectVisualization((QObject*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void forceImmediateUpdate()
        this->Plasma::DataContainer::forceImmediateUpdate();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void dataUpdated(const QString&, const Plasma::DataEngine::Data&)
        this->Plasma::DataContainer::dataUpdated(*(const QString*)x[1].s_class,*(const Plasma::DataEngine::Data*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void becameUnused(const QString&)
        this->Plasma::DataContainer::becameUnused(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void updateRequested(Plasma::DataContainer*)
        this->Plasma::DataContainer::updateRequested((Plasma::DataContainer*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void checkForUpdate()
        this->Plasma::DataContainer::checkForUpdate();
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // unsigned int timeSinceLastUpdate() const
        unsigned int xret = ((const x_Plasma__DataContainer*)this)->Plasma::DataContainer::timeSinceLastUpdate();
        x[0].s_uint = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setNeedsUpdate(bool)
        this->Plasma::DataContainer::setNeedsUpdate((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void checkUsage()
        this->Plasma::DataContainer::checkUsage();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataContainer*>(this))) {
            this->Plasma::DataContainer::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_29(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::DataContainer::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::DataContainer::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::DataContainer* DataContainer()
        x_Plasma__DataContainer* xret = new x_Plasma__DataContainer((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_32(Smoke::Stack x) {
        // void setNeedsUpdate()
        this->Plasma::DataContainer::setNeedsUpdate((bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_33(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::DataContainer::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1026, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::DataContainer::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1027, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::DataContainer::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(1032, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::DataContainer::qt_metacall(x1, x2, x3);
    }
    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(1053, (void*)this, x)) return;
        this->Plasma::DataContainer::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__DataContainer() { this->_binding->deleted(52, (void*)this); }
};
void xcall_Plasma__DataContainer(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__DataContainer *xself = (x_Plasma__DataContainer*)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__DataContainer::x_3(args);	break;
        case 4: x_Plasma__DataContainer::x_4(args);	break;
        case 5: x_Plasma__DataContainer::x_5(args);	break;
        case 6: x_Plasma__DataContainer::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__DataContainer::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: x_Plasma__DataContainer::x_29(args);	break;
        case 30: x_Plasma__DataContainer::x_30(args);	break;
        case 31: x_Plasma__DataContainer::x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: x_Plasma__DataContainer::x_33(args);	break;
        case 34: delete (Plasma::DataContainer*)xself;	break;
    }
}
class x_Plasma__DataEngine : public Plasma::DataEngine, 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::DataEngine*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__DataEngine*)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::DataEngine*>(this))) {
            void* xret = this->Plasma::DataEngine::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::DataEngine::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::DataEngine::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::DataEngine::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::DataEngine::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::DataEngine*>(this))) {
            int xret = this->Plasma::DataEngine::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::DataEngine* DataEngine(QObject*, KSharedPtr<KService>)
        x_Plasma__DataEngine* xret = new x_Plasma__DataEngine((QObject*)x[1].s_class,*(KSharedPtr<KService>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__DataEngine(QObject* x1, KSharedPtr<KService> x2) : DataEngine(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // Plasma::DataEngine* DataEngine(QObject*, const QList<QVariant>&)
        x_Plasma__DataEngine* xret = new x_Plasma__DataEngine((QObject*)x[1].s_class,*(const QList<QVariant>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__DataEngine(QObject* x1, const QList<QVariant>& x2) : DataEngine(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // virtual void init()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngine*>(this))) {
            this->Plasma::DataEngine::init();
            (void)x; // noop (for compiler warning)
        } else {
            this->init();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // virtual QStringList sources() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngine*>(this))) {
            QStringList xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::sources();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_Plasma__DataEngine*)this)->sources();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual Plasma::Service* serviceForSource(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngine*>(this))) {
            Plasma::Service* xret = this->Plasma::DataEngine::serviceForSource(*(const QString*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            Plasma::Service* xret = this->serviceForSource(*(const QString*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_13(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void connectSource(const QString&, QObject*, unsigned int, Plasma::IntervalAlignment) const
        ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::connectSource(*(const QString*)x[1].s_class,(QObject*)x[2].s_class,(unsigned int)x[3].s_uint,(Plasma::IntervalAlignment)x[4].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void connectAllSources(QObject*, unsigned int, Plasma::IntervalAlignment) const
        ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::connectAllSources((QObject*)x[1].s_class,(unsigned int)x[2].s_uint,(Plasma::IntervalAlignment)x[3].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void disconnectSource(const QString&, QObject*) const
        ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::disconnectSource(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // Plasma::DataContainer* containerForSource(const QString&)
        Plasma::DataContainer* xret = this->Plasma::DataEngine::containerForSource(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // QHash<QString,QVariant> query(const QString&) const
        QHash<QString,QVariant> xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::query(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QHash<QString,QVariant>(xret);
    }
    void x_19(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::isValid();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::isEmpty();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // unsigned int maxSourceCount() const
        unsigned int xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::maxSourceCount();
        x[0].s_uint = xret;
    }
    void x_22(Smoke::Stack x) {
        // QString icon() const
        QString xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::icon();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_23(Smoke::Stack x) {
        // const Plasma::Package* package() const
        const Plasma::Package* xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::package();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // QString pluginName() const
        QString xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::pluginName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_25(Smoke::Stack x) {
        // Plasma::Service* createDefaultService(QObject*)
        Plasma::Service* xret = this->Plasma::DataEngine::createDefaultService((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // void sourceAdded(const QString&)
        this->Plasma::DataEngine::sourceAdded(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void sourceRemoved(const QString&)
        this->Plasma::DataEngine::sourceRemoved(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // virtual bool sourceRequestEvent(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngine*>(this))) {
            bool xret = this->Plasma::DataEngine::sourceRequestEvent(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->sourceRequestEvent(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_29(Smoke::Stack x) {
        // virtual bool updateSourceEvent(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngine*>(this))) {
            bool xret = this->Plasma::DataEngine::updateSourceEvent(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->updateSourceEvent(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_30(Smoke::Stack x) {
        // void setData(const QString&, const QVariant&)
        this->Plasma::DataEngine::setData(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setData(const QString&, const QString&, const QVariant&)
        this->Plasma::DataEngine::setData(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QVariant*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setData(const QString&, const QHash<QString,QVariant>&)
        this->Plasma::DataEngine::setData(*(const QString*)x[1].s_class,*(const QHash<QString,QVariant>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void removeAllData(const QString&)
        this->Plasma::DataEngine::removeAllData(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void removeData(const QString&, const QString&)
        this->Plasma::DataEngine::removeData(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void addSource(Plasma::DataContainer*)
        this->Plasma::DataEngine::addSource((Plasma::DataContainer*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void setMaxSourceCount(unsigned int)
        this->Plasma::DataEngine::setMaxSourceCount((unsigned int)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void setMinimumPollingInterval(int)
        this->Plasma::DataEngine::setMinimumPollingInterval((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // int minimumPollingInterval() const
        int xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::minimumPollingInterval();
        x[0].s_int = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setPollingInterval(unsigned int)
        this->Plasma::DataEngine::setPollingInterval((unsigned int)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void removeAllSources()
        this->Plasma::DataEngine::removeAllSources();
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void setValid(bool)
        this->Plasma::DataEngine::setValid((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // QHash<QString,Plasma::DataContainer*> containerDict() const
        QHash<QString,Plasma::DataContainer*> xret = ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::containerDict();
        x[0].s_class = (void*)new QHash<QString,Plasma::DataContainer*>(xret);
    }
    void x_43(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngine*>(this))) {
            this->Plasma::DataEngine::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // void setName(const QString&)
        this->Plasma::DataEngine::setName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void setIcon(const QString&)
        this->Plasma::DataEngine::setIcon(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void setDefaultService(const QString&)
        this->Plasma::DataEngine::setDefaultService(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void setStorageEnabled(const QString&, bool)
        this->Plasma::DataEngine::setStorageEnabled(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void scheduleSourcesUpdated()
        this->Plasma::DataEngine::scheduleSourcesUpdated();
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void removeSource(const QString&)
        this->Plasma::DataEngine::removeSource(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void updateAllSources()
        this->Plasma::DataEngine::updateAllSources();
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void forceImmediateUpdateOfAllVisualizations()
        this->Plasma::DataEngine::forceImmediateUpdateOfAllVisualizations();
        (void)x; // noop (for compiler warning)
    }
    static void x_52(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::DataEngine::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::DataEngine::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::DataEngine* DataEngine()
        x_Plasma__DataEngine* xret = new x_Plasma__DataEngine((QObject*)0,(KSharedPtr<KService>)KService::Ptr(0));
        x[0].s_class = (void*)xret;
    }
    static void x_55(Smoke::Stack x) {
        // Plasma::DataEngine* DataEngine(QObject*)
        x_Plasma__DataEngine* xret = new x_Plasma__DataEngine((QObject*)x[1].s_class,(KSharedPtr<KService>)KService::Ptr(0));
        x[0].s_class = (void*)xret;
    }
    void x_56(Smoke::Stack x) {
        // void connectSource(const QString&, QObject*) const
        ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::connectSource(*(const QString*)x[1].s_class,(QObject*)x[2].s_class,(unsigned int)0,(Plasma::IntervalAlignment)Plasma::NoAlignment);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void connectSource(const QString&, QObject*, unsigned int) const
        ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::connectSource(*(const QString*)x[1].s_class,(QObject*)x[2].s_class,(unsigned int)x[3].s_uint,(Plasma::IntervalAlignment)Plasma::NoAlignment);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void connectAllSources(QObject*) const
        ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::connectAllSources((QObject*)x[1].s_class,(unsigned int)0,(Plasma::IntervalAlignment)Plasma::NoAlignment);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void connectAllSources(QObject*, unsigned int) const
        ((const x_Plasma__DataEngine*)this)->Plasma::DataEngine::connectAllSources((QObject*)x[1].s_class,(unsigned int)x[2].s_uint,(Plasma::IntervalAlignment)Plasma::NoAlignment);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // Plasma::Service* createDefaultService()
        Plasma::Service* xret = this->Plasma::DataEngine::createDefaultService((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_61(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::DataEngine::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1060, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::DataEngine::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1061, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::DataEngine::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(1066, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::DataEngine::qt_metacall(x1, x2, x3);
    }
    virtual void init() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1069, (void*)this, x)) return;
        this->Plasma::DataEngine::init();
    }
    virtual QStringList sources() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1070, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::DataEngine::sources();
    }
    virtual Plasma::Service* serviceForSource(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1071, (void*)this, x)) return (Plasma::Service*)x[0].s_class;
        return this->Plasma::DataEngine::serviceForSource(x1);
    }
    virtual bool sourceRequestEvent(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1087, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::DataEngine::sourceRequestEvent(x1);
    }
    virtual bool updateSourceEvent(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1088, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::DataEngine::updateSourceEvent(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(1102, (void*)this, x)) return;
        this->Plasma::DataEngine::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__DataEngine() { this->_binding->deleted(53, (void*)this); }
};
void xcall_Plasma__DataEngine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__DataEngine *xself = (x_Plasma__DataEngine*)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__DataEngine::x_3(args);	break;
        case 4: x_Plasma__DataEngine::x_4(args);	break;
        case 5: x_Plasma__DataEngine::x_5(args);	break;
        case 6: x_Plasma__DataEngine::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__DataEngine::x_8(args);	break;
        case 9: x_Plasma__DataEngine::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__DataEngine::x_52(args);	break;
        case 53: x_Plasma__DataEngine::x_53(args);	break;
        case 54: x_Plasma__DataEngine::x_54(args);	break;
        case 55: x_Plasma__DataEngine::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: x_Plasma__DataEngine::x_61(args);	break;
        case 62: delete (Plasma::DataEngine*)xself;	break;
    }
}
class x_Plasma__DataEngineManager : public Plasma::DataEngineManager {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_Plasma__DataEngineManager*)this)->Plasma::DataEngineManager::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->Plasma::DataEngineManager::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::DataEngineManager::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::DataEngineManager::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::DataEngineManager::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::DataEngineManager::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::DataEngineManager::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::DataEngineManager* self()
        Plasma::DataEngineManager* xret = Plasma::DataEngineManager::self();
        x[0].s_class = (void*)xret;
    }
    void x_9(Smoke::Stack x) {
        // Plasma::DataEngine* engine(const QString&) const
        Plasma::DataEngine* xret = ((const x_Plasma__DataEngineManager*)this)->Plasma::DataEngineManager::engine(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // Plasma::DataEngine* loadEngine(const QString&)
        Plasma::DataEngine* xret = this->Plasma::DataEngineManager::loadEngine(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void unloadEngine(const QString&)
        this->Plasma::DataEngineManager::unloadEngine(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // static QStringList listAllEngines(const QString&)
        QStringList xret = Plasma::DataEngineManager::listAllEngines(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QList<KPluginInfo> listEngineInfo(const QString&)
        QList<KPluginInfo> xret = Plasma::DataEngineManager::listEngineInfo(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QList<KPluginInfo> listEngineInfoByCategory(const QString&, const QString&)
        QList<KPluginInfo> xret = Plasma::DataEngineManager::listEngineInfoByCategory(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    void x_15(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        this->Plasma::DataEngineManager::timerEvent((QTimerEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::DataEngineManager::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::DataEngineManager::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QStringList listAllEngines()
        QStringList xret = Plasma::DataEngineManager::listAllEngines((const QString&)QString());
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static QList<KPluginInfo> listEngineInfo()
        QList<KPluginInfo> xret = Plasma::DataEngineManager::listEngineInfo((const QString&)QString());
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_20(Smoke::Stack x) {
        // static QList<KPluginInfo> listEngineInfoByCategory(const QString&)
        QList<KPluginInfo> xret = Plasma::DataEngineManager::listEngineInfoByCategory(*(const QString*)x[1].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::DataEngineManager::staticMetaObject;
    }
};
void xcall_Plasma__DataEngineManager(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__DataEngineManager *xself = (x_Plasma__DataEngineManager*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__DataEngineManager::x_3(args);	break;
        case 4: x_Plasma__DataEngineManager::x_4(args);	break;
        case 5: x_Plasma__DataEngineManager::x_5(args);	break;
        case 6: x_Plasma__DataEngineManager::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__DataEngineManager::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: x_Plasma__DataEngineManager::x_12(args);	break;
        case 13: x_Plasma__DataEngineManager::x_13(args);	break;
        case 14: x_Plasma__DataEngineManager::x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_Plasma__DataEngineManager::x_16(args);	break;
        case 17: x_Plasma__DataEngineManager::x_17(args);	break;
        case 18: x_Plasma__DataEngineManager::x_18(args);	break;
        case 19: x_Plasma__DataEngineManager::x_19(args);	break;
        case 20: x_Plasma__DataEngineManager::x_20(args);	break;
        case 21: x_Plasma__DataEngineManager::x_21(args);	break;
    }
}
class x_Plasma__DataEngineScript : public Plasma::DataEngineScript, 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::DataEngineScript*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__DataEngineScript*)this)->Plasma::DataEngineScript::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__DataEngineScript*)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::DataEngineScript*>(this))) {
            void* xret = this->Plasma::DataEngineScript::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::DataEngineScript::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::DataEngineScript::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::DataEngineScript::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::DataEngineScript::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::DataEngineScript*>(this))) {
            int xret = this->Plasma::DataEngineScript::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::DataEngineScript* DataEngineScript(QObject*)
        x_Plasma__DataEngineScript* xret = new x_Plasma__DataEngineScript((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__DataEngineScript(QObject* x1) : DataEngineScript(x1) {}
    void x_9(Smoke::Stack x) {
        // void setDataEngine(Plasma::DataEngine*)
        this->Plasma::DataEngineScript::setDataEngine((Plasma::DataEngine*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // Plasma::DataEngine* dataEngine() const
        Plasma::DataEngine* xret = ((const x_Plasma__DataEngineScript*)this)->Plasma::DataEngineScript::dataEngine();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // virtual QStringList sources() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngineScript*>(this))) {
            QStringList xret = ((const x_Plasma__DataEngineScript*)this)->Plasma::DataEngineScript::sources();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_Plasma__DataEngineScript*)this)->sources();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual bool sourceRequestEvent(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngineScript*>(this))) {
            bool xret = this->Plasma::DataEngineScript::sourceRequestEvent(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->sourceRequestEvent(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual bool updateSourceEvent(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngineScript*>(this))) {
            bool xret = this->Plasma::DataEngineScript::updateSourceEvent(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->updateSourceEvent(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual Plasma::Service* serviceForSource(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngineScript*>(this))) {
            Plasma::Service* xret = this->Plasma::DataEngineScript::serviceForSource(*(const QString*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            Plasma::Service* xret = this->serviceForSource(*(const QString*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_15(Smoke::Stack x) {
        // QString mainScript() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngineScript*>(this))) {
            QString xret = ((const x_Plasma__DataEngineScript*)this)->Plasma::DataEngineScript::mainScript();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_Plasma__DataEngineScript*)this)->mainScript();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_16(Smoke::Stack x) {
        // const Plasma::Package* package() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::DataEngineScript*>(this))) {
            const Plasma::Package* xret = ((const x_Plasma__DataEngineScript*)this)->Plasma::DataEngineScript::package();
            x[0].s_class = (void*)xret;
        } else {
            const Plasma::Package* xret = ((const x_Plasma__DataEngineScript*)this)->package();
            x[0].s_class = (void*)xret;
        }
    }
    void x_17(Smoke::Stack x) {
        // KPluginInfo description() const
        KPluginInfo xret = ((const x_Plasma__DataEngineScript*)this)->Plasma::DataEngineScript::description();
        x[0].s_class = (void*)new KPluginInfo(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setData(const QString&, const QString&, const QVariant&)
        this->Plasma::DataEngineScript::setData(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QVariant*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setData(const QString&, const QVariant&)
        this->Plasma::DataEngineScript::setData(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setData(const QString&, const QHash<QString,QVariant>&)
        this->Plasma::DataEngineScript::setData(*(const QString*)x[1].s_class,*(const QHash<QString,QVariant>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void removeAllData(const QString&)
        this->Plasma::DataEngineScript::removeAllData(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void removeData(const QString&, const QString&)
        this->Plasma::DataEngineScript::removeData(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setMaxSourceCount(unsigned int)
        this->Plasma::DataEngineScript::setMaxSourceCount((unsigned int)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setMinimumPollingInterval(int)
        this->Plasma::DataEngineScript::setMinimumPollingInterval((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // int minimumPollingInterval() const
        int xret = ((const x_Plasma__DataEngineScript*)this)->Plasma::DataEngineScript::minimumPollingInterval();
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setPollingInterval(unsigned int)
        this->Plasma::DataEngineScript::setPollingInterval((unsigned int)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void removeAllSources()
        this->Plasma::DataEngineScript::removeAllSources();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void addSource(Plasma::DataContainer*)
        this->Plasma::DataEngineScript::addSource((Plasma::DataContainer*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // QHash<QString,Plasma::DataContainer*> containerDict() const
        QHash<QString,Plasma::DataContainer*> xret = ((const x_Plasma__DataEngineScript*)this)->Plasma::DataEngineScript::containerDict();
        x[0].s_class = (void*)new QHash<QString,Plasma::DataContainer*>(xret);
    }
    void x_30(Smoke::Stack x) {
        // void setName(const QString&)
        this->Plasma::DataEngineScript::setName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setIcon(const QString&)
        this->Plasma::DataEngineScript::setIcon(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void scheduleSourcesUpdated()
        this->Plasma::DataEngineScript::scheduleSourcesUpdated();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void removeSource(const QString&)
        this->Plasma::DataEngineScript::removeSource(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void updateAllSources()
        this->Plasma::DataEngineScript::updateAllSources();
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void forceImmediateUpdateOfAllVisualizations()
        this->Plasma::DataEngineScript::forceImmediateUpdateOfAllVisualizations();
        (void)x; // noop (for compiler warning)
    }
    static void x_36(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::DataEngineScript::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::DataEngineScript::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // Plasma::DataEngineScript* DataEngineScript()
        x_Plasma__DataEngineScript* xret = new x_Plasma__DataEngineScript((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::DataEngineScript::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1143, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::DataEngineScript::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1144, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::DataEngineScript::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(1149, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::DataEngineScript::qt_metacall(x1, x2, x3);
    }
    virtual QStringList sources() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1153, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::DataEngineScript::sources();
    }
    virtual bool sourceRequestEvent(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1154, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::DataEngineScript::sourceRequestEvent(x1);
    }
    virtual bool updateSourceEvent(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1155, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::DataEngineScript::updateSourceEvent(x1);
    }
    virtual Plasma::Service* serviceForSource(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1156, (void*)this, x)) return (Plasma::Service*)x[0].s_class;
        return this->Plasma::DataEngineScript::serviceForSource(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(1157, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::DataEngineScript::mainScript();
    }
    virtual const Plasma::Package* package() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1158, (void*)this, x)) return (const Plasma::Package*)x[0].s_class;
        return this->Plasma::DataEngineScript::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__DataEngineScript() { this->_binding->deleted(55, (void*)this); }
};
void xcall_Plasma__DataEngineScript(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__DataEngineScript *xself = (x_Plasma__DataEngineScript*)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__DataEngineScript::x_3(args);	break;
        case 4: x_Plasma__DataEngineScript::x_4(args);	break;
        case 5: x_Plasma__DataEngineScript::x_5(args);	break;
        case 6: x_Plasma__DataEngineScript::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__DataEngineScript::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: x_Plasma__DataEngineScript::x_36(args);	break;
        case 37: x_Plasma__DataEngineScript::x_37(args);	break;
        case 38: x_Plasma__DataEngineScript::x_38(args);	break;
        case 39: x_Plasma__DataEngineScript::x_39(args);	break;
        case 40: delete (Plasma::DataEngineScript*)xself;	break;
    }
}
class x_Plasma__Delegate : public Plasma::Delegate, 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::Delegate*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__Delegate*)this)->Plasma::Delegate::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__Delegate*)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::Delegate*>(this))) {
            void* xret = this->Plasma::Delegate::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::Delegate::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::Delegate::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::Delegate::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::Delegate::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::Delegate*>(this))) {
            int xret = this->Plasma::Delegate::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::Delegate* Delegate(QObject*)
        x_Plasma__Delegate* xret = new x_Plasma__Delegate((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Delegate(QObject* x1) : Delegate(x1) {}
    void x_9(Smoke::Stack x) {
        // void setRoleMapping(Plasma::Delegate::SpecificRoles, int)
        this->Plasma::Delegate::setRoleMapping((Plasma::Delegate::SpecificRoles)x[1].s_enum,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // int roleMapping(Plasma::Delegate::SpecificRoles) const
        int xret = ((const x_Plasma__Delegate*)this)->Plasma::Delegate::roleMapping((Plasma::Delegate::SpecificRoles)x[1].s_enum);
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // virtual void paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Delegate*>(this))) {
            ((const x_Plasma__Delegate*)this)->Plasma::Delegate::paint((QPainter*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_Plasma__Delegate*)this)->paint((QPainter*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // bool showToolTip() const
        bool xret = ((const x_Plasma__Delegate*)this)->Plasma::Delegate::showToolTip();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // QRect rectAfterTitle(const QStyleOptionViewItem&, const QModelIndex&) const
        QRect xret = ((const x_Plasma__Delegate*)this)->Plasma::Delegate::rectAfterTitle(*(const QStyleOptionViewItem*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_14(Smoke::Stack x) {
        // QRect rectAfterSubTitle(const QStyleOptionViewItem&, const QModelIndex&) const
        QRect xret = ((const x_Plasma__Delegate*)this)->Plasma::Delegate::rectAfterSubTitle(*(const QStyleOptionViewItem*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_15(Smoke::Stack x) {
        // QRect emptyRect(const QStyleOptionViewItem&, const QModelIndex&) const
        QRect xret = ((const x_Plasma__Delegate*)this)->Plasma::Delegate::emptyRect(*(const QStyleOptionViewItem*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_16(Smoke::Stack x) {
        // virtual QSize sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Delegate*>(this))) {
            QSize xret = ((const x_Plasma__Delegate*)this)->Plasma::Delegate::sizeHint(*(const QStyleOptionViewItem*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_Plasma__Delegate*)this)->sizeHint(*(const QStyleOptionViewItem*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::Delegate::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::Delegate::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // Plasma::Delegate* Delegate()
        x_Plasma__Delegate* xret = new x_Plasma__Delegate((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::Delegate::staticMetaObject;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Delegate::SubTitleRole;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Delegate::SubTitleMandatoryRole;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Delegate::ColumnTypeRole;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Delegate::MainColumn;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Delegate::SecondaryActionColumn;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1183, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::Delegate::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1184, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::Delegate::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(1189, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Delegate::qt_metacall(x1, x2, x3);
    }
    virtual void paint(QPainter* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        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(1193, (void*)this, x)) return;
        this->Plasma::Delegate::paint(x1, x2, x3);
    }
    virtual QSize sizeHint(const QStyleOptionViewItem& x1, const QModelIndex& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1198, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Delegate::sizeHint(x1, x2);
    }
    virtual QWidget* createEditor(QWidget* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        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(3115, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->QAbstractItemDelegate::createEditor(x1, x2, x3);
    }
    virtual void setEditorData(QWidget* x1, const QModelIndex& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3116, (void*)this, x)) return;
        this->QAbstractItemDelegate::setEditorData(x1, x2);
    }
    virtual void setModelData(QWidget* x1, QAbstractItemModel* x2, const QModelIndex& x3) const {
        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(3117, (void*)this, x)) return;
        this->QAbstractItemDelegate::setModelData(x1, x2, x3);
    }
    virtual void updateEditorGeometry(QWidget* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        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(3118, (void*)this, x)) return;
        this->QAbstractItemDelegate::updateEditorGeometry(x1, x2, x3);
    }
    virtual bool editorEvent(QEvent* x1, QAbstractItemModel* x2, const QStyleOptionViewItem& x3, const QModelIndex& x4) {
        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(3119, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemDelegate::editorEvent(x1, x2, x3, x4);
    }
    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 87: //Plasma::Delegate::SpecificRoles
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Delegate::SpecificRoles;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Delegate::SpecificRoles*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Delegate::SpecificRoles*)xdata = (Plasma::Delegate::SpecificRoles)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Delegate::SpecificRoles*)xdata;
                    break;
            }
            break;
        case 86: //Plasma::Delegate::ColumnType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Delegate::ColumnType;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Delegate::ColumnType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Delegate::ColumnType*)xdata = (Plasma::Delegate::ColumnType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Delegate::ColumnType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Plasma__Delegate() { this->_binding->deleted(56, (void*)this); }
};
void xenum_Plasma__Delegate(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__Delegate::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__Delegate(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__Delegate *xself = (x_Plasma__Delegate*)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__Delegate::x_3(args);	break;
        case 4: x_Plasma__Delegate::x_4(args);	break;
        case 5: x_Plasma__Delegate::x_5(args);	break;
        case 6: x_Plasma__Delegate::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__Delegate::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: x_Plasma__Delegate::x_17(args);	break;
        case 18: x_Plasma__Delegate::x_18(args);	break;
        case 19: x_Plasma__Delegate::x_19(args);	break;
        case 20: x_Plasma__Delegate::x_20(args);	break;
        case 21: x_Plasma__Delegate::x_21(args);	break;
        case 22: x_Plasma__Delegate::x_22(args);	break;
        case 23: x_Plasma__Delegate::x_23(args);	break;
        case 24: x_Plasma__Delegate::x_24(args);	break;
        case 25: x_Plasma__Delegate::x_25(args);	break;
        case 26: delete (Plasma::Delegate*)xself;	break;
    }
}
class x_Plasma__Dialog : public Plasma::Dialog, 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::Dialog*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__Dialog*)this)->Plasma::Dialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__Dialog*)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::Dialog*>(this))) {
            void* xret = this->Plasma::Dialog::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::Dialog::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::Dialog::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::Dialog::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::Dialog::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::Dialog*>(this))) {
            int xret = this->Plasma::Dialog::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::Dialog* Dialog(QWidget*, QFlags<Qt::WindowType>)
        x_Plasma__Dialog* xret = new x_Plasma__Dialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Dialog(QWidget* x1, QFlags<Qt::WindowType> x2) : Dialog(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void setGraphicsWidget(QGraphicsWidget*)
        this->Plasma::Dialog::setGraphicsWidget((QGraphicsWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QGraphicsWidget* graphicsWidget()
        QGraphicsWidget* xret = this->Plasma::Dialog::graphicsWidget();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setResizeHandleCorners(QFlags<Plasma::Dialog::ResizeCorner>)
        this->Plasma::Dialog::setResizeHandleCorners((QFlags<Plasma::Dialog::ResizeCorner>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QFlags<Plasma::Dialog::ResizeCorner> resizeCorners() const
        QFlags<Plasma::Dialog::ResizeCorner> xret = ((const x_Plasma__Dialog*)this)->Plasma::Dialog::resizeCorners();
        x[0].s_uint = (uint)xret;
    }
    void x_13(Smoke::Stack x) {
        // bool isUserResizing() const
        bool xret = ((const x_Plasma__Dialog*)this)->Plasma::Dialog::isUserResizing();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setMinimumResizeLimits(int, int, int, int)
        this->Plasma::Dialog::setMinimumResizeLimits((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void getMinimumResizeLimits(int*, int*, int*, int*)
        this->Plasma::Dialog::getMinimumResizeLimits((int*)x[1].s_class,(int*)x[2].s_class,(int*)x[3].s_class,(int*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void animatedHide(Plasma::Direction)
        this->Plasma::Dialog::animatedHide((Plasma::Direction)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void animatedShow(Plasma::Direction)
        this->Plasma::Dialog::animatedShow((Plasma::Direction)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // Plasma::AspectRatioMode aspectRatioMode() const
        Plasma::AspectRatioMode xret = ((const x_Plasma__Dialog*)this)->Plasma::Dialog::aspectRatioMode();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setAspectRatioMode(Plasma::AspectRatioMode)
        this->Plasma::Dialog::setAspectRatioMode((Plasma::AspectRatioMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void dialogResized()
        this->Plasma::Dialog::dialogResized();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void dialogVisible(bool)
        this->Plasma::Dialog::dialogVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void syncToGraphicsWidget()
        this->Plasma::Dialog::syncToGraphicsWidget();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            bool xret = this->Plasma::Dialog::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_25(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            bool xret = this->Plasma::Dialog::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_27(Smoke::Stack x) {
        // void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::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_30(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_31(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::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_34(Smoke::Stack x) {
        // void moveEvent(QMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Dialog*>(this))) {
            this->Plasma::Dialog::moveEvent((QMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->moveEvent((QMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_35(Smoke::Stack x) {
        // bool inControlArea(const QPoint&)
        bool xret = this->Plasma::Dialog::inControlArea(*(const QPoint*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_36(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::Dialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::Dialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // Plasma::Dialog* Dialog()
        x_Plasma__Dialog* xret = new x_Plasma__Dialog((QWidget*)0,(QFlags<Qt::WindowType>)Qt::Window);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // Plasma::Dialog* Dialog(QWidget*)
        x_Plasma__Dialog* xret = new x_Plasma__Dialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)Qt::Window);
        x[0].s_class = (void*)xret;
    }
    static void x_40(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::Dialog::staticMetaObject;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Dialog::NoCorner;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Dialog::NorthEast;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Dialog::SouthEast;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Dialog::NorthWest;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Dialog::SouthWest;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Dialog::All;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1209, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::Dialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1210, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::Dialog::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(1215, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Dialog::qt_metacall(x1, x2, x3);
    }
    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(3303, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3304, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::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(1239, (void*)this, x)) return;
        this->Plasma::Dialog::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1240, (void*)this, x)) return;
        this->Plasma::Dialog::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3307, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1238, (void*)this, x)) return;
        this->Plasma::Dialog::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3308, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1241, (void*)this, x)) return;
        this->Plasma::Dialog::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3309, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1237, (void*)this, x)) return;
        this->Plasma::Dialog::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3310, (void*)this, x)) return;
        this->QWidget::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(1231, (void*)this, x)) return;
        this->Plasma::Dialog::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1242, (void*)this, x)) return;
        this->Plasma::Dialog::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1233, (void*)this, x)) return;
        this->Plasma::Dialog::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(3315, (void*)this, x)) return;
        this->QWidget::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(3318, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3319, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3320, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3321, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1236, (void*)this, x)) return;
        this->Plasma::Dialog::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1235, (void*)this, x)) return;
        this->Plasma::Dialog::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(3324, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3326, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3327, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3328, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::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(1232, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::Dialog::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(1234, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::Dialog::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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 89: //Plasma::Dialog::ResizeCorner
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Dialog::ResizeCorner;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Dialog::ResizeCorner*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Dialog::ResizeCorner*)xdata = (Plasma::Dialog::ResizeCorner)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Dialog::ResizeCorner*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Plasma__Dialog() { this->_binding->deleted(57, (void*)this); }
};
void xenum_Plasma__Dialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__Dialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__Dialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__Dialog *xself = (x_Plasma__Dialog*)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__Dialog::x_3(args);	break;
        case 4: x_Plasma__Dialog::x_4(args);	break;
        case 5: x_Plasma__Dialog::x_5(args);	break;
        case 6: x_Plasma__Dialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__Dialog::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: x_Plasma__Dialog::x_36(args);	break;
        case 37: x_Plasma__Dialog::x_37(args);	break;
        case 38: x_Plasma__Dialog::x_38(args);	break;
        case 39: x_Plasma__Dialog::x_39(args);	break;
        case 40: x_Plasma__Dialog::x_40(args);	break;
        case 41: x_Plasma__Dialog::x_41(args);	break;
        case 42: x_Plasma__Dialog::x_42(args);	break;
        case 43: x_Plasma__Dialog::x_43(args);	break;
        case 44: x_Plasma__Dialog::x_44(args);	break;
        case 45: x_Plasma__Dialog::x_45(args);	break;
        case 46: x_Plasma__Dialog::x_46(args);	break;
        case 47: delete (Plasma::Dialog*)xself;	break;
    }
}
class x_Plasma__Extender : public Plasma::Extender, 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::Extender*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__Extender*)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::Extender*>(this))) {
            void* xret = this->Plasma::Extender::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::Extender::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::Extender::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::Extender::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::Extender::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::Extender*>(this))) {
            int xret = this->Plasma::Extender::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::Extender* Extender(Plasma::Applet*)
        x_Plasma__Extender* xret = new x_Plasma__Extender((Plasma::Applet*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Extender(Plasma::Applet* x1) : Extender(x1) {}
    void x_9(Smoke::Stack x) {
        // void setEmptyExtenderMessage(const QString&)
        this->Plasma::Extender::setEmptyExtenderMessage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString emptyExtenderMessage() const
        QString xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::emptyExtenderMessage();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // QList<Plasma::ExtenderItem*> items() const
        QList<Plasma::ExtenderItem*> xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::items();
        x[0].s_class = (void*)new QList<Plasma::ExtenderItem*>(xret);
    }
    void x_12(Smoke::Stack x) {
        // QList<Plasma::ExtenderItem*> attachedItems() const
        QList<Plasma::ExtenderItem*> xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::attachedItems();
        x[0].s_class = (void*)new QList<Plasma::ExtenderItem*>(xret);
    }
    void x_13(Smoke::Stack x) {
        // QList<Plasma::ExtenderItem*> detachedItems() const
        QList<Plasma::ExtenderItem*> xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::detachedItems();
        x[0].s_class = (void*)new QList<Plasma::ExtenderItem*>(xret);
    }
    void x_14(Smoke::Stack x) {
        // Plasma::ExtenderItem* item(const QString&) const
        Plasma::ExtenderItem* xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::item(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // Plasma::ExtenderGroup* group(const QString&) const
        Plasma::ExtenderGroup* xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::group(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // bool hasItem(const QString&) const
        bool xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::hasItem(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::isEmpty();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setAppearance(Plasma::Extender::Appearance)
        this->Plasma::Extender::setAppearance((Plasma::Extender::Appearance)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // Plasma::Extender::Appearance appearance() const
        Plasma::Extender::Appearance xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::appearance();
        x[0].s_enum = xret;
    }
    void x_20(Smoke::Stack x) {
        // QList<Plasma::ExtenderGroup*> groups() const
        QList<Plasma::ExtenderGroup*> xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::groups();
        x[0].s_class = (void*)new QList<Plasma::ExtenderGroup*>(xret);
    }
    void x_21(Smoke::Stack x) {
        // Plasma::Applet* applet() const
        Plasma::Applet* xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::applet();
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // virtual void itemAddedEvent(Plasma::ExtenderItem*, const QPointF&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::itemAddedEvent((Plasma::ExtenderItem*)x[1].s_class,*(const QPointF*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->itemAddedEvent((Plasma::ExtenderItem*)x[1].s_class,*(const QPointF*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void itemRemovedEvent(Plasma::ExtenderItem*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::itemRemovedEvent((Plasma::ExtenderItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->itemRemovedEvent((Plasma::ExtenderItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void itemHoverEnterEvent(Plasma::ExtenderItem*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::itemHoverEnterEvent((Plasma::ExtenderItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->itemHoverEnterEvent((Plasma::ExtenderItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual void itemHoverMoveEvent(Plasma::ExtenderItem*, const QPointF&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::itemHoverMoveEvent((Plasma::ExtenderItem*)x[1].s_class,*(const QPointF*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->itemHoverMoveEvent((Plasma::ExtenderItem*)x[1].s_class,*(const QPointF*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual void itemHoverLeaveEvent(Plasma::ExtenderItem*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::itemHoverLeaveEvent((Plasma::ExtenderItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->itemHoverLeaveEvent((Plasma::ExtenderItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void saveState()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::saveState();
            (void)x; // noop (for compiler warning)
        } else {
            this->saveState();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual QFlags<Plasma::FrameSvg::EnabledBorder> enabledBordersForItem(Plasma::ExtenderItem*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            QFlags<Plasma::FrameSvg::EnabledBorder> xret = ((const x_Plasma__Extender*)this)->Plasma::Extender::enabledBordersForItem((Plasma::ExtenderItem*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Plasma::FrameSvg::EnabledBorder> xret = ((const x_Plasma__Extender*)this)->enabledBordersForItem((Plasma::ExtenderItem*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        }
    }
    void x_29(Smoke::Stack x) {
        // QVariant itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            QVariant xret = this->Plasma::Extender::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_30(Smoke::Stack x) {
        // void resizeEvent(QGraphicsSceneResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::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_31(Smoke::Stack x) {
        // void mousePressEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::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) {
        // void dragEnterEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::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_33(Smoke::Stack x) {
        // void dragMoveEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::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_34(Smoke::Stack x) {
        // void dragLeaveEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::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_35(Smoke::Stack x) {
        // void dropEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Extender*>(this))) {
            this->Plasma::Extender::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_36(Smoke::Stack x) {
        // void itemAttached(Plasma::ExtenderItem*)
        this->Plasma::Extender::itemAttached((Plasma::ExtenderItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void itemDetached(Plasma::ExtenderItem*)
        this->Plasma::Extender::itemDetached((Plasma::ExtenderItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void geometryChanged()
        this->Plasma::Extender::geometryChanged();
        (void)x; // noop (for compiler warning)
    }
    static void x_39(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::Extender::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::Extender::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_41(Smoke::Stack x) {
        // void itemAddedEvent(Plasma::ExtenderItem*)
        this->Plasma::Extender::itemAddedEvent((Plasma::ExtenderItem*)x[1].s_class,(const QPointF&)QPointF(-1,-1));
        (void)x; // noop (for compiler warning)
    }
    static void x_42(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::Extender::staticMetaObject;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Extender::NoBorders;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Extender::BottomUpStacked;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Extender::TopDownStacked;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1256, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::Extender::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1257, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::Extender::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(1262, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Extender::qt_metacall(x1, x2, x3);
    }
    virtual void itemAddedEvent(Plasma::ExtenderItem* x1, const QPointF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1277, (void*)this, x)) return;
        this->Plasma::Extender::itemAddedEvent(x1, x2);
    }
    virtual void itemRemovedEvent(Plasma::ExtenderItem* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1278, (void*)this, x)) return;
        this->Plasma::Extender::itemRemovedEvent(x1);
    }
    virtual void itemHoverEnterEvent(Plasma::ExtenderItem* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1279, (void*)this, x)) return;
        this->Plasma::Extender::itemHoverEnterEvent(x1);
    }
    virtual void itemHoverMoveEvent(Plasma::ExtenderItem* x1, const QPointF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1280, (void*)this, x)) return;
        this->Plasma::Extender::itemHoverMoveEvent(x1, x2);
    }
    virtual void itemHoverLeaveEvent(Plasma::ExtenderItem* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1281, (void*)this, x)) return;
        this->Plasma::Extender::itemHoverLeaveEvent(x1);
    }
    virtual void saveState() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1282, (void*)this, x)) return;
        this->Plasma::Extender::saveState();
    }
    virtual QFlags<Plasma::FrameSvg::EnabledBorder> enabledBordersForItem(Plasma::ExtenderItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1283, (void*)this, x)) return (QFlags<Plasma::FrameSvg::EnabledBorder>)x[0].s_uint;
        return this->Plasma::Extender::enabledBordersForItem(x1);
    }
    virtual void paintWindowFrame(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(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(1285, (void*)this, x)) return;
        this->Plasma::Extender::resizeEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3286, (void*)this, x)) return;
        this->QGraphicsWidget::showEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3287, (void*)this, x)) return;
        this->QGraphicsWidget::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3288, (void*)this, x)) return;
        this->QGraphicsWidget::hoverLeaveEvent(x1);
    }
    virtual void grabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3289, (void*)this, x)) return;
        this->QGraphicsWidget::grabMouseEvent(x1);
    }
    virtual void ungrabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3290, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabMouseEvent(x1);
    }
    virtual void grabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3291, (void*)this, x)) return;
        this->QGraphicsWidget::grabKeyboardEvent(x1);
    }
    virtual void ungrabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3292, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabKeyboardEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3276, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3295, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3296, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3299, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3122, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3266, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::boundingRect();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3267, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3123, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3124, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3125, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3126, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3127, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::opaqueArea();
    }
    virtual 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(3264, (void*)this, x)) return;
        this->QGraphicsWidget::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(3129, (void*)this, x)) return;
        this->QGraphicsItem::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1287, (void*)this, x)) return;
        this->Plasma::Extender::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1289, (void*)this, x)) return;
        this->Plasma::Extender::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1288, (void*)this, x)) return;
        this->Plasma::Extender::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1290, (void*)this, x)) return;
        this->Plasma::Extender::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3279, (void*)this, x)) return;
        this->QGraphicsWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3281, (void*)this, x)) return;
        this->QGraphicsWidget::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3134, (void*)this, x)) return;
        this->QGraphicsItem::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3135, (void*)this, x)) return;
        this->QGraphicsItem::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3136, (void*)this, x)) return;
        this->QGraphicsItem::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1286, (void*)this, x)) return;
        this->Plasma::Extender::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3138, (void*)this, x)) return;
        this->QGraphicsItem::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3139, (void*)this, x)) return;
        this->QGraphicsItem::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3140, (void*)this, x)) return;
        this->QGraphicsItem::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3141, (void*)this, x)) return;
        this->QGraphicsItem::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3142, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3143, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1284, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Extender::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3261, (void*)this, x)) return;
        this->QGraphicsWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3269, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::sizeHint(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 92: //Plasma::Extender::Appearance
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Extender::Appearance;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Extender::Appearance*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Extender::Appearance*)xdata = (Plasma::Extender::Appearance)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Extender::Appearance*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Plasma__Extender() { this->_binding->deleted(58, (void*)this); }
};
void xenum_Plasma__Extender(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__Extender::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__Extender(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__Extender *xself = (x_Plasma__Extender*)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__Extender::x_3(args);	break;
        case 4: x_Plasma__Extender::x_4(args);	break;
        case 5: x_Plasma__Extender::x_5(args);	break;
        case 6: x_Plasma__Extender::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__Extender::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: x_Plasma__Extender::x_39(args);	break;
        case 40: x_Plasma__Extender::x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: x_Plasma__Extender::x_42(args);	break;
        case 43: x_Plasma__Extender::x_43(args);	break;
        case 44: x_Plasma__Extender::x_44(args);	break;
        case 45: x_Plasma__Extender::x_45(args);	break;
        case 46: delete (Plasma::Extender*)xself;	break;
    }
}
class x_Plasma__ExtenderGroup : public Plasma::ExtenderGroup, 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::ExtenderGroup*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__ExtenderGroup*)this)->Plasma::ExtenderGroup::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__ExtenderGroup*)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::ExtenderGroup*>(this))) {
            void* xret = this->Plasma::ExtenderGroup::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::ExtenderGroup::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::ExtenderGroup::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::ExtenderGroup::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::ExtenderGroup::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::ExtenderGroup*>(this))) {
            int xret = this->Plasma::ExtenderGroup::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::ExtenderGroup* ExtenderGroup(Plasma::Extender*, unsigned int)
        x_Plasma__ExtenderGroup* xret = new x_Plasma__ExtenderGroup((Plasma::Extender*)x[1].s_class,(unsigned int)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__ExtenderGroup(Plasma::Extender* x1, unsigned int x2) : ExtenderGroup(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // QList<Plasma::ExtenderItem*> items() const
        QList<Plasma::ExtenderItem*> xret = ((const x_Plasma__ExtenderGroup*)this)->Plasma::ExtenderGroup::items();
        x[0].s_class = (void*)new QList<Plasma::ExtenderItem*>(xret);
    }
    void x_10(Smoke::Stack x) {
        // bool autoHide() const
        bool xret = ((const x_Plasma__ExtenderGroup*)this)->Plasma::ExtenderGroup::autoHide();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setAutoHide(bool)
        this->Plasma::ExtenderGroup::setAutoHide((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool isGroupCollapsed() const
        bool xret = ((const x_Plasma__ExtenderGroup*)this)->Plasma::ExtenderGroup::isGroupCollapsed();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool isAutoCollapse() const
        bool xret = ((const x_Plasma__ExtenderGroup*)this)->Plasma::ExtenderGroup::isAutoCollapse();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setAutoCollapse(bool)
        this->Plasma::ExtenderGroup::setAutoCollapse((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setGroupCollapsed(bool)
        this->Plasma::ExtenderGroup::setGroupCollapsed((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void expandGroup()
        this->Plasma::ExtenderGroup::expandGroup();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void collapseGroup()
        this->Plasma::ExtenderGroup::collapseGroup();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void resizeEvent(QGraphicsSceneResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::ExtenderGroup*>(this))) {
            this->Plasma::ExtenderGroup::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_19(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::ExtenderGroup*>(this))) {
            bool xret = this->Plasma::ExtenderGroup::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_20(Smoke::Stack x) {
        // void dragEnterEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::ExtenderGroup*>(this))) {
            this->Plasma::ExtenderGroup::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_21(Smoke::Stack x) {
        // void dragMoveEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::ExtenderGroup*>(this))) {
            this->Plasma::ExtenderGroup::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_22(Smoke::Stack x) {
        // void dragLeaveEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::ExtenderGroup*>(this))) {
            this->Plasma::ExtenderGroup::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_23(Smoke::Stack x) {
        // void dropEvent(QGraphicsSceneDragDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::ExtenderGroup*>(this))) {
            this->Plasma::ExtenderGroup::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)
        }
    }
    static void x_24(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::ExtenderGroup::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::ExtenderGroup::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_26(Smoke::Stack x) {
        // Plasma::ExtenderGroup* ExtenderGroup(Plasma::Extender*)
        x_Plasma__ExtenderGroup* xret = new x_Plasma__ExtenderGroup((Plasma::Extender*)x[1].s_class,(unsigned int)0);
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::ExtenderGroup::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1302, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::ExtenderGroup::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1303, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::ExtenderGroup::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(1308, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::ExtenderGroup::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(1369, (void*)this, x)) return;
        this->Plasma::ExtenderItem::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(1319, (void*)this, x)) return;
        this->Plasma::ExtenderGroup::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(1375, (void*)this, x)) return;
        this->Plasma::ExtenderItem::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1376, (void*)this, x)) return;
        this->Plasma::ExtenderItem::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(1320, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::ExtenderGroup::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(1368, (void*)this, x)) return;
        this->Plasma::ExtenderItem::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(1377, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::ExtenderItem::sceneEventFilter(x1, x2);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3273, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::sceneEvent(x1);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3129, (void*)this, x)) return;
        this->QGraphicsItem::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1321, (void*)this, x)) return;
        this->Plasma::ExtenderGroup::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1323, (void*)this, x)) return;
        this->Plasma::ExtenderGroup::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1322, (void*)this, x)) return;
        this->Plasma::ExtenderGroup::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1324, (void*)this, x)) return;
        this->Plasma::ExtenderGroup::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3279, (void*)this, x)) return;
        this->QGraphicsWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3281, (void*)this, x)) return;
        this->QGraphicsWidget::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3134, (void*)this, x)) return;
        this->QGraphicsItem::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3135, (void*)this, x)) return;
        this->QGraphicsItem::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3136, (void*)this, x)) return;
        this->QGraphicsItem::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1371, (void*)this, x)) return;
        this->Plasma::ExtenderItem::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1373, (void*)this, x)) return;
        this->Plasma::ExtenderItem::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1374, (void*)this, x)) return;
        this->Plasma::ExtenderItem::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1372, (void*)this, x)) return;
        this->Plasma::ExtenderItem::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3141, (void*)this, x)) return;
        this->QGraphicsItem::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3142, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3143, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3271, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3261, (void*)this, x)) return;
        this->QGraphicsWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1378, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::ExtenderItem::sizeHint(x1, x2);
    }
    ~x_Plasma__ExtenderGroup() { this->_binding->deleted(59, (void*)this); }
};
void xcall_Plasma__ExtenderGroup(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__ExtenderGroup *xself = (x_Plasma__ExtenderGroup*)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__ExtenderGroup::x_3(args);	break;
        case 4: x_Plasma__ExtenderGroup::x_4(args);	break;
        case 5: x_Plasma__ExtenderGroup::x_5(args);	break;
        case 6: x_Plasma__ExtenderGroup::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__ExtenderGroup::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: x_Plasma__ExtenderGroup::x_24(args);	break;
        case 25: x_Plasma__ExtenderGroup::x_25(args);	break;
        case 26: x_Plasma__ExtenderGroup::x_26(args);	break;
        case 27: x_Plasma__ExtenderGroup::x_27(args);	break;
        case 28: delete (Plasma::ExtenderGroup*)xself;	break;
    }
}

}
