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

#include <smoke.h>
#include <kdeui_smoke.h>

class __internal_SmokeClass {};

namespace __smokekdeui {

class x_KWindowInfo : public KWindowInfo {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KWindowInfo* KWindowInfo(unsigned long, unsigned long, unsigned long)
        x_KWindowInfo* xret = new x_KWindowInfo((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong,(unsigned long)x[3].s_ulong);
        x[0].s_class = (void*)xret;
    }
    explicit x_KWindowInfo(unsigned long x1, unsigned long x2, unsigned long x3) : KWindowInfo(x1, x2, x3) {}
    static void x_2(Smoke::Stack x) {
        // KWindowInfo* KWindowInfo()
        x_KWindowInfo* xret = new x_KWindowInfo();
        x[0].s_class = (void*)xret;
    }
    explicit x_KWindowInfo() : KWindowInfo() {}
    void x_3(Smoke::Stack x) {
        // bool valid(bool) const
        bool xret = ((const x_KWindowInfo*)this)->KWindowInfo::valid((bool)x[1].s_bool);
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // unsigned long win() const
        unsigned long xret = ((const x_KWindowInfo*)this)->KWindowInfo::win();
        x[0].s_ulong = xret;
    }
    void x_5(Smoke::Stack x) {
        // unsigned long state() const
        unsigned long xret = ((const x_KWindowInfo*)this)->KWindowInfo::state();
        x[0].s_ulong = xret;
    }
    void x_6(Smoke::Stack x) {
        // bool hasState(unsigned long) const
        bool xret = ((const x_KWindowInfo*)this)->KWindowInfo::hasState((unsigned long)x[1].s_ulong);
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool isMinimized() const
        bool xret = ((const x_KWindowInfo*)this)->KWindowInfo::isMinimized();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // NET::MappingState mappingState() const
        NET::MappingState xret = ((const x_KWindowInfo*)this)->KWindowInfo::mappingState();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // NETExtendedStrut extendedStrut() const
        NETExtendedStrut xret = ((const x_KWindowInfo*)this)->KWindowInfo::extendedStrut();
        x[0].s_class = (void*)new NETExtendedStrut(xret);
    }
    void x_10(Smoke::Stack x) {
        // NET::WindowType windowType(int) const
        NET::WindowType xret = ((const x_KWindowInfo*)this)->KWindowInfo::windowType((int)x[1].s_int);
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // QString visibleName() const
        QString xret = ((const x_KWindowInfo*)this)->KWindowInfo::visibleName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // QString visibleNameWithState() const
        QString xret = ((const x_KWindowInfo*)this)->KWindowInfo::visibleNameWithState();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_KWindowInfo*)this)->KWindowInfo::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // QString visibleIconName() const
        QString xret = ((const x_KWindowInfo*)this)->KWindowInfo::visibleIconName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // QString visibleIconNameWithState() const
        QString xret = ((const x_KWindowInfo*)this)->KWindowInfo::visibleIconNameWithState();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // QString iconName() const
        QString xret = ((const x_KWindowInfo*)this)->KWindowInfo::iconName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // bool isOnCurrentDesktop() const
        bool xret = ((const x_KWindowInfo*)this)->KWindowInfo::isOnCurrentDesktop();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // bool isOnDesktop(int) const
        bool xret = ((const x_KWindowInfo*)this)->KWindowInfo::isOnDesktop((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // bool onAllDesktops() const
        bool xret = ((const x_KWindowInfo*)this)->KWindowInfo::onAllDesktops();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // int desktop() const
        int xret = ((const x_KWindowInfo*)this)->KWindowInfo::desktop();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // QRect geometry() const
        QRect xret = ((const x_KWindowInfo*)this)->KWindowInfo::geometry();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_22(Smoke::Stack x) {
        // QRect frameGeometry() const
        QRect xret = ((const x_KWindowInfo*)this)->KWindowInfo::frameGeometry();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_23(Smoke::Stack x) {
        // unsigned long transientFor() const
        unsigned long xret = ((const x_KWindowInfo*)this)->KWindowInfo::transientFor();
        x[0].s_ulong = xret;
    }
    void x_24(Smoke::Stack x) {
        // unsigned long groupLeader() const
        unsigned long xret = ((const x_KWindowInfo*)this)->KWindowInfo::groupLeader();
        x[0].s_ulong = xret;
    }
    void x_25(Smoke::Stack x) {
        // QByteArray windowClassClass() const
        QByteArray xret = ((const x_KWindowInfo*)this)->KWindowInfo::windowClassClass();
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_26(Smoke::Stack x) {
        // QByteArray windowClassName() const
        QByteArray xret = ((const x_KWindowInfo*)this)->KWindowInfo::windowClassName();
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_27(Smoke::Stack x) {
        // QByteArray windowRole() const
        QByteArray xret = ((const x_KWindowInfo*)this)->KWindowInfo::windowRole();
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_28(Smoke::Stack x) {
        // QByteArray clientMachine() const
        QByteArray xret = ((const x_KWindowInfo*)this)->KWindowInfo::clientMachine();
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_29(Smoke::Stack x) {
        // bool actionSupported(NET::Action) const
        bool xret = ((const x_KWindowInfo*)this)->KWindowInfo::actionSupported((NET::Action)x[1].s_enum);
        x[0].s_bool = xret;
    }
    static void x_30(Smoke::Stack x) {
        // KWindowInfo* KWindowInfo(const KWindowInfo&)
        x_KWindowInfo* xret = new x_KWindowInfo(*(const KWindowInfo*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KWindowInfo(const KWindowInfo& x1) : KWindowInfo(x1) {}
    void x_31(Smoke::Stack x) {
        // KWindowInfo& operator=(const KWindowInfo&)
        KWindowInfo& xret = this->KWindowInfo::operator=(*(const KWindowInfo*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_32(Smoke::Stack x) {
        // KWindowInfo* KWindowInfo(unsigned long, unsigned long)
        x_KWindowInfo* xret = new x_KWindowInfo((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong,(unsigned long)0);
        x[0].s_class = (void*)xret;
    }
    void x_33(Smoke::Stack x) {
        // bool valid() const
        bool xret = ((const x_KWindowInfo*)this)->KWindowInfo::valid((bool)false);
        x[0].s_bool = xret;
    }
    ~x_KWindowInfo() { this->_binding->deleted(224, (void*)this); }
};
void xcall_KWindowInfo(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KWindowInfo *xself = (x_KWindowInfo*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KWindowInfo::x_1(args);	break;
        case 2: x_KWindowInfo::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_KWindowInfo::x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: x_KWindowInfo::x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: delete (KWindowInfo*)xself;	break;
    }
}
class x_KWindowSystem : public KWindowSystem, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_KWindowSystem*)this)->KWindowSystem::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->KWindowSystem::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 = KWindowSystem::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 = KWindowSystem::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 = KWindowSystem::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 = KWindowSystem::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->KWindowSystem::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 KWindowSystem* self()
        KWindowSystem* xret = KWindowSystem::self();
        x[0].s_class = (void*)xret;
    }
    static void x_9(Smoke::Stack x) {
        // static const QList<unsigned long>& windows()
        const QList<unsigned long>& xret = KWindowSystem::windows();
        x[0].s_class = (void*)&xret;
    }
    static void x_10(Smoke::Stack x) {
        // static bool hasWId(unsigned long)
        bool xret = KWindowSystem::hasWId((unsigned long)x[1].s_ulong);
        x[0].s_bool = xret;
    }
    static void x_11(Smoke::Stack x) {
        // static KWindowInfo windowInfo(unsigned long, unsigned long, unsigned long)
        KWindowInfo xret = KWindowSystem::windowInfo((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong,(unsigned long)x[3].s_ulong);
        x[0].s_class = (void*)new KWindowInfo(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QList<unsigned long> stackingOrder()
        QList<unsigned long> xret = KWindowSystem::stackingOrder();
        x[0].s_class = (void*)new QList<unsigned long>(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static unsigned long activeWindow()
        unsigned long xret = KWindowSystem::activeWindow();
        x[0].s_ulong = xret;
    }
    static void x_14(Smoke::Stack x) {
        // static void activateWindow(unsigned long, long)
        KWindowSystem::activateWindow((unsigned long)x[1].s_ulong,(long)x[2].s_long);
        (void)x; // noop (for compiler warning)
    }
    static void x_15(Smoke::Stack x) {
        // static void forceActiveWindow(unsigned long, long)
        KWindowSystem::forceActiveWindow((unsigned long)x[1].s_ulong,(long)x[2].s_long);
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static void demandAttention(unsigned long, bool)
        KWindowSystem::demandAttention((unsigned long)x[1].s_ulong,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_17(Smoke::Stack x) {
        // static bool compositingActive()
        bool xret = KWindowSystem::compositingActive();
        x[0].s_bool = xret;
    }
    static void x_18(Smoke::Stack x) {
        // static int currentDesktop()
        int xret = KWindowSystem::currentDesktop();
        x[0].s_int = xret;
    }
    static void x_19(Smoke::Stack x) {
        // static int numberOfDesktops()
        int xret = KWindowSystem::numberOfDesktops();
        x[0].s_int = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static void setCurrentDesktop(int)
        KWindowSystem::setCurrentDesktop((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // static void setOnAllDesktops(unsigned long, bool)
        KWindowSystem::setOnAllDesktops((unsigned long)x[1].s_ulong,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static void setOnDesktop(unsigned long, int)
        KWindowSystem::setOnDesktop((unsigned long)x[1].s_ulong,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static void setMainWindow(QWidget*, unsigned long)
        KWindowSystem::setMainWindow((QWidget*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    static void x_24(Smoke::Stack x) {
        // static unsigned long transientFor(unsigned long)
        unsigned long xret = KWindowSystem::transientFor((unsigned long)x[1].s_ulong);
        x[0].s_ulong = xret;
    }
    static void x_25(Smoke::Stack x) {
        // static unsigned long groupLeader(unsigned long)
        unsigned long xret = KWindowSystem::groupLeader((unsigned long)x[1].s_ulong);
        x[0].s_ulong = xret;
    }
    static void x_26(Smoke::Stack x) {
        // static QPixmap icon(unsigned long, int, int, bool)
        QPixmap xret = KWindowSystem::icon((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)x[3].s_int,(bool)x[4].s_bool);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QPixmap icon(unsigned long, int, int, bool, int)
        QPixmap xret = KWindowSystem::icon((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)x[3].s_int,(bool)x[4].s_bool,(int)x[5].s_int);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_28(Smoke::Stack x) {
        // static void setIcons(unsigned long, const QPixmap&, const QPixmap&)
        KWindowSystem::setIcons((unsigned long)x[1].s_ulong,*(const QPixmap*)x[2].s_class,*(const QPixmap*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_29(Smoke::Stack x) {
        // static void setType(unsigned long, NET::WindowType)
        KWindowSystem::setType((unsigned long)x[1].s_ulong,(NET::WindowType)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    static void x_30(Smoke::Stack x) {
        // static void setState(unsigned long, unsigned long)
        KWindowSystem::setState((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    static void x_31(Smoke::Stack x) {
        // static void clearState(unsigned long, unsigned long)
        KWindowSystem::clearState((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    static void x_32(Smoke::Stack x) {
        // static void minimizeWindow(unsigned long, bool)
        KWindowSystem::minimizeWindow((unsigned long)x[1].s_ulong,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_33(Smoke::Stack x) {
        // static void unminimizeWindow(unsigned long, bool)
        KWindowSystem::unminimizeWindow((unsigned long)x[1].s_ulong,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_34(Smoke::Stack x) {
        // static void raiseWindow(unsigned long)
        KWindowSystem::raiseWindow((unsigned long)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    static void x_35(Smoke::Stack x) {
        // static void lowerWindow(unsigned long)
        KWindowSystem::lowerWindow((unsigned long)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    static void x_36(Smoke::Stack x) {
        // static bool icccmCompliantMappingState()
        bool xret = KWindowSystem::icccmCompliantMappingState();
        x[0].s_bool = xret;
    }
    static void x_37(Smoke::Stack x) {
        // static QRect workArea(int)
        QRect xret = KWindowSystem::workArea((int)x[1].s_int);
        x[0].s_class = (void*)new QRect(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static QRect workArea(const QList<unsigned long>&, int)
        QRect xret = KWindowSystem::workArea(*(const QList<unsigned long>*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)new QRect(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static QString desktopName(int)
        QString xret = KWindowSystem::desktopName((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static void setDesktopName(int, const QString&)
        KWindowSystem::setDesktopName((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_41(Smoke::Stack x) {
        // static bool showingDesktop()
        bool xret = KWindowSystem::showingDesktop();
        x[0].s_bool = xret;
    }
    static void x_42(Smoke::Stack x) {
        // static void setUserTime(unsigned long, long)
        KWindowSystem::setUserTime((unsigned long)x[1].s_ulong,(long)x[2].s_long);
        (void)x; // noop (for compiler warning)
    }
    static void x_43(Smoke::Stack x) {
        // static void setExtendedStrut(unsigned long, int, int, int, int, int, int, int, int, int, int, int, int)
        KWindowSystem::setExtendedStrut((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int,(int)x[7].s_int,(int)x[8].s_int,(int)x[9].s_int,(int)x[10].s_int,(int)x[11].s_int,(int)x[12].s_int,(int)x[13].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_44(Smoke::Stack x) {
        // static void setStrut(unsigned long, int, int, int, int)
        KWindowSystem::setStrut((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_45(Smoke::Stack x) {
        // static bool allowedActionsSupported()
        bool xret = KWindowSystem::allowedActionsSupported();
        x[0].s_bool = xret;
    }
    static void x_46(Smoke::Stack x) {
        // static QString readNameProperty(unsigned long, unsigned long)
        QString xret = KWindowSystem::readNameProperty((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_47(Smoke::Stack x) {
        // static void doNotManage(const QString&)
        KWindowSystem::doNotManage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_48(Smoke::Stack x) {
        // static void allowExternalProcessWindowActivation(int)
        KWindowSystem::allowExternalProcessWindowActivation((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_49(Smoke::Stack x) {
        // static void setBlockingCompositing(unsigned long, bool)
        KWindowSystem::setBlockingCompositing((unsigned long)x[1].s_ulong,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_50(Smoke::Stack x) {
        // static bool mapViewport()
        bool xret = KWindowSystem::mapViewport();
        x[0].s_bool = xret;
    }
    static void x_51(Smoke::Stack x) {
        // static int viewportToDesktop(const QPoint&)
        int xret = KWindowSystem::viewportToDesktop(*(const QPoint*)x[1].s_class);
        x[0].s_int = xret;
    }
    static void x_52(Smoke::Stack x) {
        // static int viewportWindowToDesktop(const QRect&)
        int xret = KWindowSystem::viewportWindowToDesktop(*(const QRect*)x[1].s_class);
        x[0].s_int = xret;
    }
    static void x_53(Smoke::Stack x) {
        // static QPoint desktopToViewport(int, bool)
        QPoint xret = KWindowSystem::desktopToViewport((int)x[1].s_int,(bool)x[2].s_bool);
        x[0].s_class = (void*)new QPoint(xret);
    }
    static void x_54(Smoke::Stack x) {
        // static QPoint constrainViewportRelativePosition(const QPoint&)
        QPoint xret = KWindowSystem::constrainViewportRelativePosition(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_55(Smoke::Stack x) {
        // void currentDesktopChanged(int)
        this->KWindowSystem::currentDesktopChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void windowAdded(WId)
        this->KWindowSystem::windowAdded((WId)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void windowRemoved(WId)
        this->KWindowSystem::windowRemoved((WId)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void activeWindowChanged(WId)
        this->KWindowSystem::activeWindowChanged((WId)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void desktopNamesChanged()
        this->KWindowSystem::desktopNamesChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void numberOfDesktopsChanged(int)
        this->KWindowSystem::numberOfDesktopsChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void workAreaChanged()
        this->KWindowSystem::workAreaChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void strutChanged()
        this->KWindowSystem::strutChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void stackingOrderChanged()
        this->KWindowSystem::stackingOrderChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void windowChanged(WId, const unsigned long*)
        this->KWindowSystem::windowChanged((WId)x[1].s_ulong,(const unsigned long*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // void windowChanged(WId, unsigned int)
        this->KWindowSystem::windowChanged((WId)x[1].s_ulong,(unsigned int)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // void windowChanged(WId)
        this->KWindowSystem::windowChanged((WId)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void showingDesktopChanged(bool)
        this->KWindowSystem::showingDesktopChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void compositingChanged(bool)
        this->KWindowSystem::compositingChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // virtual void connectNotify(const char*)
        this->KWindowSystem::connectNotify((const char*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_70(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KWindowSystem::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_71(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KWindowSystem::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_72(Smoke::Stack x) {
        // static KWindowInfo windowInfo(unsigned long, unsigned long)
        KWindowInfo xret = KWindowSystem::windowInfo((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong,(unsigned long)0);
        x[0].s_class = (void*)new KWindowInfo(xret);
    }
    static void x_73(Smoke::Stack x) {
        // static void activateWindow(unsigned long)
        KWindowSystem::activateWindow((unsigned long)x[1].s_ulong,(long)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_74(Smoke::Stack x) {
        // static void forceActiveWindow(unsigned long)
        KWindowSystem::forceActiveWindow((unsigned long)x[1].s_ulong,(long)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_75(Smoke::Stack x) {
        // static void demandAttention(unsigned long)
        KWindowSystem::demandAttention((unsigned long)x[1].s_ulong,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_76(Smoke::Stack x) {
        // static QPixmap icon(unsigned long)
        QPixmap xret = KWindowSystem::icon((unsigned long)x[1].s_ulong,(int)-1,(int)-1,(bool)false);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_77(Smoke::Stack x) {
        // static QPixmap icon(unsigned long, int)
        QPixmap xret = KWindowSystem::icon((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)-1,(bool)false);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_78(Smoke::Stack x) {
        // static QPixmap icon(unsigned long, int, int)
        QPixmap xret = KWindowSystem::icon((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)x[3].s_int,(bool)false);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_79(Smoke::Stack x) {
        // static void minimizeWindow(unsigned long)
        KWindowSystem::minimizeWindow((unsigned long)x[1].s_ulong,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_80(Smoke::Stack x) {
        // static void unminimizeWindow(unsigned long)
        KWindowSystem::unminimizeWindow((unsigned long)x[1].s_ulong,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_81(Smoke::Stack x) {
        // static QRect workArea()
        QRect xret = KWindowSystem::workArea((int)-1);
        x[0].s_class = (void*)new QRect(xret);
    }
    static void x_82(Smoke::Stack x) {
        // static QRect workArea(const QList<unsigned long>&)
        QRect xret = KWindowSystem::workArea(*(const QList<unsigned long>*)x[1].s_class,(int)-1);
        x[0].s_class = (void*)new QRect(xret);
    }
    static void x_83(Smoke::Stack x) {
        // static void allowExternalProcessWindowActivation()
        KWindowSystem::allowExternalProcessWindowActivation((int)-1);
        (void)x; // noop (for compiler warning)
    }
    static void x_84(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KWindowSystem::staticMetaObject;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)KWindowSystem::NETWM;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)KWindowSystem::WMHints;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)KWindowSystem::ClassHint;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)KWindowSystem::XApp;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 347: //KWindowSystem::IconSource
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KWindowSystem::IconSource;
                    break;
                case Smoke::EnumDelete:
                    delete (KWindowSystem::IconSource*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KWindowSystem::IconSource*)xdata = (KWindowSystem::IconSource)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KWindowSystem::IconSource*)xdata;
                    break;
            }
            break;
        }
    }
};
void xenum_KWindowSystem(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KWindowSystem::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KWindowSystem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KWindowSystem *xself = (x_KWindowSystem*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KWindowSystem::x_3(args);	break;
        case 4: x_KWindowSystem::x_4(args);	break;
        case 5: x_KWindowSystem::x_5(args);	break;
        case 6: x_KWindowSystem::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KWindowSystem::x_8(args);	break;
        case 9: x_KWindowSystem::x_9(args);	break;
        case 10: x_KWindowSystem::x_10(args);	break;
        case 11: x_KWindowSystem::x_11(args);	break;
        case 12: x_KWindowSystem::x_12(args);	break;
        case 13: x_KWindowSystem::x_13(args);	break;
        case 14: x_KWindowSystem::x_14(args);	break;
        case 15: x_KWindowSystem::x_15(args);	break;
        case 16: x_KWindowSystem::x_16(args);	break;
        case 17: x_KWindowSystem::x_17(args);	break;
        case 18: x_KWindowSystem::x_18(args);	break;
        case 19: x_KWindowSystem::x_19(args);	break;
        case 20: x_KWindowSystem::x_20(args);	break;
        case 21: x_KWindowSystem::x_21(args);	break;
        case 22: x_KWindowSystem::x_22(args);	break;
        case 23: x_KWindowSystem::x_23(args);	break;
        case 24: x_KWindowSystem::x_24(args);	break;
        case 25: x_KWindowSystem::x_25(args);	break;
        case 26: x_KWindowSystem::x_26(args);	break;
        case 27: x_KWindowSystem::x_27(args);	break;
        case 28: x_KWindowSystem::x_28(args);	break;
        case 29: x_KWindowSystem::x_29(args);	break;
        case 30: x_KWindowSystem::x_30(args);	break;
        case 31: x_KWindowSystem::x_31(args);	break;
        case 32: x_KWindowSystem::x_32(args);	break;
        case 33: x_KWindowSystem::x_33(args);	break;
        case 34: x_KWindowSystem::x_34(args);	break;
        case 35: x_KWindowSystem::x_35(args);	break;
        case 36: x_KWindowSystem::x_36(args);	break;
        case 37: x_KWindowSystem::x_37(args);	break;
        case 38: x_KWindowSystem::x_38(args);	break;
        case 39: x_KWindowSystem::x_39(args);	break;
        case 40: x_KWindowSystem::x_40(args);	break;
        case 41: x_KWindowSystem::x_41(args);	break;
        case 42: x_KWindowSystem::x_42(args);	break;
        case 43: x_KWindowSystem::x_43(args);	break;
        case 44: x_KWindowSystem::x_44(args);	break;
        case 45: x_KWindowSystem::x_45(args);	break;
        case 46: x_KWindowSystem::x_46(args);	break;
        case 47: x_KWindowSystem::x_47(args);	break;
        case 48: x_KWindowSystem::x_48(args);	break;
        case 49: x_KWindowSystem::x_49(args);	break;
        case 50: x_KWindowSystem::x_50(args);	break;
        case 51: x_KWindowSystem::x_51(args);	break;
        case 52: x_KWindowSystem::x_52(args);	break;
        case 53: x_KWindowSystem::x_53(args);	break;
        case 54: x_KWindowSystem::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: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: x_KWindowSystem::x_70(args);	break;
        case 71: x_KWindowSystem::x_71(args);	break;
        case 72: x_KWindowSystem::x_72(args);	break;
        case 73: x_KWindowSystem::x_73(args);	break;
        case 74: x_KWindowSystem::x_74(args);	break;
        case 75: x_KWindowSystem::x_75(args);	break;
        case 76: x_KWindowSystem::x_76(args);	break;
        case 77: x_KWindowSystem::x_77(args);	break;
        case 78: x_KWindowSystem::x_78(args);	break;
        case 79: x_KWindowSystem::x_79(args);	break;
        case 80: x_KWindowSystem::x_80(args);	break;
        case 81: x_KWindowSystem::x_81(args);	break;
        case 82: x_KWindowSystem::x_82(args);	break;
        case 83: x_KWindowSystem::x_83(args);	break;
        case 84: x_KWindowSystem::x_84(args);	break;
        case 85: x_KWindowSystem::x_85(args);	break;
        case 86: x_KWindowSystem::x_86(args);	break;
        case 87: x_KWindowSystem::x_87(args);	break;
        case 88: x_KWindowSystem::x_88(args);	break;
        case 89: delete (KWindowSystem*)xself;	break;
    }
}
class x_KWordWrap : public KWordWrap {
public:
    static void x_1(Smoke::Stack x) {
        // static KWordWrap* formatText(QFontMetrics&, const QRect&, int, const QString&, int)
        KWordWrap* xret = KWordWrap::formatText(*(QFontMetrics*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QString*)x[4].s_class,(int)x[5].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // QRect boundingRect() const
        QRect xret = ((const x_KWordWrap*)this)->KWordWrap::boundingRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_3(Smoke::Stack x) {
        // QString wrappedString() const
        QString xret = ((const x_KWordWrap*)this)->KWordWrap::wrappedString();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_4(Smoke::Stack x) {
        // QString truncatedString(bool) const
        QString xret = ((const x_KWordWrap*)this)->KWordWrap::truncatedString((bool)x[1].s_bool);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_5(Smoke::Stack x) {
        // void drawText(QPainter*, int, int, int) const
        ((const x_KWordWrap*)this)->KWordWrap::drawText((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_6(Smoke::Stack x) {
        // static void drawFadeoutText(QPainter*, int, int, int, const QString&)
        KWordWrap::drawFadeoutText((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,*(const QString*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_7(Smoke::Stack x) {
        // static void drawTruncateText(QPainter*, int, int, int, const QString&)
        KWordWrap::drawTruncateText((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,*(const QString*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_8(Smoke::Stack x) {
        // static KWordWrap* formatText(QFontMetrics&, const QRect&, int, const QString&)
        KWordWrap* xret = KWordWrap::formatText(*(QFontMetrics*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QString*)x[4].s_class,(int)-1);
        x[0].s_class = (void*)xret;
    }
    void x_9(Smoke::Stack x) {
        // QString truncatedString() const
        QString xret = ((const x_KWordWrap*)this)->KWordWrap::truncatedString((bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_10(Smoke::Stack x) {
        // void drawText(QPainter*, int, int) const
        ((const x_KWordWrap*)this)->KWordWrap::drawText((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)Qt::AlignLeft);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)KWordWrap::FadeOut;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)KWordWrap::Truncate;
    }
};
void xcall_KWordWrap(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KWordWrap *xself = (x_KWordWrap*)obj;
    switch(xi) {
        case 1: x_KWordWrap::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: x_KWordWrap::x_6(args);	break;
        case 7: x_KWordWrap::x_7(args);	break;
        case 8: x_KWordWrap::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: x_KWordWrap::x_11(args);	break;
        case 12: x_KWordWrap::x_12(args);	break;
        case 13: delete (KWordWrap*)xself;	break;
    }
}
class x_KXMLGUIBuilder : public KXMLGUIBuilder, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KXMLGUIBuilder* KXMLGUIBuilder(QWidget*)
        x_KXMLGUIBuilder* xret = new x_KXMLGUIBuilder((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMLGUIBuilder(QWidget* x1) : KXMLGUIBuilder(x1) {}
    void x_2(Smoke::Stack x) {
        // KXMLGUIClient* builderClient() const
        KXMLGUIClient* xret = ((const x_KXMLGUIBuilder*)this)->KXMLGUIBuilder::builderClient();
        x[0].s_class = (void*)xret;
    }
    void x_3(Smoke::Stack x) {
        // void setBuilderClient(KXMLGUIClient*)
        this->KXMLGUIBuilder::setBuilderClient((KXMLGUIClient*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // KComponentData builderComponentData() const
        KComponentData xret = ((const x_KXMLGUIBuilder*)this)->KXMLGUIBuilder::builderComponentData();
        x[0].s_class = (void*)new KComponentData(xret);
    }
    void x_5(Smoke::Stack x) {
        // void setBuilderComponentData(const KComponentData&)
        this->KXMLGUIBuilder::setBuilderComponentData(*(const KComponentData*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // QWidget* widget()
        QWidget* xret = this->KXMLGUIBuilder::widget();
        x[0].s_class = (void*)xret;
    }
    void x_7(Smoke::Stack x) {
        // virtual QStringList containerTags() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIBuilder*>(this))) {
            QStringList xret = ((const x_KXMLGUIBuilder*)this)->KXMLGUIBuilder::containerTags();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_KXMLGUIBuilder*)this)->containerTags();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_8(Smoke::Stack x) {
        // virtual QWidget* createContainer(QWidget*, int, const QDomElement&, QAction*&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIBuilder*>(this))) {
            QWidget* xret = this->KXMLGUIBuilder::createContainer((QWidget*)x[1].s_class,(int)x[2].s_int,*(const QDomElement*)x[3].s_class,*(QAction**)x[4].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = this->createContainer((QWidget*)x[1].s_class,(int)x[2].s_int,*(const QDomElement*)x[3].s_class,*(QAction**)x[4].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_9(Smoke::Stack x) {
        // virtual void removeContainer(QWidget*, QWidget*, QDomElement&, QAction*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIBuilder*>(this))) {
            this->KXMLGUIBuilder::removeContainer((QWidget*)x[1].s_class,(QWidget*)x[2].s_class,*(QDomElement*)x[3].s_class,(QAction*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->removeContainer((QWidget*)x[1].s_class,(QWidget*)x[2].s_class,*(QDomElement*)x[3].s_class,(QAction*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual QStringList customTags() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIBuilder*>(this))) {
            QStringList xret = ((const x_KXMLGUIBuilder*)this)->KXMLGUIBuilder::customTags();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_KXMLGUIBuilder*)this)->customTags();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_11(Smoke::Stack x) {
        // virtual QAction* createCustomElement(QWidget*, int, const QDomElement&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIBuilder*>(this))) {
            QAction* xret = this->KXMLGUIBuilder::createCustomElement((QWidget*)x[1].s_class,(int)x[2].s_int,*(const QDomElement*)x[3].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QAction* xret = this->createCustomElement((QWidget*)x[1].s_class,(int)x[2].s_int,*(const QDomElement*)x[3].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual void removeCustomElement(QWidget*, QAction*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIBuilder*>(this))) {
            this->KXMLGUIBuilder::removeCustomElement((QWidget*)x[1].s_class,(QAction*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->removeCustomElement((QWidget*)x[1].s_class,(QAction*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void finalizeGUI(KXMLGUIClient*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIBuilder*>(this))) {
            this->KXMLGUIBuilder::finalizeGUI((KXMLGUIClient*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->finalizeGUI((KXMLGUIClient*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_14(Smoke::Stack x) {
        // KXMLGUIBuilder* KXMLGUIBuilder(const KXMLGUIBuilder&)
        x_KXMLGUIBuilder* xret = new x_KXMLGUIBuilder(*(const KXMLGUIBuilder*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMLGUIBuilder(const KXMLGUIBuilder& x1) : KXMLGUIBuilder(x1) {}
    virtual QStringList containerTags() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6569, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIBuilder::containerTags();
    }
    virtual QWidget* createContainer(QWidget* x1, int x2, const QDomElement& x3, QAction*& x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(6570, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->KXMLGUIBuilder::createContainer(x1, x2, x3, x4);
    }
    virtual void removeContainer(QWidget* x1, QWidget* x2, QDomElement& x3, QAction* x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(6571, (void*)this, x)) return;
        this->KXMLGUIBuilder::removeContainer(x1, x2, x3, x4);
    }
    virtual QStringList customTags() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6572, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIBuilder::customTags();
    }
    virtual QAction* createCustomElement(QWidget* x1, int x2, const QDomElement& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(6573, (void*)this, x)) return (QAction*)x[0].s_class;
        return this->KXMLGUIBuilder::createCustomElement(x1, x2, x3);
    }
    virtual void removeCustomElement(QWidget* x1, QAction* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(6574, (void*)this, x)) return;
        this->KXMLGUIBuilder::removeCustomElement(x1, x2);
    }
    virtual void finalizeGUI(KXMLGUIClient* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6575, (void*)this, x)) return;
        this->KXMLGUIBuilder::finalizeGUI(x1);
    }
    ~x_KXMLGUIBuilder() { this->_binding->deleted(227, (void*)this); }
};
void xcall_KXMLGUIBuilder(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KXMLGUIBuilder *xself = (x_KXMLGUIBuilder*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KXMLGUIBuilder::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: x_KXMLGUIBuilder::x_14(args);	break;
        case 15: delete (KXMLGUIBuilder*)xself;	break;
    }
}
class x_KXMLGUIClient : public KXMLGUIClient, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KXMLGUIClient* KXMLGUIClient()
        x_KXMLGUIClient* xret = new x_KXMLGUIClient();
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMLGUIClient() : KXMLGUIClient() {}
    static void x_2(Smoke::Stack x) {
        // KXMLGUIClient* KXMLGUIClient(KXMLGUIClient*)
        x_KXMLGUIClient* xret = new x_KXMLGUIClient((KXMLGUIClient*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMLGUIClient(KXMLGUIClient* x1) : KXMLGUIClient(x1) {}
    void x_3(Smoke::Stack x) {
        // QAction* action(const char*) const
        QAction* xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::action((const char*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_4(Smoke::Stack x) {
        // virtual QAction* action(const QDomElement&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            QAction* xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::action(*(const QDomElement*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QAction* xret = ((const x_KXMLGUIClient*)this)->action(*(const QDomElement*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_5(Smoke::Stack x) {
        // virtual KActionCollection* actionCollection() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            KActionCollection* xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::actionCollection();
            x[0].s_class = (void*)xret;
        } else {
            KActionCollection* xret = ((const x_KXMLGUIClient*)this)->actionCollection();
            x[0].s_class = (void*)xret;
        }
    }
    void x_6(Smoke::Stack x) {
        // virtual KComponentData componentData() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            KComponentData xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::componentData();
            x[0].s_class = (void*)new KComponentData(xret);
        } else {
            KComponentData xret = ((const x_KXMLGUIClient*)this)->componentData();
            x[0].s_class = (void*)new KComponentData(xret);
        }
    }
    void x_7(Smoke::Stack x) {
        // virtual QDomDocument domDocument() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            QDomDocument xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::domDocument();
            x[0].s_class = (void*)new QDomDocument(xret);
        } else {
            QDomDocument xret = ((const x_KXMLGUIClient*)this)->domDocument();
            x[0].s_class = (void*)new QDomDocument(xret);
        }
    }
    void x_8(Smoke::Stack x) {
        // virtual QString xmlFile() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            QString xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::xmlFile();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KXMLGUIClient*)this)->xmlFile();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_9(Smoke::Stack x) {
        // virtual QString localXMLFile() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            QString xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::localXMLFile();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KXMLGUIClient*)this)->localXMLFile();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_10(Smoke::Stack x) {
        // void setXMLGUIBuildDocument(const QDomDocument&)
        this->KXMLGUIClient::setXMLGUIBuildDocument(*(const QDomDocument*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QDomDocument xmlguiBuildDocument() const
        QDomDocument xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::xmlguiBuildDocument();
        x[0].s_class = (void*)new QDomDocument(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setFactory(KXMLGUIFactory*)
        this->KXMLGUIClient::setFactory((KXMLGUIFactory*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // KXMLGUIFactory* factory() const
        KXMLGUIFactory* xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::factory();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // KXMLGUIClient* parentClient() const
        KXMLGUIClient* xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::parentClient();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // void insertChildClient(KXMLGUIClient*)
        this->KXMLGUIClient::insertChildClient((KXMLGUIClient*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void removeChildClient(KXMLGUIClient*)
        this->KXMLGUIClient::removeChildClient((KXMLGUIClient*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QList<KXMLGUIClient*> childClients()
        QList<KXMLGUIClient*> xret = this->KXMLGUIClient::childClients();
        x[0].s_class = (void*)new QList<KXMLGUIClient*>(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setClientBuilder(KXMLGUIBuilder*)
        this->KXMLGUIClient::setClientBuilder((KXMLGUIBuilder*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // KXMLGUIBuilder* clientBuilder() const
        KXMLGUIBuilder* xret = ((const x_KXMLGUIClient*)this)->KXMLGUIClient::clientBuilder();
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // void reloadXML()
        this->KXMLGUIClient::reloadXML();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void plugActionList(const QString&, const QList<QAction*>&)
        this->KXMLGUIClient::plugActionList(*(const QString*)x[1].s_class,*(const QList<QAction*>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void unplugActionList(const QString&)
        this->KXMLGUIClient::unplugActionList(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static QString findMostRecentXMLFile(const QStringList&, QString&)
        QString xret = KXMLGUIClient::findMostRecentXMLFile(*(const QStringList*)x[1].s_class,*(QString*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // void addStateActionEnabled(const QString&, const QString&)
        this->KXMLGUIClient::addStateActionEnabled(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void addStateActionDisabled(const QString&, const QString&)
        this->KXMLGUIClient::addStateActionDisabled(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // KXMLGUIClient::StateChange getActionsToChangeForState(const QString&)
        KXMLGUIClient::StateChange xret = this->KXMLGUIClient::getActionsToChangeForState(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KXMLGUIClient::StateChange(xret);
    }
    void x_27(Smoke::Stack x) {
        // void beginXMLPlug(QWidget*)
        this->KXMLGUIClient::beginXMLPlug((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void endXMLPlug()
        this->KXMLGUIClient::endXMLPlug();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void prepareXMLUnplug(QWidget*)
        this->KXMLGUIClient::prepareXMLUnplug((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void replaceXMLFile(const QString&, const QString&, bool)
        this->KXMLGUIClient::replaceXMLFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // virtual void setComponentData(const KComponentData&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            this->KXMLGUIClient::setComponentData(*(const KComponentData*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setComponentData(*(const KComponentData*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // virtual void setXMLFile(const QString&, bool, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            this->KXMLGUIClient::setXMLFile(*(const QString*)x[1].s_class,(bool)x[2].s_bool,(bool)x[3].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setXMLFile(*(const QString*)x[1].s_class,(bool)x[2].s_bool,(bool)x[3].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // void loadStandardsXmlFile()
        this->KXMLGUIClient::loadStandardsXmlFile();
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // virtual void setLocalXMLFile(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            this->KXMLGUIClient::setLocalXMLFile(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setLocalXMLFile(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_35(Smoke::Stack x) {
        // virtual void setXML(const QString&, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            this->KXMLGUIClient::setXML(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setXML(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_36(Smoke::Stack x) {
        // virtual void setDOMDocument(const QDomDocument&, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            this->KXMLGUIClient::setDOMDocument(*(const QDomDocument*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setDOMDocument(*(const QDomDocument*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_37(Smoke::Stack x) {
        // virtual void stateChanged(const QString&, KXMLGUIClient::ReverseStateChange)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMLGUIClient*>(this))) {
            this->KXMLGUIClient::stateChanged(*(const QString*)x[1].s_class,(KXMLGUIClient::ReverseStateChange)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->stateChanged(*(const QString*)x[1].s_class,(KXMLGUIClient::ReverseStateChange)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_38(Smoke::Stack x) {
        // KXMLGUIClient* KXMLGUIClient(const KXMLGUIClient&)
        x_KXMLGUIClient* xret = new x_KXMLGUIClient(*(const KXMLGUIClient*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMLGUIClient(const KXMLGUIClient& x1) : KXMLGUIClient(x1) {}
    void x_39(Smoke::Stack x) {
        // void replaceXMLFile(const QString&, const QString&)
        this->KXMLGUIClient::replaceXMLFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void setXMLFile(const QString&)
        this->KXMLGUIClient::setXMLFile(*(const QString*)x[1].s_class,(bool)false,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void setXMLFile(const QString&, bool)
        this->KXMLGUIClient::setXMLFile(*(const QString*)x[1].s_class,(bool)x[2].s_bool,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void setXML(const QString&)
        this->KXMLGUIClient::setXML(*(const QString*)x[1].s_class,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void setDOMDocument(const QDomDocument&)
        this->KXMLGUIClient::setDOMDocument(*(const QDomDocument*)x[1].s_class,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void stateChanged(const QString&)
        this->KXMLGUIClient::stateChanged(*(const QString*)x[1].s_class,(KXMLGUIClient::ReverseStateChange)KXMLGUIClient::StateNoReverse);
        (void)x; // noop (for compiler warning)
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KXMLGUIClient::StateNoReverse;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)KXMLGUIClient::StateReverse;
    }
    virtual QAction* action(const QDomElement& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(6581, (void*)this, x)) return (QAction*)x[0].s_class;
        return this->KXMLGUIClient::action(x1);
    }
    virtual KActionCollection* actionCollection() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6582, (void*)this, x)) return (KActionCollection*)x[0].s_class;
        return this->KXMLGUIClient::actionCollection();
    }
    virtual KComponentData componentData() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6583, (void*)this, x)) {
            KComponentData* xptr = (KComponentData*)x[0].s_class;
            KComponentData xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIClient::componentData();
    }
    virtual QDomDocument domDocument() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6584, (void*)this, x)) {
            QDomDocument* xptr = (QDomDocument*)x[0].s_class;
            QDomDocument xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIClient::domDocument();
    }
    virtual QString xmlFile() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6585, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIClient::xmlFile();
    }
    virtual QString localXMLFile() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6586, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIClient::localXMLFile();
    }
    virtual void setComponentData(const KComponentData& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(6608, (void*)this, x)) return;
        this->KXMLGUIClient::setComponentData(x1);
    }
    virtual void setXMLFile(const QString& x1, bool x2, bool x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        x[3].s_bool = x3;
        if (this->_binding->callMethod(6609, (void*)this, x)) return;
        this->KXMLGUIClient::setXMLFile(x1, x2, x3);
    }
    virtual void setLocalXMLFile(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(6611, (void*)this, x)) return;
        this->KXMLGUIClient::setLocalXMLFile(x1);
    }
    virtual void setXML(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(6612, (void*)this, x)) return;
        this->KXMLGUIClient::setXML(x1, x2);
    }
    virtual void setDOMDocument(const QDomDocument& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(6613, (void*)this, x)) return;
        this->KXMLGUIClient::setDOMDocument(x1, x2);
    }
    virtual void stateChanged(const QString& x1, KXMLGUIClient::ReverseStateChange x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(6614, (void*)this, x)) return;
        this->KXMLGUIClient::stateChanged(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 351: //KXMLGUIClient::ReverseStateChange
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KXMLGUIClient::ReverseStateChange;
                    break;
                case Smoke::EnumDelete:
                    delete (KXMLGUIClient::ReverseStateChange*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KXMLGUIClient::ReverseStateChange*)xdata = (KXMLGUIClient::ReverseStateChange)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KXMLGUIClient::ReverseStateChange*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KXMLGUIClient() { this->_binding->deleted(228, (void*)this); }
};
void xenum_KXMLGUIClient(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KXMLGUIClient::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KXMLGUIClient(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KXMLGUIClient *xself = (x_KXMLGUIClient*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KXMLGUIClient::x_1(args);	break;
        case 2: x_KXMLGUIClient::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: x_KXMLGUIClient::x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: x_KXMLGUIClient::x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: x_KXMLGUIClient::x_45(args);	break;
        case 46: x_KXMLGUIClient::x_46(args);	break;
        case 47: delete (KXMLGUIClient*)xself;	break;
    }
}
class x_KXMLGUIClient__StateChange : public KXMLGUIClient::StateChange {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KXMLGUIClient::StateChange* StateChange()
        x_KXMLGUIClient__StateChange* xret = new x_KXMLGUIClient__StateChange();
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMLGUIClient__StateChange() : StateChange() {}
    static void x_2(Smoke::Stack x) {
        // KXMLGUIClient::StateChange* StateChange(const KXMLGUIClient::StateChange&)
        x_KXMLGUIClient__StateChange* xret = new x_KXMLGUIClient__StateChange(*(const KXMLGUIClient::StateChange*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMLGUIClient__StateChange(const KXMLGUIClient::StateChange& x1) : StateChange(x1) {}
    void x_3(Smoke::Stack x) {
        // QStringList actionsToEnable
        x[0].s_class = (void*)&this->KXMLGUIClient::StateChange::actionsToEnable;
    }
    void x_4(Smoke::Stack x) {
        // QStringList actionsToEnable=
        this->KXMLGUIClient::StateChange::actionsToEnable = *(const QStringList*)x[1].s_class;
    }
    void x_5(Smoke::Stack x) {
        // QStringList actionsToDisable
        x[0].s_class = (void*)&this->KXMLGUIClient::StateChange::actionsToDisable;
    }
    void x_6(Smoke::Stack x) {
        // QStringList actionsToDisable=
        this->KXMLGUIClient::StateChange::actionsToDisable = *(const QStringList*)x[1].s_class;
    }
    ~x_KXMLGUIClient__StateChange() { this->_binding->deleted(229, (void*)this); }
};
void xcall_KXMLGUIClient__StateChange(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KXMLGUIClient__StateChange *xself = (x_KXMLGUIClient__StateChange*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KXMLGUIClient__StateChange::x_1(args);	break;
        case 2: x_KXMLGUIClient__StateChange::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: delete (KXMLGUIClient::StateChange*)xself;	break;
    }
}
class x_KXMLGUIFactory : public KXMLGUIFactory, 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<KXMLGUIFactory*>(this))) {
            const QMetaObject* xret = ((const x_KXMLGUIFactory*)this)->KXMLGUIFactory::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KXMLGUIFactory*)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<KXMLGUIFactory*>(this))) {
            void* xret = this->KXMLGUIFactory::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 = KXMLGUIFactory::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 = KXMLGUIFactory::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 = KXMLGUIFactory::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 = KXMLGUIFactory::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<KXMLGUIFactory*>(this))) {
            int xret = this->KXMLGUIFactory::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) {
        // KXMLGUIFactory* KXMLGUIFactory(KXMLGUIBuilder*, QObject*)
        x_KXMLGUIFactory* xret = new x_KXMLGUIFactory((KXMLGUIBuilder*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMLGUIFactory(KXMLGUIBuilder* x1, QObject* x2) : KXMLGUIFactory(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // static QString readConfigFile(const QString&, const KComponentData&)
        QString xret = KXMLGUIFactory::readConfigFile(*(const QString*)x[1].s_class,*(const KComponentData*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static bool saveConfigFile(const QDomDocument&, const QString&, const KComponentData&)
        bool xret = KXMLGUIFactory::saveConfigFile(*(const QDomDocument*)x[1].s_class,*(const QString*)x[2].s_class,*(const KComponentData*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_11(Smoke::Stack x) {
        // static QDomElement actionPropertiesElement(QDomDocument&)
        QDomElement xret = KXMLGUIFactory::actionPropertiesElement(*(QDomDocument*)x[1].s_class);
        x[0].s_class = (void*)new QDomElement(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QDomElement findActionByName(QDomElement&, const QString&, bool)
        QDomElement xret = KXMLGUIFactory::findActionByName(*(QDomElement*)x[1].s_class,*(const QString*)x[2].s_class,(bool)x[3].s_bool);
        x[0].s_class = (void*)new QDomElement(xret);
    }
    void x_13(Smoke::Stack x) {
        // void addClient(KXMLGUIClient*)
        this->KXMLGUIFactory::addClient((KXMLGUIClient*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void removeClient(KXMLGUIClient*)
        this->KXMLGUIFactory::removeClient((KXMLGUIClient*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void plugActionList(KXMLGUIClient*, const QString&, const QList<QAction*>&)
        this->KXMLGUIFactory::plugActionList((KXMLGUIClient*)x[1].s_class,*(const QString*)x[2].s_class,*(const QList<QAction*>*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void unplugActionList(KXMLGUIClient*, const QString&)
        this->KXMLGUIFactory::unplugActionList((KXMLGUIClient*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QList<KXMLGUIClient*> clients() const
        QList<KXMLGUIClient*> xret = ((const x_KXMLGUIFactory*)this)->KXMLGUIFactory::clients();
        x[0].s_class = (void*)new QList<KXMLGUIClient*>(xret);
    }
    void x_18(Smoke::Stack x) {
        // QWidget* container(const QString&, KXMLGUIClient*, bool)
        QWidget* xret = this->KXMLGUIFactory::container(*(const QString*)x[1].s_class,(KXMLGUIClient*)x[2].s_class,(bool)x[3].s_bool);
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // QList<QWidget*> containers(const QString&)
        QList<QWidget*> xret = this->KXMLGUIFactory::containers(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QList<QWidget*>(xret);
    }
    void x_20(Smoke::Stack x) {
        // void reset()
        this->KXMLGUIFactory::reset();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void resetContainer(const QString&, bool)
        this->KXMLGUIFactory::resetContainer(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void refreshActionProperties()
        this->KXMLGUIFactory::refreshActionProperties();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // int configureShortcuts(bool, bool)
        int xret = this->KXMLGUIFactory::configureShortcuts((bool)x[1].s_bool,(bool)x[2].s_bool);
        x[0].s_int = xret;
    }
    void x_24(Smoke::Stack x) {
        // void changeShortcutScheme(const QString&)
        this->KXMLGUIFactory::changeShortcutScheme(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void clientAdded(KXMLGUIClient*)
        this->KXMLGUIFactory::clientAdded((KXMLGUIClient*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void clientRemoved(KXMLGUIClient*)
        this->KXMLGUIFactory::clientRemoved((KXMLGUIClient*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void makingChanges(bool)
        this->KXMLGUIFactory::makingChanges((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KXMLGUIFactory::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KXMLGUIFactory::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // KXMLGUIFactory* KXMLGUIFactory(KXMLGUIBuilder*)
        x_KXMLGUIFactory* xret = new x_KXMLGUIFactory((KXMLGUIBuilder*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static QString readConfigFile(const QString&)
        QString xret = KXMLGUIFactory::readConfigFile(*(const QString*)x[1].s_class,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static bool saveConfigFile(const QDomDocument&, const QString&)
        bool xret = KXMLGUIFactory::saveConfigFile(*(const QDomDocument*)x[1].s_class,*(const QString*)x[2].s_class,(const KComponentData&)KComponentData());
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // QWidget* container(const QString&, KXMLGUIClient*)
        QWidget* xret = this->KXMLGUIFactory::container(*(const QString*)x[1].s_class,(KXMLGUIClient*)x[2].s_class,(bool)false);
        x[0].s_class = (void*)xret;
    }
    void x_34(Smoke::Stack x) {
        // void resetContainer(const QString&)
        this->KXMLGUIFactory::resetContainer(*(const QString*)x[1].s_class,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // int configureShortcuts()
        int xret = this->KXMLGUIFactory::configureShortcuts((bool)true,(bool)true);
        x[0].s_int = xret;
    }
    void x_36(Smoke::Stack x) {
        // int configureShortcuts(bool)
        int xret = this->KXMLGUIFactory::configureShortcuts((bool)x[1].s_bool,(bool)true);
        x[0].s_int = xret;
    }
    static void x_37(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KXMLGUIFactory::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6632, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KXMLGUIFactory::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6633, (void*)this, x)) return (void*)x[0].s_class;
        return this->KXMLGUIFactory::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(6638, (void*)this, x)) return (int)x[0].s_int;
        return this->KXMLGUIFactory::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7575, (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(7576, (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(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KXMLGUIFactory() { this->_binding->deleted(230, (void*)this); }
};
void xcall_KXMLGUIFactory(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KXMLGUIFactory *xself = (x_KXMLGUIFactory*)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_KXMLGUIFactory::x_3(args);	break;
        case 4: x_KXMLGUIFactory::x_4(args);	break;
        case 5: x_KXMLGUIFactory::x_5(args);	break;
        case 6: x_KXMLGUIFactory::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KXMLGUIFactory::x_8(args);	break;
        case 9: x_KXMLGUIFactory::x_9(args);	break;
        case 10: x_KXMLGUIFactory::x_10(args);	break;
        case 11: x_KXMLGUIFactory::x_11(args);	break;
        case 12: x_KXMLGUIFactory::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: x_KXMLGUIFactory::x_28(args);	break;
        case 29: x_KXMLGUIFactory::x_29(args);	break;
        case 30: x_KXMLGUIFactory::x_30(args);	break;
        case 31: x_KXMLGUIFactory::x_31(args);	break;
        case 32: x_KXMLGUIFactory::x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: x_KXMLGUIFactory::x_37(args);	break;
        case 38: delete (KXMLGUIFactory*)xself;	break;
    }
}
class x_KXMessages : public KXMessages, 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<KXMessages*>(this))) {
            const QMetaObject* xret = ((const x_KXMessages*)this)->KXMessages::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KXMessages*)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<KXMessages*>(this))) {
            void* xret = this->KXMessages::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 = KXMessages::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 = KXMessages::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 = KXMessages::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 = KXMessages::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<KXMessages*>(this))) {
            int xret = this->KXMessages::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) {
        // KXMessages* KXMessages(const char*, QWidget*, bool)
        x_KXMessages* xret = new x_KXMessages((const char*)x[1].s_class,(QWidget*)x[2].s_class,(bool)x[3].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMessages(const char* x1, QWidget* x2, bool x3) : KXMessages(x1, x2, x3) {}
    static void x_9(Smoke::Stack x) {
        // KXMessages* KXMessages(const char*, QWidget*)
        x_KXMessages* xret = new x_KXMessages((const char*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXMessages(const char* x1, QWidget* x2) : KXMessages(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void sendMessage(unsigned long, const char*, const QString&, bool)
        this->KXMessages::sendMessage((unsigned long)x[1].s_ulong,(const char*)x[2].s_class,*(const QString*)x[3].s_class,(bool)x[4].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void sendMessage(unsigned long, const char*, const QString&)
        this->KXMessages::sendMessage((unsigned long)x[1].s_ulong,(const char*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void broadcastMessage(const char*, const QString&, int, bool)
        this->KXMessages::broadcastMessage((const char*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int,(bool)x[4].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void broadcastMessage(const char*, const QString&)
        this->KXMessages::broadcastMessage((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
        // static bool sendMessageX(_XDisplay*, unsigned long, const char*, const QString&, bool)
        bool xret = KXMessages::sendMessageX((_XDisplay*)x[1].s_class,(unsigned long)x[2].s_ulong,(const char*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool);
        x[0].s_bool = xret;
    }
    static void x_15(Smoke::Stack x) {
        // static bool sendMessageX(_XDisplay*, unsigned long, const char*, const QString&)
        bool xret = KXMessages::sendMessageX((_XDisplay*)x[1].s_class,(unsigned long)x[2].s_ulong,(const char*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_bool = xret;
    }
    static void x_16(Smoke::Stack x) {
        // static bool broadcastMessageX(_XDisplay*, const char*, const QString&, int, bool)
        bool xret = KXMessages::broadcastMessageX((_XDisplay*)x[1].s_class,(const char*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(bool)x[5].s_bool);
        x[0].s_bool = xret;
    }
    static void x_17(Smoke::Stack x) {
        // static bool broadcastMessageX(_XDisplay*, const char*, const QString&)
        bool xret = KXMessages::broadcastMessageX((_XDisplay*)x[1].s_class,(const char*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void gotMessage(const QString&)
        this->KXMessages::gotMessage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // virtual bool x11Event(_XEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXMessages*>(this))) {
            bool xret = this->KXMessages::x11Event((_XEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->x11Event((_XEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KXMessages::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KXMessages::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // KXMessages* KXMessages()
        x_KXMessages* xret = new x_KXMessages((const char*)NULL,(QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // KXMessages* KXMessages(const char*)
        x_KXMessages* xret = new x_KXMessages((const char*)x[1].s_class,(QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KXMessages::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6670, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KXMessages::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6671, (void*)this, x)) return (void*)x[0].s_class;
        return this->KXMessages::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(6676, (void*)this, x)) return (int)x[0].s_int;
        return this->KXMessages::qt_metacall(x1, x2, x3);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6688, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KXMessages::x11Event(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7791, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7792, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7796, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7797, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7799, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7801, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7803, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7804, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7807, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7809, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7811, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::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(7576, (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(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KXMessages() { this->_binding->deleted(231, (void*)this); }
};
void xcall_KXMessages(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KXMessages *xself = (x_KXMessages*)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_KXMessages::x_3(args);	break;
        case 4: x_KXMessages::x_4(args);	break;
        case 5: x_KXMessages::x_5(args);	break;
        case 6: x_KXMessages::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KXMessages::x_8(args);	break;
        case 9: x_KXMessages::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: x_KXMessages::x_14(args);	break;
        case 15: x_KXMessages::x_15(args);	break;
        case 16: x_KXMessages::x_16(args);	break;
        case 17: x_KXMessages::x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: x_KXMessages::x_20(args);	break;
        case 21: x_KXMessages::x_21(args);	break;
        case 22: x_KXMessages::x_22(args);	break;
        case 23: x_KXMessages::x_23(args);	break;
        case 24: x_KXMessages::x_24(args);	break;
        case 25: delete (KXMessages*)xself;	break;
    }
}
class x_KXYSelector : public KXYSelector, 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<KXYSelector*>(this))) {
            const QMetaObject* xret = ((const x_KXYSelector*)this)->KXYSelector::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KXYSelector*)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<KXYSelector*>(this))) {
            void* xret = this->KXYSelector::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 = KXYSelector::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 = KXYSelector::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 = KXYSelector::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 = KXYSelector::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<KXYSelector*>(this))) {
            int xret = this->KXYSelector::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) {
        // KXYSelector* KXYSelector(QWidget*)
        x_KXYSelector* xret = new x_KXYSelector((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXYSelector(QWidget* x1) : KXYSelector(x1) {}
    void x_9(Smoke::Stack x) {
        // void setValues(int, int)
        this->KXYSelector::setValues((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void setXValue(int)
        this->KXYSelector::setXValue((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setYValue(int)
        this->KXYSelector::setYValue((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setRange(int, int, int, int)
        this->KXYSelector::setRange((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setMarkerColor(const QColor&)
        this->KXYSelector::setMarkerColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int xValue() const
        int xret = ((const x_KXYSelector*)this)->KXYSelector::xValue();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // int yValue() const
        int xret = ((const x_KXYSelector*)this)->KXYSelector::yValue();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // QRect contentsRect() const
        QRect xret = ((const x_KXYSelector*)this)->KXYSelector::contentsRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_17(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXYSelector*>(this))) {
            QSize xret = ((const x_KXYSelector*)this)->KXYSelector::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KXYSelector*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_18(Smoke::Stack x) {
        // void valueChanged(int, int)
        this->KXYSelector::valueChanged((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // virtual void drawContents(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXYSelector*>(this))) {
            this->KXYSelector::drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual void drawMarker(QPainter*, int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXYSelector*>(this))) {
            this->KXYSelector::drawMarker((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawMarker((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXYSelector*>(this))) {
            this->KXYSelector::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXYSelector*>(this))) {
            this->KXYSelector::mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXYSelector*>(this))) {
            this->KXYSelector::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXYSelector*>(this))) {
            this->KXYSelector::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // void valuesFromPosition(int, int, int&, int&) const
        ((const x_KXYSelector*)this)->KXYSelector::valuesFromPosition((int)x[1].s_int,(int)x[2].s_int,*(int*)x[3].s_class,*(int*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_26(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KXYSelector::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KXYSelector::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_28(Smoke::Stack x) {
        // KXYSelector* KXYSelector()
        x_KXYSelector* xret = new x_KXYSelector((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_29(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KXYSelector::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6699, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KXYSelector::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6700, (void*)this, x)) return (void*)x[0].s_class;
        return this->KXYSelector::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(6705, (void*)this, x)) return (int)x[0].s_int;
        return this->KXYSelector::qt_metacall(x1, x2, x3);
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6715, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXYSelector::minimumSizeHint();
    }
    virtual void drawContents(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6717, (void*)this, x)) return;
        this->KXYSelector::drawContents(x1);
    }
    virtual void drawMarker(QPainter* x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(6718, (void*)this, x)) return;
        this->KXYSelector::drawMarker(x1, x2, x3);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6719, (void*)this, x)) return;
        this->KXYSelector::paintEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6720, (void*)this, x)) return;
        this->KXYSelector::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6721, (void*)this, x)) return;
        this->KXYSelector::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6722, (void*)this, x)) return;
        this->KXYSelector::wheelEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7791, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7797, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7801, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7803, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7804, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7809, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7811, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::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(7576, (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(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KXYSelector() { this->_binding->deleted(233, (void*)this); }
};
void xcall_KXYSelector(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KXYSelector *xself = (x_KXYSelector*)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_KXYSelector::x_3(args);	break;
        case 4: x_KXYSelector::x_4(args);	break;
        case 5: x_KXYSelector::x_5(args);	break;
        case 6: x_KXYSelector::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KXYSelector::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: x_KXYSelector::x_26(args);	break;
        case 27: x_KXYSelector::x_27(args);	break;
        case 28: x_KXYSelector::x_28(args);	break;
        case 29: x_KXYSelector::x_29(args);	break;
        case 30: delete (KXYSelector*)xself;	break;
    }
}
class x_KXmlGuiWindow : public KXmlGuiWindow, 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<KXmlGuiWindow*>(this))) {
            const QMetaObject* xret = ((const x_KXmlGuiWindow*)this)->KXmlGuiWindow::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KXmlGuiWindow*)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<KXmlGuiWindow*>(this))) {
            void* xret = this->KXmlGuiWindow::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 = KXmlGuiWindow::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 = KXmlGuiWindow::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 = KXmlGuiWindow::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 = KXmlGuiWindow::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<KXmlGuiWindow*>(this))) {
            int xret = this->KXmlGuiWindow::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) {
        // KXmlGuiWindow* KXmlGuiWindow(QWidget*, QFlags<Qt::WindowType>)
        x_KXmlGuiWindow* xret = new x_KXmlGuiWindow((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KXmlGuiWindow(QWidget* x1, QFlags<Qt::WindowType> x2) : KXmlGuiWindow(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void setHelpMenuEnabled(bool)
        this->KXmlGuiWindow::setHelpMenuEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isHelpMenuEnabled() const
        bool xret = ((const x_KXmlGuiWindow*)this)->KXmlGuiWindow::isHelpMenuEnabled();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // virtual KXMLGUIFactory* guiFactory()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXmlGuiWindow*>(this))) {
            KXMLGUIFactory* xret = this->KXmlGuiWindow::guiFactory();
            x[0].s_class = (void*)xret;
        } else {
            KXMLGUIFactory* xret = this->guiFactory();
            x[0].s_class = (void*)xret;
        }
    }
    void x_12(Smoke::Stack x) {
        // void createGUI(const QString&)
        this->KXmlGuiWindow::createGUI(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setStandardToolBarMenuEnabled(bool)
        this->KXmlGuiWindow::setStandardToolBarMenuEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool isStandardToolBarMenuEnabled() const
        bool xret = ((const x_KXmlGuiWindow*)this)->KXmlGuiWindow::isStandardToolBarMenuEnabled();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void createStandardStatusBarAction()
        this->KXmlGuiWindow::createStandardStatusBarAction();
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setupGUI(QFlags<KXmlGuiWindow::StandardWindowOption>, const QString&)
        this->KXmlGuiWindow::setupGUI((QFlags<KXmlGuiWindow::StandardWindowOption>)x[1].s_uint,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setupGUI(const QSize&, QFlags<KXmlGuiWindow::StandardWindowOption>, const QString&)
        this->KXmlGuiWindow::setupGUI(*(const QSize*)x[1].s_class,(QFlags<KXmlGuiWindow::StandardWindowOption>)x[2].s_uint,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QAction* toolBarMenuAction()
        QAction* xret = this->KXmlGuiWindow::toolBarMenuAction();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void setupToolbarMenuActions()
        this->KXmlGuiWindow::setupToolbarMenuActions();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // virtual void finalizeGUI(KXMLGUIClient*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXmlGuiWindow*>(this))) {
            this->KXmlGuiWindow::finalizeGUI((KXMLGUIClient*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->finalizeGUI((KXMLGUIClient*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // void finalizeGUI(bool)
        this->KXmlGuiWindow::finalizeGUI((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // virtual void applyMainWindowSettings(const KConfigGroup&, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXmlGuiWindow*>(this))) {
            this->KXmlGuiWindow::applyMainWindowSettings(*(const KConfigGroup*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->applyMainWindowSettings(*(const KConfigGroup*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void configureToolbars()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXmlGuiWindow*>(this))) {
            this->KXmlGuiWindow::configureToolbars();
            (void)x; // noop (for compiler warning)
        } else {
            this->configureToolbars();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void slotStateChanged(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXmlGuiWindow*>(this))) {
            this->KXmlGuiWindow::slotStateChanged(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotStateChanged(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // void slotStateChanged(const QString&, bool)
        this->KXmlGuiWindow::slotStateChanged(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXmlGuiWindow*>(this))) {
            bool xret = this->KXmlGuiWindow::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void saveNewToolbarConfig()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KXmlGuiWindow*>(this))) {
            this->KXmlGuiWindow::saveNewToolbarConfig();
            (void)x; // noop (for compiler warning)
        } else {
            this->saveNewToolbarConfig();
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KXmlGuiWindow::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KXmlGuiWindow::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // KXmlGuiWindow* KXmlGuiWindow()
        x_KXmlGuiWindow* xret = new x_KXmlGuiWindow((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // KXmlGuiWindow* KXmlGuiWindow(QWidget*)
        x_KXmlGuiWindow* xret = new x_KXmlGuiWindow((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    void x_32(Smoke::Stack x) {
        // void setHelpMenuEnabled()
        this->KXmlGuiWindow::setHelpMenuEnabled((bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void createGUI()
        this->KXmlGuiWindow::createGUI((const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setupGUI()
        this->KXmlGuiWindow::setupGUI((QFlags<KXmlGuiWindow::StandardWindowOption>)KXmlGuiWindow::Default,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setupGUI(QFlags<KXmlGuiWindow::StandardWindowOption>)
        this->KXmlGuiWindow::setupGUI((QFlags<KXmlGuiWindow::StandardWindowOption>)x[1].s_uint,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void setupGUI(const QSize&)
        this->KXmlGuiWindow::setupGUI(*(const QSize*)x[1].s_class,(QFlags<KXmlGuiWindow::StandardWindowOption>)KXmlGuiWindow::Default,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void setupGUI(const QSize&, QFlags<KXmlGuiWindow::StandardWindowOption>)
        this->KXmlGuiWindow::setupGUI(*(const QSize*)x[1].s_class,(QFlags<KXmlGuiWindow::StandardWindowOption>)x[2].s_uint,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void applyMainWindowSettings(const KConfigGroup&)
        this->KXmlGuiWindow::applyMainWindowSettings(*(const KConfigGroup*)x[1].s_class,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KXmlGuiWindow::staticMetaObject;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)KXmlGuiWindow::ToolBar;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KXmlGuiWindow::Keys;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KXmlGuiWindow::StatusBar;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KXmlGuiWindow::Save;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KXmlGuiWindow::Create;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KXmlGuiWindow::Default;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6729, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KXmlGuiWindow::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6730, (void*)this, x)) return (void*)x[0].s_class;
        return this->KXmlGuiWindow::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(6735, (void*)this, x)) return (int)x[0].s_int;
        return this->KXmlGuiWindow::qt_metacall(x1, x2, x3);
    }
    virtual KXMLGUIFactory* guiFactory() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6739, (void*)this, x)) return (KXMLGUIFactory*)x[0].s_class;
        return this->KXmlGuiWindow::guiFactory();
    }
    virtual void finalizeGUI(KXMLGUIClient* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6748, (void*)this, x)) return;
        this->KXmlGuiWindow::finalizeGUI(x1);
    }
    virtual void applyMainWindowSettings(const KConfigGroup& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(6750, (void*)this, x)) return;
        this->KXmlGuiWindow::applyMainWindowSettings(x1, x2);
    }
    virtual void configureToolbars() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6751, (void*)this, x)) return;
        this->KXmlGuiWindow::configureToolbars();
    }
    virtual void slotStateChanged(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(6752, (void*)this, x)) return;
        this->KXmlGuiWindow::slotStateChanged(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6754, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KXmlGuiWindow::event(x1);
    }
    virtual void saveNewToolbarConfig() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6755, (void*)this, x)) return;
        this->KXmlGuiWindow::saveNewToolbarConfig();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2995, (void*)this, x)) return;
        this->KMainWindow::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(2996, (void*)this, x)) return;
        this->KMainWindow::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2997, (void*)this, x)) return;
        this->KMainWindow::setPlainCaption(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3001, (void*)this, x)) return;
        this->KMainWindow::closeEvent(x1);
    }
    virtual bool queryExit() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3002, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KMainWindow::queryExit();
    }
    virtual bool queryClose() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3003, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KMainWindow::queryClose();
    }
    virtual void saveProperties(KConfigGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3004, (void*)this, x)) return;
        this->KMainWindow::saveProperties(x1);
    }
    virtual void readProperties(const KConfigGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3005, (void*)this, x)) return;
        this->KMainWindow::readProperties(x1);
    }
    virtual void saveGlobalProperties(KConfig* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3006, (void*)this, x)) return;
        this->KMainWindow::saveGlobalProperties(x1);
    }
    virtual void readGlobalProperties(KConfig* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3007, (void*)this, x)) return;
        this->KMainWindow::readGlobalProperties(x1);
    }
    virtual void showAboutApplication() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3014, (void*)this, x)) return;
        this->KMainWindow::showAboutApplication();
    }
    virtual QMenu* createPopupMenu() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7549, (void*)this, x)) return (QMenu*)x[0].s_class;
        return this->QMainWindow::createPopupMenu();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7791, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7792, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7796, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7797, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7799, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7801, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7803, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7804, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7807, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7809, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7550, (void*)this, x)) return;
        this->QMainWindow::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    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(7576, (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(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    virtual QStringList containerTags() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6569, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIBuilder::containerTags();
    }
    virtual QWidget* createContainer(QWidget* x1, int x2, const QDomElement& x3, QAction*& x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(6570, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->KXMLGUIBuilder::createContainer(x1, x2, x3, x4);
    }
    virtual void removeContainer(QWidget* x1, QWidget* x2, QDomElement& x3, QAction* x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(6571, (void*)this, x)) return;
        this->KXMLGUIBuilder::removeContainer(x1, x2, x3, x4);
    }
    virtual QStringList customTags() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6572, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIBuilder::customTags();
    }
    virtual QAction* createCustomElement(QWidget* x1, int x2, const QDomElement& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(6573, (void*)this, x)) return (QAction*)x[0].s_class;
        return this->KXMLGUIBuilder::createCustomElement(x1, x2, x3);
    }
    virtual void removeCustomElement(QWidget* x1, QAction* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(6574, (void*)this, x)) return;
        this->KXMLGUIBuilder::removeCustomElement(x1, x2);
    }
    virtual QAction* action(const QDomElement& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(6581, (void*)this, x)) return (QAction*)x[0].s_class;
        return this->KXMLGUIClient::action(x1);
    }
    virtual KActionCollection* actionCollection() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6582, (void*)this, x)) return (KActionCollection*)x[0].s_class;
        return this->KXMLGUIClient::actionCollection();
    }
    virtual KComponentData componentData() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6583, (void*)this, x)) {
            KComponentData* xptr = (KComponentData*)x[0].s_class;
            KComponentData xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIClient::componentData();
    }
    virtual QDomDocument domDocument() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6584, (void*)this, x)) {
            QDomDocument* xptr = (QDomDocument*)x[0].s_class;
            QDomDocument xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIClient::domDocument();
    }
    virtual QString xmlFile() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6585, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIClient::xmlFile();
    }
    virtual QString localXMLFile() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6586, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KXMLGUIClient::localXMLFile();
    }
    virtual void setComponentData(const KComponentData& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(6608, (void*)this, x)) return;
        this->KXMLGUIClient::setComponentData(x1);
    }
    virtual void setXMLFile(const QString& x1, bool x2, bool x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        x[3].s_bool = x3;
        if (this->_binding->callMethod(6609, (void*)this, x)) return;
        this->KXMLGUIClient::setXMLFile(x1, x2, x3);
    }
    virtual void setLocalXMLFile(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(6611, (void*)this, x)) return;
        this->KXMLGUIClient::setLocalXMLFile(x1);
    }
    virtual void setXML(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(6612, (void*)this, x)) return;
        this->KXMLGUIClient::setXML(x1, x2);
    }
    virtual void setDOMDocument(const QDomDocument& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(6613, (void*)this, x)) return;
        this->KXMLGUIClient::setDOMDocument(x1, x2);
    }
    virtual void stateChanged(const QString& x1, KXMLGUIClient::ReverseStateChange x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(6614, (void*)this, x)) return;
        this->KXMLGUIClient::stateChanged(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 358: //KXmlGuiWindow::StandardWindowOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KXmlGuiWindow::StandardWindowOption;
                    break;
                case Smoke::EnumDelete:
                    delete (KXmlGuiWindow::StandardWindowOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KXmlGuiWindow::StandardWindowOption*)xdata = (KXmlGuiWindow::StandardWindowOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KXmlGuiWindow::StandardWindowOption*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KXmlGuiWindow() { this->_binding->deleted(234, (void*)this); }
};
void xenum_KXmlGuiWindow(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KXmlGuiWindow::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KXmlGuiWindow(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KXmlGuiWindow *xself = (x_KXmlGuiWindow*)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_KXmlGuiWindow::x_3(args);	break;
        case 4: x_KXmlGuiWindow::x_4(args);	break;
        case 5: x_KXmlGuiWindow::x_5(args);	break;
        case 6: x_KXmlGuiWindow::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KXmlGuiWindow::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: x_KXmlGuiWindow::x_28(args);	break;
        case 29: x_KXmlGuiWindow::x_29(args);	break;
        case 30: x_KXmlGuiWindow::x_30(args);	break;
        case 31: x_KXmlGuiWindow::x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: x_KXmlGuiWindow::x_39(args);	break;
        case 40: x_KXmlGuiWindow::x_40(args);	break;
        case 41: x_KXmlGuiWindow::x_41(args);	break;
        case 42: x_KXmlGuiWindow::x_42(args);	break;
        case 43: x_KXmlGuiWindow::x_43(args);	break;
        case 44: x_KXmlGuiWindow::x_44(args);	break;
        case 45: x_KXmlGuiWindow::x_45(args);	break;
        case 46: delete (KXmlGuiWindow*)xself;	break;
    }
}
class x_NET : public NET {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // static bool typeMatchesMask(NET::WindowType, unsigned long)
        bool xret = NET::typeMatchesMask((NET::WindowType)x[1].s_enum,(unsigned long)x[2].s_ulong);
        x[0].s_bool = xret;
    }
    static void x_2(Smoke::Stack x) {
        // static int timestampCompare(unsigned long, unsigned long)
        int xret = NET::timestampCompare((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong);
        x[0].s_int = xret;
    }
    static void x_3(Smoke::Stack x) {
        // static int timestampDiff(unsigned long, unsigned long)
        int xret = NET::timestampDiff((unsigned long)x[1].s_ulong,(unsigned long)x[2].s_ulong);
        x[0].s_int = xret;
    }
    static void x_4(Smoke::Stack x) {
        // NET* NET()
        x_NET* xret = new x_NET();
        x[0].s_class = (void*)xret;
    }
    explicit x_NET() : NET() {}
    static void x_5(Smoke::Stack x) {
        // NET* NET(const NET&)
        x_NET* xret = new x_NET(*(const NET*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_NET(const NET& x1) : NET(x1) {}
    static void x_6(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Client;
    }
    static void x_7(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WindowManager;
    }
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Unknown;
    }
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Normal;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Desktop;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Dock;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Toolbar;
    }
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Menu;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Dialog;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Override;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)NET::TopMenu;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Utility;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Splash;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DropdownMenu;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)NET::PopupMenu;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Tooltip;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Notification;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ComboBox;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DNDIcon;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)NET::NormalMask;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DesktopMask;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DockMask;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ToolbarMask;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)NET::MenuMask;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DialogMask;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)NET::OverrideMask;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)NET::TopMenuMask;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)NET::UtilityMask;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)NET::SplashMask;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DropdownMenuMask;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)NET::PopupMenuMask;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)NET::TooltipMask;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)NET::NotificationMask;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ComboBoxMask;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DNDIconMask;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)NET::AllTypesMask;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Modal;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Sticky;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)NET::MaxVert;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)NET::MaxHoriz;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Max;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Shaded;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)NET::SkipTaskbar;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)NET::KeepAbove;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)NET::StaysOnTop;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)NET::SkipPager;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Hidden;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)NET::FullScreen;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)NET::KeepBelow;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DemandsAttention;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)NET::TopLeft;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Top;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)NET::TopRight;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Right;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)NET::BottomRight;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Bottom;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)NET::BottomLeft;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Left;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Move;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)NET::KeyboardSize;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)NET::KeyboardMove;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)NET::MoveResizeCancel;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Visible;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Withdrawn;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Iconic;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionMove;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionResize;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionMinimize;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionShade;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionStick;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionMaxVert;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionMaxHoriz;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionMax;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionFullScreen;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionChangeDesktop;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActionClose;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)NET::Supported;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ClientList;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ClientListStacking;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)NET::NumberOfDesktops;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DesktopGeometry;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DesktopViewport;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)NET::CurrentDesktop;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DesktopNames;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)NET::ActiveWindow;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WorkArea;
    }
    static void x_92(Smoke::Stack x) {
        x[0].s_enum = (long)NET::SupportingWMCheck;
    }
    static void x_93(Smoke::Stack x) {
        x[0].s_enum = (long)NET::VirtualRoots;
    }
    static void x_94(Smoke::Stack x) {
        x[0].s_enum = (long)NET::CloseWindow;
    }
    static void x_95(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMMoveResize;
    }
    static void x_96(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMName;
    }
    static void x_97(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMVisibleName;
    }
    static void x_98(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMDesktop;
    }
    static void x_99(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMWindowType;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMState;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMStrut;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMIconGeometry;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMIcon;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMPid;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMHandledIcons;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMPing;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)NET::XAWMState;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMFrameExtents;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMIconName;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMVisibleIconName;
    }
    static void x_111(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WMGeometry;
    }
    static void x_112(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2UserTime;
    }
    static void x_113(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2StartupId;
    }
    static void x_114(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2TransientFor;
    }
    static void x_115(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2GroupLeader;
    }
    static void x_116(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2AllowedActions;
    }
    static void x_117(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2RestackWindow;
    }
    static void x_118(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2MoveResizeWindow;
    }
    static void x_119(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2ExtendedStrut;
    }
    static void x_120(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2TakeActivity;
    }
    static void x_121(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2KDETemporaryRules;
    }
    static void x_122(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2WindowClass;
    }
    static void x_123(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2WindowRole;
    }
    static void x_124(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2ClientMachine;
    }
    static void x_125(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2ShowingDesktop;
    }
    static void x_126(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2Opacity;
    }
    static void x_127(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2DesktopLayout;
    }
    static void x_128(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2FullPlacement;
    }
    static void x_129(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2FullscreenMonitors;
    }
    static void x_130(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2FrameOverlap;
    }
    static void x_131(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2Activities;
    }
    static void x_132(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2BlockCompositing;
    }
    static void x_133(Smoke::Stack x) {
        x[0].s_enum = (long)NET::WM2KDEShadow;
    }
    static void x_134(Smoke::Stack x) {
        x[0].s_enum = (long)NET::OnAllDesktops;
    }
    static void x_135(Smoke::Stack x) {
        x[0].s_enum = (long)NET::FromUnknown;
    }
    static void x_136(Smoke::Stack x) {
        x[0].s_enum = (long)NET::FromApplication;
    }
    static void x_137(Smoke::Stack x) {
        x[0].s_enum = (long)NET::FromTool;
    }
    static void x_138(Smoke::Stack x) {
        x[0].s_enum = (long)NET::OrientationHorizontal;
    }
    static void x_139(Smoke::Stack x) {
        x[0].s_enum = (long)NET::OrientationVertical;
    }
    static void x_140(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DesktopLayoutCornerTopLeft;
    }
    static void x_141(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DesktopLayoutCornerTopRight;
    }
    static void x_142(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DesktopLayoutCornerBottomLeft;
    }
    static void x_143(Smoke::Stack x) {
        x[0].s_enum = (long)NET::DesktopLayoutCornerBottomRight;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 369: //NET::Role
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::Role;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::Role*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::Role*)xdata = (NET::Role)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::Role*)xdata;
                    break;
            }
            break;
        case 371: //NET::WindowType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::WindowType;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::WindowType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::WindowType*)xdata = (NET::WindowType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::WindowType*)xdata;
                    break;
            }
            break;
        case 372: //NET::WindowTypeMask
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::WindowTypeMask;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::WindowTypeMask*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::WindowTypeMask*)xdata = (NET::WindowTypeMask)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::WindowTypeMask*)xdata;
                    break;
            }
            break;
        case 370: //NET::State
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::State;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::State*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::State*)xdata = (NET::State)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::State*)xdata;
                    break;
            }
            break;
        case 363: //NET::Direction
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::Direction;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::Direction*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::Direction*)xdata = (NET::Direction)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::Direction*)xdata;
                    break;
            }
            break;
        case 364: //NET::MappingState
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::MappingState;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::MappingState*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::MappingState*)xdata = (NET::MappingState)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::MappingState*)xdata;
                    break;
            }
            break;
        case 361: //NET::Action
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::Action;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::Action*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::Action*)xdata = (NET::Action)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::Action*)xdata;
                    break;
            }
            break;
        case 366: //NET::Property
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::Property;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::Property*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::Property*)xdata = (NET::Property)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::Property*)xdata;
                    break;
            }
            break;
        case 367: //NET::Property2
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::Property2;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::Property2*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::Property2*)xdata = (NET::Property2)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::Property2*)xdata;
                    break;
            }
            break;
        case 368: //NET::RequestSource
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::RequestSource;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::RequestSource*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::RequestSource*)xdata = (NET::RequestSource)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::RequestSource*)xdata;
                    break;
            }
            break;
        case 365: //NET::Orientation
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::Orientation;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::Orientation*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::Orientation*)xdata = (NET::Orientation)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::Orientation*)xdata;
                    break;
            }
            break;
        case 362: //NET::DesktopLayoutCorner
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new NET::DesktopLayoutCorner;
                    break;
                case Smoke::EnumDelete:
                    delete (NET::DesktopLayoutCorner*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(NET::DesktopLayoutCorner*)xdata = (NET::DesktopLayoutCorner)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(NET::DesktopLayoutCorner*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_NET() { this->_binding->deleted(236, (void*)this); }
};
void xenum_NET(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_NET::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_NET(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_NET *xself = (x_NET*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_NET::x_1(args);	break;
        case 2: x_NET::x_2(args);	break;
        case 3: x_NET::x_3(args);	break;
        case 4: x_NET::x_4(args);	break;
        case 5: x_NET::x_5(args);	break;
        case 6: x_NET::x_6(args);	break;
        case 7: x_NET::x_7(args);	break;
        case 8: x_NET::x_8(args);	break;
        case 9: x_NET::x_9(args);	break;
        case 10: x_NET::x_10(args);	break;
        case 11: x_NET::x_11(args);	break;
        case 12: x_NET::x_12(args);	break;
        case 13: x_NET::x_13(args);	break;
        case 14: x_NET::x_14(args);	break;
        case 15: x_NET::x_15(args);	break;
        case 16: x_NET::x_16(args);	break;
        case 17: x_NET::x_17(args);	break;
        case 18: x_NET::x_18(args);	break;
        case 19: x_NET::x_19(args);	break;
        case 20: x_NET::x_20(args);	break;
        case 21: x_NET::x_21(args);	break;
        case 22: x_NET::x_22(args);	break;
        case 23: x_NET::x_23(args);	break;
        case 24: x_NET::x_24(args);	break;
        case 25: x_NET::x_25(args);	break;
        case 26: x_NET::x_26(args);	break;
        case 27: x_NET::x_27(args);	break;
        case 28: x_NET::x_28(args);	break;
        case 29: x_NET::x_29(args);	break;
        case 30: x_NET::x_30(args);	break;
        case 31: x_NET::x_31(args);	break;
        case 32: x_NET::x_32(args);	break;
        case 33: x_NET::x_33(args);	break;
        case 34: x_NET::x_34(args);	break;
        case 35: x_NET::x_35(args);	break;
        case 36: x_NET::x_36(args);	break;
        case 37: x_NET::x_37(args);	break;
        case 38: x_NET::x_38(args);	break;
        case 39: x_NET::x_39(args);	break;
        case 40: x_NET::x_40(args);	break;
        case 41: x_NET::x_41(args);	break;
        case 42: x_NET::x_42(args);	break;
        case 43: x_NET::x_43(args);	break;
        case 44: x_NET::x_44(args);	break;
        case 45: x_NET::x_45(args);	break;
        case 46: x_NET::x_46(args);	break;
        case 47: x_NET::x_47(args);	break;
        case 48: x_NET::x_48(args);	break;
        case 49: x_NET::x_49(args);	break;
        case 50: x_NET::x_50(args);	break;
        case 51: x_NET::x_51(args);	break;
        case 52: x_NET::x_52(args);	break;
        case 53: x_NET::x_53(args);	break;
        case 54: x_NET::x_54(args);	break;
        case 55: x_NET::x_55(args);	break;
        case 56: x_NET::x_56(args);	break;
        case 57: x_NET::x_57(args);	break;
        case 58: x_NET::x_58(args);	break;
        case 59: x_NET::x_59(args);	break;
        case 60: x_NET::x_60(args);	break;
        case 61: x_NET::x_61(args);	break;
        case 62: x_NET::x_62(args);	break;
        case 63: x_NET::x_63(args);	break;
        case 64: x_NET::x_64(args);	break;
        case 65: x_NET::x_65(args);	break;
        case 66: x_NET::x_66(args);	break;
        case 67: x_NET::x_67(args);	break;
        case 68: x_NET::x_68(args);	break;
        case 69: x_NET::x_69(args);	break;
        case 70: x_NET::x_70(args);	break;
        case 71: x_NET::x_71(args);	break;
        case 72: x_NET::x_72(args);	break;
        case 73: x_NET::x_73(args);	break;
        case 74: x_NET::x_74(args);	break;
        case 75: x_NET::x_75(args);	break;
        case 76: x_NET::x_76(args);	break;
        case 77: x_NET::x_77(args);	break;
        case 78: x_NET::x_78(args);	break;
        case 79: x_NET::x_79(args);	break;
        case 80: x_NET::x_80(args);	break;
        case 81: x_NET::x_81(args);	break;
        case 82: x_NET::x_82(args);	break;
        case 83: x_NET::x_83(args);	break;
        case 84: x_NET::x_84(args);	break;
        case 85: x_NET::x_85(args);	break;
        case 86: x_NET::x_86(args);	break;
        case 87: x_NET::x_87(args);	break;
        case 88: x_NET::x_88(args);	break;
        case 89: x_NET::x_89(args);	break;
        case 90: x_NET::x_90(args);	break;
        case 91: x_NET::x_91(args);	break;
        case 92: x_NET::x_92(args);	break;
        case 93: x_NET::x_93(args);	break;
        case 94: x_NET::x_94(args);	break;
        case 95: x_NET::x_95(args);	break;
        case 96: x_NET::x_96(args);	break;
        case 97: x_NET::x_97(args);	break;
        case 98: x_NET::x_98(args);	break;
        case 99: x_NET::x_99(args);	break;
        case 100: x_NET::x_100(args);	break;
        case 101: x_NET::x_101(args);	break;
        case 102: x_NET::x_102(args);	break;
        case 103: x_NET::x_103(args);	break;
        case 104: x_NET::x_104(args);	break;
        case 105: x_NET::x_105(args);	break;
        case 106: x_NET::x_106(args);	break;
        case 107: x_NET::x_107(args);	break;
        case 108: x_NET::x_108(args);	break;
        case 109: x_NET::x_109(args);	break;
        case 110: x_NET::x_110(args);	break;
        case 111: x_NET::x_111(args);	break;
        case 112: x_NET::x_112(args);	break;
        case 113: x_NET::x_113(args);	break;
        case 114: x_NET::x_114(args);	break;
        case 115: x_NET::x_115(args);	break;
        case 116: x_NET::x_116(args);	break;
        case 117: x_NET::x_117(args);	break;
        case 118: x_NET::x_118(args);	break;
        case 119: x_NET::x_119(args);	break;
        case 120: x_NET::x_120(args);	break;
        case 121: x_NET::x_121(args);	break;
        case 122: x_NET::x_122(args);	break;
        case 123: x_NET::x_123(args);	break;
        case 124: x_NET::x_124(args);	break;
        case 125: x_NET::x_125(args);	break;
        case 126: x_NET::x_126(args);	break;
        case 127: x_NET::x_127(args);	break;
        case 128: x_NET::x_128(args);	break;
        case 129: x_NET::x_129(args);	break;
        case 130: x_NET::x_130(args);	break;
        case 131: x_NET::x_131(args);	break;
        case 132: x_NET::x_132(args);	break;
        case 133: x_NET::x_133(args);	break;
        case 134: x_NET::x_134(args);	break;
        case 135: x_NET::x_135(args);	break;
        case 136: x_NET::x_136(args);	break;
        case 137: x_NET::x_137(args);	break;
        case 138: x_NET::x_138(args);	break;
        case 139: x_NET::x_139(args);	break;
        case 140: x_NET::x_140(args);	break;
        case 141: x_NET::x_141(args);	break;
        case 142: x_NET::x_142(args);	break;
        case 143: x_NET::x_143(args);	break;
        case 144: delete (NET*)xself;	break;
    }
}

}
