//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__Applet : public Plasma::Applet, 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::Applet*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__Applet*)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::Applet*>(this))) {
            void* xret = this->Plasma::Applet::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::Applet::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::Applet::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::Applet::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::Applet::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::Applet*>(this))) {
            int xret = this->Plasma::Applet::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) {
        // static KSharedPtr<Plasma::PackageStructure> packageStructure()
        KSharedPtr<Plasma::PackageStructure> xret = Plasma::Applet::packageStructure();
        x[0].s_class = (void*)new KSharedPtr<Plasma::PackageStructure>(xret);
    }
    void x_9(Smoke::Stack x) {
        // unsigned int id() const
        unsigned int xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::id();
        x[0].s_uint = xret;
    }
    void x_10(Smoke::Stack x) {
        // KConfigGroup config() const
        KConfigGroup xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::config();
        x[0].s_class = (void*)new KConfigGroup(xret);
    }
    void x_11(Smoke::Stack x) {
        // KConfigGroup config(const QString&) const
        KConfigGroup xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::config(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KConfigGroup(xret);
    }
    void x_12(Smoke::Stack x) {
        // virtual void save(KConfigGroup&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            ((const x_Plasma__Applet*)this)->Plasma::Applet::save(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_Plasma__Applet*)this)->save(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void restore(KConfigGroup&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::restore(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->restore(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // KConfigGroup globalConfig() const
        KConfigGroup xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::globalConfig();
        x[0].s_class = (void*)new KConfigGroup(xret);
    }
    void x_15(Smoke::Stack x) {
        // Plasma::ConfigLoader* configScheme() const
        Plasma::ConfigLoader* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::configScheme();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // Plasma::DataEngine* dataEngine(const QString&) const
        Plasma::DataEngine* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::dataEngine(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // const Plasma::Package* package() const
        const Plasma::Package* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::package();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // QGraphicsView* view() const
        QGraphicsView* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::view();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // QRectF mapFromView(const QGraphicsView*, const QRect&) const
        QRectF xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::mapFromView((const QGraphicsView*)x[1].s_class,*(const QRect*)x[2].s_class);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_20(Smoke::Stack x) {
        // QRect mapToView(const QGraphicsView*, const QRectF&) const
        QRect xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::mapToView((const QGraphicsView*)x[1].s_class,*(const QRectF*)x[2].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_21(Smoke::Stack x) {
        // QPoint popupPosition(const QSize&) const
        QPoint xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::popupPosition(*(const QSize*)x[1].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_22(Smoke::Stack x) {
        // QPoint popupPosition(const QSize&, Qt::AlignmentFlag) const
        QPoint xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::popupPosition(*(const QSize*)x[1].s_class,(Qt::AlignmentFlag)x[2].s_enum);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_23(Smoke::Stack x) {
        // void updateConstraints(QFlags<Plasma::Constraint>)
        this->Plasma::Applet::updateConstraints((QFlags<Plasma::Constraint>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // virtual Plasma::FormFactor formFactor() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            Plasma::FormFactor xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::formFactor();
            x[0].s_enum = xret;
        } else {
            Plasma::FormFactor xret = ((const x_Plasma__Applet*)this)->formFactor();
            x[0].s_enum = xret;
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual Plasma::Location location() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            Plasma::Location xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::location();
            x[0].s_enum = xret;
        } else {
            Plasma::Location xret = ((const x_Plasma__Applet*)this)->location();
            x[0].s_enum = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // Plasma::Context* context() const
        Plasma::Context* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::context();
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // Plasma::AspectRatioMode aspectRatioMode() const
        Plasma::AspectRatioMode xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::aspectRatioMode();
        x[0].s_enum = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setAspectRatioMode(Plasma::AspectRatioMode)
        this->Plasma::Applet::setAspectRatioMode((Plasma::AspectRatioMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    static void x_29(Smoke::Stack x) {
        // static QList<KPluginInfo> listAppletInfo(const QString&, const QString&)
        QList<KPluginInfo> xret = Plasma::Applet::listAppletInfo(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QList<KPluginInfo> listAppletInfoForMimetype(const QString&)
        QList<KPluginInfo> xret = Plasma::Applet::listAppletInfoForMimetype(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static QList<KPluginInfo> listAppletInfoForUrl(const QUrl&)
        QList<KPluginInfo> xret = Plasma::Applet::listAppletInfoForUrl(*(const QUrl*)x[1].s_class);
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QStringList listCategories(const QString&, bool)
        QStringList xret = Plasma::Applet::listCategories(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_33(Smoke::Stack x) {
        // void setCustomCategories(const QStringList&)
        this->Plasma::Applet::setCustomCategories(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // QStringList customCategories()
        QStringList xret = this->Plasma::Applet::customCategories();
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_35(Smoke::Stack x) {
        // static Plasma::Applet* loadPlasmoid(const QString&, unsigned int, const QList<QVariant>&)
        Plasma::Applet* xret = Plasma::Applet::loadPlasmoid(*(const QString*)x[1].s_class,(unsigned int)x[2].s_uint,*(const QList<QVariant>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_36(Smoke::Stack x) {
        // static Plasma::Applet* load(const QString&, unsigned int, const QList<QVariant>&)
        Plasma::Applet* xret = Plasma::Applet::load(*(const QString*)x[1].s_class,(unsigned int)x[2].s_uint,*(const QList<QVariant>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_37(Smoke::Stack x) {
        // static Plasma::Applet* load(const KPluginInfo&, unsigned int, const QList<QVariant>&)
        Plasma::Applet* xret = Plasma::Applet::load(*(const KPluginInfo*)x[1].s_class,(unsigned int)x[2].s_uint,*(const QList<QVariant>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_38(Smoke::Stack x) {
        // static QString category(const KPluginInfo&)
        QString xret = Plasma::Applet::category(*(const KPluginInfo*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static QString category(const QString&)
        QString xret = Plasma::Applet::category(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_40(Smoke::Stack x) {
        // virtual void paintInterface(QPainter*, const QStyleOptionGraphicsItem*, const QRect&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::paintInterface((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,*(const QRect*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintInterface((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,*(const QRect*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_41(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_42(Smoke::Stack x) {
        // QFont font() const
        QFont xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::font();
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_43(Smoke::Stack x) {
        // QString pluginName() const
        QString xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::pluginName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_44(Smoke::Stack x) {
        // bool shouldConserveResources() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::shouldConserveResources();
        x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
        // QString icon() const
        QString xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::icon();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_46(Smoke::Stack x) {
        // QString category() const
        QString xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::category();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_47(Smoke::Stack x) {
        // Plasma::ImmutabilityType immutability() const
        Plasma::ImmutabilityType xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::immutability();
        x[0].s_enum = xret;
    }
    void x_48(Smoke::Stack x) {
        // void paintWindowFrame(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::paintWindowFrame((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintWindowFrame((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // bool hasFailedToLaunch() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::hasFailedToLaunch();
        x[0].s_bool = xret;
    }
    void x_50(Smoke::Stack x) {
        // bool isBusy() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::isBusy();
        x[0].s_bool = xret;
    }
    void x_51(Smoke::Stack x) {
        // bool configurationRequired() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::configurationRequired();
        x[0].s_bool = xret;
    }
    void x_52(Smoke::Stack x) {
        // bool hasConfigurationInterface() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::hasConfigurationInterface();
        x[0].s_bool = xret;
    }
    void x_53(Smoke::Stack x) {
        // virtual QList<QAction*> contextualActions()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            QList<QAction*> xret = this->Plasma::Applet::contextualActions();
            x[0].s_class = (void*)new QList<QAction*>(xret);
        } else {
            QList<QAction*> xret = this->contextualActions();
            x[0].s_class = (void*)new QList<QAction*>(xret);
        }
    }
    void x_54(Smoke::Stack x) {
        // QAction* action(QString) const
        QAction* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::action(*(QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_55(Smoke::Stack x) {
        // void addAction(QString, QAction*)
        this->Plasma::Applet::addAction(*(QString*)x[1].s_class,(QAction*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void setBackgroundHints(const QFlags<Plasma::Applet::BackgroundHint>)
        this->Plasma::Applet::setBackgroundHints((const QFlags<Plasma::Applet::BackgroundHint>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // QFlags<Plasma::Applet::BackgroundHint> backgroundHints() const
        QFlags<Plasma::Applet::BackgroundHint> xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::backgroundHints();
        x[0].s_uint = (uint)xret;
    }
    void x_58(Smoke::Stack x) {
        // bool isContainment() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::isContainment();
        x[0].s_bool = xret;
    }
    void x_59(Smoke::Stack x) {
        // QRect screenRect() const
        QRect xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::screenRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_60(Smoke::Stack x) {
        // int type() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            int xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::type();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_Plasma__Applet*)this)->type();
            x[0].s_int = xret;
        }
    }
    void x_61(Smoke::Stack x) {
        // Plasma::Containment* containment() const
        Plasma::Containment* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::containment();
        x[0].s_class = (void*)xret;
    }
    void x_62(Smoke::Stack x) {
        // void setGlobalShortcut(const KShortcut&)
        this->Plasma::Applet::setGlobalShortcut(*(const KShortcut*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // KShortcut globalShortcut() const
        KShortcut xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::globalShortcut();
        x[0].s_class = (void*)new KShortcut(xret);
    }
    void x_64(Smoke::Stack x) {
        // virtual bool isPopupShowing() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::isPopupShowing();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_Plasma__Applet*)this)->isPopupShowing();
            x[0].s_bool = xret;
        }
    }
    void x_65(Smoke::Stack x) {
        // virtual void addAssociatedWidget(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::addAssociatedWidget((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->addAssociatedWidget((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_66(Smoke::Stack x) {
        // virtual void removeAssociatedWidget(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::removeAssociatedWidget((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->removeAssociatedWidget((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_67(Smoke::Stack x) {
        // virtual void initExtenderItem(Plasma::ExtenderItem*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::initExtenderItem((Plasma::ExtenderItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->initExtenderItem((Plasma::ExtenderItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_68(Smoke::Stack x) {
        // Plasma::Applet* Applet(QGraphicsItem*, const QString&, unsigned int)
        x_Plasma__Applet* xret = new x_Plasma__Applet((QGraphicsItem*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned int)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Applet(QGraphicsItem* x1, const QString& x2, unsigned int x3) : Applet(x1, x2, x3) {}
    static void x_69(Smoke::Stack x) {
        // Plasma::Applet* Applet(const KPluginInfo&, QGraphicsItem*, unsigned int)
        x_Plasma__Applet* xret = new x_Plasma__Applet(*(const KPluginInfo*)x[1].s_class,(QGraphicsItem*)x[2].s_class,(unsigned int)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Applet(const KPluginInfo& x1, QGraphicsItem* x2, unsigned int x3) : Applet(x1, x2, x3) {}
    static void x_70(Smoke::Stack x) {
        // Plasma::Applet* Applet(QGraphicsItem*, const QString&, unsigned int, const QList<QVariant>&)
        x_Plasma__Applet* xret = new x_Plasma__Applet((QGraphicsItem*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned int)x[3].s_uint,*(const QList<QVariant>*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Applet(QGraphicsItem* x1, const QString& x2, unsigned int x3, const QList<QVariant>& x4) : Applet(x1, x2, x3, x4) {}
    void x_71(Smoke::Stack x) {
        // bool destroyed() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::destroyed();
        x[0].s_bool = xret;
    }
    void x_72(Smoke::Stack x) {
        // virtual void createConfigurationInterface(KConfigDialog*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::createConfigurationInterface((KConfigDialog*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->createConfigurationInterface((KConfigDialog*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_73(Smoke::Stack x) {
        // bool hasAuthorization(const QString&) const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::hasAuthorization(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_74(Smoke::Stack x) {
        // void setAssociatedApplication(const QString&)
        this->Plasma::Applet::setAssociatedApplication(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void setAssociatedApplicationUrls(const KUrl::List&)
        this->Plasma::Applet::setAssociatedApplicationUrls(*(const KUrl::List*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // QString associatedApplication() const
        QString xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::associatedApplication();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_77(Smoke::Stack x) {
        // KUrl::List associatedApplicationUrls() const
        KUrl::List xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::associatedApplicationUrls();
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    void x_78(Smoke::Stack x) {
        // bool hasValidAssociatedApplication() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::hasValidAssociatedApplication();
        x[0].s_bool = xret;
    }
    void x_79(Smoke::Stack x) {
        // void releaseVisualFocus()
        this->Plasma::Applet::releaseVisualFocus();
        (void)x; // noop (for compiler warning)
    }
    void x_80(Smoke::Stack x) {
        // void geometryChanged()
        this->Plasma::Applet::geometryChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_81(Smoke::Stack x) {
        // void appletTransformedByUser()
        this->Plasma::Applet::appletTransformedByUser();
        (void)x; // noop (for compiler warning)
    }
    void x_82(Smoke::Stack x) {
        // void appletTransformedItself()
        this->Plasma::Applet::appletTransformedItself();
        (void)x; // noop (for compiler warning)
    }
    void x_83(Smoke::Stack x) {
        // void sizeHintChanged(Qt::SizeHint)
        this->Plasma::Applet::sizeHintChanged((Qt::SizeHint)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_84(Smoke::Stack x) {
        // void configNeedsSaving()
        this->Plasma::Applet::configNeedsSaving();
        (void)x; // noop (for compiler warning)
    }
    void x_85(Smoke::Stack x) {
        // void activate()
        this->Plasma::Applet::activate();
        (void)x; // noop (for compiler warning)
    }
    void x_86(Smoke::Stack x) {
        // void messageButtonPressed(const Plasma::MessageButton)
        this->Plasma::Applet::messageButtonPressed((const Plasma::MessageButton)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_87(Smoke::Stack x) {
        // void appletDestroyed(Plasma::Applet*)
        this->Plasma::Applet::appletDestroyed((Plasma::Applet*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_88(Smoke::Stack x) {
        // void newStatus(Plasma::ItemStatus)
        this->Plasma::Applet::newStatus((Plasma::ItemStatus)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_89(Smoke::Stack x) {
        // void extenderItemRestored(Plasma::ExtenderItem*)
        this->Plasma::Applet::extenderItemRestored((Plasma::ExtenderItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_90(Smoke::Stack x) {
        // void immutabilityChanged(Plasma::ImmutabilityType)
        this->Plasma::Applet::immutabilityChanged((Plasma::ImmutabilityType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_91(Smoke::Stack x) {
        // void setImmutability(const Plasma::ImmutabilityType)
        this->Plasma::Applet::setImmutability((const Plasma::ImmutabilityType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_92(Smoke::Stack x) {
        // virtual void destroy()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::destroy();
            (void)x; // noop (for compiler warning)
        } else {
            this->destroy();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_93(Smoke::Stack x) {
        // virtual void showConfigurationInterface()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::showConfigurationInterface();
            (void)x; // noop (for compiler warning)
        } else {
            this->showConfigurationInterface();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_94(Smoke::Stack x) {
        // void showConfigurationInterface(QWidget*)
        this->Plasma::Applet::showConfigurationInterface((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_95(Smoke::Stack x) {
        // bool isUserConfiguring() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::isUserConfiguring();
        x[0].s_bool = xret;
    }
    void x_96(Smoke::Stack x) {
        // void raise()
        this->Plasma::Applet::raise();
        (void)x; // noop (for compiler warning)
    }
    void x_97(Smoke::Stack x) {
        // void lower()
        this->Plasma::Applet::lower();
        (void)x; // noop (for compiler warning)
    }
    void x_98(Smoke::Stack x) {
        // void flushPendingConstraintsEvents()
        this->Plasma::Applet::flushPendingConstraintsEvents();
        (void)x; // noop (for compiler warning)
    }
    void x_99(Smoke::Stack x) {
        // virtual void init()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::init();
            (void)x; // noop (for compiler warning)
        } else {
            this->init();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_100(Smoke::Stack x) {
        // virtual void configChanged()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::configChanged();
            (void)x; // noop (for compiler warning)
        } else {
            this->configChanged();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_101(Smoke::Stack x) {
        // void setBusy(bool)
        this->Plasma::Applet::setBusy((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_102(Smoke::Stack x) {
        // QVariantList startupArguments() const
        QVariantList xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::startupArguments();
        x[0].s_class = (void*)new QList<QVariant>(xret);
    }
    void x_103(Smoke::Stack x) {
        // Plasma::ItemStatus status() const
        Plasma::ItemStatus xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::status();
        x[0].s_enum = xret;
    }
    void x_104(Smoke::Stack x) {
        // void setStatus(const Plasma::ItemStatus)
        this->Plasma::Applet::setStatus((const Plasma::ItemStatus)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_105(Smoke::Stack x) {
        // void publish(Plasma::AnnouncementMethods, const QString&)
        this->Plasma::Applet::publish((Plasma::AnnouncementMethods)x[1].s_uint,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_106(Smoke::Stack x) {
        // void unpublish()
        this->Plasma::Applet::unpublish();
        (void)x; // noop (for compiler warning)
    }
    void x_107(Smoke::Stack x) {
        // bool isPublished() const
        bool xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::isPublished();
        x[0].s_bool = xret;
    }
    void x_108(Smoke::Stack x) {
        // void runAssociatedApplication()
        this->Plasma::Applet::runAssociatedApplication();
        (void)x; // noop (for compiler warning)
    }
    static void x_109(Smoke::Stack x) {
        // Plasma::Applet* Applet(QObject*, const QList<QVariant>&)
        x_Plasma__Applet* xret = new x_Plasma__Applet((QObject*)x[1].s_class,*(const QList<QVariant>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__Applet(QObject* x1, const QList<QVariant>& x2) : Applet(x1, x2) {}
    void x_110(Smoke::Stack x) {
        // void setFailedToLaunch(bool, const QString&)
        this->Plasma::Applet::setFailedToLaunch((bool)x[1].s_bool,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_111(Smoke::Stack x) {
        // virtual void saveState(KConfigGroup&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            ((const x_Plasma__Applet*)this)->Plasma::Applet::saveState(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_Plasma__Applet*)this)->saveState(*(KConfigGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_112(Smoke::Stack x) {
        // void setHasConfigurationInterface(bool)
        this->Plasma::Applet::setHasConfigurationInterface((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_113(Smoke::Stack x) {
        // void setConfigurationRequired(bool, const QString&)
        this->Plasma::Applet::setConfigurationRequired((bool)x[1].s_bool,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_114(Smoke::Stack x) {
        // void showMessage(const QIcon&, const QString&, const QFlags<Plasma::MessageButton>)
        this->Plasma::Applet::showMessage(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(const QFlags<Plasma::MessageButton>)x[3].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_115(Smoke::Stack x) {
        // virtual void constraintsEvent(QFlags<Plasma::Constraint>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::constraintsEvent((QFlags<Plasma::Constraint>)x[1].s_uint);
            (void)x; // noop (for compiler warning)
        } else {
            this->constraintsEvent((QFlags<Plasma::Constraint>)x[1].s_uint);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_116(Smoke::Stack x) {
        // void registerAsDragHandle(QGraphicsItem*)
        this->Plasma::Applet::registerAsDragHandle((QGraphicsItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_117(Smoke::Stack x) {
        // void unregisterAsDragHandle(QGraphicsItem*)
        this->Plasma::Applet::unregisterAsDragHandle((QGraphicsItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_118(Smoke::Stack x) {
        // bool isRegisteredAsDragHandle(QGraphicsItem*)
        bool xret = this->Plasma::Applet::isRegisteredAsDragHandle((QGraphicsItem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_119(Smoke::Stack x) {
        // Plasma::Extender* extender() const
        Plasma::Extender* xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::extender();
        x[0].s_class = (void*)xret;
    }
    void x_120(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            bool xret = this->Plasma::Applet::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_121(Smoke::Stack x) {
        // bool sceneEventFilter(QGraphicsItem*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            bool xret = this->Plasma::Applet::sceneEventFilter((QGraphicsItem*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->sceneEventFilter((QGraphicsItem*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_122(Smoke::Stack x) {
        // void mouseMoveEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::mouseMoveEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_123(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::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_124(Smoke::Stack x) {
        // void resizeEvent(QGraphicsSceneResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::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_125(Smoke::Stack x) {
        // QVariant itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            QVariant xret = this->Plasma::Applet::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_126(Smoke::Stack x) {
        // QPainterPath shape() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            QPainterPath xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::shape();
            x[0].s_class = (void*)new QPainterPath(xret);
        } else {
            QPainterPath xret = ((const x_Plasma__Applet*)this)->shape();
            x[0].s_class = (void*)new QPainterPath(xret);
        }
    }
    void x_127(Smoke::Stack x) {
        // QSizeF sizeHint(Qt::SizeHint, const QSizeF&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            QSizeF xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::sizeHint((Qt::SizeHint)x[1].s_enum,*(const QSizeF*)x[2].s_class);
            x[0].s_class = (void*)new QSizeF(xret);
        } else {
            QSizeF xret = ((const x_Plasma__Applet*)this)->sizeHint((Qt::SizeHint)x[1].s_enum,*(const QSizeF*)x[2].s_class);
            x[0].s_class = (void*)new QSizeF(xret);
        }
    }
    void x_128(Smoke::Stack x) {
        // void hoverEnterEvent(QGraphicsSceneHoverEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::hoverEnterEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hoverEnterEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_129(Smoke::Stack x) {
        // void hoverLeaveEvent(QGraphicsSceneHoverEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::hoverLeaveEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hoverLeaveEvent((QGraphicsSceneHoverEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_130(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::Applet*>(this))) {
            this->Plasma::Applet::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_131(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::Applet::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_132(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::Applet::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_133(Smoke::Stack x) {
        // void updateConstraints()
        this->Plasma::Applet::updateConstraints((QFlags<Plasma::Constraint>)Plasma::AllConstraints);
        (void)x; // noop (for compiler warning)
    }
    static void x_134(Smoke::Stack x) {
        // static QList<KPluginInfo> listAppletInfo()
        QList<KPluginInfo> xret = Plasma::Applet::listAppletInfo((const QString&)QString(),(const QString&)QString());
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_135(Smoke::Stack x) {
        // static QList<KPluginInfo> listAppletInfo(const QString&)
        QList<KPluginInfo> xret = Plasma::Applet::listAppletInfo(*(const QString*)x[1].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QList<KPluginInfo>(xret);
    }
    static void x_136(Smoke::Stack x) {
        // static QStringList listCategories()
        QStringList xret = Plasma::Applet::listCategories((const QString&)QString(),(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_137(Smoke::Stack x) {
        // static QStringList listCategories(const QString&)
        QStringList xret = Plasma::Applet::listCategories(*(const QString*)x[1].s_class,(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_138(Smoke::Stack x) {
        // static Plasma::Applet* loadPlasmoid(const QString&)
        Plasma::Applet* xret = Plasma::Applet::loadPlasmoid(*(const QString*)x[1].s_class,(unsigned int)0,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_139(Smoke::Stack x) {
        // static Plasma::Applet* loadPlasmoid(const QString&, unsigned int)
        Plasma::Applet* xret = Plasma::Applet::loadPlasmoid(*(const QString*)x[1].s_class,(unsigned int)x[2].s_uint,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_140(Smoke::Stack x) {
        // static Plasma::Applet* load(const QString&)
        Plasma::Applet* xret = Plasma::Applet::load(*(const QString*)x[1].s_class,(unsigned int)0,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_141(Smoke::Stack x) {
        // static Plasma::Applet* load(const QString&, unsigned int)
        Plasma::Applet* xret = Plasma::Applet::load(*(const QString*)x[1].s_class,(unsigned int)x[2].s_uint,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_142(Smoke::Stack x) {
        // static Plasma::Applet* load(const KPluginInfo&)
        Plasma::Applet* xret = Plasma::Applet::load(*(const KPluginInfo*)x[1].s_class,(unsigned int)0,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_143(Smoke::Stack x) {
        // static Plasma::Applet* load(const KPluginInfo&, unsigned int)
        Plasma::Applet* xret = Plasma::Applet::load(*(const KPluginInfo*)x[1].s_class,(unsigned int)x[2].s_uint,(const QList<QVariant>&)QVariantList());
        x[0].s_class = (void*)xret;
    }
    static void x_144(Smoke::Stack x) {
        // Plasma::Applet* Applet()
        x_Plasma__Applet* xret = new x_Plasma__Applet((QGraphicsItem*)0,(const QString&)QString(),(unsigned int)0);
        x[0].s_class = (void*)xret;
    }
    static void x_145(Smoke::Stack x) {
        // Plasma::Applet* Applet(QGraphicsItem*)
        x_Plasma__Applet* xret = new x_Plasma__Applet((QGraphicsItem*)x[1].s_class,(const QString&)QString(),(unsigned int)0);
        x[0].s_class = (void*)xret;
    }
    static void x_146(Smoke::Stack x) {
        // Plasma::Applet* Applet(QGraphicsItem*, const QString&)
        x_Plasma__Applet* xret = new x_Plasma__Applet((QGraphicsItem*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned int)0);
        x[0].s_class = (void*)xret;
    }
    static void x_147(Smoke::Stack x) {
        // Plasma::Applet* Applet(const KPluginInfo&)
        x_Plasma__Applet* xret = new x_Plasma__Applet(*(const KPluginInfo*)x[1].s_class,(QGraphicsItem*)0,(unsigned int)0);
        x[0].s_class = (void*)xret;
    }
    static void x_148(Smoke::Stack x) {
        // Plasma::Applet* Applet(const KPluginInfo&, QGraphicsItem*)
        x_Plasma__Applet* xret = new x_Plasma__Applet(*(const KPluginInfo*)x[1].s_class,(QGraphicsItem*)x[2].s_class,(unsigned int)0);
        x[0].s_class = (void*)xret;
    }
    void x_149(Smoke::Stack x) {
        // void setFailedToLaunch(bool)
        this->Plasma::Applet::setFailedToLaunch((bool)x[1].s_bool,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_150(Smoke::Stack x) {
        // void setConfigurationRequired(bool)
        this->Plasma::Applet::setConfigurationRequired((bool)x[1].s_bool,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_151(Smoke::Stack x) {
        // QSizeF sizeHint(Qt::SizeHint) const
        QSizeF xret = ((const x_Plasma__Applet*)this)->Plasma::Applet::sizeHint((Qt::SizeHint)x[1].s_enum,(const QSizeF&)QSizeF());
        x[0].s_class = (void*)new QSizeF(xret);
    }
    static void x_152(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::Applet::staticMetaObject;
    }
    static void x_153(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Applet::NoBackground;
    }
    static void x_154(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Applet::StandardBackground;
    }
    static void x_155(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Applet::TranslucentBackground;
    }
    static void x_156(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Applet::DefaultBackground;
    }
    static void x_157(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::Applet::Type;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(391, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::Applet::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(392, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::Applet::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(397, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Applet::qt_metacall(x1, x2, x3);
    }
    virtual void save(KConfigGroup& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(402, (void*)this, x)) return;
        this->Plasma::Applet::save(x1);
    }
    virtual void restore(KConfigGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(403, (void*)this, x)) return;
        this->Plasma::Applet::restore(x1);
    }
    virtual Plasma::FormFactor formFactor() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(414, (void*)this, x)) return (Plasma::FormFactor)x[0].s_enum;
        return this->Plasma::Applet::formFactor();
    }
    virtual Plasma::Location location() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(415, (void*)this, x)) return (Plasma::Location)x[0].s_enum;
        return this->Plasma::Applet::location();
    }
    virtual void paintInterface(QPainter* x1, const QStyleOptionGraphicsItem* x2, const QRect& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(430, (void*)this, x)) return;
        this->Plasma::Applet::paintInterface(x1, x2, x3);
    }
    virtual QList<QAction*> contextualActions() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(443, (void*)this, x)) {
            QList<QAction*>* xptr = (QList<QAction*>*)x[0].s_class;
            QList<QAction*> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Applet::contextualActions();
    }
    virtual bool isPopupShowing() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(454, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::Applet::isPopupShowing();
    }
    virtual void addAssociatedWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(455, (void*)this, x)) return;
        this->Plasma::Applet::addAssociatedWidget(x1);
    }
    virtual void removeAssociatedWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(456, (void*)this, x)) return;
        this->Plasma::Applet::removeAssociatedWidget(x1);
    }
    virtual void initExtenderItem(Plasma::ExtenderItem* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(457, (void*)this, x)) return;
        this->Plasma::Applet::initExtenderItem(x1);
    }
    virtual void createConfigurationInterface(KConfigDialog* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(462, (void*)this, x)) return;
        this->Plasma::Applet::createConfigurationInterface(x1);
    }
    virtual void destroy() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(482, (void*)this, x)) return;
        this->Plasma::Applet::destroy();
    }
    virtual void showConfigurationInterface() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(483, (void*)this, x)) return;
        this->Plasma::Applet::showConfigurationInterface();
    }
    virtual void init() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(489, (void*)this, x)) return;
        this->Plasma::Applet::init();
    }
    virtual void configChanged() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(490, (void*)this, x)) return;
        this->Plasma::Applet::configChanged();
    }
    virtual void saveState(KConfigGroup& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(501, (void*)this, x)) return;
        this->Plasma::Applet::saveState(x1);
    }
    virtual void constraintsEvent(QFlags<Plasma::Constraint> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(505, (void*)this, x)) return;
        this->Plasma::Applet::constraintsEvent(x1);
    }
    virtual void paintWindowFrame(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(438, (void*)this, x)) return;
        this->Plasma::Applet::paintWindowFrame(x1, x2, x3);
    }
    virtual void initStyleOption(QStyleOption* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3268, (void*)this, x)) return;
        this->QGraphicsWidget::initStyleOption(x1);
    }
    virtual QVariant propertyChange(const QString& x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3272, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::propertyChange(x1, x2);
    }
    virtual bool windowFrameEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3274, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::windowFrameEvent(x1);
    }
    virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3275, (void*)this, x)) return (Qt::WindowFrameSection)x[0].s_enum;
        return this->QGraphicsWidget::windowFrameSectionAt(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3277, (void*)this, x)) return;
        this->QGraphicsWidget::changeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3278, (void*)this, x)) return;
        this->QGraphicsWidget::closeEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3280, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::focusNextPrevChild(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3282, (void*)this, x)) return;
        this->QGraphicsWidget::hideEvent(x1);
    }
    virtual void moveEvent(QGraphicsSceneMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3283, (void*)this, x)) return;
        this->QGraphicsWidget::moveEvent(x1);
    }
    virtual void polishEvent() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3284, (void*)this, x)) return;
        this->QGraphicsWidget::polishEvent();
    }
    virtual void resizeEvent(QGraphicsSceneResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(514, (void*)this, x)) return;
        this->Plasma::Applet::resizeEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3286, (void*)this, x)) return;
        this->QGraphicsWidget::showEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3287, (void*)this, x)) return;
        this->QGraphicsWidget::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(519, (void*)this, x)) return;
        this->Plasma::Applet::hoverLeaveEvent(x1);
    }
    virtual void grabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3289, (void*)this, x)) return;
        this->QGraphicsWidget::grabMouseEvent(x1);
    }
    virtual void ungrabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3290, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabMouseEvent(x1);
    }
    virtual void grabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3291, (void*)this, x)) return;
        this->QGraphicsWidget::grabKeyboardEvent(x1);
    }
    virtual void ungrabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3292, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabKeyboardEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3276, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(510, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::Applet::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(520, (void*)this, x)) return;
        this->Plasma::Applet::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3299, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3122, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3266, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::boundingRect();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(516, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Applet::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3123, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3124, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3125, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3126, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3127, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::opaqueArea();
    }
    virtual int type() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(450, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::Applet::type();
    }
    virtual bool sceneEventFilter(QGraphicsItem* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(511, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Plasma::Applet::sceneEventFilter(x1, x2);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3273, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::sceneEvent(x1);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3129, (void*)this, x)) return;
        this->QGraphicsItem::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3130, (void*)this, x)) return;
        this->QGraphicsItem::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3131, (void*)this, x)) return;
        this->QGraphicsItem::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3132, (void*)this, x)) return;
        this->QGraphicsItem::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3133, (void*)this, x)) return;
        this->QGraphicsItem::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(513, (void*)this, x)) return;
        this->Plasma::Applet::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3281, (void*)this, x)) return;
        this->QGraphicsWidget::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(518, (void*)this, x)) return;
        this->Plasma::Applet::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3135, (void*)this, x)) return;
        this->QGraphicsItem::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3136, (void*)this, x)) return;
        this->QGraphicsItem::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3137, (void*)this, x)) return;
        this->QGraphicsItem::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(512, (void*)this, x)) return;
        this->Plasma::Applet::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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(515, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Applet::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3261, (void*)this, x)) return;
        this->QGraphicsWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(517, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::Applet::sizeHint(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 50: //Plasma::Applet::BackgroundHint
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::Applet::BackgroundHint;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::Applet::BackgroundHint*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::Applet::BackgroundHint*)xdata = (Plasma::Applet::BackgroundHint)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::Applet::BackgroundHint*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Plasma__Applet() { this->_binding->deleted(36, (void*)this); }
};
void xenum_Plasma__Applet(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__Applet::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__Applet(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__Applet *xself = (x_Plasma__Applet*)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__Applet::x_3(args);	break;
        case 4: x_Plasma__Applet::x_4(args);	break;
        case 5: x_Plasma__Applet::x_5(args);	break;
        case 6: x_Plasma__Applet::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__Applet::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__Applet::x_29(args);	break;
        case 30: x_Plasma__Applet::x_30(args);	break;
        case 31: x_Plasma__Applet::x_31(args);	break;
        case 32: x_Plasma__Applet::x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: x_Plasma__Applet::x_35(args);	break;
        case 36: x_Plasma__Applet::x_36(args);	break;
        case 37: x_Plasma__Applet::x_37(args);	break;
        case 38: x_Plasma__Applet::x_38(args);	break;
        case 39: x_Plasma__Applet::x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: x_Plasma__Applet::x_68(args);	break;
        case 69: x_Plasma__Applet::x_69(args);	break;
        case 70: x_Plasma__Applet::x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: xself->x_88(args);	break;
        case 89: xself->x_89(args);	break;
        case 90: xself->x_90(args);	break;
        case 91: xself->x_91(args);	break;
        case 92: xself->x_92(args);	break;
        case 93: xself->x_93(args);	break;
        case 94: xself->x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: xself->x_96(args);	break;
        case 97: xself->x_97(args);	break;
        case 98: xself->x_98(args);	break;
        case 99: xself->x_99(args);	break;
        case 100: xself->x_100(args);	break;
        case 101: xself->x_101(args);	break;
        case 102: xself->x_102(args);	break;
        case 103: xself->x_103(args);	break;
        case 104: xself->x_104(args);	break;
        case 105: xself->x_105(args);	break;
        case 106: xself->x_106(args);	break;
        case 107: xself->x_107(args);	break;
        case 108: xself->x_108(args);	break;
        case 109: x_Plasma__Applet::x_109(args);	break;
        case 110: xself->x_110(args);	break;
        case 111: xself->x_111(args);	break;
        case 112: xself->x_112(args);	break;
        case 113: xself->x_113(args);	break;
        case 114: xself->x_114(args);	break;
        case 115: xself->x_115(args);	break;
        case 116: xself->x_116(args);	break;
        case 117: xself->x_117(args);	break;
        case 118: xself->x_118(args);	break;
        case 119: xself->x_119(args);	break;
        case 120: xself->x_120(args);	break;
        case 121: xself->x_121(args);	break;
        case 122: xself->x_122(args);	break;
        case 123: xself->x_123(args);	break;
        case 124: xself->x_124(args);	break;
        case 125: xself->x_125(args);	break;
        case 126: xself->x_126(args);	break;
        case 127: xself->x_127(args);	break;
        case 128: xself->x_128(args);	break;
        case 129: xself->x_129(args);	break;
        case 130: xself->x_130(args);	break;
        case 131: x_Plasma__Applet::x_131(args);	break;
        case 132: x_Plasma__Applet::x_132(args);	break;
        case 133: xself->x_133(args);	break;
        case 134: x_Plasma__Applet::x_134(args);	break;
        case 135: x_Plasma__Applet::x_135(args);	break;
        case 136: x_Plasma__Applet::x_136(args);	break;
        case 137: x_Plasma__Applet::x_137(args);	break;
        case 138: x_Plasma__Applet::x_138(args);	break;
        case 139: x_Plasma__Applet::x_139(args);	break;
        case 140: x_Plasma__Applet::x_140(args);	break;
        case 141: x_Plasma__Applet::x_141(args);	break;
        case 142: x_Plasma__Applet::x_142(args);	break;
        case 143: x_Plasma__Applet::x_143(args);	break;
        case 144: x_Plasma__Applet::x_144(args);	break;
        case 145: x_Plasma__Applet::x_145(args);	break;
        case 146: x_Plasma__Applet::x_146(args);	break;
        case 147: x_Plasma__Applet::x_147(args);	break;
        case 148: x_Plasma__Applet::x_148(args);	break;
        case 149: xself->x_149(args);	break;
        case 150: xself->x_150(args);	break;
        case 151: xself->x_151(args);	break;
        case 152: x_Plasma__Applet::x_152(args);	break;
        case 153: x_Plasma__Applet::x_153(args);	break;
        case 154: x_Plasma__Applet::x_154(args);	break;
        case 155: x_Plasma__Applet::x_155(args);	break;
        case 156: x_Plasma__Applet::x_156(args);	break;
        case 157: x_Plasma__Applet::x_157(args);	break;
        case 158: delete (Plasma::Applet*)xself;	break;
    }
}
class x_Plasma__AppletScript : public Plasma::AppletScript, 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::AppletScript*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__AppletScript*)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::AppletScript*>(this))) {
            void* xret = this->Plasma::AppletScript::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::AppletScript::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::AppletScript::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::AppletScript::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::AppletScript::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::AppletScript*>(this))) {
            int xret = this->Plasma::AppletScript::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::AppletScript* AppletScript(QObject*)
        x_Plasma__AppletScript* xret = new x_Plasma__AppletScript((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__AppletScript(QObject* x1) : AppletScript(x1) {}
    void x_9(Smoke::Stack x) {
        // void setApplet(Plasma::Applet*)
        this->Plasma::AppletScript::setApplet((Plasma::Applet*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // Plasma::Applet* applet() const
        Plasma::Applet* xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::applet();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // virtual void paintInterface(QPainter*, const QStyleOptionGraphicsItem*, const QRect&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::AppletScript*>(this))) {
            this->Plasma::AppletScript::paintInterface((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,*(const QRect*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintInterface((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,*(const QRect*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // QSizeF size() const
        QSizeF xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::size();
        x[0].s_class = (void*)new QSizeF(xret);
    }
    void x_13(Smoke::Stack x) {
        // virtual void constraintsEvent(QFlags<Plasma::Constraint>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::AppletScript*>(this))) {
            this->Plasma::AppletScript::constraintsEvent((QFlags<Plasma::Constraint>)x[1].s_uint);
            (void)x; // noop (for compiler warning)
        } else {
            this->constraintsEvent((QFlags<Plasma::Constraint>)x[1].s_uint);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual QList<QAction*> contextualActions()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::AppletScript*>(this))) {
            QList<QAction*> xret = this->Plasma::AppletScript::contextualActions();
            x[0].s_class = (void*)new QList<QAction*>(xret);
        } else {
            QList<QAction*> xret = this->contextualActions();
            x[0].s_class = (void*)new QList<QAction*>(xret);
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual QPainterPath shape() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::AppletScript*>(this))) {
            QPainterPath xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::shape();
            x[0].s_class = (void*)new QPainterPath(xret);
        } else {
            QPainterPath xret = ((const x_Plasma__AppletScript*)this)->shape();
            x[0].s_class = (void*)new QPainterPath(xret);
        }
    }
    void x_16(Smoke::Stack x) {
        // void setHasConfigurationInterface(bool)
        this->Plasma::AppletScript::setHasConfigurationInterface((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setConfigurationRequired(bool, const QString&)
        this->Plasma::AppletScript::setConfigurationRequired((bool)x[1].s_bool,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setFailedToLaunch(bool, const QString&)
        this->Plasma::AppletScript::setFailedToLaunch((bool)x[1].s_bool,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void configNeedsSaving() const
        ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::configNeedsSaving();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // Plasma::Extender* extender() const
        Plasma::Extender* xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::extender();
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // bool drawWallpaper() const
        bool xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::drawWallpaper();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setDrawWallpaper(bool)
        this->Plasma::AppletScript::setDrawWallpaper((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // Plasma::Containment::Type containmentType() const
        Plasma::Containment::Type xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::containmentType();
        x[0].s_enum = xret;
    }
    void x_24(Smoke::Stack x) {
        // void setContainmentType(Plasma::Containment::Type)
        this->Plasma::AppletScript::setContainmentType((Plasma::Containment::Type)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void saveState(KConfigGroup&) const
        ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::saveState(*(KConfigGroup*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void popupEvent(bool) const
        ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::popupEvent((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // virtual void showConfigurationInterface()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::AppletScript*>(this))) {
            this->Plasma::AppletScript::showConfigurationInterface();
            (void)x; // noop (for compiler warning)
        } else {
            this->showConfigurationInterface();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual void configChanged()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::AppletScript*>(this))) {
            this->Plasma::AppletScript::configChanged();
            (void)x; // noop (for compiler warning)
        } else {
            this->configChanged();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // Plasma::DataEngine* dataEngine(const QString&) const
        Plasma::DataEngine* xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::dataEngine(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_30(Smoke::Stack x) {
        // QString mainScript() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::AppletScript*>(this))) {
            QString xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::mainScript();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_Plasma__AppletScript*)this)->mainScript();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_31(Smoke::Stack x) {
        // const Plasma::Package* package() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::AppletScript*>(this))) {
            const Plasma::Package* xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::package();
            x[0].s_class = (void*)xret;
        } else {
            const Plasma::Package* xret = ((const x_Plasma__AppletScript*)this)->package();
            x[0].s_class = (void*)xret;
        }
    }
    void x_32(Smoke::Stack x) {
        // KPluginInfo description() const
        KPluginInfo xret = ((const x_Plasma__AppletScript*)this)->Plasma::AppletScript::description();
        x[0].s_class = (void*)new KPluginInfo(xret);
    }
    void x_33(Smoke::Stack x) {
        // KConfigDialog* standardConfigurationDialog()
        KConfigDialog* xret = this->Plasma::AppletScript::standardConfigurationDialog();
        x[0].s_class = (void*)xret;
    }
    void x_34(Smoke::Stack x) {
        // void addStandardConfigurationPages(KConfigDialog*)
        this->Plasma::AppletScript::addStandardConfigurationPages((KConfigDialog*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void showMessage(const QIcon&, const QString&, const QFlags<Plasma::MessageButton>)
        this->Plasma::AppletScript::showMessage(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(const QFlags<Plasma::MessageButton>)x[3].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void registerAsDragHandle(QGraphicsItem*)
        this->Plasma::AppletScript::registerAsDragHandle((QGraphicsItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void unregisterAsDragHandle(QGraphicsItem*)
        this->Plasma::AppletScript::unregisterAsDragHandle((QGraphicsItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // bool isRegisteredAsDragHandle(QGraphicsItem*)
        bool xret = this->Plasma::AppletScript::isRegisteredAsDragHandle((QGraphicsItem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_39(Smoke::Stack x) {
        // Plasma::Animation* loadAnimationFromPackage(const QString&, QObject*)
        Plasma::Animation* xret = this->Plasma::AppletScript::loadAnimationFromPackage(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_40(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::AppletScript::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_41(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::AppletScript::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_42(Smoke::Stack x) {
        // Plasma::AppletScript* AppletScript()
        x_Plasma__AppletScript* xret = new x_Plasma__AppletScript((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_43(Smoke::Stack x) {
        // void setConfigurationRequired(bool)
        this->Plasma::AppletScript::setConfigurationRequired((bool)x[1].s_bool,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void setFailedToLaunch(bool)
        this->Plasma::AppletScript::setFailedToLaunch((bool)x[1].s_bool,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_45(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::AppletScript::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(549, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::AppletScript::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(550, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::AppletScript::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(555, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::AppletScript::qt_metacall(x1, x2, x3);
    }
    virtual void paintInterface(QPainter* x1, const QStyleOptionGraphicsItem* x2, const QRect& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(559, (void*)this, x)) return;
        this->Plasma::AppletScript::paintInterface(x1, x2, x3);
    }
    virtual void constraintsEvent(QFlags<Plasma::Constraint> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(561, (void*)this, x)) return;
        this->Plasma::AppletScript::constraintsEvent(x1);
    }
    virtual QList<QAction*> contextualActions() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(562, (void*)this, x)) {
            QList<QAction*>* xptr = (QList<QAction*>*)x[0].s_class;
            QList<QAction*> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::AppletScript::contextualActions();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(563, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::AppletScript::shape();
    }
    virtual void showConfigurationInterface() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(575, (void*)this, x)) return;
        this->Plasma::AppletScript::showConfigurationInterface();
    }
    virtual void configChanged() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(576, (void*)this, x)) return;
        this->Plasma::AppletScript::configChanged();
    }
    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(578, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Plasma::AppletScript::mainScript();
    }
    virtual const Plasma::Package* package() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(579, (void*)this, x)) return (const Plasma::Package*)x[0].s_class;
        return this->Plasma::AppletScript::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__AppletScript() { this->_binding->deleted(37, (void*)this); }
};
void xcall_Plasma__AppletScript(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__AppletScript *xself = (x_Plasma__AppletScript*)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__AppletScript::x_3(args);	break;
        case 4: x_Plasma__AppletScript::x_4(args);	break;
        case 5: x_Plasma__AppletScript::x_5(args);	break;
        case 6: x_Plasma__AppletScript::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__AppletScript::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: x_Plasma__AppletScript::x_40(args);	break;
        case 41: x_Plasma__AppletScript::x_41(args);	break;
        case 42: x_Plasma__AppletScript::x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: x_Plasma__AppletScript::x_45(args);	break;
        case 46: delete (Plasma::AppletScript*)xself;	break;
    }
}
class x_Plasma__AuthorizationInterface : public Plasma::AuthorizationInterface, 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 void authorizationRequest(Plasma::AuthorizationRule&) = 0
        this->authorizationRequest(*(Plasma::AuthorizationRule*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_2(Smoke::Stack x) {
        // virtual void clientPinRequest(Plasma::ClientPinRequest&) = 0
        this->clientPinRequest(*(Plasma::ClientPinRequest*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // Plasma::AuthorizationInterface* AuthorizationInterface()
        x_Plasma__AuthorizationInterface* xret = new x_Plasma__AuthorizationInterface();
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__AuthorizationInterface() : AuthorizationInterface() {}
    static void x_4(Smoke::Stack x) {
        // Plasma::AuthorizationInterface* AuthorizationInterface(const Plasma::AuthorizationInterface&)
        x_Plasma__AuthorizationInterface* xret = new x_Plasma__AuthorizationInterface(*(const Plasma::AuthorizationInterface*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__AuthorizationInterface(const Plasma::AuthorizationInterface& x1) : AuthorizationInterface(x1) {}
    virtual void authorizationRequest(Plasma::AuthorizationRule& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(595, (void*)this, x, true /*pure virtual*/);
    }
    virtual void clientPinRequest(Plasma::ClientPinRequest& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(596, (void*)this, x, true /*pure virtual*/);
    }
    ~x_Plasma__AuthorizationInterface() { this->_binding->deleted(38, (void*)this); }
};
void xcall_Plasma__AuthorizationInterface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__AuthorizationInterface *xself = (x_Plasma__AuthorizationInterface*)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__AuthorizationInterface::x_3(args);	break;
        case 4: x_Plasma__AuthorizationInterface::x_4(args);	break;
        case 5: delete (Plasma::AuthorizationInterface*)xself;	break;
    }
}
class x_Plasma__AuthorizationManager : public Plasma::AuthorizationManager {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_Plasma__AuthorizationManager*)this)->Plasma::AuthorizationManager::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->Plasma::AuthorizationManager::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::AuthorizationManager::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::AuthorizationManager::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::AuthorizationManager::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::AuthorizationManager::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::AuthorizationManager::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::AuthorizationManager* self()
        Plasma::AuthorizationManager* xret = Plasma::AuthorizationManager::self();
        x[0].s_class = (void*)xret;
    }
    void x_9(Smoke::Stack x) {
        // void setAuthorizationPolicy(Plasma::AuthorizationManager::AuthorizationPolicy)
        this->Plasma::AuthorizationManager::setAuthorizationPolicy((Plasma::AuthorizationManager::AuthorizationPolicy)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void setAuthorizationInterface(Plasma::AuthorizationInterface*)
        this->Plasma::AuthorizationManager::setAuthorizationInterface((Plasma::AuthorizationInterface*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void readyForRemoteAccess()
        this->Plasma::AuthorizationManager::readyForRemoteAccess();
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::AuthorizationManager::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::AuthorizationManager::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::AuthorizationManager::staticMetaObject;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationManager::DenyAll;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationManager::TrustedOnly;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationManager::PinPairing;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationManager::Custom;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 55: //Plasma::AuthorizationManager::AuthorizationPolicy
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::AuthorizationManager::AuthorizationPolicy;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::AuthorizationManager::AuthorizationPolicy*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::AuthorizationManager::AuthorizationPolicy*)xdata = (Plasma::AuthorizationManager::AuthorizationPolicy)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::AuthorizationManager::AuthorizationPolicy*)xdata;
                    break;
            }
            break;
        }
    }
};
void xenum_Plasma__AuthorizationManager(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__AuthorizationManager::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__AuthorizationManager(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__AuthorizationManager *xself = (x_Plasma__AuthorizationManager*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__AuthorizationManager::x_3(args);	break;
        case 4: x_Plasma__AuthorizationManager::x_4(args);	break;
        case 5: x_Plasma__AuthorizationManager::x_5(args);	break;
        case 6: x_Plasma__AuthorizationManager::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__AuthorizationManager::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__AuthorizationManager::x_12(args);	break;
        case 13: x_Plasma__AuthorizationManager::x_13(args);	break;
        case 14: x_Plasma__AuthorizationManager::x_14(args);	break;
        case 15: x_Plasma__AuthorizationManager::x_15(args);	break;
        case 16: x_Plasma__AuthorizationManager::x_16(args);	break;
        case 17: x_Plasma__AuthorizationManager::x_17(args);	break;
        case 18: x_Plasma__AuthorizationManager::x_18(args);	break;
    }
}
class x_Plasma__AuthorizationRule : public Plasma::AuthorizationRule, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_Plasma__AuthorizationRule*)this)->Plasma::AuthorizationRule::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->Plasma::AuthorizationRule::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::AuthorizationRule::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::AuthorizationRule::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::AuthorizationRule::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::AuthorizationRule::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::AuthorizationRule::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // QString description() const
        QString xret = ((const x_Plasma__AuthorizationRule*)this)->Plasma::AuthorizationRule::description();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // void setPolicy(Plasma::AuthorizationRule::Policy)
        this->Plasma::AuthorizationRule::setPolicy((Plasma::AuthorizationRule::Policy)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // Plasma::AuthorizationRule::Policy policy()
        Plasma::AuthorizationRule::Policy xret = this->Plasma::AuthorizationRule::policy();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setPersistence(Plasma::AuthorizationRule::Persistence)
        this->Plasma::AuthorizationRule::setPersistence((Plasma::AuthorizationRule::Persistence)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // Plasma::AuthorizationRule::Persistence persistence()
        Plasma::AuthorizationRule::Persistence xret = this->Plasma::AuthorizationRule::persistence();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setTargets(QFlags<Plasma::AuthorizationRule::Target>)
        this->Plasma::AuthorizationRule::setTargets((QFlags<Plasma::AuthorizationRule::Target>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QFlags<Plasma::AuthorizationRule::Target> targets()
        QFlags<Plasma::AuthorizationRule::Target> xret = this->Plasma::AuthorizationRule::targets();
        x[0].s_uint = (uint)xret;
    }
    void x_15(Smoke::Stack x) {
        // void setPin(const QString&)
        this->Plasma::AuthorizationRule::setPin(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QString pin() const
        QString xret = ((const x_Plasma__AuthorizationRule*)this)->Plasma::AuthorizationRule::pin();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // QString serviceName() const
        QString xret = ((const x_Plasma__AuthorizationRule*)this)->Plasma::AuthorizationRule::serviceName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // void changed(Plasma::AuthorizationRule*)
        this->Plasma::AuthorizationRule::changed((Plasma::AuthorizationRule*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_19(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::AuthorizationRule::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::AuthorizationRule::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::AuthorizationRule::staticMetaObject;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationRule::Deny;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationRule::Allow;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationRule::PinRequired;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationRule::Transient;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationRule::Persistent;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationRule::Default;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationRule::AllUsers;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)Plasma::AuthorizationRule::AllServices;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 59: //Plasma::AuthorizationRule::Policy
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::AuthorizationRule::Policy;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::AuthorizationRule::Policy*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::AuthorizationRule::Policy*)xdata = (Plasma::AuthorizationRule::Policy)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::AuthorizationRule::Policy*)xdata;
                    break;
            }
            break;
        case 58: //Plasma::AuthorizationRule::Persistence
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::AuthorizationRule::Persistence;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::AuthorizationRule::Persistence*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::AuthorizationRule::Persistence*)xdata = (Plasma::AuthorizationRule::Persistence)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::AuthorizationRule::Persistence*)xdata;
                    break;
            }
            break;
        case 60: //Plasma::AuthorizationRule::Target
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Plasma::AuthorizationRule::Target;
                    break;
                case Smoke::EnumDelete:
                    delete (Plasma::AuthorizationRule::Target*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Plasma::AuthorizationRule::Target*)xdata = (Plasma::AuthorizationRule::Target)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Plasma::AuthorizationRule::Target*)xdata;
                    break;
            }
            break;
        }
    }
};
void xenum_Plasma__AuthorizationRule(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Plasma__AuthorizationRule::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Plasma__AuthorizationRule(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__AuthorizationRule *xself = (x_Plasma__AuthorizationRule*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__AuthorizationRule::x_3(args);	break;
        case 4: x_Plasma__AuthorizationRule::x_4(args);	break;
        case 5: x_Plasma__AuthorizationRule::x_5(args);	break;
        case 6: x_Plasma__AuthorizationRule::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: x_Plasma__AuthorizationRule::x_19(args);	break;
        case 20: x_Plasma__AuthorizationRule::x_20(args);	break;
        case 21: x_Plasma__AuthorizationRule::x_21(args);	break;
        case 22: x_Plasma__AuthorizationRule::x_22(args);	break;
        case 23: x_Plasma__AuthorizationRule::x_23(args);	break;
        case 24: x_Plasma__AuthorizationRule::x_24(args);	break;
        case 25: x_Plasma__AuthorizationRule::x_25(args);	break;
        case 26: x_Plasma__AuthorizationRule::x_26(args);	break;
        case 27: x_Plasma__AuthorizationRule::x_27(args);	break;
        case 28: x_Plasma__AuthorizationRule::x_28(args);	break;
        case 29: x_Plasma__AuthorizationRule::x_29(args);	break;
        case 30: delete (Plasma::AuthorizationRule*)xself;	break;
    }
}
class x_Plasma__BusyWidget : public Plasma::BusyWidget, 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::BusyWidget*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__BusyWidget*)this)->Plasma::BusyWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__BusyWidget*)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::BusyWidget*>(this))) {
            void* xret = this->Plasma::BusyWidget::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::BusyWidget::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::BusyWidget::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::BusyWidget::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::BusyWidget::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::BusyWidget*>(this))) {
            int xret = this->Plasma::BusyWidget::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::BusyWidget* BusyWidget(QGraphicsWidget*)
        x_Plasma__BusyWidget* xret = new x_Plasma__BusyWidget((QGraphicsWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__BusyWidget(QGraphicsWidget* x1) : BusyWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // void setRunning(bool)
        this->Plasma::BusyWidget::setRunning((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isRunning() const
        bool xret = ((const x_Plasma__BusyWidget*)this)->Plasma::BusyWidget::isRunning();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setLabel(const QString&)
        this->Plasma::BusyWidget::setLabel(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString label() const
        QString xret = ((const x_Plasma__BusyWidget*)this)->Plasma::BusyWidget::label();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void clicked()
        this->Plasma::BusyWidget::clicked();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::BusyWidget*>(this))) {
            this->Plasma::BusyWidget::paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::BusyWidget*>(this))) {
            this->Plasma::BusyWidget::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_16(Smoke::Stack x) {
        // void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::BusyWidget*>(this))) {
            this->Plasma::BusyWidget::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_17(Smoke::Stack x) {
        // void resizeEvent(QGraphicsSceneResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::BusyWidget*>(this))) {
            this->Plasma::BusyWidget::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_18(Smoke::Stack x) {
        // void mousePressEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::BusyWidget*>(this))) {
            this->Plasma::BusyWidget::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_19(Smoke::Stack x) {
        // void mouseReleaseEvent(QGraphicsSceneMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::BusyWidget*>(this))) {
            this->Plasma::BusyWidget::mouseReleaseEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QGraphicsSceneMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::BusyWidget*>(this))) {
            this->Plasma::BusyWidget::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_21(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::BusyWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::BusyWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // Plasma::BusyWidget* BusyWidget()
        x_Plasma__BusyWidget* xret = new x_Plasma__BusyWidget((QGraphicsWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void paint(QPainter*, const QStyleOptionGraphicsItem*)
        this->Plasma::BusyWidget::paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::BusyWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(648, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::BusyWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(649, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::BusyWidget::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(654, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::BusyWidget::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(663, (void*)this, x)) return;
        this->Plasma::BusyWidget::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(664, (void*)this, x)) return;
        this->Plasma::BusyWidget::resizeEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(662, (void*)this, x)) return;
        this->Plasma::BusyWidget::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(667, (void*)this, x)) return;
        this->Plasma::BusyWidget::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(661, (void*)this, x)) return;
        this->Plasma::BusyWidget::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(3130, (void*)this, x)) return;
        this->QGraphicsItem::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3131, (void*)this, x)) return;
        this->QGraphicsItem::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3132, (void*)this, x)) return;
        this->QGraphicsItem::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3133, (void*)this, x)) return;
        this->QGraphicsItem::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3279, (void*)this, x)) return;
        this->QGraphicsWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3281, (void*)this, x)) return;
        this->QGraphicsWidget::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3134, (void*)this, x)) return;
        this->QGraphicsItem::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3135, (void*)this, x)) return;
        this->QGraphicsItem::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3136, (void*)this, x)) return;
        this->QGraphicsItem::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(665, (void*)this, x)) return;
        this->Plasma::BusyWidget::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(666, (void*)this, x)) return;
        this->Plasma::BusyWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3140, (void*)this, x)) return;
        this->QGraphicsItem::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3141, (void*)this, x)) return;
        this->QGraphicsItem::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3142, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3143, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3271, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3261, (void*)this, x)) return;
        this->QGraphicsWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3269, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::sizeHint(x1, x2);
    }
    ~x_Plasma__BusyWidget() { this->_binding->deleted(41, (void*)this); }
};
void xcall_Plasma__BusyWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__BusyWidget *xself = (x_Plasma__BusyWidget*)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__BusyWidget::x_3(args);	break;
        case 4: x_Plasma__BusyWidget::x_4(args);	break;
        case 5: x_Plasma__BusyWidget::x_5(args);	break;
        case 6: x_Plasma__BusyWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__BusyWidget::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: x_Plasma__BusyWidget::x_21(args);	break;
        case 22: x_Plasma__BusyWidget::x_22(args);	break;
        case 23: x_Plasma__BusyWidget::x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: x_Plasma__BusyWidget::x_25(args);	break;
        case 26: delete (Plasma::BusyWidget*)xself;	break;
    }
}
class x_Plasma__CheckBox : public Plasma::CheckBox, 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::CheckBox*>(this))) {
            const QMetaObject* xret = ((const x_Plasma__CheckBox*)this)->Plasma::CheckBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Plasma__CheckBox*)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::CheckBox*>(this))) {
            void* xret = this->Plasma::CheckBox::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::CheckBox::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::CheckBox::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::CheckBox::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::CheckBox::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::CheckBox*>(this))) {
            int xret = this->Plasma::CheckBox::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::CheckBox* CheckBox(QGraphicsWidget*)
        x_Plasma__CheckBox* xret = new x_Plasma__CheckBox((QGraphicsWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Plasma__CheckBox(QGraphicsWidget* x1) : CheckBox(x1) {}
    void x_9(Smoke::Stack x) {
        // void setText(const QString&)
        this->Plasma::CheckBox::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_Plasma__CheckBox*)this)->Plasma::CheckBox::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setImage(const QString&)
        this->Plasma::CheckBox::setImage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString image() const
        QString xret = ((const x_Plasma__CheckBox*)this)->Plasma::CheckBox::image();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setStyleSheet(const QString&)
        this->Plasma::CheckBox::setStyleSheet(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QString styleSheet()
        QString xret = this->Plasma::CheckBox::styleSheet();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // QCheckBox* nativeWidget() const
        QCheckBox* xret = ((const x_Plasma__CheckBox*)this)->Plasma::CheckBox::nativeWidget();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // void setChecked(bool)
        this->Plasma::CheckBox::setChecked((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool isChecked() const
        bool xret = ((const x_Plasma__CheckBox*)this)->Plasma::CheckBox::isChecked();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void toggled(bool)
        this->Plasma::CheckBox::toggled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void resizeEvent(QGraphicsSceneResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::CheckBox*>(this))) {
            this->Plasma::CheckBox::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_20(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Plasma::CheckBox*>(this))) {
            this->Plasma::CheckBox::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_21(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::CheckBox::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::CheckBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // Plasma::CheckBox* CheckBox()
        x_Plasma__CheckBox* xret = new x_Plasma__CheckBox((QGraphicsWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::CheckBox::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(674, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Plasma::CheckBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(675, (void*)this, x)) return (void*)x[0].s_class;
        return this->Plasma::CheckBox::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(680, (void*)this, x)) return (int)x[0].s_int;
        return this->Plasma::CheckBox::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(693, (void*)this, x)) return;
        this->Plasma::CheckBox::changeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3278, (void*)this, x)) return;
        this->QGraphicsWidget::closeEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3211, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsProxyWidget::focusNextPrevChild(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3191, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hideEvent(x1);
    }
    virtual void moveEvent(QGraphicsSceneMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3283, (void*)this, x)) return;
        this->QGraphicsWidget::moveEvent(x1);
    }
    virtual void polishEvent() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3284, (void*)this, x)) return;
        this->QGraphicsWidget::polishEvent();
    }
    virtual void resizeEvent(QGraphicsSceneResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(692, (void*)this, x)) return;
        this->Plasma::CheckBox::resizeEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3190, (void*)this, x)) return;
        this->QGraphicsProxyWidget::showEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3199, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3198, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hoverLeaveEvent(x1);
    }
    virtual void grabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3200, (void*)this, x)) return;
        this->QGraphicsProxyWidget::grabMouseEvent(x1);
    }
    virtual void ungrabMouseEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3201, (void*)this, x)) return;
        this->QGraphicsProxyWidget::ungrabMouseEvent(x1);
    }
    virtual void grabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3291, (void*)this, x)) return;
        this->QGraphicsWidget::grabKeyboardEvent(x1);
    }
    virtual void ungrabKeyboardEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3292, (void*)this, x)) return;
        this->QGraphicsWidget::ungrabKeyboardEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3188, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsProxyWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3189, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsProxyWidget::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3296, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3299, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3122, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3266, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::boundingRect();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3267, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsWidget::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3123, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3124, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3125, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3126, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3127, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::opaqueArea();
    }
    virtual void paint(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(3185, (void*)this, x)) return;
        this->QGraphicsProxyWidget::paint(x1, x2, x3);
    }
    virtual int type() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3186, (void*)this, x)) return (int)x[0].s_int;
        return this->QGraphicsProxyWidget::type();
    }
    virtual bool sceneEventFilter(QGraphicsItem* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3128, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::sceneEventFilter(x1, x2);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3273, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsWidget::sceneEvent(x1);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3192, (void*)this, x)) return;
        this->QGraphicsProxyWidget::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3193, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3194, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3195, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3196, (void*)this, x)) return;
        this->QGraphicsProxyWidget::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3209, (void*)this, x)) return;
        this->QGraphicsProxyWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3210, (void*)this, x)) return;
        this->QGraphicsProxyWidget::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3197, (void*)this, x)) return;
        this->QGraphicsProxyWidget::hoverEnterEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3207, (void*)this, x)) return;
        this->QGraphicsProxyWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3208, (void*)this, x)) return;
        this->QGraphicsProxyWidget::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3203, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3202, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3204, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3205, (void*)this, x)) return;
        this->QGraphicsProxyWidget::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3206, (void*)this, x)) return;
        this->QGraphicsProxyWidget::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3142, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3143, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3187, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsProxyWidget::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3144, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3145, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3146, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    virtual void setGeometry(const QRectF& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3184, (void*)this, x)) return;
        this->QGraphicsProxyWidget::setGeometry(x1);
    }
    virtual void getContentsMargins(double* x1, double* x2, double* x3, double* x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(3262, (void*)this, x)) return;
        this->QGraphicsWidget::getContentsMargins(x1, x2, x3, x4);
    }
    virtual void updateGeometry() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3270, (void*)this, x)) return;
        this->QGraphicsWidget::updateGeometry();
    }
    virtual QSizeF sizeHint(Qt::SizeHint x1, const QSizeF& x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3212, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsProxyWidget::sizeHint(x1, x2);
    }
    ~x_Plasma__CheckBox() { this->_binding->deleted(42, (void*)this); }
};
void xcall_Plasma__CheckBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__CheckBox *xself = (x_Plasma__CheckBox*)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__CheckBox::x_3(args);	break;
        case 4: x_Plasma__CheckBox::x_4(args);	break;
        case 5: x_Plasma__CheckBox::x_5(args);	break;
        case 6: x_Plasma__CheckBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Plasma__CheckBox::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: x_Plasma__CheckBox::x_21(args);	break;
        case 22: x_Plasma__CheckBox::x_22(args);	break;
        case 23: x_Plasma__CheckBox::x_23(args);	break;
        case 24: x_Plasma__CheckBox::x_24(args);	break;
        case 25: delete (Plasma::CheckBox*)xself;	break;
    }
}
class x_Plasma__ClientPinRequest : public Plasma::ClientPinRequest {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_Plasma__ClientPinRequest*)this)->Plasma::ClientPinRequest::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->Plasma::ClientPinRequest::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::ClientPinRequest::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::ClientPinRequest::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::ClientPinRequest::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::ClientPinRequest::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::ClientPinRequest::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // QString description() const
        QString xret = ((const x_Plasma__ClientPinRequest*)this)->Plasma::ClientPinRequest::description();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // void setPin(const QString&)
        this->Plasma::ClientPinRequest::setPin(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString pin() const
        QString xret = ((const x_Plasma__ClientPinRequest*)this)->Plasma::ClientPinRequest::pin();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void changed(Plasma::ClientPinRequest*)
        this->Plasma::ClientPinRequest::changed((Plasma::ClientPinRequest*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Plasma::ClientPinRequest::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Plasma::ClientPinRequest::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Plasma::ClientPinRequest::staticMetaObject;
    }
};
void xcall_Plasma__ClientPinRequest(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Plasma__ClientPinRequest *xself = (x_Plasma__ClientPinRequest*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Plasma__ClientPinRequest::x_3(args);	break;
        case 4: x_Plasma__ClientPinRequest::x_4(args);	break;
        case 5: x_Plasma__ClientPinRequest::x_5(args);	break;
        case 6: x_Plasma__ClientPinRequest::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: x_Plasma__ClientPinRequest::x_12(args);	break;
        case 13: x_Plasma__ClientPinRequest::x_13(args);	break;
        case 14: x_Plasma__ClientPinRequest::x_14(args);	break;
    }
}

}
