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

#include <smoke.h>
#include <qtgui_smoke.h>

class __internal_SmokeClass {};

namespace __smokeqtgui {

class x_QKeyEventTransition : public QKeyEventTransition, 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<QKeyEventTransition*>(this))) {
            const QMetaObject* xret = ((const x_QKeyEventTransition*)this)->QKeyEventTransition::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QKeyEventTransition*)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<QKeyEventTransition*>(this))) {
            void* xret = this->QKeyEventTransition::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 = QKeyEventTransition::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 = QKeyEventTransition::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 = QKeyEventTransition::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 = QKeyEventTransition::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<QKeyEventTransition*>(this))) {
            int xret = this->QKeyEventTransition::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) {
        // QKeyEventTransition* QKeyEventTransition(QState*)
        x_QKeyEventTransition* xret = new x_QKeyEventTransition((QState*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QKeyEventTransition(QState* x1) : QKeyEventTransition(x1) {}
    static void x_9(Smoke::Stack x) {
        // QKeyEventTransition* QKeyEventTransition(QObject*, QEvent::Type, int, QState*)
        x_QKeyEventTransition* xret = new x_QKeyEventTransition((QObject*)x[1].s_class,(QEvent::Type)x[2].s_enum,(int)x[3].s_int,(QState*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QKeyEventTransition(QObject* x1, QEvent::Type x2, int x3, QState* x4) : QKeyEventTransition(x1, x2, x3, x4) {}
    void x_10(Smoke::Stack x) {
        // int key() const
        int xret = ((const x_QKeyEventTransition*)this)->QKeyEventTransition::key();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setKey(int)
        this->QKeyEventTransition::setKey((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QFlags<Qt::KeyboardModifier> modifierMask() const
        QFlags<Qt::KeyboardModifier> xret = ((const x_QKeyEventTransition*)this)->QKeyEventTransition::modifierMask();
        x[0].s_uint = (uint)xret;
    }
    void x_13(Smoke::Stack x) {
        // void setModifierMask(QFlags<Qt::KeyboardModifier>)
        this->QKeyEventTransition::setModifierMask((QFlags<Qt::KeyboardModifier>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void onTransition(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QKeyEventTransition*>(this))) {
            this->QKeyEventTransition::onTransition((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->onTransition((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // bool eventTest(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QKeyEventTransition*>(this))) {
            bool xret = this->QKeyEventTransition::eventTest((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventTest((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QKeyEventTransition::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QKeyEventTransition::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // QKeyEventTransition* QKeyEventTransition()
        x_QKeyEventTransition* xret = new x_QKeyEventTransition((QState*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // QKeyEventTransition* QKeyEventTransition(QObject*, QEvent::Type, int)
        x_QKeyEventTransition* xret = new x_QKeyEventTransition((QObject*)x[1].s_class,(QEvent::Type)x[2].s_enum,(int)x[3].s_int,(QState*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QKeyEventTransition::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(6994, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QKeyEventTransition::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(6995, (void*)this, x)) return (void*)x[0].s_class;
        return this->QKeyEventTransition::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(7000, (void*)this, x)) return (int)x[0].s_int;
        return this->QKeyEventTransition::qt_metacall(x1, x2, x3);
    }
    virtual bool eventTest(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7008, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QKeyEventTransition::eventTest(x1);
    }
    virtual void onTransition(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7007, (void*)this, x)) return;
        this->QKeyEventTransition::onTransition(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2953, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QEventTransition::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(8375, (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(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QKeyEventTransition() { this->_binding->deleted(210, (void*)this); }
};
void xcall_QKeyEventTransition(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QKeyEventTransition *xself = (x_QKeyEventTransition*)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_QKeyEventTransition::x_3(args);	break;
        case 4: x_QKeyEventTransition::x_4(args);	break;
        case 5: x_QKeyEventTransition::x_5(args);	break;
        case 6: x_QKeyEventTransition::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QKeyEventTransition::x_8(args);	break;
        case 9: x_QKeyEventTransition::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: x_QKeyEventTransition::x_16(args);	break;
        case 17: x_QKeyEventTransition::x_17(args);	break;
        case 18: x_QKeyEventTransition::x_18(args);	break;
        case 19: x_QKeyEventTransition::x_19(args);	break;
        case 20: x_QKeyEventTransition::x_20(args);	break;
        case 21: delete (QKeyEventTransition*)xself;	break;
    }
}
class x_QKeySequence : public QKeySequence {
    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) {
        // QKeySequence* QKeySequence()
        x_QKeySequence* xret = new x_QKeySequence();
        x[0].s_class = (void*)xret;
    }
    explicit x_QKeySequence() : QKeySequence() {}
    static void x_2(Smoke::Stack x) {
        // QKeySequence* QKeySequence(const QString&)
        x_QKeySequence* xret = new x_QKeySequence(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QKeySequence(const QString& x1) : QKeySequence(x1) {}
    static void x_3(Smoke::Stack x) {
        // QKeySequence* QKeySequence(const QString&, QKeySequence::SequenceFormat)
        x_QKeySequence* xret = new x_QKeySequence(*(const QString*)x[1].s_class,(QKeySequence::SequenceFormat)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QKeySequence(const QString& x1, QKeySequence::SequenceFormat x2) : QKeySequence(x1, x2) {}
    static void x_4(Smoke::Stack x) {
        // QKeySequence* QKeySequence(int, int, int, int)
        x_QKeySequence* xret = new x_QKeySequence((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QKeySequence(int x1, int x2, int x3, int x4) : QKeySequence(x1, x2, x3, x4) {}
    static void x_5(Smoke::Stack x) {
        // QKeySequence* QKeySequence(const QKeySequence&)
        x_QKeySequence* xret = new x_QKeySequence(*(const QKeySequence*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QKeySequence(const QKeySequence& x1) : QKeySequence(x1) {}
    static void x_6(Smoke::Stack x) {
        // QKeySequence* QKeySequence(QKeySequence::StandardKey)
        x_QKeySequence* xret = new x_QKeySequence((QKeySequence::StandardKey)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QKeySequence(QKeySequence::StandardKey x1) : QKeySequence(x1) {}
    void x_7(Smoke::Stack x) {
        // unsigned int count() const
        unsigned int xret = ((const x_QKeySequence*)this)->QKeySequence::count();
        x[0].s_uint = xret;
    }
    void x_8(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_QKeySequence*)this)->QKeySequence::isEmpty();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // QString toString(QKeySequence::SequenceFormat) const
        QString xret = ((const x_QKeySequence*)this)->QKeySequence::toString((QKeySequence::SequenceFormat)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QKeySequence fromString(const QString&, QKeySequence::SequenceFormat)
        QKeySequence xret = QKeySequence::fromString(*(const QString*)x[1].s_class,(QKeySequence::SequenceFormat)x[2].s_enum);
        x[0].s_class = (void*)new QKeySequence(xret);
    }
    void x_11(Smoke::Stack x) {
        // QKeySequence::SequenceMatch matches(const QKeySequence&) const
        QKeySequence::SequenceMatch xret = ((const x_QKeySequence*)this)->QKeySequence::matches(*(const QKeySequence*)x[1].s_class);
        x[0].s_enum = xret;
    }
    static void x_12(Smoke::Stack x) {
        // static QKeySequence mnemonic(const QString&)
        QKeySequence xret = QKeySequence::mnemonic(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QKeySequence(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QList<QKeySequence> keyBindings(QKeySequence::StandardKey)
        QList<QKeySequence> xret = QKeySequence::keyBindings((QKeySequence::StandardKey)x[1].s_enum);
        x[0].s_class = (void*)new QList<QKeySequence>(xret);
    }
    void x_14(Smoke::Stack x) {
        // QString operator QString() const
        QString xret = ((const x_QKeySequence*)this)->QKeySequence::operator QString();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QKeySequence*)this)->QKeySequence::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_16(Smoke::Stack x) {
        // int operator int() const
        int xret = ((const x_QKeySequence*)this)->QKeySequence::operator int();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // int operator[](unsigned int) const
        int xret = ((const x_QKeySequence*)this)->QKeySequence::operator[]((unsigned int)x[1].s_uint);
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // QKeySequence& operator=(const QKeySequence&)
        QKeySequence& xret = this->QKeySequence::operator=(*(const QKeySequence*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_19(Smoke::Stack x) {
        // void swap(QKeySequence&)
        this->QKeySequence::swap(*(QKeySequence*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool operator==(const QKeySequence&) const
        bool xret = ((const x_QKeySequence*)this)->QKeySequence::operator==(*(const QKeySequence*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // bool operator!=(const QKeySequence&) const
        bool xret = ((const x_QKeySequence*)this)->QKeySequence::operator!=(*(const QKeySequence*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // bool operator<(const QKeySequence&) const
        bool xret = ((const x_QKeySequence*)this)->QKeySequence::operator<(*(const QKeySequence*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // bool operator>(const QKeySequence&) const
        bool xret = ((const x_QKeySequence*)this)->QKeySequence::operator>(*(const QKeySequence*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // bool operator<=(const QKeySequence&) const
        bool xret = ((const x_QKeySequence*)this)->QKeySequence::operator<=(*(const QKeySequence*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // bool operator>=(const QKeySequence&) const
        bool xret = ((const x_QKeySequence*)this)->QKeySequence::operator>=(*(const QKeySequence*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // bool isDetached() const
        bool xret = ((const x_QKeySequence*)this)->QKeySequence::isDetached();
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // QKeySequencePrivate*& data_ptr()
        QKeySequencePrivate*& xret = this->QKeySequence::data_ptr();
        x[0].s_class = (void*)xret;
    }
    static void x_28(Smoke::Stack x) {
        // QKeySequence* QKeySequence(int)
        x_QKeySequence* xret = new x_QKeySequence((int)x[1].s_int,(int)0,(int)0,(int)0);
        x[0].s_class = (void*)xret;
    }
    static void x_29(Smoke::Stack x) {
        // QKeySequence* QKeySequence(int, int)
        x_QKeySequence* xret = new x_QKeySequence((int)x[1].s_int,(int)x[2].s_int,(int)0,(int)0);
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // QKeySequence* QKeySequence(int, int, int)
        x_QKeySequence* xret = new x_QKeySequence((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)0);
        x[0].s_class = (void*)xret;
    }
    void x_31(Smoke::Stack x) {
        // QString toString() const
        QString xret = ((const x_QKeySequence*)this)->QKeySequence::toString((QKeySequence::SequenceFormat)QKeySequence::PortableText);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QKeySequence fromString(const QString&)
        QKeySequence xret = QKeySequence::fromString(*(const QString*)x[1].s_class,(QKeySequence::SequenceFormat)QKeySequence::PortableText);
        x[0].s_class = (void*)new QKeySequence(xret);
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::UnknownKey;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::HelpContents;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::WhatsThis;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Open;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Close;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Save;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::New;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Delete;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Cut;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Copy;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Paste;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Undo;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Redo;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Back;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Forward;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Refresh;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::ZoomIn;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::ZoomOut;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Print;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::AddTab;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::NextChild;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::PreviousChild;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Find;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::FindNext;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::FindPrevious;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Replace;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectAll;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Bold;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Italic;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Underline;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToNextChar;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToPreviousChar;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToNextWord;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToPreviousWord;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToNextLine;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToPreviousLine;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToNextPage;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToPreviousPage;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToStartOfLine;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToEndOfLine;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToStartOfBlock;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToEndOfBlock;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToStartOfDocument;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::MoveToEndOfDocument;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectNextChar;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectPreviousChar;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectNextWord;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectPreviousWord;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectNextLine;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectPreviousLine;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectNextPage;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectPreviousPage;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectStartOfLine;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectEndOfLine;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectStartOfBlock;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectEndOfBlock;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectStartOfDocument;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SelectEndOfDocument;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::DeleteStartOfWord;
    }
    static void x_92(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::DeleteEndOfWord;
    }
    static void x_93(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::DeleteEndOfLine;
    }
    static void x_94(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::InsertParagraphSeparator;
    }
    static void x_95(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::InsertLineSeparator;
    }
    static void x_96(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::SaveAs;
    }
    static void x_97(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Preferences;
    }
    static void x_98(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::Quit;
    }
    static void x_99(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::NativeText;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::PortableText;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::NoMatch;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::PartialMatch;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)QKeySequence::ExactMatch;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 450: //QKeySequence::StandardKey
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QKeySequence::StandardKey;
                    break;
                case Smoke::EnumDelete:
                    delete (QKeySequence::StandardKey*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QKeySequence::StandardKey*)xdata = (QKeySequence::StandardKey)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QKeySequence::StandardKey*)xdata;
                    break;
            }
            break;
        case 448: //QKeySequence::SequenceFormat
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QKeySequence::SequenceFormat;
                    break;
                case Smoke::EnumDelete:
                    delete (QKeySequence::SequenceFormat*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QKeySequence::SequenceFormat*)xdata = (QKeySequence::SequenceFormat)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QKeySequence::SequenceFormat*)xdata;
                    break;
            }
            break;
        case 449: //QKeySequence::SequenceMatch
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QKeySequence::SequenceMatch;
                    break;
                case Smoke::EnumDelete:
                    delete (QKeySequence::SequenceMatch*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QKeySequence::SequenceMatch*)xdata = (QKeySequence::SequenceMatch)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QKeySequence::SequenceMatch*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QKeySequence() { this->_binding->deleted(211, (void*)this); }
};
void xenum_QKeySequence(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QKeySequence::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QKeySequence(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QKeySequence *xself = (x_QKeySequence*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QKeySequence::x_1(args);	break;
        case 2: x_QKeySequence::x_2(args);	break;
        case 3: x_QKeySequence::x_3(args);	break;
        case 4: x_QKeySequence::x_4(args);	break;
        case 5: x_QKeySequence::x_5(args);	break;
        case 6: x_QKeySequence::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: x_QKeySequence::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: x_QKeySequence::x_12(args);	break;
        case 13: x_QKeySequence::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_QKeySequence::x_28(args);	break;
        case 29: x_QKeySequence::x_29(args);	break;
        case 30: x_QKeySequence::x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: x_QKeySequence::x_32(args);	break;
        case 33: x_QKeySequence::x_33(args);	break;
        case 34: x_QKeySequence::x_34(args);	break;
        case 35: x_QKeySequence::x_35(args);	break;
        case 36: x_QKeySequence::x_36(args);	break;
        case 37: x_QKeySequence::x_37(args);	break;
        case 38: x_QKeySequence::x_38(args);	break;
        case 39: x_QKeySequence::x_39(args);	break;
        case 40: x_QKeySequence::x_40(args);	break;
        case 41: x_QKeySequence::x_41(args);	break;
        case 42: x_QKeySequence::x_42(args);	break;
        case 43: x_QKeySequence::x_43(args);	break;
        case 44: x_QKeySequence::x_44(args);	break;
        case 45: x_QKeySequence::x_45(args);	break;
        case 46: x_QKeySequence::x_46(args);	break;
        case 47: x_QKeySequence::x_47(args);	break;
        case 48: x_QKeySequence::x_48(args);	break;
        case 49: x_QKeySequence::x_49(args);	break;
        case 50: x_QKeySequence::x_50(args);	break;
        case 51: x_QKeySequence::x_51(args);	break;
        case 52: x_QKeySequence::x_52(args);	break;
        case 53: x_QKeySequence::x_53(args);	break;
        case 54: x_QKeySequence::x_54(args);	break;
        case 55: x_QKeySequence::x_55(args);	break;
        case 56: x_QKeySequence::x_56(args);	break;
        case 57: x_QKeySequence::x_57(args);	break;
        case 58: x_QKeySequence::x_58(args);	break;
        case 59: x_QKeySequence::x_59(args);	break;
        case 60: x_QKeySequence::x_60(args);	break;
        case 61: x_QKeySequence::x_61(args);	break;
        case 62: x_QKeySequence::x_62(args);	break;
        case 63: x_QKeySequence::x_63(args);	break;
        case 64: x_QKeySequence::x_64(args);	break;
        case 65: x_QKeySequence::x_65(args);	break;
        case 66: x_QKeySequence::x_66(args);	break;
        case 67: x_QKeySequence::x_67(args);	break;
        case 68: x_QKeySequence::x_68(args);	break;
        case 69: x_QKeySequence::x_69(args);	break;
        case 70: x_QKeySequence::x_70(args);	break;
        case 71: x_QKeySequence::x_71(args);	break;
        case 72: x_QKeySequence::x_72(args);	break;
        case 73: x_QKeySequence::x_73(args);	break;
        case 74: x_QKeySequence::x_74(args);	break;
        case 75: x_QKeySequence::x_75(args);	break;
        case 76: x_QKeySequence::x_76(args);	break;
        case 77: x_QKeySequence::x_77(args);	break;
        case 78: x_QKeySequence::x_78(args);	break;
        case 79: x_QKeySequence::x_79(args);	break;
        case 80: x_QKeySequence::x_80(args);	break;
        case 81: x_QKeySequence::x_81(args);	break;
        case 82: x_QKeySequence::x_82(args);	break;
        case 83: x_QKeySequence::x_83(args);	break;
        case 84: x_QKeySequence::x_84(args);	break;
        case 85: x_QKeySequence::x_85(args);	break;
        case 86: x_QKeySequence::x_86(args);	break;
        case 87: x_QKeySequence::x_87(args);	break;
        case 88: x_QKeySequence::x_88(args);	break;
        case 89: x_QKeySequence::x_89(args);	break;
        case 90: x_QKeySequence::x_90(args);	break;
        case 91: x_QKeySequence::x_91(args);	break;
        case 92: x_QKeySequence::x_92(args);	break;
        case 93: x_QKeySequence::x_93(args);	break;
        case 94: x_QKeySequence::x_94(args);	break;
        case 95: x_QKeySequence::x_95(args);	break;
        case 96: x_QKeySequence::x_96(args);	break;
        case 97: x_QKeySequence::x_97(args);	break;
        case 98: x_QKeySequence::x_98(args);	break;
        case 99: x_QKeySequence::x_99(args);	break;
        case 100: x_QKeySequence::x_100(args);	break;
        case 101: x_QKeySequence::x_101(args);	break;
        case 102: x_QKeySequence::x_102(args);	break;
        case 103: x_QKeySequence::x_103(args);	break;
        case 104: delete (QKeySequence*)xself;	break;
    }
}
class x_QLCDNumber : public QLCDNumber, 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<QLCDNumber*>(this))) {
            const QMetaObject* xret = ((const x_QLCDNumber*)this)->QLCDNumber::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QLCDNumber*)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<QLCDNumber*>(this))) {
            void* xret = this->QLCDNumber::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 = QLCDNumber::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 = QLCDNumber::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 = QLCDNumber::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 = QLCDNumber::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<QLCDNumber*>(this))) {
            int xret = this->QLCDNumber::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) {
        // QLCDNumber* QLCDNumber(QWidget*)
        x_QLCDNumber* xret = new x_QLCDNumber((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLCDNumber(QWidget* x1) : QLCDNumber(x1) {}
    static void x_9(Smoke::Stack x) {
        // QLCDNumber* QLCDNumber(unsigned int, QWidget*)
        x_QLCDNumber* xret = new x_QLCDNumber((unsigned int)x[1].s_uint,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLCDNumber(unsigned int x1, QWidget* x2) : QLCDNumber(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // bool smallDecimalPoint() const
        bool xret = ((const x_QLCDNumber*)this)->QLCDNumber::smallDecimalPoint();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // int numDigits() const
        int xret = ((const x_QLCDNumber*)this)->QLCDNumber::numDigits();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setNumDigits(int)
        this->QLCDNumber::setNumDigits((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // int digitCount() const
        int xret = ((const x_QLCDNumber*)this)->QLCDNumber::digitCount();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setDigitCount(int)
        this->QLCDNumber::setDigitCount((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool checkOverflow(double) const
        bool xret = ((const x_QLCDNumber*)this)->QLCDNumber::checkOverflow((double)x[1].s_double);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool checkOverflow(int) const
        bool xret = ((const x_QLCDNumber*)this)->QLCDNumber::checkOverflow((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // QLCDNumber::Mode mode() const
        QLCDNumber::Mode xret = ((const x_QLCDNumber*)this)->QLCDNumber::mode();
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setMode(QLCDNumber::Mode)
        this->QLCDNumber::setMode((QLCDNumber::Mode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QLCDNumber::SegmentStyle segmentStyle() const
        QLCDNumber::SegmentStyle xret = ((const x_QLCDNumber*)this)->QLCDNumber::segmentStyle();
        x[0].s_enum = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setSegmentStyle(QLCDNumber::SegmentStyle)
        this->QLCDNumber::setSegmentStyle((QLCDNumber::SegmentStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // double value() const
        double xret = ((const x_QLCDNumber*)this)->QLCDNumber::value();
        x[0].s_double = xret;
    }
    void x_22(Smoke::Stack x) {
        // int intValue() const
        int xret = ((const x_QLCDNumber*)this)->QLCDNumber::intValue();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLCDNumber*>(this))) {
            QSize xret = ((const x_QLCDNumber*)this)->QLCDNumber::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QLCDNumber*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_24(Smoke::Stack x) {
        // void display(const QString&)
        this->QLCDNumber::display(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void display(int)
        this->QLCDNumber::display((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void display(double)
        this->QLCDNumber::display((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setHexMode()
        this->QLCDNumber::setHexMode();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setDecMode()
        this->QLCDNumber::setDecMode();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setOctMode()
        this->QLCDNumber::setOctMode();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setBinMode()
        this->QLCDNumber::setBinMode();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setSmallDecimalPoint(bool)
        this->QLCDNumber::setSmallDecimalPoint((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void overflow()
        this->QLCDNumber::overflow();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLCDNumber*>(this))) {
            bool xret = this->QLCDNumber::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_34(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLCDNumber*>(this))) {
            this->QLCDNumber::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)
        }
    }
    static void x_35(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QLCDNumber::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QLCDNumber::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // QLCDNumber* QLCDNumber()
        x_QLCDNumber* xret = new x_QLCDNumber((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_38(Smoke::Stack x) {
        // QLCDNumber* QLCDNumber(unsigned int)
        x_QLCDNumber* xret = new x_QLCDNumber((unsigned int)x[1].s_uint,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QLCDNumber::staticMetaObject;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QLCDNumber::Hex;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QLCDNumber::Dec;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QLCDNumber::Oct;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QLCDNumber::Bin;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)QLCDNumber::Outline;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QLCDNumber::Filled;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QLCDNumber::Flat;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7119, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QLCDNumber::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7120, (void*)this, x)) return (void*)x[0].s_class;
        return this->QLCDNumber::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(7125, (void*)this, x)) return (int)x[0].s_int;
        return this->QLCDNumber::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7141, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLCDNumber::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15564, (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(15568, (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(15617, (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(15618, (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(15619, (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(15620, (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(15621, (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(15622, (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(15623, (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(15624, (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(15625, (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(15626, (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(15627, (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(7152, (void*)this, x)) return;
        this->QLCDNumber::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (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(15630, (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(15631, (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(15632, (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(15633, (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(15634, (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(15635, (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(15636, (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(15637, (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(15638, (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(15639, (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(15640, (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(15641, (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(3700, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (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(15645, (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(15652, (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(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(7151, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QLCDNumber::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(8375, (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(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 453: //QLCDNumber::Mode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QLCDNumber::Mode;
                    break;
                case Smoke::EnumDelete:
                    delete (QLCDNumber::Mode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QLCDNumber::Mode*)xdata = (QLCDNumber::Mode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QLCDNumber::Mode*)xdata;
                    break;
            }
            break;
        case 454: //QLCDNumber::SegmentStyle
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QLCDNumber::SegmentStyle;
                    break;
                case Smoke::EnumDelete:
                    delete (QLCDNumber::SegmentStyle*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QLCDNumber::SegmentStyle*)xdata = (QLCDNumber::SegmentStyle)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QLCDNumber::SegmentStyle*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QLCDNumber() { this->_binding->deleted(213, (void*)this); }
};
void xenum_QLCDNumber(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QLCDNumber::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QLCDNumber(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QLCDNumber *xself = (x_QLCDNumber*)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_QLCDNumber::x_3(args);	break;
        case 4: x_QLCDNumber::x_4(args);	break;
        case 5: x_QLCDNumber::x_5(args);	break;
        case 6: x_QLCDNumber::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QLCDNumber::x_8(args);	break;
        case 9: x_QLCDNumber::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: x_QLCDNumber::x_35(args);	break;
        case 36: x_QLCDNumber::x_36(args);	break;
        case 37: x_QLCDNumber::x_37(args);	break;
        case 38: x_QLCDNumber::x_38(args);	break;
        case 39: x_QLCDNumber::x_39(args);	break;
        case 40: x_QLCDNumber::x_40(args);	break;
        case 41: x_QLCDNumber::x_41(args);	break;
        case 42: x_QLCDNumber::x_42(args);	break;
        case 43: x_QLCDNumber::x_43(args);	break;
        case 44: x_QLCDNumber::x_44(args);	break;
        case 45: x_QLCDNumber::x_45(args);	break;
        case 46: x_QLCDNumber::x_46(args);	break;
        case 47: delete (QLCDNumber*)xself;	break;
    }
}
class x_QLabel : public QLabel, 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<QLabel*>(this))) {
            const QMetaObject* xret = ((const x_QLabel*)this)->QLabel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QLabel*)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<QLabel*>(this))) {
            void* xret = this->QLabel::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 = QLabel::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 = QLabel::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 = QLabel::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 = QLabel::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<QLabel*>(this))) {
            int xret = this->QLabel::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) {
        // QLabel* QLabel(QWidget*, QFlags<Qt::WindowType>)
        x_QLabel* xret = new x_QLabel((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLabel(QWidget* x1, QFlags<Qt::WindowType> x2) : QLabel(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // QLabel* QLabel(const QString&, QWidget*, QFlags<Qt::WindowType>)
        x_QLabel* xret = new x_QLabel(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLabel(const QString& x1, QWidget* x2, QFlags<Qt::WindowType> x3) : QLabel(x1, x2, x3) {}
    void x_10(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QLabel*)this)->QLabel::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // const QPixmap* pixmap() const
        const QPixmap* xret = ((const x_QLabel*)this)->QLabel::pixmap();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // const QPicture* picture() const
        const QPicture* xret = ((const x_QLabel*)this)->QLabel::picture();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QMovie* movie() const
        QMovie* xret = ((const x_QLabel*)this)->QLabel::movie();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // Qt::TextFormat textFormat() const
        Qt::TextFormat xret = ((const x_QLabel*)this)->QLabel::textFormat();
        x[0].s_enum = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setTextFormat(Qt::TextFormat)
        this->QLabel::setTextFormat((Qt::TextFormat)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_QLabel*)this)->QLabel::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_17(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->QLabel::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setWordWrap(bool)
        this->QLabel::setWordWrap((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // bool wordWrap() const
        bool xret = ((const x_QLabel*)this)->QLabel::wordWrap();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // int indent() const
        int xret = ((const x_QLabel*)this)->QLabel::indent();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setIndent(int)
        this->QLabel::setIndent((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // int margin() const
        int xret = ((const x_QLabel*)this)->QLabel::margin();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setMargin(int)
        this->QLabel::setMargin((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // bool hasScaledContents() const
        bool xret = ((const x_QLabel*)this)->QLabel::hasScaledContents();
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setScaledContents(bool)
        this->QLabel::setScaledContents((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            QSize xret = ((const x_QLabel*)this)->QLabel::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QLabel*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_27(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            QSize xret = ((const x_QLabel*)this)->QLabel::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QLabel*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_28(Smoke::Stack x) {
        // void setBuddy(QWidget*)
        this->QLabel::setBuddy((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // QWidget* buddy() const
        QWidget* xret = ((const x_QLabel*)this)->QLabel::buddy();
        x[0].s_class = (void*)xret;
    }
    void x_30(Smoke::Stack x) {
        // int heightForWidth(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            int xret = ((const x_QLabel*)this)->QLabel::heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QLabel*)this)->heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_31(Smoke::Stack x) {
        // bool openExternalLinks() const
        bool xret = ((const x_QLabel*)this)->QLabel::openExternalLinks();
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setOpenExternalLinks(bool)
        this->QLabel::setOpenExternalLinks((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setTextInteractionFlags(QFlags<Qt::TextInteractionFlag>)
        this->QLabel::setTextInteractionFlags((QFlags<Qt::TextInteractionFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // QFlags<Qt::TextInteractionFlag> textInteractionFlags() const
        QFlags<Qt::TextInteractionFlag> xret = ((const x_QLabel*)this)->QLabel::textInteractionFlags();
        x[0].s_uint = (uint)xret;
    }
    void x_35(Smoke::Stack x) {
        // void setSelection(int, int)
        this->QLabel::setSelection((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool hasSelectedText() const
        bool xret = ((const x_QLabel*)this)->QLabel::hasSelectedText();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // QString selectedText() const
        QString xret = ((const x_QLabel*)this)->QLabel::selectedText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_38(Smoke::Stack x) {
        // int selectionStart() const
        int xret = ((const x_QLabel*)this)->QLabel::selectionStart();
        x[0].s_int = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setText(const QString&)
        this->QLabel::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void setPixmap(const QPixmap&)
        this->QLabel::setPixmap(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void setPicture(const QPicture&)
        this->QLabel::setPicture(*(const QPicture*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void setMovie(QMovie*)
        this->QLabel::setMovie((QMovie*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void setNum(int)
        this->QLabel::setNum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void setNum(double)
        this->QLabel::setNum((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void clear()
        this->QLabel::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void linkActivated(const QString&)
        this->QLabel::linkActivated(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void linkHovered(const QString&)
        this->QLabel::linkHovered(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            bool xret = this->QLabel::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_49(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::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_51(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_52(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::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_53(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::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_54(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_56(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_57(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            this->QLabel::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_58(Smoke::Stack x) {
        // bool focusNextPrevChild(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLabel*>(this))) {
            bool xret = this->QLabel::focusNextPrevChild((bool)x[1].s_bool);
            x[0].s_bool = xret;
        } else {
            bool xret = this->focusNextPrevChild((bool)x[1].s_bool);
            x[0].s_bool = xret;
        }
    }
    static void x_59(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QLabel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_60(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QLabel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_61(Smoke::Stack x) {
        // QLabel* QLabel()
        x_QLabel* xret = new x_QLabel((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_62(Smoke::Stack x) {
        // QLabel* QLabel(QWidget*)
        x_QLabel* xret = new x_QLabel((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_63(Smoke::Stack x) {
        // QLabel* QLabel(const QString&)
        x_QLabel* xret = new x_QLabel(*(const QString*)x[1].s_class,(QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_64(Smoke::Stack x) {
        // QLabel* QLabel(const QString&, QWidget*)
        x_QLabel* xret = new x_QLabel(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_65(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QLabel::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7166, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QLabel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7167, (void*)this, x)) return (void*)x[0].s_class;
        return this->QLabel::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(7172, (void*)this, x)) return (int)x[0].s_int;
        return this->QLabel::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7191, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLabel::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7192, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLabel::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7195, (void*)this, x)) return (int)x[0].s_int;
        return this->QLabel::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7217, (void*)this, x)) return;
        this->QLabel::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7219, (void*)this, x)) return;
        this->QLabel::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (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(7218, (void*)this, x)) return;
        this->QLabel::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (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(7214, (void*)this, x)) return;
        this->QLabel::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(7221, (void*)this, x)) return;
        this->QLabel::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7222, (void*)this, x)) return;
        this->QLabel::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (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(15627, (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(7215, (void*)this, x)) return;
        this->QLabel::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (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(15630, (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(15631, (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(7220, (void*)this, x)) return;
        this->QLabel::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (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(15634, (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(15635, (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(15636, (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(15637, (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(15638, (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(15639, (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(15640, (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(15641, (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(7216, (void*)this, x)) return;
        this->QLabel::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (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(15645, (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(7223, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QLabel::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(7213, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QLabel::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(8375, (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(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QLabel() { this->_binding->deleted(214, (void*)this); }
};
void xcall_QLabel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QLabel *xself = (x_QLabel*)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_QLabel::x_3(args);	break;
        case 4: x_QLabel::x_4(args);	break;
        case 5: x_QLabel::x_5(args);	break;
        case 6: x_QLabel::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QLabel::x_8(args);	break;
        case 9: x_QLabel::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: x_QLabel::x_59(args);	break;
        case 60: x_QLabel::x_60(args);	break;
        case 61: x_QLabel::x_61(args);	break;
        case 62: x_QLabel::x_62(args);	break;
        case 63: x_QLabel::x_63(args);	break;
        case 64: x_QLabel::x_64(args);	break;
        case 65: x_QLabel::x_65(args);	break;
        case 66: delete (QLabel*)xself;	break;
    }
}
class x_QLayout : public QLayout, 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<QLayout*>(this))) {
            const QMetaObject* xret = ((const x_QLayout*)this)->QLayout::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QLayout*)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<QLayout*>(this))) {
            void* xret = this->QLayout::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 = QLayout::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 = QLayout::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 = QLayout::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 = QLayout::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<QLayout*>(this))) {
            int xret = this->QLayout::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) {
        // QLayout* QLayout(QWidget*)
        x_QLayout* xret = new x_QLayout((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLayout(QWidget* x1) : QLayout(x1) {}
    static void x_9(Smoke::Stack x) {
        // QLayout* QLayout()
        x_QLayout* xret = new x_QLayout();
        x[0].s_class = (void*)xret;
    }
    explicit x_QLayout() : QLayout() {}
    void x_10(Smoke::Stack x) {
        // int margin() const
        int xret = ((const x_QLayout*)this)->QLayout::margin();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // int spacing() const
        int xret = ((const x_QLayout*)this)->QLayout::spacing();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setMargin(int)
        this->QLayout::setMargin((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setSpacing(int)
        this->QLayout::setSpacing((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setContentsMargins(int, int, int, int)
        this->QLayout::setContentsMargins((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setContentsMargins(const QMargins&)
        this->QLayout::setContentsMargins(*(const QMargins*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void getContentsMargins(int*, int*, int*, int*) const
        ((const x_QLayout*)this)->QLayout::getContentsMargins((int*)x[1].s_class,(int*)x[2].s_class,(int*)x[3].s_class,(int*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QMargins contentsMargins() const
        QMargins xret = ((const x_QLayout*)this)->QLayout::contentsMargins();
        x[0].s_class = (void*)new QMargins(xret);
    }
    void x_18(Smoke::Stack x) {
        // QRect contentsRect() const
        QRect xret = ((const x_QLayout*)this)->QLayout::contentsRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_19(Smoke::Stack x) {
        // bool setAlignment(QWidget*, QFlags<Qt::AlignmentFlag>)
        bool xret = this->QLayout::setAlignment((QWidget*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // bool setAlignment(QLayout*, QFlags<Qt::AlignmentFlag>)
        bool xret = this->QLayout::setAlignment((QLayout*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->QLayout::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setSizeConstraint(QLayout::SizeConstraint)
        this->QLayout::setSizeConstraint((QLayout::SizeConstraint)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QLayout::SizeConstraint sizeConstraint() const
        QLayout::SizeConstraint xret = ((const x_QLayout*)this)->QLayout::sizeConstraint();
        x[0].s_enum = xret;
    }
    void x_24(Smoke::Stack x) {
        // void setMenuBar(QWidget*)
        this->QLayout::setMenuBar((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QWidget* menuBar() const
        QWidget* xret = ((const x_QLayout*)this)->QLayout::menuBar();
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // QWidget* parentWidget() const
        QWidget* xret = ((const x_QLayout*)this)->QLayout::parentWidget();
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // void invalidate()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            this->QLayout::invalidate();
            (void)x; // noop (for compiler warning)
        } else {
            this->invalidate();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // QRect geometry() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            QRect xret = ((const x_QLayout*)this)->QLayout::geometry();
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QLayout*)this)->geometry();
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_29(Smoke::Stack x) {
        // bool activate()
        bool xret = this->QLayout::activate();
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // void update()
        this->QLayout::update();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void addWidget(QWidget*)
        this->QLayout::addWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // virtual void addItem(QLayoutItem*) = 0
        this->addItem((QLayoutItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void removeWidget(QWidget*)
        this->QLayout::removeWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void removeItem(QLayoutItem*)
        this->QLayout::removeItem((QLayoutItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // QFlags<Qt::Orientation> expandingDirections() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            QFlags<Qt::Orientation> xret = ((const x_QLayout*)this)->QLayout::expandingDirections();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::Orientation> xret = ((const x_QLayout*)this)->expandingDirections();
            x[0].s_uint = (uint)xret;
        }
    }
    void x_36(Smoke::Stack x) {
        // QSize minimumSize() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            QSize xret = ((const x_QLayout*)this)->QLayout::minimumSize();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QLayout*)this)->minimumSize();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_37(Smoke::Stack x) {
        // QSize maximumSize() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            QSize xret = ((const x_QLayout*)this)->QLayout::maximumSize();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QLayout*)this)->maximumSize();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_38(Smoke::Stack x) {
        // virtual void setGeometry(const QRect&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            this->QLayout::setGeometry(*(const QRect*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setGeometry(*(const QRect*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_39(Smoke::Stack x) {
        // virtual QLayoutItem* itemAt(int) const = 0
        QLayoutItem* xret = ((const x_QLayout*)this)->itemAt((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_40(Smoke::Stack x) {
        // virtual QLayoutItem* takeAt(int) = 0
        QLayoutItem* xret = this->takeAt((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_41(Smoke::Stack x) {
        // virtual int indexOf(QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            int xret = ((const x_QLayout*)this)->QLayout::indexOf((QWidget*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QLayout*)this)->indexOf((QWidget*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_42(Smoke::Stack x) {
        // virtual int count() const = 0
        int xret = ((const x_QLayout*)this)->count();
        x[0].s_int = xret;
    }
    void x_43(Smoke::Stack x) {
        // bool isEmpty() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            bool xret = ((const x_QLayout*)this)->QLayout::isEmpty();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QLayout*)this)->isEmpty();
            x[0].s_bool = xret;
        }
    }
    void x_44(Smoke::Stack x) {
        // int totalHeightForWidth(int) const
        int xret = ((const x_QLayout*)this)->QLayout::totalHeightForWidth((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_45(Smoke::Stack x) {
        // QSize totalMinimumSize() const
        QSize xret = ((const x_QLayout*)this)->QLayout::totalMinimumSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_46(Smoke::Stack x) {
        // QSize totalMaximumSize() const
        QSize xret = ((const x_QLayout*)this)->QLayout::totalMaximumSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_47(Smoke::Stack x) {
        // QSize totalSizeHint() const
        QSize xret = ((const x_QLayout*)this)->QLayout::totalSizeHint();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_48(Smoke::Stack x) {
        // QLayout* layout()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            QLayout* xret = this->QLayout::layout();
            x[0].s_class = (void*)xret;
        } else {
            QLayout* xret = this->layout();
            x[0].s_class = (void*)xret;
        }
    }
    void x_49(Smoke::Stack x) {
        // void setEnabled(bool)
        this->QLayout::setEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // bool isEnabled() const
        bool xret = ((const x_QLayout*)this)->QLayout::isEnabled();
        x[0].s_bool = xret;
    }
    static void x_51(Smoke::Stack x) {
        // static QSize closestAcceptableSize(const QWidget*, const QSize&)
        QSize xret = QLayout::closestAcceptableSize((const QWidget*)x[1].s_class,*(const QSize*)x[2].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_52(Smoke::Stack x) {
        // void widgetEvent(QEvent*)
        this->QLayout::widgetEvent((QEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // void childEvent(QChildEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayout*>(this))) {
            this->QLayout::childEvent((QChildEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->childEvent((QChildEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // void addChildLayout(QLayout*)
        this->QLayout::addChildLayout((QLayout*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // void addChildWidget(QWidget*)
        this->QLayout::addChildWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // bool adoptLayout(QLayout*)
        bool xret = this->QLayout::adoptLayout((QLayout*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_57(Smoke::Stack x) {
        // QRect alignmentRect(const QRect&) const
        QRect xret = ((const x_QLayout*)this)->QLayout::alignmentRect(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    static void x_58(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QLayout::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_59(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QLayout::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_60(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QLayout::staticMetaObject;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QLayout::SetDefaultConstraint;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QLayout::SetNoConstraint;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QLayout::SetMinimumSize;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QLayout::SetFixedSize;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QLayout::SetMaximumSize;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QLayout::SetMinAndMaxSize;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7232, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QLayout::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7233, (void*)this, x)) return (void*)x[0].s_class;
        return this->QLayout::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(7238, (void*)this, x)) return (int)x[0].s_int;
        return this->QLayout::qt_metacall(x1, x2, x3);
    }
    virtual void addItem(QLayoutItem* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(7263, (void*)this, x, true /*pure virtual*/);
    }
    virtual void setGeometry(const QRect& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7269, (void*)this, x)) return;
        this->QLayout::setGeometry(x1);
    }
    virtual QLayoutItem* itemAt(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(7270, (void*)this, x, true /*pure virtual*/);
        return (QLayoutItem*)x[0].s_class;
    }
    virtual QLayoutItem* takeAt(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(7271, (void*)this, x, true /*pure virtual*/);
        return (QLayoutItem*)x[0].s_class;
    }
    virtual int indexOf(QWidget* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7272, (void*)this, x)) return (int)x[0].s_int;
        return this->QLayout::indexOf(x1);
    }
    virtual int count() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(7273, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8374, (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(8375, (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(8376, (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(7284, (void*)this, x)) return;
        this->QLayout::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(7300, (void*)this, x, true /*pure virtual*/);
        QSize* xptr = (QSize*)x[0].s_class;
        QSize xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QSize minimumSize() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7267, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLayout::minimumSize();
    }
    virtual QSize maximumSize() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7268, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLayout::maximumSize();
    }
    virtual QFlags<Qt::Orientation> expandingDirections() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7266, (void*)this, x)) return (QFlags<Qt::Orientation>)x[0].s_uint;
        return this->QLayout::expandingDirections();
    }
    virtual QRect geometry() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7259, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLayout::geometry();
    }
    virtual bool isEmpty() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7274, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QLayout::isEmpty();
    }
    virtual bool hasHeightForWidth() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7307, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QLayoutItem::hasHeightForWidth();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7308, (void*)this, x)) return (int)x[0].s_int;
        return this->QLayoutItem::heightForWidth(x1);
    }
    virtual int minimumHeightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7309, (void*)this, x)) return (int)x[0].s_int;
        return this->QLayoutItem::minimumHeightForWidth(x1);
    }
    virtual void invalidate() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7258, (void*)this, x)) return;
        this->QLayout::invalidate();
    }
    virtual QWidget* widget() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7311, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->QLayoutItem::widget();
    }
    virtual QLayout* layout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7279, (void*)this, x)) return (QLayout*)x[0].s_class;
        return this->QLayout::layout();
    }
    virtual QSpacerItem* spacerItem() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7313, (void*)this, x)) return (QSpacerItem*)x[0].s_class;
        return this->QLayoutItem::spacerItem();
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 457: //QLayout::SizeConstraint
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QLayout::SizeConstraint;
                    break;
                case Smoke::EnumDelete:
                    delete (QLayout::SizeConstraint*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QLayout::SizeConstraint*)xdata = (QLayout::SizeConstraint)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QLayout::SizeConstraint*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QLayout() { this->_binding->deleted(215, (void*)this); }
};
void xenum_QLayout(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QLayout::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QLayout(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QLayout *xself = (x_QLayout*)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_QLayout::x_3(args);	break;
        case 4: x_QLayout::x_4(args);	break;
        case 5: x_QLayout::x_5(args);	break;
        case 6: x_QLayout::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QLayout::x_8(args);	break;
        case 9: x_QLayout::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: x_QLayout::x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: x_QLayout::x_58(args);	break;
        case 59: x_QLayout::x_59(args);	break;
        case 60: x_QLayout::x_60(args);	break;
        case 61: x_QLayout::x_61(args);	break;
        case 62: x_QLayout::x_62(args);	break;
        case 63: x_QLayout::x_63(args);	break;
        case 64: x_QLayout::x_64(args);	break;
        case 65: x_QLayout::x_65(args);	break;
        case 66: x_QLayout::x_66(args);	break;
        case 67: delete (QLayout*)xself;	break;
    }
}
class x_QLayoutItem : public QLayoutItem, 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) {
        // QLayoutItem* QLayoutItem(QFlags<Qt::AlignmentFlag>)
        x_QLayoutItem* xret = new x_QLayoutItem((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLayoutItem(QFlags<Qt::AlignmentFlag> x1) : QLayoutItem(x1) {}
    void x_2(Smoke::Stack x) {
        // virtual QSize sizeHint() const = 0
        QSize xret = ((const x_QLayoutItem*)this)->sizeHint();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_3(Smoke::Stack x) {
        // virtual QSize minimumSize() const = 0
        QSize xret = ((const x_QLayoutItem*)this)->minimumSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_4(Smoke::Stack x) {
        // virtual QSize maximumSize() const = 0
        QSize xret = ((const x_QLayoutItem*)this)->maximumSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_5(Smoke::Stack x) {
        // virtual QFlags<Qt::Orientation> expandingDirections() const = 0
        QFlags<Qt::Orientation> xret = ((const x_QLayoutItem*)this)->expandingDirections();
        x[0].s_uint = (uint)xret;
    }
    void x_6(Smoke::Stack x) {
        // virtual void setGeometry(const QRect&) = 0
        this->setGeometry(*(const QRect*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // virtual QRect geometry() const = 0
        QRect xret = ((const x_QLayoutItem*)this)->geometry();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_8(Smoke::Stack x) {
        // virtual bool isEmpty() const = 0
        bool xret = ((const x_QLayoutItem*)this)->isEmpty();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // virtual bool hasHeightForWidth() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayoutItem*>(this))) {
            bool xret = ((const x_QLayoutItem*)this)->QLayoutItem::hasHeightForWidth();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QLayoutItem*)this)->hasHeightForWidth();
            x[0].s_bool = xret;
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual int heightForWidth(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayoutItem*>(this))) {
            int xret = ((const x_QLayoutItem*)this)->QLayoutItem::heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QLayoutItem*)this)->heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // virtual int minimumHeightForWidth(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayoutItem*>(this))) {
            int xret = ((const x_QLayoutItem*)this)->QLayoutItem::minimumHeightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QLayoutItem*)this)->minimumHeightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual void invalidate()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayoutItem*>(this))) {
            this->QLayoutItem::invalidate();
            (void)x; // noop (for compiler warning)
        } else {
            this->invalidate();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual QWidget* widget()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayoutItem*>(this))) {
            QWidget* xret = this->QLayoutItem::widget();
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = this->widget();
            x[0].s_class = (void*)xret;
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual QLayout* layout()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayoutItem*>(this))) {
            QLayout* xret = this->QLayoutItem::layout();
            x[0].s_class = (void*)xret;
        } else {
            QLayout* xret = this->layout();
            x[0].s_class = (void*)xret;
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual QSpacerItem* spacerItem()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLayoutItem*>(this))) {
            QSpacerItem* xret = this->QLayoutItem::spacerItem();
            x[0].s_class = (void*)xret;
        } else {
            QSpacerItem* xret = this->spacerItem();
            x[0].s_class = (void*)xret;
        }
    }
    void x_16(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_QLayoutItem*)this)->QLayoutItem::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_17(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->QLayoutItem::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QFlags<QSizePolicy::ControlType> controlTypes() const
        QFlags<QSizePolicy::ControlType> xret = ((const x_QLayoutItem*)this)->QLayoutItem::controlTypes();
        x[0].s_uint = (uint)xret;
    }
    static void x_19(Smoke::Stack x) {
        // QLayoutItem* QLayoutItem(const QLayoutItem&)
        x_QLayoutItem* xret = new x_QLayoutItem(*(const QLayoutItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLayoutItem(const QLayoutItem& x1) : QLayoutItem(x1) {}
    static void x_20(Smoke::Stack x) {
        // QLayoutItem* QLayoutItem()
        x_QLayoutItem* xret = new x_QLayoutItem((QFlags<Qt::AlignmentFlag>)0);
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> align
        x[0].s_uint = (uint)this->QLayoutItem::align;
    }
    void x_22(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> align=
        this->QLayoutItem::align = (QFlags<Qt::AlignmentFlag>)x[1].s_uint;
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(7300, (void*)this, x, true /*pure virtual*/);
        QSize* xptr = (QSize*)x[0].s_class;
        QSize xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QSize minimumSize() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(7301, (void*)this, x, true /*pure virtual*/);
        QSize* xptr = (QSize*)x[0].s_class;
        QSize xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QSize maximumSize() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(7302, (void*)this, x, true /*pure virtual*/);
        QSize* xptr = (QSize*)x[0].s_class;
        QSize xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QFlags<Qt::Orientation> expandingDirections() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(7303, (void*)this, x, true /*pure virtual*/);
        return (QFlags<Qt::Orientation>)x[0].s_uint;
    }
    virtual void setGeometry(const QRect& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(7304, (void*)this, x, true /*pure virtual*/);
    }
    virtual QRect geometry() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(7305, (void*)this, x, true /*pure virtual*/);
        QRect* xptr = (QRect*)x[0].s_class;
        QRect xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual bool isEmpty() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(7306, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool hasHeightForWidth() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7307, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QLayoutItem::hasHeightForWidth();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7308, (void*)this, x)) return (int)x[0].s_int;
        return this->QLayoutItem::heightForWidth(x1);
    }
    virtual int minimumHeightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7309, (void*)this, x)) return (int)x[0].s_int;
        return this->QLayoutItem::minimumHeightForWidth(x1);
    }
    virtual void invalidate() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7310, (void*)this, x)) return;
        this->QLayoutItem::invalidate();
    }
    virtual QWidget* widget() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7311, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->QLayoutItem::widget();
    }
    virtual QLayout* layout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7312, (void*)this, x)) return (QLayout*)x[0].s_class;
        return this->QLayoutItem::layout();
    }
    virtual QSpacerItem* spacerItem() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7313, (void*)this, x)) return (QSpacerItem*)x[0].s_class;
        return this->QLayoutItem::spacerItem();
    }
    ~x_QLayoutItem() { this->_binding->deleted(216, (void*)this); }
};
void xcall_QLayoutItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QLayoutItem *xself = (x_QLayoutItem*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QLayoutItem::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: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: x_QLayoutItem::x_19(args);	break;
        case 20: x_QLayoutItem::x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: delete (QLayoutItem*)xself;	break;
    }
}
class x_QLineEdit : public QLineEdit, 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<QLineEdit*>(this))) {
            const QMetaObject* xret = ((const x_QLineEdit*)this)->QLineEdit::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QLineEdit*)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<QLineEdit*>(this))) {
            void* xret = this->QLineEdit::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 = QLineEdit::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 = QLineEdit::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 = QLineEdit::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 = QLineEdit::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<QLineEdit*>(this))) {
            int xret = this->QLineEdit::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) {
        // QLineEdit* QLineEdit(QWidget*)
        x_QLineEdit* xret = new x_QLineEdit((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLineEdit(QWidget* x1) : QLineEdit(x1) {}
    static void x_9(Smoke::Stack x) {
        // QLineEdit* QLineEdit(const QString&, QWidget*)
        x_QLineEdit* xret = new x_QLineEdit(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLineEdit(const QString& x1, QWidget* x2) : QLineEdit(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QLineEdit*)this)->QLineEdit::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // QString displayText() const
        QString xret = ((const x_QLineEdit*)this)->QLineEdit::displayText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // QString placeholderText() const
        QString xret = ((const x_QLineEdit*)this)->QLineEdit::placeholderText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setPlaceholderText(const QString&)
        this->QLineEdit::setPlaceholderText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int maxLength() const
        int xret = ((const x_QLineEdit*)this)->QLineEdit::maxLength();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setMaxLength(int)
        this->QLineEdit::setMaxLength((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setFrame(bool)
        this->QLineEdit::setFrame((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool hasFrame() const
        bool xret = ((const x_QLineEdit*)this)->QLineEdit::hasFrame();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // QLineEdit::EchoMode echoMode() const
        QLineEdit::EchoMode xret = ((const x_QLineEdit*)this)->QLineEdit::echoMode();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setEchoMode(QLineEdit::EchoMode)
        this->QLineEdit::setEchoMode((QLineEdit::EchoMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool isReadOnly() const
        bool xret = ((const x_QLineEdit*)this)->QLineEdit::isReadOnly();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setReadOnly(bool)
        this->QLineEdit::setReadOnly((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setValidator(const QValidator*)
        this->QLineEdit::setValidator((const QValidator*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // const QValidator* validator() const
        const QValidator* xret = ((const x_QLineEdit*)this)->QLineEdit::validator();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void setCompleter(QCompleter*)
        this->QLineEdit::setCompleter((QCompleter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QCompleter* completer() const
        QCompleter* xret = ((const x_QLineEdit*)this)->QLineEdit::completer();
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            QSize xret = ((const x_QLineEdit*)this)->QLineEdit::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QLineEdit*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_27(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            QSize xret = ((const x_QLineEdit*)this)->QLineEdit::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QLineEdit*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_28(Smoke::Stack x) {
        // int cursorPosition() const
        int xret = ((const x_QLineEdit*)this)->QLineEdit::cursorPosition();
        x[0].s_int = xret;
    }
    void x_29(Smoke::Stack x) {
        // void setCursorPosition(int)
        this->QLineEdit::setCursorPosition((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // int cursorPositionAt(const QPoint&)
        int xret = this->QLineEdit::cursorPositionAt(*(const QPoint*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_31(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->QLineEdit::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_QLineEdit*)this)->QLineEdit::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_33(Smoke::Stack x) {
        // void cursorForward(bool, int)
        this->QLineEdit::cursorForward((bool)x[1].s_bool,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void cursorBackward(bool, int)
        this->QLineEdit::cursorBackward((bool)x[1].s_bool,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void cursorWordForward(bool)
        this->QLineEdit::cursorWordForward((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void cursorWordBackward(bool)
        this->QLineEdit::cursorWordBackward((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void backspace()
        this->QLineEdit::backspace();
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void del()
        this->QLineEdit::del();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void home(bool)
        this->QLineEdit::home((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void end(bool)
        this->QLineEdit::end((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // bool isModified() const
        bool xret = ((const x_QLineEdit*)this)->QLineEdit::isModified();
        x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
        // void setModified(bool)
        this->QLineEdit::setModified((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void setSelection(int, int)
        this->QLineEdit::setSelection((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // bool hasSelectedText() const
        bool xret = ((const x_QLineEdit*)this)->QLineEdit::hasSelectedText();
        x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
        // QString selectedText() const
        QString xret = ((const x_QLineEdit*)this)->QLineEdit::selectedText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_46(Smoke::Stack x) {
        // int selectionStart() const
        int xret = ((const x_QLineEdit*)this)->QLineEdit::selectionStart();
        x[0].s_int = xret;
    }
    void x_47(Smoke::Stack x) {
        // bool isUndoAvailable() const
        bool xret = ((const x_QLineEdit*)this)->QLineEdit::isUndoAvailable();
        x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) {
        // bool isRedoAvailable() const
        bool xret = ((const x_QLineEdit*)this)->QLineEdit::isRedoAvailable();
        x[0].s_bool = xret;
    }
    void x_49(Smoke::Stack x) {
        // void setDragEnabled(bool)
        this->QLineEdit::setDragEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // bool dragEnabled() const
        bool xret = ((const x_QLineEdit*)this)->QLineEdit::dragEnabled();
        x[0].s_bool = xret;
    }
    void x_51(Smoke::Stack x) {
        // void setCursorMoveStyle(Qt::CursorMoveStyle)
        this->QLineEdit::setCursorMoveStyle((Qt::CursorMoveStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // Qt::CursorMoveStyle cursorMoveStyle() const
        Qt::CursorMoveStyle xret = ((const x_QLineEdit*)this)->QLineEdit::cursorMoveStyle();
        x[0].s_enum = xret;
    }
    void x_53(Smoke::Stack x) {
        // QString inputMask() const
        QString xret = ((const x_QLineEdit*)this)->QLineEdit::inputMask();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_54(Smoke::Stack x) {
        // void setInputMask(const QString&)
        this->QLineEdit::setInputMask(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // bool hasAcceptableInput() const
        bool xret = ((const x_QLineEdit*)this)->QLineEdit::hasAcceptableInput();
        x[0].s_bool = xret;
    }
    void x_56(Smoke::Stack x) {
        // void setTextMargins(int, int, int, int)
        this->QLineEdit::setTextMargins((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_57(Smoke::Stack x) {
        // void setTextMargins(const QMargins&)
        this->QLineEdit::setTextMargins(*(const QMargins*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void getTextMargins(int*, int*, int*, int*) const
        ((const x_QLineEdit*)this)->QLineEdit::getTextMargins((int*)x[1].s_class,(int*)x[2].s_class,(int*)x[3].s_class,(int*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // QMargins textMargins() const
        QMargins xret = ((const x_QLineEdit*)this)->QLineEdit::textMargins();
        x[0].s_class = (void*)new QMargins(xret);
    }
    void x_60(Smoke::Stack x) {
        // void setText(const QString&)
        this->QLineEdit::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void clear()
        this->QLineEdit::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void selectAll()
        this->QLineEdit::selectAll();
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void undo()
        this->QLineEdit::undo();
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void redo()
        this->QLineEdit::redo();
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // void cut()
        this->QLineEdit::cut();
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // void copy() const
        ((const x_QLineEdit*)this)->QLineEdit::copy();
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void paste()
        this->QLineEdit::paste();
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void deselect()
        this->QLineEdit::deselect();
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // void insert(const QString&)
        this->QLineEdit::insert(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_70(Smoke::Stack x) {
        // QMenu* createStandardContextMenu()
        QMenu* xret = this->QLineEdit::createStandardContextMenu();
        x[0].s_class = (void*)xret;
    }
    void x_71(Smoke::Stack x) {
        // void textChanged(const QString&)
        this->QLineEdit::textChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_72(Smoke::Stack x) {
        // void textEdited(const QString&)
        this->QLineEdit::textEdited(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_73(Smoke::Stack x) {
        // void cursorPositionChanged(int, int)
        this->QLineEdit::cursorPositionChanged((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // void returnPressed()
        this->QLineEdit::returnPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void editingFinished()
        this->QLineEdit::editingFinished();
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // void selectionChanged()
        this->QLineEdit::selectionChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_77(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::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_78(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::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_79(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_80(Smoke::Stack x) {
        // void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_81(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_82(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_83(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_84(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::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_85(Smoke::Stack x) {
        // void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_86(Smoke::Stack x) {
        // void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_87(Smoke::Stack x) {
        // void dragLeaveEvent(QDragLeaveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_88(Smoke::Stack x) {
        // void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_89(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_90(Smoke::Stack x) {
        // void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_91(Smoke::Stack x) {
        // void inputMethodEvent(QInputMethodEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            this->QLineEdit::inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_92(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionFrame*) const
        ((const x_QLineEdit*)this)->QLineEdit::initStyleOption((QStyleOptionFrame*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_93(Smoke::Stack x) {
        // QVariant inputMethodQuery(Qt::InputMethodQuery) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            QVariant xret = ((const x_QLineEdit*)this)->QLineEdit::inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QLineEdit*)this)->inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_94(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QLineEdit*>(this))) {
            bool xret = this->QLineEdit::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_95(Smoke::Stack x) {
        // QRect cursorRect() const
        QRect xret = ((const x_QLineEdit*)this)->QLineEdit::cursorRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    static void x_96(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QLineEdit::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_97(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QLineEdit::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_98(Smoke::Stack x) {
        // QLineEdit* QLineEdit()
        x_QLineEdit* xret = new x_QLineEdit((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_99(Smoke::Stack x) {
        // QLineEdit* QLineEdit(const QString&)
        x_QLineEdit* xret = new x_QLineEdit(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_100(Smoke::Stack x) {
        // void cursorForward(bool)
        this->QLineEdit::cursorForward((bool)x[1].s_bool,(int)1);
        (void)x; // noop (for compiler warning)
    }
    void x_101(Smoke::Stack x) {
        // void cursorBackward(bool)
        this->QLineEdit::cursorBackward((bool)x[1].s_bool,(int)1);
        (void)x; // noop (for compiler warning)
    }
    static void x_102(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QLineEdit::staticMetaObject;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)QLineEdit::Normal;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)QLineEdit::NoEcho;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)QLineEdit::Password;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)QLineEdit::PasswordEchoOnEdit;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7322, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QLineEdit::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7323, (void*)this, x)) return (void*)x[0].s_class;
        return this->QLineEdit::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(7328, (void*)this, x)) return (int)x[0].s_int;
        return this->QLineEdit::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7347, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLineEdit::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7348, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLineEdit::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (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(7398, (void*)this, x)) return;
        this->QLineEdit::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7400, (void*)this, x)) return;
        this->QLineEdit::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7401, (void*)this, x)) return;
        this->QLineEdit::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7399, (void*)this, x)) return;
        this->QLineEdit::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (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(7402, (void*)this, x)) return;
        this->QLineEdit::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(7403, (void*)this, x)) return;
        this->QLineEdit::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7404, (void*)this, x)) return;
        this->QLineEdit::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (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(15627, (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(7405, (void*)this, x)) return;
        this->QLineEdit::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (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(15630, (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(15631, (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(7411, (void*)this, x)) return;
        this->QLineEdit::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (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(15634, (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(7406, (void*)this, x)) return;
        this->QLineEdit::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7407, (void*)this, x)) return;
        this->QLineEdit::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7408, (void*)this, x)) return;
        this->QLineEdit::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7409, (void*)this, x)) return;
        this->QLineEdit::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15639, (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(15640, (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(15641, (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(7410, (void*)this, x)) return;
        this->QLineEdit::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7412, (void*)this, x)) return;
        this->QLineEdit::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7414, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLineEdit::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15652, (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(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(7415, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QLineEdit::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(8375, (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(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 461: //QLineEdit::EchoMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QLineEdit::EchoMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QLineEdit::EchoMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QLineEdit::EchoMode*)xdata = (QLineEdit::EchoMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QLineEdit::EchoMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QLineEdit() { this->_binding->deleted(218, (void*)this); }
};
void xenum_QLineEdit(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QLineEdit::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QLineEdit(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QLineEdit *xself = (x_QLineEdit*)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_QLineEdit::x_3(args);	break;
        case 4: x_QLineEdit::x_4(args);	break;
        case 5: x_QLineEdit::x_5(args);	break;
        case 6: x_QLineEdit::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QLineEdit::x_8(args);	break;
        case 9: x_QLineEdit::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: xself->x_88(args);	break;
        case 89: xself->x_89(args);	break;
        case 90: xself->x_90(args);	break;
        case 91: xself->x_91(args);	break;
        case 92: xself->x_92(args);	break;
        case 93: xself->x_93(args);	break;
        case 94: xself->x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: x_QLineEdit::x_96(args);	break;
        case 97: x_QLineEdit::x_97(args);	break;
        case 98: x_QLineEdit::x_98(args);	break;
        case 99: x_QLineEdit::x_99(args);	break;
        case 100: xself->x_100(args);	break;
        case 101: xself->x_101(args);	break;
        case 102: x_QLineEdit::x_102(args);	break;
        case 103: x_QLineEdit::x_103(args);	break;
        case 104: x_QLineEdit::x_104(args);	break;
        case 105: x_QLineEdit::x_105(args);	break;
        case 106: x_QLineEdit::x_106(args);	break;
        case 107: delete (QLineEdit*)xself;	break;
    }
}
class x_QLinearGradient : public QLinearGradient {
    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) {
        // QLinearGradient* QLinearGradient()
        x_QLinearGradient* xret = new x_QLinearGradient();
        x[0].s_class = (void*)xret;
    }
    explicit x_QLinearGradient() : QLinearGradient() {}
    static void x_2(Smoke::Stack x) {
        // QLinearGradient* QLinearGradient(const QPointF&, const QPointF&)
        x_QLinearGradient* xret = new x_QLinearGradient(*(const QPointF*)x[1].s_class,*(const QPointF*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLinearGradient(const QPointF& x1, const QPointF& x2) : QLinearGradient(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // QLinearGradient* QLinearGradient(double, double, double, double)
        x_QLinearGradient* xret = new x_QLinearGradient((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLinearGradient(double x1, double x2, double x3, double x4) : QLinearGradient(x1, x2, x3, x4) {}
    void x_4(Smoke::Stack x) {
        // QPointF start() const
        QPointF xret = ((const x_QLinearGradient*)this)->QLinearGradient::start();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_5(Smoke::Stack x) {
        // void setStart(const QPointF&)
        this->QLinearGradient::setStart(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // void setStart(double, double)
        this->QLinearGradient::setStart((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // QPointF finalStop() const
        QPointF xret = ((const x_QLinearGradient*)this)->QLinearGradient::finalStop();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_8(Smoke::Stack x) {
        // void setFinalStop(const QPointF&)
        this->QLinearGradient::setFinalStop(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void setFinalStop(double, double)
        this->QLinearGradient::setFinalStop((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // QLinearGradient* QLinearGradient(const QLinearGradient&)
        x_QLinearGradient* xret = new x_QLinearGradient(*(const QLinearGradient*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QLinearGradient(const QLinearGradient& x1) : QLinearGradient(x1) {}
    ~x_QLinearGradient() { this->_binding->deleted(220, (void*)this); }
};
void xcall_QLinearGradient(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QLinearGradient *xself = (x_QLinearGradient*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QLinearGradient::x_1(args);	break;
        case 2: x_QLinearGradient::x_2(args);	break;
        case 3: x_QLinearGradient::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: x_QLinearGradient::x_10(args);	break;
        case 11: delete (QLinearGradient*)xself;	break;
    }
}
class x_QListView : public QListView, 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<QListView*>(this))) {
            const QMetaObject* xret = ((const x_QListView*)this)->QListView::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QListView*)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<QListView*>(this))) {
            void* xret = this->QListView::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 = QListView::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 = QListView::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 = QListView::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 = QListView::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<QListView*>(this))) {
            int xret = this->QListView::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) {
        // QListView* QListView(QWidget*)
        x_QListView* xret = new x_QListView((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QListView(QWidget* x1) : QListView(x1) {}
    void x_9(Smoke::Stack x) {
        // void setMovement(QListView::Movement)
        this->QListView::setMovement((QListView::Movement)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QListView::Movement movement() const
        QListView::Movement xret = ((const x_QListView*)this)->QListView::movement();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setFlow(QListView::Flow)
        this->QListView::setFlow((QListView::Flow)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QListView::Flow flow() const
        QListView::Flow xret = ((const x_QListView*)this)->QListView::flow();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setWrapping(bool)
        this->QListView::setWrapping((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool isWrapping() const
        bool xret = ((const x_QListView*)this)->QListView::isWrapping();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setResizeMode(QListView::ResizeMode)
        this->QListView::setResizeMode((QListView::ResizeMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QListView::ResizeMode resizeMode() const
        QListView::ResizeMode xret = ((const x_QListView*)this)->QListView::resizeMode();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setLayoutMode(QListView::LayoutMode)
        this->QListView::setLayoutMode((QListView::LayoutMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QListView::LayoutMode layoutMode() const
        QListView::LayoutMode xret = ((const x_QListView*)this)->QListView::layoutMode();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setSpacing(int)
        this->QListView::setSpacing((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // int spacing() const
        int xret = ((const x_QListView*)this)->QListView::spacing();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setBatchSize(int)
        this->QListView::setBatchSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // int batchSize() const
        int xret = ((const x_QListView*)this)->QListView::batchSize();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setGridSize(const QSize&)
        this->QListView::setGridSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QSize gridSize() const
        QSize xret = ((const x_QListView*)this)->QListView::gridSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_25(Smoke::Stack x) {
        // void setViewMode(QListView::ViewMode)
        this->QListView::setViewMode((QListView::ViewMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QListView::ViewMode viewMode() const
        QListView::ViewMode xret = ((const x_QListView*)this)->QListView::viewMode();
        x[0].s_enum = xret;
    }
    void x_27(Smoke::Stack x) {
        // void clearPropertyFlags()
        this->QListView::clearPropertyFlags();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool isRowHidden(int) const
        bool xret = ((const x_QListView*)this)->QListView::isRowHidden((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // void setRowHidden(int, bool)
        this->QListView::setRowHidden((int)x[1].s_int,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setModelColumn(int)
        this->QListView::setModelColumn((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // int modelColumn() const
        int xret = ((const x_QListView*)this)->QListView::modelColumn();
        x[0].s_int = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setUniformItemSizes(bool)
        this->QListView::setUniformItemSizes((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // bool uniformItemSizes() const
        bool xret = ((const x_QListView*)this)->QListView::uniformItemSizes();
        x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) {
        // void setWordWrap(bool)
        this->QListView::setWordWrap((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // bool wordWrap() const
        bool xret = ((const x_QListView*)this)->QListView::wordWrap();
        x[0].s_bool = xret;
    }
    void x_36(Smoke::Stack x) {
        // void setSelectionRectVisible(bool)
        this->QListView::setSelectionRectVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // bool isSelectionRectVisible() const
        bool xret = ((const x_QListView*)this)->QListView::isSelectionRectVisible();
        x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
        // QRect visualRect(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            QRect xret = ((const x_QListView*)this)->QListView::visualRect(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QListView*)this)->visualRect(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_39(Smoke::Stack x) {
        // void scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::scrollTo(*(const QModelIndex*)x[1].s_class,(QAbstractItemView::ScrollHint)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->scrollTo(*(const QModelIndex*)x[1].s_class,(QAbstractItemView::ScrollHint)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_40(Smoke::Stack x) {
        // QModelIndex indexAt(const QPoint&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            QModelIndex xret = ((const x_QListView*)this)->QListView::indexAt(*(const QPoint*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = ((const x_QListView*)this)->indexAt(*(const QPoint*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_41(Smoke::Stack x) {
        // void doItemsLayout()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::doItemsLayout();
            (void)x; // noop (for compiler warning)
        } else {
            this->doItemsLayout();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_42(Smoke::Stack x) {
        // void reset()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::reset();
            (void)x; // noop (for compiler warning)
        } else {
            this->reset();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // void setRootIndex(const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::setRootIndex(*(const QModelIndex*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setRootIndex(*(const QModelIndex*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // void indexesMoved(const QModelIndexList&)
        this->QListView::indexesMoved(*(const QModelIndexList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            bool xret = this->QListView::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_46(Smoke::Stack x) {
        // void scrollContentsBy(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // void resizeContents(int, int)
        this->QListView::resizeContents((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // QSize contentsSize() const
        QSize xret = ((const x_QListView*)this)->QListView::contentsSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_49(Smoke::Stack x) {
        // void dataChanged(const QModelIndex&, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::dataChanged(*(const QModelIndex*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dataChanged(*(const QModelIndex*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // void rowsInserted(const QModelIndex&, int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::rowsInserted(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->rowsInserted(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_51(Smoke::Stack x) {
        // void rowsAboutToBeRemoved(const QModelIndex&, int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::rowsAboutToBeRemoved(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->rowsAboutToBeRemoved(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_52(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::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_53(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_56(Smoke::Stack x) {
        // void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_57(Smoke::Stack x) {
        // void dragLeaveEvent(QDragLeaveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_58(Smoke::Stack x) {
        // void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_59(Smoke::Stack x) {
        // void startDrag(QFlags<Qt::DropAction>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::startDrag((QFlags<Qt::DropAction>)x[1].s_uint);
            (void)x; // noop (for compiler warning)
        } else {
            this->startDrag((QFlags<Qt::DropAction>)x[1].s_uint);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_60(Smoke::Stack x) {
        // void internalDrop(QDropEvent*)
        this->QListView::internalDrop((QDropEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void internalDrag(QFlags<Qt::DropAction>)
        this->QListView::internalDrag((QFlags<Qt::DropAction>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // QStyleOptionViewItem viewOptions() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            QStyleOptionViewItem xret = ((const x_QListView*)this)->QListView::viewOptions();
            x[0].s_class = (void*)new QStyleOptionViewItem(xret);
        } else {
            QStyleOptionViewItem xret = ((const x_QListView*)this)->viewOptions();
            x[0].s_class = (void*)new QStyleOptionViewItem(xret);
        }
    }
    void x_63(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::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_64(Smoke::Stack x) {
        // int horizontalOffset() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            int xret = ((const x_QListView*)this)->QListView::horizontalOffset();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QListView*)this)->horizontalOffset();
            x[0].s_int = xret;
        }
    }
    void x_65(Smoke::Stack x) {
        // int verticalOffset() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            int xret = ((const x_QListView*)this)->QListView::verticalOffset();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QListView*)this)->verticalOffset();
            x[0].s_int = xret;
        }
    }
    void x_66(Smoke::Stack x) {
        // QModelIndex moveCursor(QAbstractItemView::CursorAction, QFlags<Qt::KeyboardModifier>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            QModelIndex xret = this->QListView::moveCursor((QAbstractItemView::CursorAction)x[1].s_enum,(QFlags<Qt::KeyboardModifier>)x[2].s_uint);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = this->moveCursor((QAbstractItemView::CursorAction)x[1].s_enum,(QFlags<Qt::KeyboardModifier>)x[2].s_uint);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_67(Smoke::Stack x) {
        // QRect rectForIndex(const QModelIndex&) const
        QRect xret = ((const x_QListView*)this)->QListView::rectForIndex(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_68(Smoke::Stack x) {
        // void setPositionForIndex(const QPoint&, const QModelIndex&)
        this->QListView::setPositionForIndex(*(const QPoint*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // void setSelection(const QRect&, QFlags<QItemSelectionModel::SelectionFlag>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::setSelection(*(const QRect*)x[1].s_class,(QFlags<QItemSelectionModel::SelectionFlag>)x[2].s_uint);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSelection(*(const QRect*)x[1].s_class,(QFlags<QItemSelectionModel::SelectionFlag>)x[2].s_uint);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_70(Smoke::Stack x) {
        // QRegion visualRegionForSelection(const QItemSelection&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            QRegion xret = ((const x_QListView*)this)->QListView::visualRegionForSelection(*(const QItemSelection*)x[1].s_class);
            x[0].s_class = (void*)new QRegion(xret);
        } else {
            QRegion xret = ((const x_QListView*)this)->visualRegionForSelection(*(const QItemSelection*)x[1].s_class);
            x[0].s_class = (void*)new QRegion(xret);
        }
    }
    void x_71(Smoke::Stack x) {
        // QList<QModelIndex> selectedIndexes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            QList<QModelIndex> xret = ((const x_QListView*)this)->QListView::selectedIndexes();
            x[0].s_class = (void*)new QList<QModelIndex>(xret);
        } else {
            QList<QModelIndex> xret = ((const x_QListView*)this)->selectedIndexes();
            x[0].s_class = (void*)new QList<QModelIndex>(xret);
        }
    }
    void x_72(Smoke::Stack x) {
        // void updateGeometries()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::updateGeometries();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateGeometries();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_73(Smoke::Stack x) {
        // bool isIndexHidden(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            bool xret = ((const x_QListView*)this)->QListView::isIndexHidden(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QListView*)this)->isIndexHidden(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_74(Smoke::Stack x) {
        // void selectionChanged(const QItemSelection&, const QItemSelection&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::selectionChanged(*(const QItemSelection*)x[1].s_class,*(const QItemSelection*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->selectionChanged(*(const QItemSelection*)x[1].s_class,*(const QItemSelection*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_75(Smoke::Stack x) {
        // void currentChanged(const QModelIndex&, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListView*>(this))) {
            this->QListView::currentChanged(*(const QModelIndex*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->currentChanged(*(const QModelIndex*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_76(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QListView::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_77(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QListView::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_78(Smoke::Stack x) {
        // QListView* QListView()
        x_QListView* xret = new x_QListView((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_79(Smoke::Stack x) {
        // void scrollTo(const QModelIndex&)
        this->QListView::scrollTo(*(const QModelIndex*)x[1].s_class,(QAbstractItemView::ScrollHint)EnsureVisible);
        (void)x; // noop (for compiler warning)
    }
    static void x_80(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QListView::staticMetaObject;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::Static;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::Free;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::Snap;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::LeftToRight;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::TopToBottom;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::Fixed;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::Adjust;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::SinglePass;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::Batched;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::ListMode;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)QListView::IconMode;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7440, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QListView::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7441, (void*)this, x)) return (void*)x[0].s_class;
        return this->QListView::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(7446, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::qt_metacall(x1, x2, x3);
    }
    virtual void setModel(QAbstractItemModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(131, (void*)this, x)) return;
        this->QAbstractItemView::setModel(x1);
    }
    virtual void setSelectionModel(QItemSelectionModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(133, (void*)this, x)) return;
        this->QAbstractItemView::setSelectionModel(x1);
    }
    virtual void keyboardSearch(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(171, (void*)this, x)) return;
        this->QAbstractItemView::keyboardSearch(x1);
    }
    virtual QRect visualRect(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7477, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::visualRect(x1);
    }
    virtual void scrollTo(const QModelIndex& x1, QAbstractItemView::ScrollHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(7478, (void*)this, x)) return;
        this->QListView::scrollTo(x1, x2);
    }
    virtual QModelIndex indexAt(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7479, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::indexAt(x1);
    }
    virtual int sizeHintForRow(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(176, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForRow(x1);
    }
    virtual int sizeHintForColumn(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(177, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForColumn(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(187, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::inputMethodQuery(x1);
    }
    virtual void reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7481, (void*)this, x)) return;
        this->QListView::reset();
    }
    virtual void setRootIndex(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7482, (void*)this, x)) return;
        this->QListView::setRootIndex(x1);
    }
    virtual void doItemsLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7480, (void*)this, x)) return;
        this->QListView::doItemsLayout();
    }
    virtual void selectAll() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(191, (void*)this, x)) return;
        this->QAbstractItemView::selectAll();
    }
    virtual void dataChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7488, (void*)this, x)) return;
        this->QListView::dataChanged(x1, x2);
    }
    virtual void rowsInserted(const QModelIndex& 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(7489, (void*)this, x)) return;
        this->QListView::rowsInserted(x1, x2, x3);
    }
    virtual void rowsAboutToBeRemoved(const QModelIndex& 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(7490, (void*)this, x)) return;
        this->QListView::rowsAboutToBeRemoved(x1, x2, x3);
    }
    virtual void selectionChanged(const QItemSelection& x1, const QItemSelection& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7513, (void*)this, x)) return;
        this->QListView::selectionChanged(x1, x2);
    }
    virtual void currentChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7514, (void*)this, x)) return;
        this->QListView::currentChanged(x1, x2);
    }
    virtual void updateEditorData() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(203, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorData();
    }
    virtual void updateEditorGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(204, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorGeometries();
    }
    virtual void updateGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7511, (void*)this, x)) return;
        this->QListView::updateGeometries();
    }
    virtual void verticalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(206, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarAction(x1);
    }
    virtual void horizontalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(207, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarAction(x1);
    }
    virtual void verticalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(208, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarValueChanged(x1);
    }
    virtual void horizontalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(209, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarValueChanged(x1);
    }
    virtual void closeEditor(QWidget* x1, QAbstractItemDelegate::EndEditHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(210, (void*)this, x)) return;
        this->QAbstractItemView::closeEditor(x1, x2);
    }
    virtual void commitData(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(211, (void*)this, x)) return;
        this->QAbstractItemView::commitData(x1);
    }
    virtual void editorDestroyed(QObject* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(212, (void*)this, x)) return;
        this->QAbstractItemView::editorDestroyed(x1);
    }
    virtual QModelIndex moveCursor(QAbstractItemView::CursorAction x1, QFlags<Qt::KeyboardModifier> x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(7505, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::moveCursor(x1, x2);
    }
    virtual int horizontalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7503, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::horizontalOffset();
    }
    virtual int verticalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7504, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::verticalOffset();
    }
    virtual bool isIndexHidden(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7512, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListView::isIndexHidden(x1);
    }
    virtual void setSelection(const QRect& x1, QFlags<QItemSelectionModel::SelectionFlag> x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(7508, (void*)this, x)) return;
        this->QListView::setSelection(x1, x2);
    }
    virtual QRegion visualRegionForSelection(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7509, (void*)this, x)) {
            QRegion* xptr = (QRegion*)x[0].s_class;
            QRegion xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::visualRegionForSelection(x1);
    }
    virtual QList<QModelIndex> selectedIndexes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7510, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::selectedIndexes();
    }
    virtual bool edit(const QModelIndex& x1, QAbstractItemView::EditTrigger x2, QEvent* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(230, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::edit(x1, x2, x3);
    }
    virtual QFlags<QItemSelectionModel::SelectionFlag> selectionCommand(const QModelIndex& x1, const QEvent* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(231, (void*)this, x)) return (QFlags<QItemSelectionModel::SelectionFlag>)x[0].s_uint;
        return this->QAbstractItemView::selectionCommand(x1, x2);
    }
    virtual void startDrag(QFlags<Qt::DropAction> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(7498, (void*)this, x)) return;
        this->QListView::startDrag(x1);
    }
    virtual QStyleOptionViewItem viewOptions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7501, (void*)this, x)) {
            QStyleOptionViewItem* xptr = (QStyleOptionViewItem*)x[0].s_class;
            QStyleOptionViewItem xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::viewOptions();
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(246, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::viewportEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(7485, (void*)this, x)) return;
        this->QListView::scrollContentsBy(x1, x2);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(440, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(439, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (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(247, (void*)this, x)) return;
        this->QAbstractItemView::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7492, (void*)this, x)) return;
        this->QListView::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(250, (void*)this, x)) return;
        this->QAbstractItemView::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7491, (void*)this, x)) return;
        this->QListView::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(452, (void*)this, x)) return;
        this->QAbstractScrollArea::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(257, (void*)this, x)) return;
        this->QAbstractItemView::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(255, (void*)this, x)) return;
        this->QAbstractItemView::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(256, (void*)this, x)) return;
        this->QAbstractItemView::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (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(15627, (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(7502, (void*)this, x)) return;
        this->QListView::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (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(7494, (void*)this, x)) return;
        this->QListView::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (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(453, (void*)this, x)) return;
        this->QAbstractScrollArea::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (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(15634, (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(251, (void*)this, x)) return;
        this->QAbstractItemView::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7495, (void*)this, x)) return;
        this->QListView::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7496, (void*)this, x)) return;
        this->QListView::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7497, (void*)this, x)) return;
        this->QListView::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15639, (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(15640, (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(15641, (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(3700, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(260, (void*)this, x)) return;
        this->QAbstractItemView::inputMethodEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(244, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(7484, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListView::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(8375, (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(7493, (void*)this, x)) return;
        this->QListView::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 510: //QListView::Movement
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QListView::Movement;
                    break;
                case Smoke::EnumDelete:
                    delete (QListView::Movement*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QListView::Movement*)xdata = (QListView::Movement)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QListView::Movement*)xdata;
                    break;
            }
            break;
        case 508: //QListView::Flow
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QListView::Flow;
                    break;
                case Smoke::EnumDelete:
                    delete (QListView::Flow*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QListView::Flow*)xdata = (QListView::Flow)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QListView::Flow*)xdata;
                    break;
            }
            break;
        case 511: //QListView::ResizeMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QListView::ResizeMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QListView::ResizeMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QListView::ResizeMode*)xdata = (QListView::ResizeMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QListView::ResizeMode*)xdata;
                    break;
            }
            break;
        case 509: //QListView::LayoutMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QListView::LayoutMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QListView::LayoutMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QListView::LayoutMode*)xdata = (QListView::LayoutMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QListView::LayoutMode*)xdata;
                    break;
            }
            break;
        case 512: //QListView::ViewMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QListView::ViewMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QListView::ViewMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QListView::ViewMode*)xdata = (QListView::ViewMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QListView::ViewMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QListView() { this->_binding->deleted(221, (void*)this); }
};
void xenum_QListView(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QListView::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QListView(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QListView *xself = (x_QListView*)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_QListView::x_3(args);	break;
        case 4: x_QListView::x_4(args);	break;
        case 5: x_QListView::x_5(args);	break;
        case 6: x_QListView::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QListView::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: x_QListView::x_76(args);	break;
        case 77: x_QListView::x_77(args);	break;
        case 78: x_QListView::x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: x_QListView::x_80(args);	break;
        case 81: x_QListView::x_81(args);	break;
        case 82: x_QListView::x_82(args);	break;
        case 83: x_QListView::x_83(args);	break;
        case 84: x_QListView::x_84(args);	break;
        case 85: x_QListView::x_85(args);	break;
        case 86: x_QListView::x_86(args);	break;
        case 87: x_QListView::x_87(args);	break;
        case 88: x_QListView::x_88(args);	break;
        case 89: x_QListView::x_89(args);	break;
        case 90: x_QListView::x_90(args);	break;
        case 91: x_QListView::x_91(args);	break;
        case 92: delete (QListView*)xself;	break;
    }
}
class x_QListWidget : public QListWidget, 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<QListWidget*>(this))) {
            const QMetaObject* xret = ((const x_QListWidget*)this)->QListWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QListWidget*)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<QListWidget*>(this))) {
            void* xret = this->QListWidget::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 = QListWidget::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 = QListWidget::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 = QListWidget::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 = QListWidget::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<QListWidget*>(this))) {
            int xret = this->QListWidget::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) {
        // QListWidget* QListWidget(QWidget*)
        x_QListWidget* xret = new x_QListWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QListWidget(QWidget* x1) : QListWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // QListWidgetItem* item(int) const
        QListWidgetItem* xret = ((const x_QListWidget*)this)->QListWidget::item((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // int row(const QListWidgetItem*) const
        int xret = ((const x_QListWidget*)this)->QListWidget::row((const QListWidgetItem*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // void insertItem(int, QListWidgetItem*)
        this->QListWidget::insertItem((int)x[1].s_int,(QListWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void insertItem(int, const QString&)
        this->QListWidget::insertItem((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void insertItems(int, const QStringList&)
        this->QListWidget::insertItems((int)x[1].s_int,*(const QStringList*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void addItem(const QString&)
        this->QListWidget::addItem(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void addItem(QListWidgetItem*)
        this->QListWidget::addItem((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void addItems(const QStringList&)
        this->QListWidget::addItems(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QListWidgetItem* takeItem(int)
        QListWidgetItem* xret = this->QListWidget::takeItem((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_QListWidget*)this)->QListWidget::count();
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // QListWidgetItem* currentItem() const
        QListWidgetItem* xret = ((const x_QListWidget*)this)->QListWidget::currentItem();
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // void setCurrentItem(QListWidgetItem*)
        this->QListWidget::setCurrentItem((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setCurrentItem(QListWidgetItem*, QFlags<QItemSelectionModel::SelectionFlag>)
        this->QListWidget::setCurrentItem((QListWidgetItem*)x[1].s_class,(QFlags<QItemSelectionModel::SelectionFlag>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // int currentRow() const
        int xret = ((const x_QListWidget*)this)->QListWidget::currentRow();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setCurrentRow(int)
        this->QListWidget::setCurrentRow((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setCurrentRow(int, QFlags<QItemSelectionModel::SelectionFlag>)
        this->QListWidget::setCurrentRow((int)x[1].s_int,(QFlags<QItemSelectionModel::SelectionFlag>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QListWidgetItem* itemAt(const QPoint&) const
        QListWidgetItem* xret = ((const x_QListWidget*)this)->QListWidget::itemAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // QListWidgetItem* itemAt(int, int) const
        QListWidgetItem* xret = ((const x_QListWidget*)this)->QListWidget::itemAt((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // QRect visualItemRect(const QListWidgetItem*) const
        QRect xret = ((const x_QListWidget*)this)->QListWidget::visualItemRect((const QListWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_28(Smoke::Stack x) {
        // void sortItems(Qt::SortOrder)
        this->QListWidget::sortItems((Qt::SortOrder)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setSortingEnabled(bool)
        this->QListWidget::setSortingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // bool isSortingEnabled() const
        bool xret = ((const x_QListWidget*)this)->QListWidget::isSortingEnabled();
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // void editItem(QListWidgetItem*)
        this->QListWidget::editItem((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void openPersistentEditor(QListWidgetItem*)
        this->QListWidget::openPersistentEditor((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void closePersistentEditor(QListWidgetItem*)
        this->QListWidget::closePersistentEditor((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // QWidget* itemWidget(QListWidgetItem*) const
        QWidget* xret = ((const x_QListWidget*)this)->QListWidget::itemWidget((QListWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_35(Smoke::Stack x) {
        // void setItemWidget(QListWidgetItem*, QWidget*)
        this->QListWidget::setItemWidget((QListWidgetItem*)x[1].s_class,(QWidget*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void removeItemWidget(QListWidgetItem*)
        this->QListWidget::removeItemWidget((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // bool isItemSelected(const QListWidgetItem*) const
        bool xret = ((const x_QListWidget*)this)->QListWidget::isItemSelected((const QListWidgetItem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
        // void setItemSelected(const QListWidgetItem*, bool)
        this->QListWidget::setItemSelected((const QListWidgetItem*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // QList<QListWidgetItem*> selectedItems() const
        QList<QListWidgetItem*> xret = ((const x_QListWidget*)this)->QListWidget::selectedItems();
        x[0].s_class = (void*)new QList<QListWidgetItem*>(xret);
    }
    void x_40(Smoke::Stack x) {
        // QList<QListWidgetItem*> findItems(const QString&, QFlags<Qt::MatchFlag>) const
        QList<QListWidgetItem*> xret = ((const x_QListWidget*)this)->QListWidget::findItems(*(const QString*)x[1].s_class,(QFlags<Qt::MatchFlag>)x[2].s_uint);
        x[0].s_class = (void*)new QList<QListWidgetItem*>(xret);
    }
    void x_41(Smoke::Stack x) {
        // bool isItemHidden(const QListWidgetItem*) const
        bool xret = ((const x_QListWidget*)this)->QListWidget::isItemHidden((const QListWidgetItem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
        // void setItemHidden(const QListWidgetItem*, bool)
        this->QListWidget::setItemHidden((const QListWidgetItem*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidget*>(this))) {
            this->QListWidget::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // void scrollToItem(const QListWidgetItem*, QAbstractItemView::ScrollHint)
        this->QListWidget::scrollToItem((const QListWidgetItem*)x[1].s_class,(QAbstractItemView::ScrollHint)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void clear()
        this->QListWidget::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void itemPressed(QListWidgetItem*)
        this->QListWidget::itemPressed((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void itemClicked(QListWidgetItem*)
        this->QListWidget::itemClicked((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void itemDoubleClicked(QListWidgetItem*)
        this->QListWidget::itemDoubleClicked((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void itemActivated(QListWidgetItem*)
        this->QListWidget::itemActivated((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void itemEntered(QListWidgetItem*)
        this->QListWidget::itemEntered((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void itemChanged(QListWidgetItem*)
        this->QListWidget::itemChanged((QListWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void currentItemChanged(QListWidgetItem*, QListWidgetItem*)
        this->QListWidget::currentItemChanged((QListWidgetItem*)x[1].s_class,(QListWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // void currentTextChanged(const QString&)
        this->QListWidget::currentTextChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_54(Smoke::Stack x) {
        // void currentRowChanged(int)
        this->QListWidget::currentRowChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // void itemSelectionChanged()
        this->QListWidget::itemSelectionChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidget*>(this))) {
            bool xret = this->QListWidget::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_57(Smoke::Stack x) {
        // virtual QStringList mimeTypes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidget*>(this))) {
            QStringList xret = ((const x_QListWidget*)this)->QListWidget::mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_QListWidget*)this)->mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_58(Smoke::Stack x) {
        // virtual QMimeData* mimeData(const QList<QListWidgetItem*>) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidget*>(this))) {
            QMimeData* xret = ((const x_QListWidget*)this)->QListWidget::mimeData(*(const QList<QListWidgetItem*>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QMimeData* xret = ((const x_QListWidget*)this)->mimeData(*(const QList<QListWidgetItem*>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_59(Smoke::Stack x) {
        // virtual bool dropMimeData(int, const QMimeData*, Qt::DropAction)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidget*>(this))) {
            bool xret = this->QListWidget::dropMimeData((int)x[1].s_int,(const QMimeData*)x[2].s_class,(Qt::DropAction)x[3].s_enum);
            x[0].s_bool = xret;
        } else {
            bool xret = this->dropMimeData((int)x[1].s_int,(const QMimeData*)x[2].s_class,(Qt::DropAction)x[3].s_enum);
            x[0].s_bool = xret;
        }
    }
    void x_60(Smoke::Stack x) {
        // virtual QFlags<Qt::DropAction> supportedDropActions() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidget*>(this))) {
            QFlags<Qt::DropAction> xret = ((const x_QListWidget*)this)->QListWidget::supportedDropActions();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::DropAction> xret = ((const x_QListWidget*)this)->supportedDropActions();
            x[0].s_uint = (uint)xret;
        }
    }
    void x_61(Smoke::Stack x) {
        // QList<QListWidgetItem*> items(const QMimeData*) const
        QList<QListWidgetItem*> xret = ((const x_QListWidget*)this)->QListWidget::items((const QMimeData*)x[1].s_class);
        x[0].s_class = (void*)new QList<QListWidgetItem*>(xret);
    }
    void x_62(Smoke::Stack x) {
        // QModelIndex indexFromItem(QListWidgetItem*) const
        QModelIndex xret = ((const x_QListWidget*)this)->QListWidget::indexFromItem((QListWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_63(Smoke::Stack x) {
        // QListWidgetItem* itemFromIndex(const QModelIndex&) const
        QListWidgetItem* xret = ((const x_QListWidget*)this)->QListWidget::itemFromIndex(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_64(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QListWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_65(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QListWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_66(Smoke::Stack x) {
        // QListWidget* QListWidget()
        x_QListWidget* xret = new x_QListWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_67(Smoke::Stack x) {
        // void sortItems()
        this->QListWidget::sortItems((Qt::SortOrder)Qt::AscendingOrder);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void scrollToItem(const QListWidgetItem*)
        this->QListWidget::scrollToItem((const QListWidgetItem*)x[1].s_class,(QAbstractItemView::ScrollHint)EnsureVisible);
        (void)x; // noop (for compiler warning)
    }
    static void x_69(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QListWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7532, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QListWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7533, (void*)this, x)) return (void*)x[0].s_class;
        return this->QListWidget::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(7538, (void*)this, x)) return (int)x[0].s_int;
        return this->QListWidget::qt_metacall(x1, x2, x3);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7588, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListWidget::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QListWidgetItem*> x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new const QList<QListWidgetItem*>(x1);
        if (this->_binding->callMethod(7589, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QListWidget::mimeData(x1);
    }
    virtual bool dropMimeData(int x1, const QMimeData* x2, Qt::DropAction x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        x[3].s_enum = x3;
        if (this->_binding->callMethod(7590, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListWidget::dropMimeData(x1, x2, x3);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7591, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QListWidget::supportedDropActions();
    }
    virtual void setSelectionModel(QItemSelectionModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(133, (void*)this, x)) return;
        this->QAbstractItemView::setSelectionModel(x1);
    }
    virtual void keyboardSearch(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(171, (void*)this, x)) return;
        this->QAbstractItemView::keyboardSearch(x1);
    }
    virtual QRect visualRect(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7477, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::visualRect(x1);
    }
    virtual void scrollTo(const QModelIndex& x1, QAbstractItemView::ScrollHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(7478, (void*)this, x)) return;
        this->QListView::scrollTo(x1, x2);
    }
    virtual QModelIndex indexAt(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7479, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::indexAt(x1);
    }
    virtual int sizeHintForRow(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(176, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForRow(x1);
    }
    virtual int sizeHintForColumn(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(177, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForColumn(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(187, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::inputMethodQuery(x1);
    }
    virtual void reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7481, (void*)this, x)) return;
        this->QListView::reset();
    }
    virtual void setRootIndex(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7482, (void*)this, x)) return;
        this->QListView::setRootIndex(x1);
    }
    virtual void doItemsLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7480, (void*)this, x)) return;
        this->QListView::doItemsLayout();
    }
    virtual void selectAll() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(191, (void*)this, x)) return;
        this->QAbstractItemView::selectAll();
    }
    virtual void dataChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7488, (void*)this, x)) return;
        this->QListView::dataChanged(x1, x2);
    }
    virtual void rowsInserted(const QModelIndex& 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(7489, (void*)this, x)) return;
        this->QListView::rowsInserted(x1, x2, x3);
    }
    virtual void rowsAboutToBeRemoved(const QModelIndex& 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(7490, (void*)this, x)) return;
        this->QListView::rowsAboutToBeRemoved(x1, x2, x3);
    }
    virtual void selectionChanged(const QItemSelection& x1, const QItemSelection& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7513, (void*)this, x)) return;
        this->QListView::selectionChanged(x1, x2);
    }
    virtual void currentChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7514, (void*)this, x)) return;
        this->QListView::currentChanged(x1, x2);
    }
    virtual void updateEditorData() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(203, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorData();
    }
    virtual void updateEditorGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(204, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorGeometries();
    }
    virtual void updateGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7511, (void*)this, x)) return;
        this->QListView::updateGeometries();
    }
    virtual void verticalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(206, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarAction(x1);
    }
    virtual void horizontalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(207, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarAction(x1);
    }
    virtual void verticalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(208, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarValueChanged(x1);
    }
    virtual void horizontalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(209, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarValueChanged(x1);
    }
    virtual void closeEditor(QWidget* x1, QAbstractItemDelegate::EndEditHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(210, (void*)this, x)) return;
        this->QAbstractItemView::closeEditor(x1, x2);
    }
    virtual void commitData(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(211, (void*)this, x)) return;
        this->QAbstractItemView::commitData(x1);
    }
    virtual void editorDestroyed(QObject* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(212, (void*)this, x)) return;
        this->QAbstractItemView::editorDestroyed(x1);
    }
    virtual QModelIndex moveCursor(QAbstractItemView::CursorAction x1, QFlags<Qt::KeyboardModifier> x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(7505, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::moveCursor(x1, x2);
    }
    virtual int horizontalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7503, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::horizontalOffset();
    }
    virtual int verticalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7504, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::verticalOffset();
    }
    virtual bool isIndexHidden(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7512, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListView::isIndexHidden(x1);
    }
    virtual void setSelection(const QRect& x1, QFlags<QItemSelectionModel::SelectionFlag> x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(7508, (void*)this, x)) return;
        this->QListView::setSelection(x1, x2);
    }
    virtual QRegion visualRegionForSelection(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7509, (void*)this, x)) {
            QRegion* xptr = (QRegion*)x[0].s_class;
            QRegion xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::visualRegionForSelection(x1);
    }
    virtual QList<QModelIndex> selectedIndexes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7510, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::selectedIndexes();
    }
    virtual bool edit(const QModelIndex& x1, QAbstractItemView::EditTrigger x2, QEvent* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(230, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::edit(x1, x2, x3);
    }
    virtual QFlags<QItemSelectionModel::SelectionFlag> selectionCommand(const QModelIndex& x1, const QEvent* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(231, (void*)this, x)) return (QFlags<QItemSelectionModel::SelectionFlag>)x[0].s_uint;
        return this->QAbstractItemView::selectionCommand(x1, x2);
    }
    virtual void startDrag(QFlags<Qt::DropAction> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(7498, (void*)this, x)) return;
        this->QListView::startDrag(x1);
    }
    virtual QStyleOptionViewItem viewOptions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7501, (void*)this, x)) {
            QStyleOptionViewItem* xptr = (QStyleOptionViewItem*)x[0].s_class;
            QStyleOptionViewItem xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::viewOptions();
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(246, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::viewportEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(7485, (void*)this, x)) return;
        this->QListView::scrollContentsBy(x1, x2);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(440, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(439, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (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(247, (void*)this, x)) return;
        this->QAbstractItemView::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7492, (void*)this, x)) return;
        this->QListView::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(250, (void*)this, x)) return;
        this->QAbstractItemView::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7491, (void*)this, x)) return;
        this->QListView::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(452, (void*)this, x)) return;
        this->QAbstractScrollArea::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(257, (void*)this, x)) return;
        this->QAbstractItemView::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(255, (void*)this, x)) return;
        this->QAbstractItemView::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(256, (void*)this, x)) return;
        this->QAbstractItemView::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (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(15627, (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(7502, (void*)this, x)) return;
        this->QListView::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (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(7494, (void*)this, x)) return;
        this->QListView::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (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(453, (void*)this, x)) return;
        this->QAbstractScrollArea::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (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(15634, (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(251, (void*)this, x)) return;
        this->QAbstractItemView::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7495, (void*)this, x)) return;
        this->QListView::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7496, (void*)this, x)) return;
        this->QListView::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7574, (void*)this, x)) return;
        this->QListWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15639, (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(15640, (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(15641, (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(3700, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(260, (void*)this, x)) return;
        this->QAbstractItemView::inputMethodEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(244, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(7587, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListWidget::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(8375, (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(7493, (void*)this, x)) return;
        this->QListView::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QListWidget() { this->_binding->deleted(222, (void*)this); }
};
void xcall_QListWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QListWidget *xself = (x_QListWidget*)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_QListWidget::x_3(args);	break;
        case 4: x_QListWidget::x_4(args);	break;
        case 5: x_QListWidget::x_5(args);	break;
        case 6: x_QListWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QListWidget::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: x_QListWidget::x_64(args);	break;
        case 65: x_QListWidget::x_65(args);	break;
        case 66: x_QListWidget::x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: x_QListWidget::x_69(args);	break;
        case 70: delete (QListWidget*)xself;	break;
    }
}
class x_QListWidgetItem : public QListWidgetItem, 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) {
        // QListWidgetItem* QListWidgetItem(QListWidget*, int)
        x_QListWidgetItem* xret = new x_QListWidgetItem((QListWidget*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QListWidgetItem(QListWidget* x1, int x2) : QListWidgetItem(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem(const QString&, QListWidget*, int)
        x_QListWidgetItem* xret = new x_QListWidgetItem(*(const QString*)x[1].s_class,(QListWidget*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QListWidgetItem(const QString& x1, QListWidget* x2, int x3) : QListWidgetItem(x1, x2, x3) {}
    static void x_3(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem(const QIcon&, const QString&, QListWidget*, int)
        x_QListWidgetItem* xret = new x_QListWidgetItem(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(QListWidget*)x[3].s_class,(int)x[4].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QListWidgetItem(const QIcon& x1, const QString& x2, QListWidget* x3, int x4) : QListWidgetItem(x1, x2, x3, x4) {}
    static void x_4(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem(const QListWidgetItem&)
        x_QListWidgetItem* xret = new x_QListWidgetItem(*(const QListWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QListWidgetItem(const QListWidgetItem& x1) : QListWidgetItem(x1) {}
    void x_5(Smoke::Stack x) {
        // virtual QListWidgetItem* clone() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidgetItem*>(this))) {
            QListWidgetItem* xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::clone();
            x[0].s_class = (void*)xret;
        } else {
            QListWidgetItem* xret = ((const x_QListWidgetItem*)this)->clone();
            x[0].s_class = (void*)xret;
        }
    }
    void x_6(Smoke::Stack x) {
        // QListWidget* listWidget() const
        QListWidget* xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::listWidget();
        x[0].s_class = (void*)xret;
    }
    void x_7(Smoke::Stack x) {
        // void setSelected(bool)
        this->QListWidgetItem::setSelected((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // bool isSelected() const
        bool xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::isSelected();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setHidden(bool)
        this->QListWidgetItem::setHidden((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isHidden() const
        bool xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::isHidden();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QFlags<Qt::ItemFlag> flags() const
        QFlags<Qt::ItemFlag> xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::flags();
        x[0].s_uint = (uint)xret;
    }
    void x_12(Smoke::Stack x) {
        // void setFlags(QFlags<Qt::ItemFlag>)
        this->QListWidgetItem::setFlags((QFlags<Qt::ItemFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setText(const QString&)
        this->QListWidgetItem::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QIcon icon() const
        QIcon xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::icon();
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setIcon(const QIcon&)
        this->QListWidgetItem::setIcon(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QString statusTip() const
        QString xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::statusTip();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setStatusTip(const QString&)
        this->QListWidgetItem::setStatusTip(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QString toolTip() const
        QString xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::toolTip();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setToolTip(const QString&)
        this->QListWidgetItem::setToolTip(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QString whatsThis() const
        QString xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::whatsThis();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // void setWhatsThis(const QString&)
        this->QListWidgetItem::setWhatsThis(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QFont font() const
        QFont xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::font();
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_24(Smoke::Stack x) {
        // void setFont(const QFont&)
        this->QListWidgetItem::setFont(*(const QFont*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // int textAlignment() const
        int xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::textAlignment();
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setTextAlignment(int)
        this->QListWidgetItem::setTextAlignment((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // QColor backgroundColor() const
        QColor xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::backgroundColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_28(Smoke::Stack x) {
        // virtual void setBackgroundColor(const QColor&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidgetItem*>(this))) {
            this->QListWidgetItem::setBackgroundColor(*(const QColor*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setBackgroundColor(*(const QColor*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // QBrush background() const
        QBrush xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::background();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_30(Smoke::Stack x) {
        // void setBackground(const QBrush&)
        this->QListWidgetItem::setBackground(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // QColor textColor() const
        QColor xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::textColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_32(Smoke::Stack x) {
        // void setTextColor(const QColor&)
        this->QListWidgetItem::setTextColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // QBrush foreground() const
        QBrush xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::foreground();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_34(Smoke::Stack x) {
        // void setForeground(const QBrush&)
        this->QListWidgetItem::setForeground(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // Qt::CheckState checkState() const
        Qt::CheckState xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::checkState();
        x[0].s_enum = xret;
    }
    void x_36(Smoke::Stack x) {
        // void setCheckState(Qt::CheckState)
        this->QListWidgetItem::setCheckState((Qt::CheckState)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // QSize sizeHint() const
        QSize xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::sizeHint();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_38(Smoke::Stack x) {
        // void setSizeHint(const QSize&)
        this->QListWidgetItem::setSizeHint(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // virtual QVariant data(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidgetItem*>(this))) {
            QVariant xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::data((int)x[1].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QListWidgetItem*)this)->data((int)x[1].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_40(Smoke::Stack x) {
        // virtual void setData(int, const QVariant&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidgetItem*>(this))) {
            this->QListWidgetItem::setData((int)x[1].s_int,*(const QVariant*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setData((int)x[1].s_int,*(const QVariant*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_41(Smoke::Stack x) {
        // virtual bool operator<(const QListWidgetItem&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidgetItem*>(this))) {
            bool xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::operator<(*(const QListWidgetItem*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QListWidgetItem*)this)->operator<(*(const QListWidgetItem*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_42(Smoke::Stack x) {
        // virtual void read(QDataStream&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidgetItem*>(this))) {
            this->QListWidgetItem::read(*(QDataStream*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->read(*(QDataStream*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // virtual void write(QDataStream&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QListWidgetItem*>(this))) {
            ((const x_QListWidgetItem*)this)->QListWidgetItem::write(*(QDataStream*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QListWidgetItem*)this)->write(*(QDataStream*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // QListWidgetItem& operator=(const QListWidgetItem&)
        QListWidgetItem& xret = this->QListWidgetItem::operator=(*(const QListWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_45(Smoke::Stack x) {
        // int type() const
        int xret = ((const x_QListWidgetItem*)this)->QListWidgetItem::type();
        x[0].s_int = xret;
    }
    static void x_46(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem()
        x_QListWidgetItem* xret = new x_QListWidgetItem((QListWidget*)0,(int)QListWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_47(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem(QListWidget*)
        x_QListWidgetItem* xret = new x_QListWidgetItem((QListWidget*)x[1].s_class,(int)QListWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_48(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem(const QString&)
        x_QListWidgetItem* xret = new x_QListWidgetItem(*(const QString*)x[1].s_class,(QListWidget*)0,(int)QListWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_49(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem(const QString&, QListWidget*)
        x_QListWidgetItem* xret = new x_QListWidgetItem(*(const QString*)x[1].s_class,(QListWidget*)x[2].s_class,(int)QListWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_50(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem(const QIcon&, const QString&)
        x_QListWidgetItem* xret = new x_QListWidgetItem(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(QListWidget*)0,(int)QListWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_51(Smoke::Stack x) {
        // QListWidgetItem* QListWidgetItem(const QIcon&, const QString&, QListWidget*)
        x_QListWidgetItem* xret = new x_QListWidgetItem(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(QListWidget*)x[3].s_class,(int)QListWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)QListWidgetItem::Type;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)QListWidgetItem::UserType;
    }
    virtual QListWidgetItem* clone() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7606, (void*)this, x)) return (QListWidgetItem*)x[0].s_class;
        return this->QListWidgetItem::clone();
    }
    virtual void setBackgroundColor(const QColor& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7629, (void*)this, x)) return;
        this->QListWidgetItem::setBackgroundColor(x1);
    }
    virtual QVariant data(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7640, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListWidgetItem::data(x1);
    }
    virtual void setData(int x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7641, (void*)this, x)) return;
        this->QListWidgetItem::setData(x1, x2);
    }
    virtual bool operator<(const QListWidgetItem& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7642, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListWidgetItem::operator<(x1);
    }
    virtual void read(QDataStream& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7643, (void*)this, x)) return;
        this->QListWidgetItem::read(x1);
    }
    virtual void write(QDataStream& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7644, (void*)this, x)) return;
        this->QListWidgetItem::write(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 516: //QListWidgetItem::ItemType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QListWidgetItem::ItemType;
                    break;
                case Smoke::EnumDelete:
                    delete (QListWidgetItem::ItemType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QListWidgetItem::ItemType*)xdata = (QListWidgetItem::ItemType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QListWidgetItem::ItemType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QListWidgetItem() { this->_binding->deleted(223, (void*)this); }
};
void xenum_QListWidgetItem(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QListWidgetItem::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QListWidgetItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QListWidgetItem *xself = (x_QListWidgetItem*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QListWidgetItem::x_1(args);	break;
        case 2: x_QListWidgetItem::x_2(args);	break;
        case 3: x_QListWidgetItem::x_3(args);	break;
        case 4: x_QListWidgetItem::x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: x_QListWidgetItem::x_46(args);	break;
        case 47: x_QListWidgetItem::x_47(args);	break;
        case 48: x_QListWidgetItem::x_48(args);	break;
        case 49: x_QListWidgetItem::x_49(args);	break;
        case 50: x_QListWidgetItem::x_50(args);	break;
        case 51: x_QListWidgetItem::x_51(args);	break;
        case 52: x_QListWidgetItem::x_52(args);	break;
        case 53: x_QListWidgetItem::x_53(args);	break;
        case 54: delete (QListWidgetItem*)xself;	break;
    }
}
class x_QMainWindow : public QMainWindow, 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<QMainWindow*>(this))) {
            const QMetaObject* xret = ((const x_QMainWindow*)this)->QMainWindow::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QMainWindow*)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<QMainWindow*>(this))) {
            void* xret = this->QMainWindow::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 = QMainWindow::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 = QMainWindow::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 = QMainWindow::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 = QMainWindow::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<QMainWindow*>(this))) {
            int xret = this->QMainWindow::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) {
        // QMainWindow* QMainWindow(QWidget*, QFlags<Qt::WindowType>)
        x_QMainWindow* xret = new x_QMainWindow((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMainWindow(QWidget* x1, QFlags<Qt::WindowType> x2) : QMainWindow(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // QSize iconSize() const
        QSize xret = ((const x_QMainWindow*)this)->QMainWindow::iconSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_10(Smoke::Stack x) {
        // void setIconSize(const QSize&)
        this->QMainWindow::setIconSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // Qt::ToolButtonStyle toolButtonStyle() const
        Qt::ToolButtonStyle xret = ((const x_QMainWindow*)this)->QMainWindow::toolButtonStyle();
        x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setToolButtonStyle(Qt::ToolButtonStyle)
        this->QMainWindow::setToolButtonStyle((Qt::ToolButtonStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool isAnimated() const
        bool xret = ((const x_QMainWindow*)this)->QMainWindow::isAnimated();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool isDockNestingEnabled() const
        bool xret = ((const x_QMainWindow*)this)->QMainWindow::isDockNestingEnabled();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool documentMode() const
        bool xret = ((const x_QMainWindow*)this)->QMainWindow::documentMode();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setDocumentMode(bool)
        this->QMainWindow::setDocumentMode((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QTabWidget::TabShape tabShape() const
        QTabWidget::TabShape xret = ((const x_QMainWindow*)this)->QMainWindow::tabShape();
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setTabShape(QTabWidget::TabShape)
        this->QMainWindow::setTabShape((QTabWidget::TabShape)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QTabWidget::TabPosition tabPosition(Qt::DockWidgetArea) const
        QTabWidget::TabPosition xret = ((const x_QMainWindow*)this)->QMainWindow::tabPosition((Qt::DockWidgetArea)x[1].s_enum);
        x[0].s_enum = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setTabPosition(QFlags<Qt::DockWidgetArea>, QTabWidget::TabPosition)
        this->QMainWindow::setTabPosition((QFlags<Qt::DockWidgetArea>)x[1].s_uint,(QTabWidget::TabPosition)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setDockOptions(QFlags<QMainWindow::DockOption>)
        this->QMainWindow::setDockOptions((QFlags<QMainWindow::DockOption>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QFlags<QMainWindow::DockOption> dockOptions() const
        QFlags<QMainWindow::DockOption> xret = ((const x_QMainWindow*)this)->QMainWindow::dockOptions();
        x[0].s_uint = (uint)xret;
    }
    void x_23(Smoke::Stack x) {
        // bool isSeparator(const QPoint&) const
        bool xret = ((const x_QMainWindow*)this)->QMainWindow::isSeparator(*(const QPoint*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // QMenuBar* menuBar() const
        QMenuBar* xret = ((const x_QMainWindow*)this)->QMainWindow::menuBar();
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // void setMenuBar(QMenuBar*)
        this->QMainWindow::setMenuBar((QMenuBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QWidget* menuWidget() const
        QWidget* xret = ((const x_QMainWindow*)this)->QMainWindow::menuWidget();
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // void setMenuWidget(QWidget*)
        this->QMainWindow::setMenuWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QStatusBar* statusBar() const
        QStatusBar* xret = ((const x_QMainWindow*)this)->QMainWindow::statusBar();
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // void setStatusBar(QStatusBar*)
        this->QMainWindow::setStatusBar((QStatusBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QWidget* centralWidget() const
        QWidget* xret = ((const x_QMainWindow*)this)->QMainWindow::centralWidget();
        x[0].s_class = (void*)xret;
    }
    void x_31(Smoke::Stack x) {
        // void setCentralWidget(QWidget*)
        this->QMainWindow::setCentralWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setCorner(Qt::Corner, Qt::DockWidgetArea)
        this->QMainWindow::setCorner((Qt::Corner)x[1].s_enum,(Qt::DockWidgetArea)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // Qt::DockWidgetArea corner(Qt::Corner) const
        Qt::DockWidgetArea xret = ((const x_QMainWindow*)this)->QMainWindow::corner((Qt::Corner)x[1].s_enum);
        x[0].s_enum = xret;
    }
    void x_34(Smoke::Stack x) {
        // void addToolBarBreak(Qt::ToolBarArea)
        this->QMainWindow::addToolBarBreak((Qt::ToolBarArea)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void insertToolBarBreak(QToolBar*)
        this->QMainWindow::insertToolBarBreak((QToolBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void addToolBar(Qt::ToolBarArea, QToolBar*)
        this->QMainWindow::addToolBar((Qt::ToolBarArea)x[1].s_enum,(QToolBar*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void addToolBar(QToolBar*)
        this->QMainWindow::addToolBar((QToolBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // QToolBar* addToolBar(const QString&)
        QToolBar* xret = this->QMainWindow::addToolBar(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_39(Smoke::Stack x) {
        // void insertToolBar(QToolBar*, QToolBar*)
        this->QMainWindow::insertToolBar((QToolBar*)x[1].s_class,(QToolBar*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void removeToolBar(QToolBar*)
        this->QMainWindow::removeToolBar((QToolBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void removeToolBarBreak(QToolBar*)
        this->QMainWindow::removeToolBarBreak((QToolBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void setUnifiedTitleAndToolBarOnMac(bool)
        this->QMainWindow::setUnifiedTitleAndToolBarOnMac((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // bool unifiedTitleAndToolBarOnMac() const
        bool xret = ((const x_QMainWindow*)this)->QMainWindow::unifiedTitleAndToolBarOnMac();
        x[0].s_bool = xret;
    }
    void x_44(Smoke::Stack x) {
        // Qt::ToolBarArea toolBarArea(QToolBar*) const
        Qt::ToolBarArea xret = ((const x_QMainWindow*)this)->QMainWindow::toolBarArea((QToolBar*)x[1].s_class);
        x[0].s_enum = xret;
    }
    void x_45(Smoke::Stack x) {
        // bool toolBarBreak(QToolBar*) const
        bool xret = ((const x_QMainWindow*)this)->QMainWindow::toolBarBreak((QToolBar*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_46(Smoke::Stack x) {
        // void addDockWidget(Qt::DockWidgetArea, QDockWidget*)
        this->QMainWindow::addDockWidget((Qt::DockWidgetArea)x[1].s_enum,(QDockWidget*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void addDockWidget(Qt::DockWidgetArea, QDockWidget*, Qt::Orientation)
        this->QMainWindow::addDockWidget((Qt::DockWidgetArea)x[1].s_enum,(QDockWidget*)x[2].s_class,(Qt::Orientation)x[3].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void splitDockWidget(QDockWidget*, QDockWidget*, Qt::Orientation)
        this->QMainWindow::splitDockWidget((QDockWidget*)x[1].s_class,(QDockWidget*)x[2].s_class,(Qt::Orientation)x[3].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void tabifyDockWidget(QDockWidget*, QDockWidget*)
        this->QMainWindow::tabifyDockWidget((QDockWidget*)x[1].s_class,(QDockWidget*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // QList<QDockWidget*> tabifiedDockWidgets(QDockWidget*) const
        QList<QDockWidget*> xret = ((const x_QMainWindow*)this)->QMainWindow::tabifiedDockWidgets((QDockWidget*)x[1].s_class);
        x[0].s_class = (void*)new QList<QDockWidget*>(xret);
    }
    void x_51(Smoke::Stack x) {
        // void removeDockWidget(QDockWidget*)
        this->QMainWindow::removeDockWidget((QDockWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // bool restoreDockWidget(QDockWidget*)
        bool xret = this->QMainWindow::restoreDockWidget((QDockWidget*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_53(Smoke::Stack x) {
        // Qt::DockWidgetArea dockWidgetArea(QDockWidget*) const
        Qt::DockWidgetArea xret = ((const x_QMainWindow*)this)->QMainWindow::dockWidgetArea((QDockWidget*)x[1].s_class);
        x[0].s_enum = xret;
    }
    void x_54(Smoke::Stack x) {
        // QByteArray saveState(int) const
        QByteArray xret = ((const x_QMainWindow*)this)->QMainWindow::saveState((int)x[1].s_int);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_55(Smoke::Stack x) {
        // bool restoreState(const QByteArray&, int)
        bool xret = this->QMainWindow::restoreState(*(const QByteArray*)x[1].s_class,(int)x[2].s_int);
        x[0].s_bool = xret;
    }
    void x_56(Smoke::Stack x) {
        // virtual QMenu* createPopupMenu()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMainWindow*>(this))) {
            QMenu* xret = this->QMainWindow::createPopupMenu();
            x[0].s_class = (void*)xret;
        } else {
            QMenu* xret = this->createPopupMenu();
            x[0].s_class = (void*)xret;
        }
    }
    void x_57(Smoke::Stack x) {
        // void setAnimated(bool)
        this->QMainWindow::setAnimated((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void setDockNestingEnabled(bool)
        this->QMainWindow::setDockNestingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void iconSizeChanged(const QSize&)
        this->QMainWindow::iconSizeChanged(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void toolButtonStyleChanged(Qt::ToolButtonStyle)
        this->QMainWindow::toolButtonStyleChanged((Qt::ToolButtonStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMainWindow*>(this))) {
            this->QMainWindow::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_62(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMainWindow*>(this))) {
            bool xret = this->QMainWindow::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;
        }
    }
    static void x_63(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QMainWindow::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_64(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QMainWindow::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_65(Smoke::Stack x) {
        // QMainWindow* QMainWindow()
        x_QMainWindow* xret = new x_QMainWindow((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_66(Smoke::Stack x) {
        // QMainWindow* QMainWindow(QWidget*)
        x_QMainWindow* xret = new x_QMainWindow((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    void x_67(Smoke::Stack x) {
        // void addToolBarBreak()
        this->QMainWindow::addToolBarBreak((Qt::ToolBarArea)Qt::TopToolBarArea);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // QByteArray saveState() const
        QByteArray xret = ((const x_QMainWindow*)this)->QMainWindow::saveState((int)0);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_69(Smoke::Stack x) {
        // bool restoreState(const QByteArray&)
        bool xret = this->QMainWindow::restoreState(*(const QByteArray*)x[1].s_class,(int)0);
        x[0].s_bool = xret;
    }
    static void x_70(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QMainWindow::staticMetaObject;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QMainWindow::AnimatedDocks;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QMainWindow::AllowNestedDocks;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QMainWindow::AllowTabbedDocks;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QMainWindow::ForceTabbedDocks;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QMainWindow::VerticalTabs;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7656, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QMainWindow::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7657, (void*)this, x)) return (void*)x[0].s_class;
        return this->QMainWindow::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(7662, (void*)this, x)) return (int)x[0].s_int;
        return this->QMainWindow::qt_metacall(x1, x2, x3);
    }
    virtual QMenu* createPopupMenu() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7711, (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(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15563, (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(15564, (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(15568, (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(15617, (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(15618, (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(15619, (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(15620, (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(15621, (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(15622, (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(15623, (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(15624, (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(15625, (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(15626, (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(15627, (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(15628, (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(15629, (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(15630, (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(15631, (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(7716, (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(15633, (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(15634, (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(15635, (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(15636, (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(15637, (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(15638, (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(15639, (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(15640, (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(15641, (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(15642, (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(15644, (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(15645, (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(15652, (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(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(7717, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMainWindow::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(8375, (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(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 520: //QMainWindow::DockOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QMainWindow::DockOption;
                    break;
                case Smoke::EnumDelete:
                    delete (QMainWindow::DockOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QMainWindow::DockOption*)xdata = (QMainWindow::DockOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QMainWindow::DockOption*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QMainWindow() { this->_binding->deleted(225, (void*)this); }
};
void xenum_QMainWindow(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QMainWindow::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QMainWindow(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMainWindow *xself = (x_QMainWindow*)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_QMainWindow::x_3(args);	break;
        case 4: x_QMainWindow::x_4(args);	break;
        case 5: x_QMainWindow::x_5(args);	break;
        case 6: x_QMainWindow::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QMainWindow::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: x_QMainWindow::x_63(args);	break;
        case 64: x_QMainWindow::x_64(args);	break;
        case 65: x_QMainWindow::x_65(args);	break;
        case 66: x_QMainWindow::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_QMainWindow::x_70(args);	break;
        case 71: x_QMainWindow::x_71(args);	break;
        case 72: x_QMainWindow::x_72(args);	break;
        case 73: x_QMainWindow::x_73(args);	break;
        case 74: x_QMainWindow::x_74(args);	break;
        case 75: x_QMainWindow::x_75(args);	break;
        case 76: delete (QMainWindow*)xself;	break;
    }
}
class x_QMatrix : public QMatrix {
    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) {
        // QMatrix* QMatrix(Qt::Initialization)
        x_QMatrix* xret = new x_QMatrix((Qt::Initialization)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix(Qt::Initialization x1) : QMatrix(x1) {}
    static void x_2(Smoke::Stack x) {
        // QMatrix* QMatrix()
        x_QMatrix* xret = new x_QMatrix();
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix() : QMatrix() {}
    static void x_3(Smoke::Stack x) {
        // QMatrix* QMatrix(double, double, double, double, double, double)
        x_QMatrix* xret = new x_QMatrix((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(double)x[5].s_double,(double)x[6].s_double);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix(double x1, double x2, double x3, double x4, double x5, double x6) : QMatrix(x1, x2, x3, x4, x5, x6) {}
    static void x_4(Smoke::Stack x) {
        // QMatrix* QMatrix(const QMatrix&)
        x_QMatrix* xret = new x_QMatrix(*(const QMatrix*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix(const QMatrix& x1) : QMatrix(x1) {}
    void x_5(Smoke::Stack x) {
        // void setMatrix(double, double, double, double, double, double)
        this->QMatrix::setMatrix((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(double)x[5].s_double,(double)x[6].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // double m11() const
        double xret = ((const x_QMatrix*)this)->QMatrix::m11();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // double m12() const
        double xret = ((const x_QMatrix*)this)->QMatrix::m12();
        x[0].s_double = xret;
    }
    void x_8(Smoke::Stack x) {
        // double m21() const
        double xret = ((const x_QMatrix*)this)->QMatrix::m21();
        x[0].s_double = xret;
    }
    void x_9(Smoke::Stack x) {
        // double m22() const
        double xret = ((const x_QMatrix*)this)->QMatrix::m22();
        x[0].s_double = xret;
    }
    void x_10(Smoke::Stack x) {
        // double dx() const
        double xret = ((const x_QMatrix*)this)->QMatrix::dx();
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // double dy() const
        double xret = ((const x_QMatrix*)this)->QMatrix::dy();
        x[0].s_double = xret;
    }
    void x_12(Smoke::Stack x) {
        // void map(int, int, int*, int*) const
        ((const x_QMatrix*)this)->QMatrix::map((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)
    }
    void x_13(Smoke::Stack x) {
        // void map(double, double, double*, double*) const
        ((const x_QMatrix*)this)->QMatrix::map((double)x[1].s_double,(double)x[2].s_double,(double*)x[3].s_class,(double*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QRect mapRect(const QRect&) const
        QRect xret = ((const x_QMatrix*)this)->QMatrix::mapRect(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_15(Smoke::Stack x) {
        // QRectF mapRect(const QRectF&) const
        QRectF xret = ((const x_QMatrix*)this)->QMatrix::mapRect(*(const QRectF*)x[1].s_class);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_16(Smoke::Stack x) {
        // QPoint map(const QPoint&) const
        QPoint xret = ((const x_QMatrix*)this)->QMatrix::map(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_17(Smoke::Stack x) {
        // QPointF map(const QPointF&) const
        QPointF xret = ((const x_QMatrix*)this)->QMatrix::map(*(const QPointF*)x[1].s_class);
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_18(Smoke::Stack x) {
        // QLine map(const QLine&) const
        QLine xret = ((const x_QMatrix*)this)->QMatrix::map(*(const QLine*)x[1].s_class);
        x[0].s_class = (void*)new QLine(xret);
    }
    void x_19(Smoke::Stack x) {
        // QLineF map(const QLineF&) const
        QLineF xret = ((const x_QMatrix*)this)->QMatrix::map(*(const QLineF*)x[1].s_class);
        x[0].s_class = (void*)new QLineF(xret);
    }
    void x_20(Smoke::Stack x) {
        // QPolygonF map(const QPolygonF&) const
        QPolygonF xret = ((const x_QMatrix*)this)->QMatrix::map(*(const QPolygonF*)x[1].s_class);
        x[0].s_class = (void*)new QPolygonF(xret);
    }
    void x_21(Smoke::Stack x) {
        // QPolygon map(const QPolygon&) const
        QPolygon xret = ((const x_QMatrix*)this)->QMatrix::map(*(const QPolygon*)x[1].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_22(Smoke::Stack x) {
        // QRegion map(const QRegion&) const
        QRegion xret = ((const x_QMatrix*)this)->QMatrix::map(*(const QRegion*)x[1].s_class);
        x[0].s_class = (void*)new QRegion(xret);
    }
    void x_23(Smoke::Stack x) {
        // QPainterPath map(const QPainterPath&) const
        QPainterPath xret = ((const x_QMatrix*)this)->QMatrix::map(*(const QPainterPath*)x[1].s_class);
        x[0].s_class = (void*)new QPainterPath(xret);
    }
    void x_24(Smoke::Stack x) {
        // QPolygon mapToPolygon(const QRect&) const
        QPolygon xret = ((const x_QMatrix*)this)->QMatrix::mapToPolygon(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_25(Smoke::Stack x) {
        // void reset()
        this->QMatrix::reset();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // bool isIdentity() const
        bool xret = ((const x_QMatrix*)this)->QMatrix::isIdentity();
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // QMatrix& translate(double, double)
        QMatrix& xret = this->QMatrix::translate((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_28(Smoke::Stack x) {
        // QMatrix& scale(double, double)
        QMatrix& xret = this->QMatrix::scale((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_29(Smoke::Stack x) {
        // QMatrix& shear(double, double)
        QMatrix& xret = this->QMatrix::shear((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_30(Smoke::Stack x) {
        // QMatrix& rotate(double)
        QMatrix& xret = this->QMatrix::rotate((double)x[1].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_31(Smoke::Stack x) {
        // bool isInvertible() const
        bool xret = ((const x_QMatrix*)this)->QMatrix::isInvertible();
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // double determinant() const
        double xret = ((const x_QMatrix*)this)->QMatrix::determinant();
        x[0].s_double = xret;
    }
    void x_33(Smoke::Stack x) {
        // double det() const
        double xret = ((const x_QMatrix*)this)->QMatrix::det();
        x[0].s_double = xret;
    }
    void x_34(Smoke::Stack x) {
        // QMatrix inverted(bool*) const
        QMatrix xret = ((const x_QMatrix*)this)->QMatrix::inverted((bool*)x[1].s_class);
        x[0].s_class = (void*)new QMatrix(xret);
    }
    void x_35(Smoke::Stack x) {
        // bool operator==(const QMatrix&) const
        bool xret = ((const x_QMatrix*)this)->QMatrix::operator==(*(const QMatrix*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_36(Smoke::Stack x) {
        // bool operator!=(const QMatrix&) const
        bool xret = ((const x_QMatrix*)this)->QMatrix::operator!=(*(const QMatrix*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // QMatrix& operator*=(const QMatrix&)
        QMatrix& xret = this->QMatrix::operator*=(*(const QMatrix*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_38(Smoke::Stack x) {
        // QMatrix operator*(const QMatrix&) const
        QMatrix xret = ((const x_QMatrix*)this)->QMatrix::operator*(*(const QMatrix*)x[1].s_class);
        x[0].s_class = (void*)new QMatrix(xret);
    }
    void x_39(Smoke::Stack x) {
        // QMatrix& operator=(const QMatrix&)
        QMatrix& xret = this->QMatrix::operator=(*(const QMatrix*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_40(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QMatrix*)this)->QMatrix::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_41(Smoke::Stack x) {
        // QMatrix inverted() const
        QMatrix xret = ((const x_QMatrix*)this)->QMatrix::inverted((bool*)0);
        x[0].s_class = (void*)new QMatrix(xret);
    }
    ~x_QMatrix() { this->_binding->deleted(227, (void*)this); }
};
void xcall_QMatrix(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMatrix *xself = (x_QMatrix*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QMatrix::x_1(args);	break;
        case 2: x_QMatrix::x_2(args);	break;
        case 3: x_QMatrix::x_3(args);	break;
        case 4: x_QMatrix::x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: delete (QMatrix*)xself;	break;
    }
}
class x_QMatrix4x4 : public QMatrix4x4 {
    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) {
        // QMatrix4x4* QMatrix4x4()
        x_QMatrix4x4* xret = new x_QMatrix4x4();
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix4x4() : QMatrix4x4() {}
    static void x_2(Smoke::Stack x) {
        // QMatrix4x4* QMatrix4x4(const double*)
        x_QMatrix4x4* xret = new x_QMatrix4x4((const double*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix4x4(const double* x1) : QMatrix4x4(x1) {}
    static void x_3(Smoke::Stack x) {
        // QMatrix4x4* QMatrix4x4(double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double)
        x_QMatrix4x4* xret = new x_QMatrix4x4((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(double)x[5].s_double,(double)x[6].s_double,(double)x[7].s_double,(double)x[8].s_double,(double)x[9].s_double,(double)x[10].s_double,(double)x[11].s_double,(double)x[12].s_double,(double)x[13].s_double,(double)x[14].s_double,(double)x[15].s_double,(double)x[16].s_double);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix4x4(double x1, double x2, double x3, double x4, double x5, double x6, double x7, double x8, double x9, double x10, double x11, double x12, double x13, double x14, double x15, double x16) : QMatrix4x4(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16) {}
    static void x_4(Smoke::Stack x) {
        // QMatrix4x4* QMatrix4x4(const double*, int, int)
        x_QMatrix4x4* xret = new x_QMatrix4x4((const double*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix4x4(const double* x1, int x2, int x3) : QMatrix4x4(x1, x2, x3) {}
    static void x_5(Smoke::Stack x) {
        // QMatrix4x4* QMatrix4x4(const QTransform&)
        x_QMatrix4x4* xret = new x_QMatrix4x4(*(const QTransform*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix4x4(const QTransform& x1) : QMatrix4x4(x1) {}
    static void x_6(Smoke::Stack x) {
        // QMatrix4x4* QMatrix4x4(const QMatrix&)
        x_QMatrix4x4* xret = new x_QMatrix4x4(*(const QMatrix*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix4x4(const QMatrix& x1) : QMatrix4x4(x1) {}
    void x_7(Smoke::Stack x) {
        // const double& operator()(int, int) const
        const double& xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::operator()((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)&xret;
    }
    void x_8(Smoke::Stack x) {
        // double& operator()(int, int)
        double& xret = this->QMatrix4x4::operator()((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)&xret;
    }
    void x_9(Smoke::Stack x) {
        // QVector4D column(int) const
        QVector4D xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::column((int)x[1].s_int);
        x[0].s_class = (void*)new QVector4D(xret);
    }
    void x_10(Smoke::Stack x) {
        // void setColumn(int, const QVector4D&)
        this->QMatrix4x4::setColumn((int)x[1].s_int,*(const QVector4D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QVector4D row(int) const
        QVector4D xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::row((int)x[1].s_int);
        x[0].s_class = (void*)new QVector4D(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setRow(int, const QVector4D&)
        this->QMatrix4x4::setRow((int)x[1].s_int,*(const QVector4D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool isIdentity() const
        bool xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::isIdentity();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setToIdentity()
        this->QMatrix4x4::setToIdentity();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void fill(double)
        this->QMatrix4x4::fill((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // double determinant() const
        double xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::determinant();
        x[0].s_double = xret;
    }
    void x_17(Smoke::Stack x) {
        // QMatrix4x4 inverted(bool*) const
        QMatrix4x4 xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::inverted((bool*)x[1].s_class);
        x[0].s_class = (void*)new QMatrix4x4(xret);
    }
    void x_18(Smoke::Stack x) {
        // QMatrix4x4 transposed() const
        QMatrix4x4 xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::transposed();
        x[0].s_class = (void*)new QMatrix4x4(xret);
    }
    void x_19(Smoke::Stack x) {
        // QGenericMatrix<3,3,double> normalMatrix() const
        QGenericMatrix<3,3,double> xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::normalMatrix();
        x[0].s_class = (void*)new QGenericMatrix<3,3,double>(xret);
    }
    void x_20(Smoke::Stack x) {
        // QMatrix4x4& operator+=(const QMatrix4x4&)
        QMatrix4x4& xret = this->QMatrix4x4::operator+=(*(const QMatrix4x4*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_21(Smoke::Stack x) {
        // QMatrix4x4& operator-=(const QMatrix4x4&)
        QMatrix4x4& xret = this->QMatrix4x4::operator-=(*(const QMatrix4x4*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_22(Smoke::Stack x) {
        // QMatrix4x4& operator*=(const QMatrix4x4&)
        QMatrix4x4& xret = this->QMatrix4x4::operator*=(*(const QMatrix4x4*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_23(Smoke::Stack x) {
        // QMatrix4x4& operator*=(double)
        QMatrix4x4& xret = this->QMatrix4x4::operator*=((double)x[1].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_24(Smoke::Stack x) {
        // QMatrix4x4& operator/=(double)
        QMatrix4x4& xret = this->QMatrix4x4::operator/=((double)x[1].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_25(Smoke::Stack x) {
        // bool operator==(const QMatrix4x4&) const
        bool xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::operator==(*(const QMatrix4x4*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // bool operator!=(const QMatrix4x4&) const
        bool xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::operator!=(*(const QMatrix4x4*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // void scale(const QVector3D&)
        this->QMatrix4x4::scale(*(const QVector3D*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void translate(const QVector3D&)
        this->QMatrix4x4::translate(*(const QVector3D*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void rotate(double, const QVector3D&)
        this->QMatrix4x4::rotate((double)x[1].s_double,*(const QVector3D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void scale(double, double)
        this->QMatrix4x4::scale((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void scale(double, double, double)
        this->QMatrix4x4::scale((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void scale(double)
        this->QMatrix4x4::scale((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void translate(double, double)
        this->QMatrix4x4::translate((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void translate(double, double, double)
        this->QMatrix4x4::translate((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void rotate(double, double, double, double)
        this->QMatrix4x4::rotate((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void rotate(const QQuaternion&)
        this->QMatrix4x4::rotate(*(const QQuaternion*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void ortho(const QRect&)
        this->QMatrix4x4::ortho(*(const QRect*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void ortho(const QRectF&)
        this->QMatrix4x4::ortho(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void ortho(double, double, double, double, double, double)
        this->QMatrix4x4::ortho((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(double)x[5].s_double,(double)x[6].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void frustum(double, double, double, double, double, double)
        this->QMatrix4x4::frustum((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(double)x[5].s_double,(double)x[6].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void perspective(double, double, double, double)
        this->QMatrix4x4::perspective((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void lookAt(const QVector3D&, const QVector3D&, const QVector3D&)
        this->QMatrix4x4::lookAt(*(const QVector3D*)x[1].s_class,*(const QVector3D*)x[2].s_class,*(const QVector3D*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void flipCoordinates()
        this->QMatrix4x4::flipCoordinates();
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void copyDataTo(double*) const
        ((const x_QMatrix4x4*)this)->QMatrix4x4::copyDataTo((double*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // QMatrix toAffine() const
        QMatrix xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::toAffine();
        x[0].s_class = (void*)new QMatrix(xret);
    }
    void x_46(Smoke::Stack x) {
        // QTransform toTransform() const
        QTransform xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::toTransform();
        x[0].s_class = (void*)new QTransform(xret);
    }
    void x_47(Smoke::Stack x) {
        // QTransform toTransform(double) const
        QTransform xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::toTransform((double)x[1].s_double);
        x[0].s_class = (void*)new QTransform(xret);
    }
    void x_48(Smoke::Stack x) {
        // QPoint map(const QPoint&) const
        QPoint xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::map(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_49(Smoke::Stack x) {
        // QPointF map(const QPointF&) const
        QPointF xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::map(*(const QPointF*)x[1].s_class);
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_50(Smoke::Stack x) {
        // QVector3D map(const QVector3D&) const
        QVector3D xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::map(*(const QVector3D*)x[1].s_class);
        x[0].s_class = (void*)new QVector3D(xret);
    }
    void x_51(Smoke::Stack x) {
        // QVector3D mapVector(const QVector3D&) const
        QVector3D xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::mapVector(*(const QVector3D*)x[1].s_class);
        x[0].s_class = (void*)new QVector3D(xret);
    }
    void x_52(Smoke::Stack x) {
        // QVector4D map(const QVector4D&) const
        QVector4D xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::map(*(const QVector4D*)x[1].s_class);
        x[0].s_class = (void*)new QVector4D(xret);
    }
    void x_53(Smoke::Stack x) {
        // QRect mapRect(const QRect&) const
        QRect xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::mapRect(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_54(Smoke::Stack x) {
        // QRectF mapRect(const QRectF&) const
        QRectF xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::mapRect(*(const QRectF*)x[1].s_class);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_55(Smoke::Stack x) {
        // double* data()
        double* xret = this->QMatrix4x4::data();
        x[0].s_class = (void*)xret;
    }
    void x_56(Smoke::Stack x) {
        // const double* data() const
        const double* xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::data();
        x[0].s_class = (void*)xret;
    }
    void x_57(Smoke::Stack x) {
        // const double* constData() const
        const double* xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::constData();
        x[0].s_class = (void*)xret;
    }
    void x_58(Smoke::Stack x) {
        // void optimize()
        this->QMatrix4x4::optimize();
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_60(Smoke::Stack x) {
        // QMatrix4x4* QMatrix4x4(const QMatrix4x4&)
        x_QMatrix4x4* xret = new x_QMatrix4x4(*(const QMatrix4x4*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMatrix4x4(const QMatrix4x4& x1) : QMatrix4x4(x1) {}
    void x_61(Smoke::Stack x) {
        // QMatrix4x4 inverted() const
        QMatrix4x4 xret = ((const x_QMatrix4x4*)this)->QMatrix4x4::inverted((bool*)0);
        x[0].s_class = (void*)new QMatrix4x4(xret);
    }
    void x_62(Smoke::Stack x) {
        // void rotate(double, double, double)
        this->QMatrix4x4::rotate((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)0.0f);
        (void)x; // noop (for compiler warning)
    }
    ~x_QMatrix4x4() { this->_binding->deleted(228, (void*)this); }
};
void xcall_QMatrix4x4(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMatrix4x4 *xself = (x_QMatrix4x4*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QMatrix4x4::x_1(args);	break;
        case 2: x_QMatrix4x4::x_2(args);	break;
        case 3: x_QMatrix4x4::x_3(args);	break;
        case 4: x_QMatrix4x4::x_4(args);	break;
        case 5: x_QMatrix4x4::x_5(args);	break;
        case 6: x_QMatrix4x4::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: x_QMatrix4x4::x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: delete (QMatrix4x4*)xself;	break;
    }
}
class x_QMdiArea : public QMdiArea, 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<QMdiArea*>(this))) {
            const QMetaObject* xret = ((const x_QMdiArea*)this)->QMdiArea::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QMdiArea*)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<QMdiArea*>(this))) {
            void* xret = this->QMdiArea::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 = QMdiArea::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 = QMdiArea::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 = QMdiArea::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 = QMdiArea::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<QMdiArea*>(this))) {
            int xret = this->QMdiArea::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) {
        // QMdiArea* QMdiArea(QWidget*)
        x_QMdiArea* xret = new x_QMdiArea((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMdiArea(QWidget* x1) : QMdiArea(x1) {}
    void x_9(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            QSize xret = ((const x_QMdiArea*)this)->QMdiArea::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QMdiArea*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_10(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            QSize xret = ((const x_QMdiArea*)this)->QMdiArea::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QMdiArea*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_11(Smoke::Stack x) {
        // QMdiSubWindow* currentSubWindow() const
        QMdiSubWindow* xret = ((const x_QMdiArea*)this)->QMdiArea::currentSubWindow();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QMdiSubWindow* activeSubWindow() const
        QMdiSubWindow* xret = ((const x_QMdiArea*)this)->QMdiArea::activeSubWindow();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QList<QMdiSubWindow*> subWindowList(QMdiArea::WindowOrder) const
        QList<QMdiSubWindow*> xret = ((const x_QMdiArea*)this)->QMdiArea::subWindowList((QMdiArea::WindowOrder)x[1].s_enum);
        x[0].s_class = (void*)new QList<QMdiSubWindow*>(xret);
    }
    void x_14(Smoke::Stack x) {
        // QMdiSubWindow* addSubWindow(QWidget*, QFlags<Qt::WindowType>)
        QMdiSubWindow* xret = this->QMdiArea::addSubWindow((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // void removeSubWindow(QWidget*)
        this->QMdiArea::removeSubWindow((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QBrush background() const
        QBrush xret = ((const x_QMdiArea*)this)->QMdiArea::background();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_17(Smoke::Stack x) {
        // void setBackground(const QBrush&)
        this->QMdiArea::setBackground(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QMdiArea::WindowOrder activationOrder() const
        QMdiArea::WindowOrder xret = ((const x_QMdiArea*)this)->QMdiArea::activationOrder();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setActivationOrder(QMdiArea::WindowOrder)
        this->QMdiArea::setActivationOrder((QMdiArea::WindowOrder)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setOption(QMdiArea::AreaOption, bool)
        this->QMdiArea::setOption((QMdiArea::AreaOption)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // bool testOption(QMdiArea::AreaOption) const
        bool xret = ((const x_QMdiArea*)this)->QMdiArea::testOption((QMdiArea::AreaOption)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setViewMode(QMdiArea::ViewMode)
        this->QMdiArea::setViewMode((QMdiArea::ViewMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QMdiArea::ViewMode viewMode() const
        QMdiArea::ViewMode xret = ((const x_QMdiArea*)this)->QMdiArea::viewMode();
        x[0].s_enum = xret;
    }
    void x_24(Smoke::Stack x) {
        // bool documentMode() const
        bool xret = ((const x_QMdiArea*)this)->QMdiArea::documentMode();
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setDocumentMode(bool)
        this->QMdiArea::setDocumentMode((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setTabsClosable(bool)
        this->QMdiArea::setTabsClosable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // bool tabsClosable() const
        bool xret = ((const x_QMdiArea*)this)->QMdiArea::tabsClosable();
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setTabsMovable(bool)
        this->QMdiArea::setTabsMovable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // bool tabsMovable() const
        bool xret = ((const x_QMdiArea*)this)->QMdiArea::tabsMovable();
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // void setTabShape(QTabWidget::TabShape)
        this->QMdiArea::setTabShape((QTabWidget::TabShape)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // QTabWidget::TabShape tabShape() const
        QTabWidget::TabShape xret = ((const x_QMdiArea*)this)->QMdiArea::tabShape();
        x[0].s_enum = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setTabPosition(QTabWidget::TabPosition)
        this->QMdiArea::setTabPosition((QTabWidget::TabPosition)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // QTabWidget::TabPosition tabPosition() const
        QTabWidget::TabPosition xret = ((const x_QMdiArea*)this)->QMdiArea::tabPosition();
        x[0].s_enum = xret;
    }
    void x_34(Smoke::Stack x) {
        // void subWindowActivated(QMdiSubWindow*)
        this->QMdiArea::subWindowActivated((QMdiSubWindow*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setActiveSubWindow(QMdiSubWindow*)
        this->QMdiArea::setActiveSubWindow((QMdiSubWindow*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void tileSubWindows()
        this->QMdiArea::tileSubWindows();
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void cascadeSubWindows()
        this->QMdiArea::cascadeSubWindows();
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void closeActiveSubWindow()
        this->QMdiArea::closeActiveSubWindow();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void closeAllSubWindows()
        this->QMdiArea::closeAllSubWindows();
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void activateNextSubWindow()
        this->QMdiArea::activateNextSubWindow();
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void activatePreviousSubWindow()
        this->QMdiArea::activatePreviousSubWindow();
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void setupViewport(QWidget*)
        this->QMdiArea::setupViewport((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            bool xret = this->QMdiArea::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_44(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            bool xret = this->QMdiArea::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_45(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            this->QMdiArea::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_46(Smoke::Stack x) {
        // void childEvent(QChildEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            this->QMdiArea::childEvent((QChildEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->childEvent((QChildEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            this->QMdiArea::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            this->QMdiArea::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            this->QMdiArea::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // bool viewportEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            bool xret = this->QMdiArea::viewportEvent((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->viewportEvent((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_51(Smoke::Stack x) {
        // void scrollContentsBy(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiArea*>(this))) {
            this->QMdiArea::scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_52(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QMdiArea::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_53(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QMdiArea::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_54(Smoke::Stack x) {
        // QMdiArea* QMdiArea()
        x_QMdiArea* xret = new x_QMdiArea((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_55(Smoke::Stack x) {
        // QList<QMdiSubWindow*> subWindowList() const
        QList<QMdiSubWindow*> xret = ((const x_QMdiArea*)this)->QMdiArea::subWindowList((QMdiArea::WindowOrder)QMdiArea::CreationOrder);
        x[0].s_class = (void*)new QList<QMdiSubWindow*>(xret);
    }
    void x_56(Smoke::Stack x) {
        // QMdiSubWindow* addSubWindow(QWidget*)
        QMdiSubWindow* xret = this->QMdiArea::addSubWindow((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    void x_57(Smoke::Stack x) {
        // void setOption(QMdiArea::AreaOption)
        this->QMdiArea::setOption((QMdiArea::AreaOption)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_58(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QMdiArea::staticMetaObject;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiArea::DontMaximizeSubWindowOnActivation;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiArea::CreationOrder;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiArea::StackingOrder;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiArea::ActivationHistoryOrder;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiArea::SubWindowView;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiArea::TabbedView;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7837, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QMdiArea::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7838, (void*)this, x)) return (void*)x[0].s_class;
        return this->QMdiArea::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(7843, (void*)this, x)) return (int)x[0].s_int;
        return this->QMdiArea::qt_metacall(x1, x2, x3);
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7886, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMdiArea::viewportEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(7887, (void*)this, x)) return;
        this->QMdiArea::scrollContentsBy(x1, x2);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7845, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMdiArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7846, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMdiArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (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(448, (void*)this, x)) return;
        this->QAbstractScrollArea::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(449, (void*)this, x)) return;
        this->QAbstractScrollArea::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(450, (void*)this, x)) return;
        this->QAbstractScrollArea::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(451, (void*)this, x)) return;
        this->QAbstractScrollArea::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(452, (void*)this, x)) return;
        this->QAbstractScrollArea::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(458, (void*)this, x)) return;
        this->QAbstractScrollArea::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(15624, (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(15625, (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(15626, (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(15627, (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(7881, (void*)this, x)) return;
        this->QMdiArea::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (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(7883, (void*)this, x)) return;
        this->QMdiArea::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (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(453, (void*)this, x)) return;
        this->QAbstractScrollArea::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (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(15634, (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(454, (void*)this, x)) return;
        this->QAbstractScrollArea::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(455, (void*)this, x)) return;
        this->QAbstractScrollArea::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(456, (void*)this, x)) return;
        this->QAbstractScrollArea::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(457, (void*)this, x)) return;
        this->QAbstractScrollArea::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7885, (void*)this, x)) return;
        this->QMdiArea::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (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(15641, (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(3700, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (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(15645, (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(15652, (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(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(7879, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMdiArea::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(7880, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMdiArea::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7884, (void*)this, x)) return;
        this->QMdiArea::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7882, (void*)this, x)) return;
        this->QMdiArea::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 531: //QMdiArea::AreaOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QMdiArea::AreaOption;
                    break;
                case Smoke::EnumDelete:
                    delete (QMdiArea::AreaOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QMdiArea::AreaOption*)xdata = (QMdiArea::AreaOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QMdiArea::AreaOption*)xdata;
                    break;
            }
            break;
        case 533: //QMdiArea::WindowOrder
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QMdiArea::WindowOrder;
                    break;
                case Smoke::EnumDelete:
                    delete (QMdiArea::WindowOrder*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QMdiArea::WindowOrder*)xdata = (QMdiArea::WindowOrder)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QMdiArea::WindowOrder*)xdata;
                    break;
            }
            break;
        case 532: //QMdiArea::ViewMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QMdiArea::ViewMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QMdiArea::ViewMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QMdiArea::ViewMode*)xdata = (QMdiArea::ViewMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QMdiArea::ViewMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QMdiArea() { this->_binding->deleted(229, (void*)this); }
};
void xenum_QMdiArea(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QMdiArea::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QMdiArea(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMdiArea *xself = (x_QMdiArea*)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_QMdiArea::x_3(args);	break;
        case 4: x_QMdiArea::x_4(args);	break;
        case 5: x_QMdiArea::x_5(args);	break;
        case 6: x_QMdiArea::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QMdiArea::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: x_QMdiArea::x_52(args);	break;
        case 53: x_QMdiArea::x_53(args);	break;
        case 54: x_QMdiArea::x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: x_QMdiArea::x_58(args);	break;
        case 59: x_QMdiArea::x_59(args);	break;
        case 60: x_QMdiArea::x_60(args);	break;
        case 61: x_QMdiArea::x_61(args);	break;
        case 62: x_QMdiArea::x_62(args);	break;
        case 63: x_QMdiArea::x_63(args);	break;
        case 64: x_QMdiArea::x_64(args);	break;
        case 65: delete (QMdiArea*)xself;	break;
    }
}
class x_QMdiSubWindow : public QMdiSubWindow, 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<QMdiSubWindow*>(this))) {
            const QMetaObject* xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QMdiSubWindow*)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<QMdiSubWindow*>(this))) {
            void* xret = this->QMdiSubWindow::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 = QMdiSubWindow::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 = QMdiSubWindow::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 = QMdiSubWindow::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 = QMdiSubWindow::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<QMdiSubWindow*>(this))) {
            int xret = this->QMdiSubWindow::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) {
        // QMdiSubWindow* QMdiSubWindow(QWidget*, QFlags<Qt::WindowType>)
        x_QMdiSubWindow* xret = new x_QMdiSubWindow((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMdiSubWindow(QWidget* x1, QFlags<Qt::WindowType> x2) : QMdiSubWindow(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            QSize xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QMdiSubWindow*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_10(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            QSize xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QMdiSubWindow*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_11(Smoke::Stack x) {
        // void setWidget(QWidget*)
        this->QMdiSubWindow::setWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QWidget* widget() const
        QWidget* xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::widget();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QWidget* maximizedButtonsWidget() const
        QWidget* xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::maximizedButtonsWidget();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // QWidget* maximizedSystemMenuIconWidget() const
        QWidget* xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::maximizedSystemMenuIconWidget();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // bool isShaded() const
        bool xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::isShaded();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setOption(QMdiSubWindow::SubWindowOption, bool)
        this->QMdiSubWindow::setOption((QMdiSubWindow::SubWindowOption)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool testOption(QMdiSubWindow::SubWindowOption) const
        bool xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::testOption((QMdiSubWindow::SubWindowOption)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setKeyboardSingleStep(int)
        this->QMdiSubWindow::setKeyboardSingleStep((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // int keyboardSingleStep() const
        int xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::keyboardSingleStep();
        x[0].s_int = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setKeyboardPageStep(int)
        this->QMdiSubWindow::setKeyboardPageStep((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // int keyboardPageStep() const
        int xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::keyboardPageStep();
        x[0].s_int = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setSystemMenu(QMenu*)
        this->QMdiSubWindow::setSystemMenu((QMenu*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QMenu* systemMenu() const
        QMenu* xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::systemMenu();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // QMdiArea* mdiArea() const
        QMdiArea* xret = ((const x_QMdiSubWindow*)this)->QMdiSubWindow::mdiArea();
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // void windowStateChanged(Qt::WindowStates, Qt::WindowStates)
        this->QMdiSubWindow::windowStateChanged((Qt::WindowStates)x[1].s_uint,(Qt::WindowStates)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void aboutToActivate()
        this->QMdiSubWindow::aboutToActivate();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void showSystemMenu()
        this->QMdiSubWindow::showSystemMenu();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void showShaded()
        this->QMdiSubWindow::showShaded();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            bool xret = this->QMdiSubWindow::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_30(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            bool xret = this->QMdiSubWindow::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_31(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // void closeEvent(QCloseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::closeEvent((QCloseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->closeEvent((QCloseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_35(Smoke::Stack x) {
        // void leaveEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::leaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->leaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_36(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_37(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_38(Smoke::Stack x) {
        // void moveEvent(QMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::moveEvent((QMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->moveEvent((QMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_39(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::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_40(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::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_41(Smoke::Stack x) {
        // void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_42(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::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_44(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // void childEvent(QChildEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMdiSubWindow*>(this))) {
            this->QMdiSubWindow::childEvent((QChildEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->childEvent((QChildEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_49(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QMdiSubWindow::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_50(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QMdiSubWindow::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_51(Smoke::Stack x) {
        // QMdiSubWindow* QMdiSubWindow()
        x_QMdiSubWindow* xret = new x_QMdiSubWindow((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_52(Smoke::Stack x) {
        // QMdiSubWindow* QMdiSubWindow(QWidget*)
        x_QMdiSubWindow* xret = new x_QMdiSubWindow((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    void x_53(Smoke::Stack x) {
        // void setOption(QMdiSubWindow::SubWindowOption)
        this->QMdiSubWindow::setOption((QMdiSubWindow::SubWindowOption)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_54(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QMdiSubWindow::staticMetaObject;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiSubWindow::AllowOutsideAreaHorizontally;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiSubWindow::AllowOutsideAreaVertically;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiSubWindow::RubberBandResize;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QMdiSubWindow::RubberBandMove;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7902, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QMdiSubWindow::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7903, (void*)this, x)) return (void*)x[0].s_class;
        return this->QMdiSubWindow::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(7908, (void*)this, x)) return (int)x[0].s_int;
        return this->QMdiSubWindow::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7910, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMdiSubWindow::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7911, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMdiSubWindow::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (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(7941, (void*)this, x)) return;
        this->QMdiSubWindow::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7943, (void*)this, x)) return;
        this->QMdiSubWindow::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7942, (void*)this, x)) return;
        this->QMdiSubWindow::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7944, (void*)this, x)) return;
        this->QMdiSubWindow::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (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(7945, (void*)this, x)) return;
        this->QMdiSubWindow::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(7947, (void*)this, x)) return;
        this->QMdiSubWindow::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7948, (void*)this, x)) return;
        this->QMdiSubWindow::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (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(7936, (void*)this, x)) return;
        this->QMdiSubWindow::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7940, (void*)this, x)) return;
        this->QMdiSubWindow::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7939, (void*)this, x)) return;
        this->QMdiSubWindow::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7937, (void*)this, x)) return;
        this->QMdiSubWindow::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7935, (void*)this, x)) return;
        this->QMdiSubWindow::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7946, (void*)this, x)) return;
        this->QMdiSubWindow::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (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(15634, (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(15635, (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(15636, (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(15637, (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(15638, (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(7932, (void*)this, x)) return;
        this->QMdiSubWindow::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7933, (void*)this, x)) return;
        this->QMdiSubWindow::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (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(7934, (void*)this, x)) return;
        this->QMdiSubWindow::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (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(15645, (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(15652, (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(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(7931, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMdiSubWindow::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(7930, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMdiSubWindow::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7938, (void*)this, x)) return;
        this->QMdiSubWindow::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7949, (void*)this, x)) return;
        this->QMdiSubWindow::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 535: //QMdiSubWindow::SubWindowOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QMdiSubWindow::SubWindowOption;
                    break;
                case Smoke::EnumDelete:
                    delete (QMdiSubWindow::SubWindowOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QMdiSubWindow::SubWindowOption*)xdata = (QMdiSubWindow::SubWindowOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QMdiSubWindow::SubWindowOption*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QMdiSubWindow() { this->_binding->deleted(230, (void*)this); }
};
void xenum_QMdiSubWindow(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QMdiSubWindow::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QMdiSubWindow(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMdiSubWindow *xself = (x_QMdiSubWindow*)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_QMdiSubWindow::x_3(args);	break;
        case 4: x_QMdiSubWindow::x_4(args);	break;
        case 5: x_QMdiSubWindow::x_5(args);	break;
        case 6: x_QMdiSubWindow::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QMdiSubWindow::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: x_QMdiSubWindow::x_49(args);	break;
        case 50: x_QMdiSubWindow::x_50(args);	break;
        case 51: x_QMdiSubWindow::x_51(args);	break;
        case 52: x_QMdiSubWindow::x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: x_QMdiSubWindow::x_54(args);	break;
        case 55: x_QMdiSubWindow::x_55(args);	break;
        case 56: x_QMdiSubWindow::x_56(args);	break;
        case 57: x_QMdiSubWindow::x_57(args);	break;
        case 58: x_QMdiSubWindow::x_58(args);	break;
        case 59: delete (QMdiSubWindow*)xself;	break;
    }
}
class x_QMenu : public QMenu, 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<QMenu*>(this))) {
            const QMetaObject* xret = ((const x_QMenu*)this)->QMenu::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QMenu*)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<QMenu*>(this))) {
            void* xret = this->QMenu::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 = QMenu::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 = QMenu::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 = QMenu::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 = QMenu::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<QMenu*>(this))) {
            int xret = this->QMenu::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) {
        // QMenu* QMenu(QWidget*)
        x_QMenu* xret = new x_QMenu((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMenu(QWidget* x1) : QMenu(x1) {}
    static void x_9(Smoke::Stack x) {
        // QMenu* QMenu(const QString&, QWidget*)
        x_QMenu* xret = new x_QMenu(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMenu(const QString& x1, QWidget* x2) : QMenu(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void addAction(QAction*)
        this->QMenu::addAction((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QAction* addAction(const QString&)
        QAction* xret = this->QMenu::addAction(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QAction* addAction(const QIcon&, const QString&)
        QAction* xret = this->QMenu::addAction(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QAction* addAction(const QString&, const QObject*, const char*, const QKeySequence&)
        QAction* xret = this->QMenu::addAction(*(const QString*)x[1].s_class,(const QObject*)x[2].s_class,(const char*)x[3].s_class,*(const QKeySequence*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // QAction* addAction(const QIcon&, const QString&, const QObject*, const char*, const QKeySequence&)
        QAction* xret = this->QMenu::addAction(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(const QObject*)x[3].s_class,(const char*)x[4].s_class,*(const QKeySequence*)x[5].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // QAction* addMenu(QMenu*)
        QAction* xret = this->QMenu::addMenu((QMenu*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // QMenu* addMenu(const QString&)
        QMenu* xret = this->QMenu::addMenu(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // QMenu* addMenu(const QIcon&, const QString&)
        QMenu* xret = this->QMenu::addMenu(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // QAction* addSeparator()
        QAction* xret = this->QMenu::addSeparator();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // QAction* insertMenu(QAction*, QMenu*)
        QAction* xret = this->QMenu::insertMenu((QAction*)x[1].s_class,(QMenu*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // QAction* insertSeparator(QAction*)
        QAction* xret = this->QMenu::insertSeparator((QAction*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_QMenu*)this)->QMenu::isEmpty();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // void clear()
        this->QMenu::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setTearOffEnabled(bool)
        this->QMenu::setTearOffEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // bool isTearOffEnabled() const
        bool xret = ((const x_QMenu*)this)->QMenu::isTearOffEnabled();
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // bool isTearOffMenuVisible() const
        bool xret = ((const x_QMenu*)this)->QMenu::isTearOffMenuVisible();
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // void hideTearOffMenu()
        this->QMenu::hideTearOffMenu();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setDefaultAction(QAction*)
        this->QMenu::setDefaultAction((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QAction* defaultAction() const
        QAction* xret = ((const x_QMenu*)this)->QMenu::defaultAction();
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // void setActiveAction(QAction*)
        this->QMenu::setActiveAction((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QAction* activeAction() const
        QAction* xret = ((const x_QMenu*)this)->QMenu::activeAction();
        x[0].s_class = (void*)xret;
    }
    void x_31(Smoke::Stack x) {
        // void popup(const QPoint&, QAction*)
        this->QMenu::popup(*(const QPoint*)x[1].s_class,(QAction*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // QAction* exec()
        QAction* xret = this->QMenu::exec();
        x[0].s_class = (void*)xret;
    }
    void x_33(Smoke::Stack x) {
        // QAction* exec(const QPoint&, QAction*)
        QAction* xret = this->QMenu::exec(*(const QPoint*)x[1].s_class,(QAction*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_34(Smoke::Stack x) {
        // static QAction* exec(QList<QAction*>, const QPoint&, QAction*)
        QAction* xret = QMenu::exec(*(QList<QAction*>*)x[1].s_class,*(const QPoint*)x[2].s_class,(QAction*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_35(Smoke::Stack x) {
        // static QAction* exec(QList<QAction*>, const QPoint&, QAction*, QWidget*)
        QAction* xret = QMenu::exec(*(QList<QAction*>*)x[1].s_class,*(const QPoint*)x[2].s_class,(QAction*)x[3].s_class,(QWidget*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_36(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            QSize xret = ((const x_QMenu*)this)->QMenu::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QMenu*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_37(Smoke::Stack x) {
        // QRect actionGeometry(QAction*) const
        QRect xret = ((const x_QMenu*)this)->QMenu::actionGeometry((QAction*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_38(Smoke::Stack x) {
        // QAction* actionAt(const QPoint&) const
        QAction* xret = ((const x_QMenu*)this)->QMenu::actionAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_39(Smoke::Stack x) {
        // QAction* menuAction() const
        QAction* xret = ((const x_QMenu*)this)->QMenu::menuAction();
        x[0].s_class = (void*)xret;
    }
    void x_40(Smoke::Stack x) {
        // QString title() const
        QString xret = ((const x_QMenu*)this)->QMenu::title();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_41(Smoke::Stack x) {
        // void setTitle(const QString&)
        this->QMenu::setTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // QIcon icon() const
        QIcon xret = ((const x_QMenu*)this)->QMenu::icon();
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_43(Smoke::Stack x) {
        // void setIcon(const QIcon&)
        this->QMenu::setIcon(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void setNoReplayFor(QWidget*)
        this->QMenu::setNoReplayFor((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // bool separatorsCollapsible() const
        bool xret = ((const x_QMenu*)this)->QMenu::separatorsCollapsible();
        x[0].s_bool = xret;
    }
    void x_46(Smoke::Stack x) {
        // void setSeparatorsCollapsible(bool)
        this->QMenu::setSeparatorsCollapsible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void aboutToShow()
        this->QMenu::aboutToShow();
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void aboutToHide()
        this->QMenu::aboutToHide();
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void triggered(QAction*)
        this->QMenu::triggered((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void hovered(QAction*)
        this->QMenu::hovered((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // int columnCount() const
        int xret = ((const x_QMenu*)this)->QMenu::columnCount();
        x[0].s_int = xret;
    }
    void x_52(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_53(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::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_56(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::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_57(Smoke::Stack x) {
        // void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::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_58(Smoke::Stack x) {
        // void enterEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::enterEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->enterEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_59(Smoke::Stack x) {
        // void leaveEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::leaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->leaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_60(Smoke::Stack x) {
        // void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_61(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::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_62(Smoke::Stack x) {
        // void actionEvent(QActionEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::actionEvent((QActionEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->actionEvent((QActionEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_63(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            this->QMenu::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_64(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            bool xret = this->QMenu::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_65(Smoke::Stack x) {
        // bool focusNextPrevChild(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenu*>(this))) {
            bool xret = this->QMenu::focusNextPrevChild((bool)x[1].s_bool);
            x[0].s_bool = xret;
        } else {
            bool xret = this->focusNextPrevChild((bool)x[1].s_bool);
            x[0].s_bool = xret;
        }
    }
    void x_66(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionMenuItem*, const QAction*) const
        ((const x_QMenu*)this)->QMenu::initStyleOption((QStyleOptionMenuItem*)x[1].s_class,(const QAction*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_67(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QMenu::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_68(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QMenu::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_69(Smoke::Stack x) {
        // QMenu* QMenu()
        x_QMenu* xret = new x_QMenu((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_70(Smoke::Stack x) {
        // QMenu* QMenu(const QString&)
        x_QMenu* xret = new x_QMenu(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_71(Smoke::Stack x) {
        // QAction* addAction(const QString&, const QObject*, const char*)
        QAction* xret = this->QMenu::addAction(*(const QString*)x[1].s_class,(const QObject*)x[2].s_class,(const char*)x[3].s_class,(const QKeySequence&)0);
        x[0].s_class = (void*)xret;
    }
    void x_72(Smoke::Stack x) {
        // QAction* addAction(const QIcon&, const QString&, const QObject*, const char*)
        QAction* xret = this->QMenu::addAction(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(const QObject*)x[3].s_class,(const char*)x[4].s_class,(const QKeySequence&)0);
        x[0].s_class = (void*)xret;
    }
    void x_73(Smoke::Stack x) {
        // void popup(const QPoint&)
        this->QMenu::popup(*(const QPoint*)x[1].s_class,(QAction*)0);
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // QAction* exec(const QPoint&)
        QAction* xret = this->QMenu::exec(*(const QPoint*)x[1].s_class,(QAction*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_75(Smoke::Stack x) {
        // static QAction* exec(QList<QAction*>, const QPoint&)
        QAction* xret = QMenu::exec(*(QList<QAction*>*)x[1].s_class,*(const QPoint*)x[2].s_class,(QAction*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_76(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QMenu::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7961, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QMenu::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7962, (void*)this, x)) return (void*)x[0].s_class;
        return this->QMenu::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(7967, (void*)this, x)) return (int)x[0].s_int;
        return this->QMenu::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7996, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMenu::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15564, (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(15568, (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(8015, (void*)this, x)) return;
        this->QMenu::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8014, (void*)this, x)) return;
        this->QMenu::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (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(8016, (void*)this, x)) return;
        this->QMenu::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8017, (void*)this, x)) return;
        this->QMenu::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8013, (void*)this, x)) return;
        this->QMenu::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(15624, (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(15625, (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(8018, (void*)this, x)) return;
        this->QMenu::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8019, (void*)this, x)) return;
        this->QMenu::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8021, (void*)this, x)) return;
        this->QMenu::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (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(15630, (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(15631, (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(15632, (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(15633, (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(8022, (void*)this, x)) return;
        this->QMenu::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (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(15636, (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(15637, (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(15638, (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(15639, (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(8020, (void*)this, x)) return;
        this->QMenu::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (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(8012, (void*)this, x)) return;
        this->QMenu::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (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(15645, (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(8025, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMenu::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(8024, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMenu::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(8375, (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(8023, (void*)this, x)) return;
        this->QMenu::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QMenu() { this->_binding->deleted(231, (void*)this); }
};
void xcall_QMenu(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMenu *xself = (x_QMenu*)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_QMenu::x_3(args);	break;
        case 4: x_QMenu::x_4(args);	break;
        case 5: x_QMenu::x_5(args);	break;
        case 6: x_QMenu::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QMenu::x_8(args);	break;
        case 9: x_QMenu::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: x_QMenu::x_34(args);	break;
        case 35: x_QMenu::x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: x_QMenu::x_67(args);	break;
        case 68: x_QMenu::x_68(args);	break;
        case 69: x_QMenu::x_69(args);	break;
        case 70: x_QMenu::x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: x_QMenu::x_75(args);	break;
        case 76: x_QMenu::x_76(args);	break;
        case 77: delete (QMenu*)xself;	break;
    }
}
class x_QMenuBar : public QMenuBar, 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<QMenuBar*>(this))) {
            const QMetaObject* xret = ((const x_QMenuBar*)this)->QMenuBar::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QMenuBar*)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<QMenuBar*>(this))) {
            void* xret = this->QMenuBar::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 = QMenuBar::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 = QMenuBar::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 = QMenuBar::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 = QMenuBar::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<QMenuBar*>(this))) {
            int xret = this->QMenuBar::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) {
        // QMenuBar* QMenuBar(QWidget*)
        x_QMenuBar* xret = new x_QMenuBar((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMenuBar(QWidget* x1) : QMenuBar(x1) {}
    void x_9(Smoke::Stack x) {
        // void addAction(QAction*)
        this->QMenuBar::addAction((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QAction* addAction(const QString&)
        QAction* xret = this->QMenuBar::addAction(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // QAction* addAction(const QString&, const QObject*, const char*)
        QAction* xret = this->QMenuBar::addAction(*(const QString*)x[1].s_class,(const QObject*)x[2].s_class,(const char*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QAction* addMenu(QMenu*)
        QAction* xret = this->QMenuBar::addMenu((QMenu*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QMenu* addMenu(const QString&)
        QMenu* xret = this->QMenuBar::addMenu(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // QMenu* addMenu(const QIcon&, const QString&)
        QMenu* xret = this->QMenuBar::addMenu(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // QAction* addSeparator()
        QAction* xret = this->QMenuBar::addSeparator();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // QAction* insertSeparator(QAction*)
        QAction* xret = this->QMenuBar::insertSeparator((QAction*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // QAction* insertMenu(QAction*, QMenu*)
        QAction* xret = this->QMenuBar::insertMenu((QAction*)x[1].s_class,(QMenu*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // void clear()
        this->QMenuBar::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QAction* activeAction() const
        QAction* xret = ((const x_QMenuBar*)this)->QMenuBar::activeAction();
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // void setActiveAction(QAction*)
        this->QMenuBar::setActiveAction((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setDefaultUp(bool)
        this->QMenuBar::setDefaultUp((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool isDefaultUp() const
        bool xret = ((const x_QMenuBar*)this)->QMenuBar::isDefaultUp();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            QSize xret = ((const x_QMenuBar*)this)->QMenuBar::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QMenuBar*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_24(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            QSize xret = ((const x_QMenuBar*)this)->QMenuBar::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QMenuBar*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_25(Smoke::Stack x) {
        // int heightForWidth(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            int xret = ((const x_QMenuBar*)this)->QMenuBar::heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QMenuBar*)this)->heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // QRect actionGeometry(QAction*) const
        QRect xret = ((const x_QMenuBar*)this)->QMenuBar::actionGeometry((QAction*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_27(Smoke::Stack x) {
        // QAction* actionAt(const QPoint&) const
        QAction* xret = ((const x_QMenuBar*)this)->QMenuBar::actionAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_28(Smoke::Stack x) {
        // void setCornerWidget(QWidget*, Qt::Corner)
        this->QMenuBar::setCornerWidget((QWidget*)x[1].s_class,(Qt::Corner)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // QWidget* cornerWidget(Qt::Corner) const
        QWidget* xret = ((const x_QMenuBar*)this)->QMenuBar::cornerWidget((Qt::Corner)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_30(Smoke::Stack x) {
        // bool isNativeMenuBar() const
        bool xret = ((const x_QMenuBar*)this)->QMenuBar::isNativeMenuBar();
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // void setNativeMenuBar(bool)
        this->QMenuBar::setNativeMenuBar((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // virtual void setVisible(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::setVisible((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setVisible((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // void triggered(QAction*)
        this->QMenuBar::triggered((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void hovered(QAction*)
        this->QMenuBar::hovered((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_36(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_37(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_38(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::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_39(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::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_40(Smoke::Stack x) {
        // void leaveEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::leaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->leaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_41(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::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_42(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // void actionEvent(QActionEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::actionEvent((QActionEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->actionEvent((QActionEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            this->QMenuBar::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            bool xret = this->QMenuBar::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_48(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMenuBar*>(this))) {
            bool xret = this->QMenuBar::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_49(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionMenuItem*, const QAction*) const
        ((const x_QMenuBar*)this)->QMenuBar::initStyleOption((QStyleOptionMenuItem*)x[1].s_class,(const QAction*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_50(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QMenuBar::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_51(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QMenuBar::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_52(Smoke::Stack x) {
        // QMenuBar* QMenuBar()
        x_QMenuBar* xret = new x_QMenuBar((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_53(Smoke::Stack x) {
        // void setCornerWidget(QWidget*)
        this->QMenuBar::setCornerWidget((QWidget*)x[1].s_class,(Qt::Corner)Qt::TopRightCorner);
        (void)x; // noop (for compiler warning)
    }
    void x_54(Smoke::Stack x) {
        // QWidget* cornerWidget() const
        QWidget* xret = ((const x_QMenuBar*)this)->QMenuBar::cornerWidget((Qt::Corner)Qt::TopRightCorner);
        x[0].s_class = (void*)xret;
    }
    static void x_55(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QMenuBar::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(8038, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QMenuBar::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8039, (void*)this, x)) return (void*)x[0].s_class;
        return this->QMenuBar::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(8044, (void*)this, x)) return (int)x[0].s_int;
        return this->QMenuBar::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(8069, (void*)this, x)) return;
        this->QMenuBar::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(8060, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMenuBar::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(8061, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMenuBar::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(8062, (void*)this, x)) return (int)x[0].s_int;
        return this->QMenuBar::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8075, (void*)this, x)) return;
        this->QMenuBar::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8074, (void*)this, x)) return;
        this->QMenuBar::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (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(8076, (void*)this, x)) return;
        this->QMenuBar::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (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(8073, (void*)this, x)) return;
        this->QMenuBar::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(8082, (void*)this, x)) return;
        this->QMenuBar::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8081, (void*)this, x)) return;
        this->QMenuBar::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (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(8077, (void*)this, x)) return;
        this->QMenuBar::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8078, (void*)this, x)) return;
        this->QMenuBar::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (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(8079, (void*)this, x)) return;
        this->QMenuBar::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (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(15632, (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(15633, (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(8080, (void*)this, x)) return;
        this->QMenuBar::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (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(15636, (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(15637, (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(15638, (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(15639, (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(15640, (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(15641, (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(8072, (void*)this, x)) return;
        this->QMenuBar::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (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(15645, (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(15652, (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(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(8085, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMenuBar::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(8084, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMenuBar::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8083, (void*)this, x)) return;
        this->QMenuBar::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QMenuBar() { this->_binding->deleted(232, (void*)this); }
};
void xcall_QMenuBar(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMenuBar *xself = (x_QMenuBar*)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_QMenuBar::x_3(args);	break;
        case 4: x_QMenuBar::x_4(args);	break;
        case 5: x_QMenuBar::x_5(args);	break;
        case 6: x_QMenuBar::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QMenuBar::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: x_QMenuBar::x_50(args);	break;
        case 51: x_QMenuBar::x_51(args);	break;
        case 52: x_QMenuBar::x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: x_QMenuBar::x_55(args);	break;
        case 56: delete (QMenuBar*)xself;	break;
    }
}
class x_QMessageBox : public QMessageBox, 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<QMessageBox*>(this))) {
            const QMetaObject* xret = ((const x_QMessageBox*)this)->QMessageBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QMessageBox*)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<QMessageBox*>(this))) {
            void* xret = this->QMessageBox::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 = QMessageBox::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 = QMessageBox::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 = QMessageBox::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 = QMessageBox::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<QMessageBox*>(this))) {
            int xret = this->QMessageBox::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) {
        // QMessageBox* QMessageBox(QWidget*)
        x_QMessageBox* xret = new x_QMessageBox((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMessageBox(QWidget* x1) : QMessageBox(x1) {}
    static void x_9(Smoke::Stack x) {
        // QMessageBox* QMessageBox(QMessageBox::Icon, const QString&, const QString&, QFlags<QMessageBox::StandardButton>, QWidget*, QFlags<Qt::WindowType>)
        x_QMessageBox* xret = new x_QMessageBox((QMessageBox::Icon)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QWidget*)x[5].s_class,(QFlags<Qt::WindowType>)x[6].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMessageBox(QMessageBox::Icon x1, const QString& x2, const QString& x3, QFlags<QMessageBox::StandardButton> x4, QWidget* x5, QFlags<Qt::WindowType> x6) : QMessageBox(x1, x2, x3, x4, x5, x6) {}
    void x_10(Smoke::Stack x) {
        // void addButton(QAbstractButton*, QMessageBox::ButtonRole)
        this->QMessageBox::addButton((QAbstractButton*)x[1].s_class,(QMessageBox::ButtonRole)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QPushButton* addButton(const QString&, QMessageBox::ButtonRole)
        QPushButton* xret = this->QMessageBox::addButton(*(const QString*)x[1].s_class,(QMessageBox::ButtonRole)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QPushButton* addButton(QMessageBox::StandardButton)
        QPushButton* xret = this->QMessageBox::addButton((QMessageBox::StandardButton)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // void removeButton(QAbstractButton*)
        this->QMessageBox::removeButton((QAbstractButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void open()
        this->QMessageBox::open();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void open(QObject*, const char*)
        this->QMessageBox::open((QObject*)x[1].s_class,(const char*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QList<QAbstractButton*> buttons() const
        QList<QAbstractButton*> xret = ((const x_QMessageBox*)this)->QMessageBox::buttons();
        x[0].s_class = (void*)new QList<QAbstractButton*>(xret);
    }
    void x_17(Smoke::Stack x) {
        // QMessageBox::ButtonRole buttonRole(QAbstractButton*) const
        QMessageBox::ButtonRole xret = ((const x_QMessageBox*)this)->QMessageBox::buttonRole((QAbstractButton*)x[1].s_class);
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setStandardButtons(QFlags<QMessageBox::StandardButton>)
        this->QMessageBox::setStandardButtons((QFlags<QMessageBox::StandardButton>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QFlags<QMessageBox::StandardButton> standardButtons() const
        QFlags<QMessageBox::StandardButton> xret = ((const x_QMessageBox*)this)->QMessageBox::standardButtons();
        x[0].s_uint = (uint)xret;
    }
    void x_20(Smoke::Stack x) {
        // QMessageBox::StandardButton standardButton(QAbstractButton*) const
        QMessageBox::StandardButton xret = ((const x_QMessageBox*)this)->QMessageBox::standardButton((QAbstractButton*)x[1].s_class);
        x[0].s_enum = xret;
    }
    void x_21(Smoke::Stack x) {
        // QAbstractButton* button(QMessageBox::StandardButton) const
        QAbstractButton* xret = ((const x_QMessageBox*)this)->QMessageBox::button((QMessageBox::StandardButton)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // QPushButton* defaultButton() const
        QPushButton* xret = ((const x_QMessageBox*)this)->QMessageBox::defaultButton();
        x[0].s_class = (void*)xret;
    }
    void x_23(Smoke::Stack x) {
        // void setDefaultButton(QPushButton*)
        this->QMessageBox::setDefaultButton((QPushButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setDefaultButton(QMessageBox::StandardButton)
        this->QMessageBox::setDefaultButton((QMessageBox::StandardButton)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QAbstractButton* escapeButton() const
        QAbstractButton* xret = ((const x_QMessageBox*)this)->QMessageBox::escapeButton();
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // void setEscapeButton(QAbstractButton*)
        this->QMessageBox::setEscapeButton((QAbstractButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setEscapeButton(QMessageBox::StandardButton)
        this->QMessageBox::setEscapeButton((QMessageBox::StandardButton)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QAbstractButton* clickedButton() const
        QAbstractButton* xret = ((const x_QMessageBox*)this)->QMessageBox::clickedButton();
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QMessageBox*)this)->QMessageBox::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_30(Smoke::Stack x) {
        // void setText(const QString&)
        this->QMessageBox::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // QMessageBox::Icon icon() const
        QMessageBox::Icon xret = ((const x_QMessageBox*)this)->QMessageBox::icon();
        x[0].s_enum = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setIcon(QMessageBox::Icon)
        this->QMessageBox::setIcon((QMessageBox::Icon)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // QPixmap iconPixmap() const
        QPixmap xret = ((const x_QMessageBox*)this)->QMessageBox::iconPixmap();
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_34(Smoke::Stack x) {
        // void setIconPixmap(const QPixmap&)
        this->QMessageBox::setIconPixmap(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // Qt::TextFormat textFormat() const
        Qt::TextFormat xret = ((const x_QMessageBox*)this)->QMessageBox::textFormat();
        x[0].s_enum = xret;
    }
    void x_36(Smoke::Stack x) {
        // void setTextFormat(Qt::TextFormat)
        this->QMessageBox::setTextFormat((Qt::TextFormat)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    static void x_37(Smoke::Stack x) {
        // static QMessageBox::StandardButton information(QWidget*, const QString&, const QString&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton)
        QMessageBox::StandardButton xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QMessageBox::StandardButton)x[5].s_enum);
        x[0].s_enum = xret;
    }
    static void x_38(Smoke::Stack x) {
        // static QMessageBox::StandardButton question(QWidget*, const QString&, const QString&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton)
        QMessageBox::StandardButton xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QMessageBox::StandardButton)x[5].s_enum);
        x[0].s_enum = xret;
    }
    static void x_39(Smoke::Stack x) {
        // static QMessageBox::StandardButton warning(QWidget*, const QString&, const QString&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton)
        QMessageBox::StandardButton xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QMessageBox::StandardButton)x[5].s_enum);
        x[0].s_enum = xret;
    }
    static void x_40(Smoke::Stack x) {
        // static QMessageBox::StandardButton critical(QWidget*, const QString&, const QString&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton)
        QMessageBox::StandardButton xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QMessageBox::StandardButton)x[5].s_enum);
        x[0].s_enum = xret;
    }
    static void x_41(Smoke::Stack x) {
        // static void about(QWidget*, const QString&, const QString&)
        QMessageBox::about((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_42(Smoke::Stack x) {
        // static void aboutQt(QWidget*, const QString&)
        QMessageBox::aboutQt((QWidget*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMessageBox*>(this))) {
            QSize xret = ((const x_QMessageBox*)this)->QMessageBox::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QMessageBox*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    static void x_44(Smoke::Stack x) {
        // QMessageBox* QMessageBox(const QString&, const QString&, QMessageBox::Icon, int, int, int, QWidget*, QFlags<Qt::WindowType>)
        x_QMessageBox* xret = new x_QMessageBox(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QMessageBox::Icon)x[3].s_enum,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int,(QWidget*)x[7].s_class,(QFlags<Qt::WindowType>)x[8].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMessageBox(const QString& x1, const QString& x2, QMessageBox::Icon x3, int x4, int x5, int x6, QWidget* x7, QFlags<Qt::WindowType> x8) : QMessageBox(x1, x2, x3, x4, x5, x6, x7, x8) {}
    static void x_45(Smoke::Stack x) {
        // static int information(QWidget*, const QString&, const QString&, int, int, int)
        int xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int);
        x[0].s_int = xret;
    }
    static void x_46(Smoke::Stack x) {
        // static int information(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int)
        int xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)x[7].s_int,(int)x[8].s_int);
        x[0].s_int = xret;
    }
    static void x_47(Smoke::Stack x) {
        // static QMessageBox::StandardButton information(QWidget*, const QString&, const QString&, QMessageBox::StandardButton, QMessageBox::StandardButton)
        QMessageBox::StandardButton xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QMessageBox::StandardButton)x[4].s_enum,(QMessageBox::StandardButton)x[5].s_enum);
        x[0].s_enum = xret;
    }
    static void x_48(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, int, int, int)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int);
        x[0].s_int = xret;
    }
    static void x_49(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)x[7].s_int,(int)x[8].s_int);
        x[0].s_int = xret;
    }
    static void x_50(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, QMessageBox::StandardButton, QMessageBox::StandardButton)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QMessageBox::StandardButton)x[4].s_enum,(QMessageBox::StandardButton)x[5].s_enum);
        x[0].s_int = xret;
    }
    static void x_51(Smoke::Stack x) {
        // static int warning(QWidget*, const QString&, const QString&, int, int, int)
        int xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int);
        x[0].s_int = xret;
    }
    static void x_52(Smoke::Stack x) {
        // static int warning(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int)
        int xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)x[7].s_int,(int)x[8].s_int);
        x[0].s_int = xret;
    }
    static void x_53(Smoke::Stack x) {
        // static int warning(QWidget*, const QString&, const QString&, QMessageBox::StandardButton, QMessageBox::StandardButton)
        int xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QMessageBox::StandardButton)x[4].s_enum,(QMessageBox::StandardButton)x[5].s_enum);
        x[0].s_int = xret;
    }
    static void x_54(Smoke::Stack x) {
        // static int critical(QWidget*, const QString&, const QString&, int, int, int)
        int xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int);
        x[0].s_int = xret;
    }
    static void x_55(Smoke::Stack x) {
        // static int critical(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int)
        int xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)x[7].s_int,(int)x[8].s_int);
        x[0].s_int = xret;
    }
    static void x_56(Smoke::Stack x) {
        // static int critical(QWidget*, const QString&, const QString&, QMessageBox::StandardButton, QMessageBox::StandardButton)
        int xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QMessageBox::StandardButton)x[4].s_enum,(QMessageBox::StandardButton)x[5].s_enum);
        x[0].s_int = xret;
    }
    void x_57(Smoke::Stack x) {
        // QString buttonText(int) const
        QString xret = ((const x_QMessageBox*)this)->QMessageBox::buttonText((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_58(Smoke::Stack x) {
        // void setButtonText(int, const QString&)
        this->QMessageBox::setButtonText((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // QString informativeText() const
        QString xret = ((const x_QMessageBox*)this)->QMessageBox::informativeText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_60(Smoke::Stack x) {
        // void setInformativeText(const QString&)
        this->QMessageBox::setInformativeText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // QString detailedText() const
        QString xret = ((const x_QMessageBox*)this)->QMessageBox::detailedText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_62(Smoke::Stack x) {
        // void setDetailedText(const QString&)
        this->QMessageBox::setDetailedText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void setWindowTitle(const QString&)
        this->QMessageBox::setWindowTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void setWindowModality(Qt::WindowModality)
        this->QMessageBox::setWindowModality((Qt::WindowModality)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    static void x_65(Smoke::Stack x) {
        // static QPixmap standardIcon(QMessageBox::Icon)
        QPixmap xret = QMessageBox::standardIcon((QMessageBox::Icon)x[1].s_enum);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_66(Smoke::Stack x) {
        // void buttonClicked(QAbstractButton*)
        this->QMessageBox::buttonClicked((QAbstractButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMessageBox*>(this))) {
            bool xret = this->QMessageBox::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_68(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMessageBox*>(this))) {
            this->QMessageBox::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_69(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMessageBox*>(this))) {
            this->QMessageBox::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_70(Smoke::Stack x) {
        // void closeEvent(QCloseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMessageBox*>(this))) {
            this->QMessageBox::closeEvent((QCloseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->closeEvent((QCloseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_71(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMessageBox*>(this))) {
            this->QMessageBox::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_72(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMessageBox*>(this))) {
            this->QMessageBox::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_73(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QMessageBox::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_74(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QMessageBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_75(Smoke::Stack x) {
        // QMessageBox* QMessageBox()
        x_QMessageBox* xret = new x_QMessageBox((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_76(Smoke::Stack x) {
        // QMessageBox* QMessageBox(QMessageBox::Icon, const QString&, const QString&)
        x_QMessageBox* xret = new x_QMessageBox((QMessageBox::Icon)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)QMessageBox::NoButton,(QWidget*)0,(QFlags<Qt::WindowType>)Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint);
        x[0].s_class = (void*)xret;
    }
    static void x_77(Smoke::Stack x) {
        // QMessageBox* QMessageBox(QMessageBox::Icon, const QString&, const QString&, QFlags<QMessageBox::StandardButton>)
        x_QMessageBox* xret = new x_QMessageBox((QMessageBox::Icon)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QWidget*)0,(QFlags<Qt::WindowType>)Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint);
        x[0].s_class = (void*)xret;
    }
    static void x_78(Smoke::Stack x) {
        // QMessageBox* QMessageBox(QMessageBox::Icon, const QString&, const QString&, QFlags<QMessageBox::StandardButton>, QWidget*)
        x_QMessageBox* xret = new x_QMessageBox((QMessageBox::Icon)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QWidget*)x[5].s_class,(QFlags<Qt::WindowType>)Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint);
        x[0].s_class = (void*)xret;
    }
    static void x_79(Smoke::Stack x) {
        // static QMessageBox::StandardButton information(QWidget*, const QString&, const QString&)
        QMessageBox::StandardButton xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)QMessageBox::Ok,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_80(Smoke::Stack x) {
        // static QMessageBox::StandardButton information(QWidget*, const QString&, const QString&, QFlags<QMessageBox::StandardButton>)
        QMessageBox::StandardButton xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_81(Smoke::Stack x) {
        // static QMessageBox::StandardButton question(QWidget*, const QString&, const QString&)
        QMessageBox::StandardButton xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)QMessageBox::Ok,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_82(Smoke::Stack x) {
        // static QMessageBox::StandardButton question(QWidget*, const QString&, const QString&, QFlags<QMessageBox::StandardButton>)
        QMessageBox::StandardButton xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_83(Smoke::Stack x) {
        // static QMessageBox::StandardButton warning(QWidget*, const QString&, const QString&)
        QMessageBox::StandardButton xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)QMessageBox::Ok,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_84(Smoke::Stack x) {
        // static QMessageBox::StandardButton warning(QWidget*, const QString&, const QString&, QFlags<QMessageBox::StandardButton>)
        QMessageBox::StandardButton xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_85(Smoke::Stack x) {
        // static QMessageBox::StandardButton critical(QWidget*, const QString&, const QString&)
        QMessageBox::StandardButton xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)QMessageBox::Ok,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_86(Smoke::Stack x) {
        // static QMessageBox::StandardButton critical(QWidget*, const QString&, const QString&, QFlags<QMessageBox::StandardButton>)
        QMessageBox::StandardButton xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<QMessageBox::StandardButton>)x[4].s_uint,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_87(Smoke::Stack x) {
        // static void aboutQt(QWidget*)
        QMessageBox::aboutQt((QWidget*)x[1].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_88(Smoke::Stack x) {
        // QMessageBox* QMessageBox(const QString&, const QString&, QMessageBox::Icon, int, int, int)
        x_QMessageBox* xret = new x_QMessageBox(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QMessageBox::Icon)x[3].s_enum,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int,(QWidget*)0,(QFlags<Qt::WindowType>)Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint);
        x[0].s_class = (void*)xret;
    }
    static void x_89(Smoke::Stack x) {
        // QMessageBox* QMessageBox(const QString&, const QString&, QMessageBox::Icon, int, int, int, QWidget*)
        x_QMessageBox* xret = new x_QMessageBox(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QMessageBox::Icon)x[3].s_enum,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int,(QWidget*)x[7].s_class,(QFlags<Qt::WindowType>)Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint);
        x[0].s_class = (void*)xret;
    }
    static void x_90(Smoke::Stack x) {
        // static int information(QWidget*, const QString&, const QString&, int)
        int xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)0,(int)0);
        x[0].s_int = xret;
    }
    static void x_91(Smoke::Stack x) {
        // static int information(QWidget*, const QString&, const QString&, int, int)
        int xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int,(int)0);
        x[0].s_int = xret;
    }
    static void x_92(Smoke::Stack x) {
        // static int information(QWidget*, const QString&, const QString&, const QString&)
        int xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(const QString&)QString(),(const QString&)QString(),(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_93(Smoke::Stack x) {
        // static int information(QWidget*, const QString&, const QString&, const QString&, const QString&)
        int xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,(const QString&)QString(),(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_94(Smoke::Stack x) {
        // static int information(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&)
        int xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_95(Smoke::Stack x) {
        // static int information(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int)
        int xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)x[7].s_int,(int)-1);
        x[0].s_int = xret;
    }
    static void x_96(Smoke::Stack x) {
        // static QMessageBox::StandardButton information(QWidget*, const QString&, const QString&, QMessageBox::StandardButton)
        QMessageBox::StandardButton xret = QMessageBox::information((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QMessageBox::StandardButton)x[4].s_enum,(QMessageBox::StandardButton)QMessageBox::NoButton);
        x[0].s_enum = xret;
    }
    static void x_97(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, int)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)0,(int)0);
        x[0].s_int = xret;
    }
    static void x_98(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, int, int)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int,(int)0);
        x[0].s_int = xret;
    }
    static void x_99(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, const QString&)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(const QString&)QString(),(const QString&)QString(),(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_100(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, const QString&, const QString&)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,(const QString&)QString(),(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_101(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_102(Smoke::Stack x) {
        // static int question(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int)
        int xret = QMessageBox::question((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)x[7].s_int,(int)-1);
        x[0].s_int = xret;
    }
    static void x_103(Smoke::Stack x) {
        // static int warning(QWidget*, const QString&, const QString&, int, int)
        int xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int,(int)0);
        x[0].s_int = xret;
    }
    static void x_104(Smoke::Stack x) {
        // static int warning(QWidget*, const QString&, const QString&, const QString&)
        int xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(const QString&)QString(),(const QString&)QString(),(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_105(Smoke::Stack x) {
        // static int warning(QWidget*, const QString&, const QString&, const QString&, const QString&)
        int xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,(const QString&)QString(),(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_106(Smoke::Stack x) {
        // static int warning(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&)
        int xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_107(Smoke::Stack x) {
        // static int warning(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int)
        int xret = QMessageBox::warning((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)x[7].s_int,(int)-1);
        x[0].s_int = xret;
    }
    static void x_108(Smoke::Stack x) {
        // static int critical(QWidget*, const QString&, const QString&, int, int)
        int xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int,(int)0);
        x[0].s_int = xret;
    }
    static void x_109(Smoke::Stack x) {
        // static int critical(QWidget*, const QString&, const QString&, const QString&)
        int xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(const QString&)QString(),(const QString&)QString(),(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_110(Smoke::Stack x) {
        // static int critical(QWidget*, const QString&, const QString&, const QString&, const QString&)
        int xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,(const QString&)QString(),(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_111(Smoke::Stack x) {
        // static int critical(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&)
        int xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)0,(int)-1);
        x[0].s_int = xret;
    }
    static void x_112(Smoke::Stack x) {
        // static int critical(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int)
        int xret = QMessageBox::critical((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,(int)x[7].s_int,(int)-1);
        x[0].s_int = xret;
    }
    static void x_113(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QMessageBox::staticMetaObject;
    }
    static void x_114(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::NoIcon;
    }
    static void x_115(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Information;
    }
    static void x_116(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Warning;
    }
    static void x_117(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Critical;
    }
    static void x_118(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Question;
    }
    static void x_119(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::InvalidRole;
    }
    static void x_120(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::AcceptRole;
    }
    static void x_121(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::RejectRole;
    }
    static void x_122(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::DestructiveRole;
    }
    static void x_123(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::ActionRole;
    }
    static void x_124(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::HelpRole;
    }
    static void x_125(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::YesRole;
    }
    static void x_126(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::NoRole;
    }
    static void x_127(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::ResetRole;
    }
    static void x_128(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::ApplyRole;
    }
    static void x_129(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::NRoles;
    }
    static void x_130(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::NoButton;
    }
    static void x_131(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Ok;
    }
    static void x_132(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Save;
    }
    static void x_133(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::SaveAll;
    }
    static void x_134(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Open;
    }
    static void x_135(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Yes;
    }
    static void x_136(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::YesToAll;
    }
    static void x_137(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::No;
    }
    static void x_138(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::NoToAll;
    }
    static void x_139(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Abort;
    }
    static void x_140(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Retry;
    }
    static void x_141(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Ignore;
    }
    static void x_142(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Close;
    }
    static void x_143(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Cancel;
    }
    static void x_144(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Discard;
    }
    static void x_145(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Help;
    }
    static void x_146(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Apply;
    }
    static void x_147(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Reset;
    }
    static void x_148(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::RestoreDefaults;
    }
    static void x_149(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::FirstButton;
    }
    static void x_150(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::LastButton;
    }
    static void x_151(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::YesAll;
    }
    static void x_152(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::NoAll;
    }
    static void x_153(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Default;
    }
    static void x_154(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::Escape;
    }
    static void x_155(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::FlagMask;
    }
    static void x_156(Smoke::Stack x) {
        x[0].s_enum = (long)QMessageBox::ButtonMask;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(8094, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QMessageBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8095, (void*)this, x)) return (void*)x[0].s_class;
        return this->QMessageBox::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(8100, (void*)this, x)) return (int)x[0].s_int;
        return this->QMessageBox::qt_metacall(x1, x2, x3);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2579, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2580, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2581, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(2563, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(8136, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMessageBox::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2569, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (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(15617, (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(15618, (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(15619, (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(15620, (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(15621, (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(8164, (void*)this, x)) return;
        this->QMessageBox::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (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(15624, (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(15625, (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(15626, (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(15627, (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(15628, (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(15629, (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(8161, (void*)this, x)) return;
        this->QMessageBox::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8163, (void*)this, x)) return;
        this->QMessageBox::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2587, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (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(15634, (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(15635, (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(15636, (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(15637, (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(15638, (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(8162, (void*)this, x)) return;
        this->QMessageBox::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (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(15641, (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(8165, (void*)this, x)) return;
        this->QMessageBox::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (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(15645, (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(15652, (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(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (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(8160, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMessageBox::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(2588, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (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(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 540: //QMessageBox::Icon
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QMessageBox::Icon;
                    break;
                case Smoke::EnumDelete:
                    delete (QMessageBox::Icon*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QMessageBox::Icon*)xdata = (QMessageBox::Icon)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QMessageBox::Icon*)xdata;
                    break;
            }
            break;
        case 539: //QMessageBox::ButtonRole
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QMessageBox::ButtonRole;
                    break;
                case Smoke::EnumDelete:
                    delete (QMessageBox::ButtonRole*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QMessageBox::ButtonRole*)xdata = (QMessageBox::ButtonRole)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QMessageBox::ButtonRole*)xdata;
                    break;
            }
            break;
        case 541: //QMessageBox::StandardButton
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QMessageBox::StandardButton;
                    break;
                case Smoke::EnumDelete:
                    delete (QMessageBox::StandardButton*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QMessageBox::StandardButton*)xdata = (QMessageBox::StandardButton)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QMessageBox::StandardButton*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QMessageBox() { this->_binding->deleted(233, (void*)this); }
};
void xenum_QMessageBox(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QMessageBox::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QMessageBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMessageBox *xself = (x_QMessageBox*)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_QMessageBox::x_3(args);	break;
        case 4: x_QMessageBox::x_4(args);	break;
        case 5: x_QMessageBox::x_5(args);	break;
        case 6: x_QMessageBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QMessageBox::x_8(args);	break;
        case 9: x_QMessageBox::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: x_QMessageBox::x_37(args);	break;
        case 38: x_QMessageBox::x_38(args);	break;
        case 39: x_QMessageBox::x_39(args);	break;
        case 40: x_QMessageBox::x_40(args);	break;
        case 41: x_QMessageBox::x_41(args);	break;
        case 42: x_QMessageBox::x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: x_QMessageBox::x_44(args);	break;
        case 45: x_QMessageBox::x_45(args);	break;
        case 46: x_QMessageBox::x_46(args);	break;
        case 47: x_QMessageBox::x_47(args);	break;
        case 48: x_QMessageBox::x_48(args);	break;
        case 49: x_QMessageBox::x_49(args);	break;
        case 50: x_QMessageBox::x_50(args);	break;
        case 51: x_QMessageBox::x_51(args);	break;
        case 52: x_QMessageBox::x_52(args);	break;
        case 53: x_QMessageBox::x_53(args);	break;
        case 54: x_QMessageBox::x_54(args);	break;
        case 55: x_QMessageBox::x_55(args);	break;
        case 56: x_QMessageBox::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: x_QMessageBox::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: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: x_QMessageBox::x_73(args);	break;
        case 74: x_QMessageBox::x_74(args);	break;
        case 75: x_QMessageBox::x_75(args);	break;
        case 76: x_QMessageBox::x_76(args);	break;
        case 77: x_QMessageBox::x_77(args);	break;
        case 78: x_QMessageBox::x_78(args);	break;
        case 79: x_QMessageBox::x_79(args);	break;
        case 80: x_QMessageBox::x_80(args);	break;
        case 81: x_QMessageBox::x_81(args);	break;
        case 82: x_QMessageBox::x_82(args);	break;
        case 83: x_QMessageBox::x_83(args);	break;
        case 84: x_QMessageBox::x_84(args);	break;
        case 85: x_QMessageBox::x_85(args);	break;
        case 86: x_QMessageBox::x_86(args);	break;
        case 87: x_QMessageBox::x_87(args);	break;
        case 88: x_QMessageBox::x_88(args);	break;
        case 89: x_QMessageBox::x_89(args);	break;
        case 90: x_QMessageBox::x_90(args);	break;
        case 91: x_QMessageBox::x_91(args);	break;
        case 92: x_QMessageBox::x_92(args);	break;
        case 93: x_QMessageBox::x_93(args);	break;
        case 94: x_QMessageBox::x_94(args);	break;
        case 95: x_QMessageBox::x_95(args);	break;
        case 96: x_QMessageBox::x_96(args);	break;
        case 97: x_QMessageBox::x_97(args);	break;
        case 98: x_QMessageBox::x_98(args);	break;
        case 99: x_QMessageBox::x_99(args);	break;
        case 100: x_QMessageBox::x_100(args);	break;
        case 101: x_QMessageBox::x_101(args);	break;
        case 102: x_QMessageBox::x_102(args);	break;
        case 103: x_QMessageBox::x_103(args);	break;
        case 104: x_QMessageBox::x_104(args);	break;
        case 105: x_QMessageBox::x_105(args);	break;
        case 106: x_QMessageBox::x_106(args);	break;
        case 107: x_QMessageBox::x_107(args);	break;
        case 108: x_QMessageBox::x_108(args);	break;
        case 109: x_QMessageBox::x_109(args);	break;
        case 110: x_QMessageBox::x_110(args);	break;
        case 111: x_QMessageBox::x_111(args);	break;
        case 112: x_QMessageBox::x_112(args);	break;
        case 113: x_QMessageBox::x_113(args);	break;
        case 114: x_QMessageBox::x_114(args);	break;
        case 115: x_QMessageBox::x_115(args);	break;
        case 116: x_QMessageBox::x_116(args);	break;
        case 117: x_QMessageBox::x_117(args);	break;
        case 118: x_QMessageBox::x_118(args);	break;
        case 119: x_QMessageBox::x_119(args);	break;
        case 120: x_QMessageBox::x_120(args);	break;
        case 121: x_QMessageBox::x_121(args);	break;
        case 122: x_QMessageBox::x_122(args);	break;
        case 123: x_QMessageBox::x_123(args);	break;
        case 124: x_QMessageBox::x_124(args);	break;
        case 125: x_QMessageBox::x_125(args);	break;
        case 126: x_QMessageBox::x_126(args);	break;
        case 127: x_QMessageBox::x_127(args);	break;
        case 128: x_QMessageBox::x_128(args);	break;
        case 129: x_QMessageBox::x_129(args);	break;
        case 130: x_QMessageBox::x_130(args);	break;
        case 131: x_QMessageBox::x_131(args);	break;
        case 132: x_QMessageBox::x_132(args);	break;
        case 133: x_QMessageBox::x_133(args);	break;
        case 134: x_QMessageBox::x_134(args);	break;
        case 135: x_QMessageBox::x_135(args);	break;
        case 136: x_QMessageBox::x_136(args);	break;
        case 137: x_QMessageBox::x_137(args);	break;
        case 138: x_QMessageBox::x_138(args);	break;
        case 139: x_QMessageBox::x_139(args);	break;
        case 140: x_QMessageBox::x_140(args);	break;
        case 141: x_QMessageBox::x_141(args);	break;
        case 142: x_QMessageBox::x_142(args);	break;
        case 143: x_QMessageBox::x_143(args);	break;
        case 144: x_QMessageBox::x_144(args);	break;
        case 145: x_QMessageBox::x_145(args);	break;
        case 146: x_QMessageBox::x_146(args);	break;
        case 147: x_QMessageBox::x_147(args);	break;
        case 148: x_QMessageBox::x_148(args);	break;
        case 149: x_QMessageBox::x_149(args);	break;
        case 150: x_QMessageBox::x_150(args);	break;
        case 151: x_QMessageBox::x_151(args);	break;
        case 152: x_QMessageBox::x_152(args);	break;
        case 153: x_QMessageBox::x_153(args);	break;
        case 154: x_QMessageBox::x_154(args);	break;
        case 155: x_QMessageBox::x_155(args);	break;
        case 156: x_QMessageBox::x_156(args);	break;
        case 157: delete (QMessageBox*)xself;	break;
    }
}
class x_QMimeSource : public QMimeSource, 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 char* format(int) const = 0
        const char* xret = ((const x_QMimeSource*)this)->format((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual bool provides(const char*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QMimeSource*>(this))) {
            bool xret = ((const x_QMimeSource*)this)->QMimeSource::provides((const char*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QMimeSource*)this)->provides((const char*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_3(Smoke::Stack x) {
        // virtual QByteArray encodedData(const char*) const = 0
        QByteArray xret = ((const x_QMimeSource*)this)->encodedData((const char*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_4(Smoke::Stack x) {
        // QMimeSource* QMimeSource()
        x_QMimeSource* xret = new x_QMimeSource();
        x[0].s_class = (void*)xret;
    }
    explicit x_QMimeSource() : QMimeSource() {}
    static void x_5(Smoke::Stack x) {
        // QMimeSource* QMimeSource(const QMimeSource&)
        x_QMimeSource* xret = new x_QMimeSource(*(const QMimeSource*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QMimeSource(const QMimeSource& x1) : QMimeSource(x1) {}
    void x_6(Smoke::Stack x) {
        // const char* format() const
        const char* xret = ((const x_QMimeSource*)this)->format((int)0);
        x[0].s_class = (void*)xret;
    }
    virtual const char* format(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(8251, (void*)this, x, true /*pure virtual*/);
        return (const char*)x[0].s_class;
    }
    virtual bool provides(const char* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8252, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMimeSource::provides(x1);
    }
    virtual QByteArray encodedData(const char* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(8253, (void*)this, x, true /*pure virtual*/);
        QByteArray* xptr = (QByteArray*)x[0].s_class;
        QByteArray xret(*xptr);
        delete xptr;
        return xret;
    }
    ~x_QMimeSource() { this->_binding->deleted(236, (void*)this); }
};
void xcall_QMimeSource(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QMimeSource *xself = (x_QMimeSource*)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: xself->x_3(args);	break;
        case 4: x_QMimeSource::x_4(args);	break;
        case 5: x_QMimeSource::x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: delete (QMimeSource*)xself;	break;
    }
}

}
