//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_QTextOption__Tab : public QTextOption::Tab {
    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) {
        // QTextOption::Tab* Tab()
        x_QTextOption__Tab* xret = new x_QTextOption__Tab();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextOption__Tab() : Tab() {}
    static void x_2(Smoke::Stack x) {
        // QTextOption::Tab* Tab(double, QTextOption::TabType, QChar)
        x_QTextOption__Tab* xret = new x_QTextOption__Tab((double)x[1].s_double,(QTextOption::TabType)x[2].s_enum,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextOption__Tab(double x1, QTextOption::TabType x2, QChar x3) : Tab(x1, x2, x3) {}
    void x_3(Smoke::Stack x) {
        // bool operator==(const QTextOption::Tab&) const
        bool xret = ((const x_QTextOption__Tab*)this)->QTextOption::Tab::operator==(*(const QTextOption::Tab*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // bool operator!=(const QTextOption::Tab&) const
        bool xret = ((const x_QTextOption__Tab*)this)->QTextOption::Tab::operator!=(*(const QTextOption::Tab*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_5(Smoke::Stack x) {
        // QTextOption::Tab* Tab(const QTextOption::Tab&)
        x_QTextOption__Tab* xret = new x_QTextOption__Tab(*(const QTextOption::Tab*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextOption__Tab(const QTextOption::Tab& x1) : Tab(x1) {}
    static void x_6(Smoke::Stack x) {
        // QTextOption::Tab* Tab(double, QTextOption::TabType)
        x_QTextOption__Tab* xret = new x_QTextOption__Tab((double)x[1].s_double,(QTextOption::TabType)x[2].s_enum,(QChar)QChar());
        x[0].s_class = (void*)xret;
    }
    void x_7(Smoke::Stack x) {
        // double position
        x[0].s_double = this->QTextOption::Tab::position;
    }
    void x_8(Smoke::Stack x) {
        // double position=
        this->QTextOption::Tab::position = (double)x[1].s_double;
    }
    void x_9(Smoke::Stack x) {
        // QTextOption::TabType type
        x[0].s_enum = this->QTextOption::Tab::type;
    }
    void x_10(Smoke::Stack x) {
        // QTextOption::TabType type=
        this->QTextOption::Tab::type = (QTextOption::TabType)x[1].s_enum;
    }
    void x_11(Smoke::Stack x) {
        // QChar delimiter
        x[0].s_class = (void*)&this->QTextOption::Tab::delimiter;
    }
    void x_12(Smoke::Stack x) {
        // QChar delimiter=
        this->QTextOption::Tab::delimiter = *(const QChar*)x[1].s_class;
    }
    ~x_QTextOption__Tab() { this->_binding->deleted(413, (void*)this); }
};
void xcall_QTextOption__Tab(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextOption__Tab *xself = (x_QTextOption__Tab*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextOption__Tab::x_1(args);	break;
        case 2: x_QTextOption__Tab::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: x_QTextOption__Tab::x_5(args);	break;
        case 6: x_QTextOption__Tab::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: delete (QTextOption::Tab*)xself;	break;
    }
}
class x_QTextTable : public QTextTable, 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<QTextTable*>(this))) {
            const QMetaObject* xret = ((const x_QTextTable*)this)->QTextTable::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QTextTable*)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<QTextTable*>(this))) {
            void* xret = this->QTextTable::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 = QTextTable::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 = QTextTable::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 = QTextTable::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 = QTextTable::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<QTextTable*>(this))) {
            int xret = this->QTextTable::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) {
        // QTextTable* QTextTable(QTextDocument*)
        x_QTextTable* xret = new x_QTextTable((QTextDocument*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTable(QTextDocument* x1) : QTextTable(x1) {}
    void x_9(Smoke::Stack x) {
        // void resize(int, int)
        this->QTextTable::resize((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void insertRows(int, int)
        this->QTextTable::insertRows((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void insertColumns(int, int)
        this->QTextTable::insertColumns((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void appendRows(int)
        this->QTextTable::appendRows((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void appendColumns(int)
        this->QTextTable::appendColumns((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void removeRows(int, int)
        this->QTextTable::removeRows((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void removeColumns(int, int)
        this->QTextTable::removeColumns((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void mergeCells(int, int, int, int)
        this->QTextTable::mergeCells((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_17(Smoke::Stack x) {
        // void mergeCells(const QTextCursor&)
        this->QTextTable::mergeCells(*(const QTextCursor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void splitCell(int, int, int, int)
        this->QTextTable::splitCell((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_19(Smoke::Stack x) {
        // int rows() const
        int xret = ((const x_QTextTable*)this)->QTextTable::rows();
        x[0].s_int = xret;
    }
    void x_20(Smoke::Stack x) {
        // int columns() const
        int xret = ((const x_QTextTable*)this)->QTextTable::columns();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // QTextTableCell cellAt(int, int) const
        QTextTableCell xret = ((const x_QTextTable*)this)->QTextTable::cellAt((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)new QTextTableCell(xret);
    }
    void x_22(Smoke::Stack x) {
        // QTextTableCell cellAt(int) const
        QTextTableCell xret = ((const x_QTextTable*)this)->QTextTable::cellAt((int)x[1].s_int);
        x[0].s_class = (void*)new QTextTableCell(xret);
    }
    void x_23(Smoke::Stack x) {
        // QTextTableCell cellAt(const QTextCursor&) const
        QTextTableCell xret = ((const x_QTextTable*)this)->QTextTable::cellAt(*(const QTextCursor*)x[1].s_class);
        x[0].s_class = (void*)new QTextTableCell(xret);
    }
    void x_24(Smoke::Stack x) {
        // QTextCursor rowStart(const QTextCursor&) const
        QTextCursor xret = ((const x_QTextTable*)this)->QTextTable::rowStart(*(const QTextCursor*)x[1].s_class);
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_25(Smoke::Stack x) {
        // QTextCursor rowEnd(const QTextCursor&) const
        QTextCursor xret = ((const x_QTextTable*)this)->QTextTable::rowEnd(*(const QTextCursor*)x[1].s_class);
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_26(Smoke::Stack x) {
        // void setFormat(const QTextTableFormat&)
        this->QTextTable::setFormat(*(const QTextTableFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // QTextTableFormat format() const
        QTextTableFormat xret = ((const x_QTextTable*)this)->QTextTable::format();
        x[0].s_class = (void*)new QTextTableFormat(xret);
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QTextTable::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QTextTable::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTextTable::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14331, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QTextTable::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14332, (void*)this, x)) return (void*)x[0].s_class;
        return this->QTextTable::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(14337, (void*)this, x)) return (int)x[0].s_int;
        return this->QTextTable::qt_metacall(x1, x2, x3);
    }
    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(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_QTextTable() { this->_binding->deleted(415, (void*)this); }
};
void xcall_QTextTable(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextTable *xself = (x_QTextTable*)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_QTextTable::x_3(args);	break;
        case 4: x_QTextTable::x_4(args);	break;
        case 5: x_QTextTable::x_5(args);	break;
        case 6: x_QTextTable::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QTextTable::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: x_QTextTable::x_28(args);	break;
        case 29: x_QTextTable::x_29(args);	break;
        case 30: x_QTextTable::x_30(args);	break;
        case 31: delete (QTextTable*)xself;	break;
    }
}
class x_QTextTableCell : public QTextTableCell {
    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) {
        // QTextTableCell* QTextTableCell()
        x_QTextTableCell* xret = new x_QTextTableCell();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTableCell() : QTextTableCell() {}
    static void x_2(Smoke::Stack x) {
        // QTextTableCell* QTextTableCell(const QTextTableCell&)
        x_QTextTableCell* xret = new x_QTextTableCell(*(const QTextTableCell*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTableCell(const QTextTableCell& x1) : QTextTableCell(x1) {}
    void x_3(Smoke::Stack x) {
        // QTextTableCell& operator=(const QTextTableCell&)
        QTextTableCell& xret = this->QTextTableCell::operator=(*(const QTextTableCell*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // void setFormat(const QTextCharFormat&)
        this->QTextTableCell::setFormat(*(const QTextCharFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // QTextCharFormat format() const
        QTextCharFormat xret = ((const x_QTextTableCell*)this)->QTextTableCell::format();
        x[0].s_class = (void*)new QTextCharFormat(xret);
    }
    void x_6(Smoke::Stack x) {
        // int row() const
        int xret = ((const x_QTextTableCell*)this)->QTextTableCell::row();
        x[0].s_int = xret;
    }
    void x_7(Smoke::Stack x) {
        // int column() const
        int xret = ((const x_QTextTableCell*)this)->QTextTableCell::column();
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // int rowSpan() const
        int xret = ((const x_QTextTableCell*)this)->QTextTableCell::rowSpan();
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // int columnSpan() const
        int xret = ((const x_QTextTableCell*)this)->QTextTableCell::columnSpan();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextTableCell*)this)->QTextTableCell::isValid();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QTextCursor firstCursorPosition() const
        QTextCursor xret = ((const x_QTextTableCell*)this)->QTextTableCell::firstCursorPosition();
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_12(Smoke::Stack x) {
        // QTextCursor lastCursorPosition() const
        QTextCursor xret = ((const x_QTextTableCell*)this)->QTextTableCell::lastCursorPosition();
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_13(Smoke::Stack x) {
        // int firstPosition() const
        int xret = ((const x_QTextTableCell*)this)->QTextTableCell::firstPosition();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // int lastPosition() const
        int xret = ((const x_QTextTableCell*)this)->QTextTableCell::lastPosition();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool operator==(const QTextTableCell&) const
        bool xret = ((const x_QTextTableCell*)this)->QTextTableCell::operator==(*(const QTextTableCell*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool operator!=(const QTextTableCell&) const
        bool xret = ((const x_QTextTableCell*)this)->QTextTableCell::operator!=(*(const QTextTableCell*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // QTextFrame::iterator begin() const
        QTextFrame::iterator xret = ((const x_QTextTableCell*)this)->QTextTableCell::begin();
        x[0].s_class = (void*)new QTextFrame::iterator(xret);
    }
    void x_18(Smoke::Stack x) {
        // QTextFrame::iterator end() const
        QTextFrame::iterator xret = ((const x_QTextTableCell*)this)->QTextTableCell::end();
        x[0].s_class = (void*)new QTextFrame::iterator(xret);
    }
    void x_19(Smoke::Stack x) {
        // int tableCellFormatIndex() const
        int xret = ((const x_QTextTableCell*)this)->QTextTableCell::tableCellFormatIndex();
        x[0].s_int = xret;
    }
    ~x_QTextTableCell() { this->_binding->deleted(416, (void*)this); }
};
void xcall_QTextTableCell(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextTableCell *xself = (x_QTextTableCell*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextTableCell::x_1(args);	break;
        case 2: x_QTextTableCell::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: delete (QTextTableCell*)xself;	break;
    }
}
class x_QTextTableCellFormat : public QTextTableCellFormat {
    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) {
        // QTextTableCellFormat* QTextTableCellFormat()
        x_QTextTableCellFormat* xret = new x_QTextTableCellFormat();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTableCellFormat() : QTextTableCellFormat() {}
    void x_2(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextTableCellFormat*)this)->QTextTableCellFormat::isValid();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // void setTopPadding(double)
        this->QTextTableCellFormat::setTopPadding((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // double topPadding() const
        double xret = ((const x_QTextTableCellFormat*)this)->QTextTableCellFormat::topPadding();
        x[0].s_double = xret;
    }
    void x_5(Smoke::Stack x) {
        // void setBottomPadding(double)
        this->QTextTableCellFormat::setBottomPadding((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // double bottomPadding() const
        double xret = ((const x_QTextTableCellFormat*)this)->QTextTableCellFormat::bottomPadding();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setLeftPadding(double)
        this->QTextTableCellFormat::setLeftPadding((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // double leftPadding() const
        double xret = ((const x_QTextTableCellFormat*)this)->QTextTableCellFormat::leftPadding();
        x[0].s_double = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setRightPadding(double)
        this->QTextTableCellFormat::setRightPadding((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // double rightPadding() const
        double xret = ((const x_QTextTableCellFormat*)this)->QTextTableCellFormat::rightPadding();
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setPadding(double)
        this->QTextTableCellFormat::setPadding((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // QTextTableCellFormat* QTextTableCellFormat(const QTextFormat&)
        x_QTextTableCellFormat* xret = new x_QTextTableCellFormat(*(const QTextFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTableCellFormat(const QTextFormat& x1) : QTextTableCellFormat(x1) {}
    static void x_13(Smoke::Stack x) {
        // QTextTableCellFormat* QTextTableCellFormat(const QTextTableCellFormat&)
        x_QTextTableCellFormat* xret = new x_QTextTableCellFormat(*(const QTextTableCellFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTableCellFormat(const QTextTableCellFormat& x1) : QTextTableCellFormat(x1) {}
    ~x_QTextTableCellFormat() { this->_binding->deleted(417, (void*)this); }
};
void xcall_QTextTableCellFormat(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextTableCellFormat *xself = (x_QTextTableCellFormat*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextTableCellFormat::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: x_QTextTableCellFormat::x_12(args);	break;
        case 13: x_QTextTableCellFormat::x_13(args);	break;
        case 14: delete (QTextTableCellFormat*)xself;	break;
    }
}
class x_QTextTableFormat : public QTextTableFormat {
    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) {
        // QTextTableFormat* QTextTableFormat()
        x_QTextTableFormat* xret = new x_QTextTableFormat();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTableFormat() : QTextTableFormat() {}
    void x_2(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextTableFormat*)this)->QTextTableFormat::isValid();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // int columns() const
        int xret = ((const x_QTextTableFormat*)this)->QTextTableFormat::columns();
        x[0].s_int = xret;
    }
    void x_4(Smoke::Stack x) {
        // void setColumns(int)
        this->QTextTableFormat::setColumns((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // void setColumnWidthConstraints(const QVector<QTextLength>&)
        this->QTextTableFormat::setColumnWidthConstraints(*(const QVector<QTextLength>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // QVector<QTextLength> columnWidthConstraints() const
        QVector<QTextLength> xret = ((const x_QTextTableFormat*)this)->QTextTableFormat::columnWidthConstraints();
        x[0].s_class = (void*)new QVector<QTextLength>(xret);
    }
    void x_7(Smoke::Stack x) {
        // void clearColumnWidthConstraints()
        this->QTextTableFormat::clearColumnWidthConstraints();
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // double cellSpacing() const
        double xret = ((const x_QTextTableFormat*)this)->QTextTableFormat::cellSpacing();
        x[0].s_double = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setCellSpacing(double)
        this->QTextTableFormat::setCellSpacing((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // double cellPadding() const
        double xret = ((const x_QTextTableFormat*)this)->QTextTableFormat::cellPadding();
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setCellPadding(double)
        this->QTextTableFormat::setCellPadding((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->QTextTableFormat::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_QTextTableFormat*)this)->QTextTableFormat::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_14(Smoke::Stack x) {
        // void setHeaderRowCount(int)
        this->QTextTableFormat::setHeaderRowCount((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // int headerRowCount() const
        int xret = ((const x_QTextTableFormat*)this)->QTextTableFormat::headerRowCount();
        x[0].s_int = xret;
    }
    static void x_16(Smoke::Stack x) {
        // QTextTableFormat* QTextTableFormat(const QTextFormat&)
        x_QTextTableFormat* xret = new x_QTextTableFormat(*(const QTextFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTableFormat(const QTextFormat& x1) : QTextTableFormat(x1) {}
    static void x_17(Smoke::Stack x) {
        // QTextTableFormat* QTextTableFormat(const QTextTableFormat&)
        x_QTextTableFormat* xret = new x_QTextTableFormat(*(const QTextTableFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextTableFormat(const QTextTableFormat& x1) : QTextTableFormat(x1) {}
    ~x_QTextTableFormat() { this->_binding->deleted(418, (void*)this); }
};
void xcall_QTextTableFormat(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextTableFormat *xself = (x_QTextTableFormat*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextTableFormat::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: x_QTextTableFormat::x_16(args);	break;
        case 17: x_QTextTableFormat::x_17(args);	break;
        case 18: delete (QTextTableFormat*)xself;	break;
    }
}
class x_QTileRules : public QTileRules {
    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) {
        // QTileRules* QTileRules(Qt::TileRule, Qt::TileRule)
        x_QTileRules* xret = new x_QTileRules((Qt::TileRule)x[1].s_enum,(Qt::TileRule)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTileRules(Qt::TileRule x1, Qt::TileRule x2) : QTileRules(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // QTileRules* QTileRules(Qt::TileRule)
        x_QTileRules* xret = new x_QTileRules((Qt::TileRule)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTileRules(Qt::TileRule x1) : QTileRules(x1) {}
    static void x_3(Smoke::Stack x) {
        // QTileRules* QTileRules(const QTileRules&)
        x_QTileRules* xret = new x_QTileRules(*(const QTileRules*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTileRules(const QTileRules& x1) : QTileRules(x1) {}
    static void x_4(Smoke::Stack x) {
        // QTileRules* QTileRules()
        x_QTileRules* xret = new x_QTileRules((Qt::TileRule)Qt::StretchTile);
        x[0].s_class = (void*)xret;
    }
    void x_5(Smoke::Stack x) {
        // Qt::TileRule horizontal
        x[0].s_enum = this->QTileRules::horizontal;
    }
    void x_6(Smoke::Stack x) {
        // Qt::TileRule horizontal=
        this->QTileRules::horizontal = (Qt::TileRule)x[1].s_enum;
    }
    void x_7(Smoke::Stack x) {
        // Qt::TileRule vertical
        x[0].s_enum = this->QTileRules::vertical;
    }
    void x_8(Smoke::Stack x) {
        // Qt::TileRule vertical=
        this->QTileRules::vertical = (Qt::TileRule)x[1].s_enum;
    }
    ~x_QTileRules() { this->_binding->deleted(419, (void*)this); }
};
void xcall_QTileRules(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTileRules *xself = (x_QTileRules*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTileRules::x_1(args);	break;
        case 2: x_QTileRules::x_2(args);	break;
        case 3: x_QTileRules::x_3(args);	break;
        case 4: x_QTileRules::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: delete (QTileRules*)xself;	break;
    }
}
class x_QTimeEdit : public QTimeEdit, 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<QTimeEdit*>(this))) {
            const QMetaObject* xret = ((const x_QTimeEdit*)this)->QTimeEdit::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QTimeEdit*)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<QTimeEdit*>(this))) {
            void* xret = this->QTimeEdit::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 = QTimeEdit::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 = QTimeEdit::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 = QTimeEdit::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 = QTimeEdit::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<QTimeEdit*>(this))) {
            int xret = this->QTimeEdit::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) {
        // QTimeEdit* QTimeEdit(QWidget*)
        x_QTimeEdit* xret = new x_QTimeEdit((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTimeEdit(QWidget* x1) : QTimeEdit(x1) {}
    static void x_9(Smoke::Stack x) {
        // QTimeEdit* QTimeEdit(const QTime&, QWidget*)
        x_QTimeEdit* xret = new x_QTimeEdit(*(const QTime*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTimeEdit(const QTime& x1, QWidget* x2) : QTimeEdit(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QTimeEdit::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QTimeEdit::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // QTimeEdit* QTimeEdit()
        x_QTimeEdit* xret = new x_QTimeEdit((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // QTimeEdit* QTimeEdit(const QTime&)
        x_QTimeEdit* xret = new x_QTimeEdit(*(const QTime*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTimeEdit::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14423, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QTimeEdit::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14424, (void*)this, x)) return (void*)x[0].s_class;
        return this->QTimeEdit::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(14429, (void*)this, x)) return (int)x[0].s_int;
        return this->QTimeEdit::qt_metacall(x1, x2, x3);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2430, (void*)this, x)) return;
        this->QDateTimeEdit::clear();
    }
    virtual void stepBy(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2431, (void*)this, x)) return;
        this->QDateTimeEdit::stepBy(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2439, (void*)this, x)) return;
        this->QDateTimeEdit::keyPressEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2440, (void*)this, x)) return;
        this->QDateTimeEdit::wheelEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2441, (void*)this, x)) return;
        this->QDateTimeEdit::focusInEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(2442, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDateTimeEdit::focusNextPrevChild(x1);
    }
    virtual QValidator::State validate(QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(2443, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->QDateTimeEdit::validate(x1, x2);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2444, (void*)this, x)) return;
        this->QDateTimeEdit::fixup(x1);
    }
    virtual QDateTime dateTimeFromText(const QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2445, (void*)this, x)) {
            QDateTime* xptr = (QDateTime*)x[0].s_class;
            QDateTime xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::dateTimeFromText(x1);
    }
    virtual QString textFromDateTime(const QDateTime& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2446, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::textFromDateTime(x1);
    }
    virtual QFlags<QAbstractSpinBox::StepEnabledFlag> stepEnabled() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2447, (void*)this, x)) return (QFlags<QAbstractSpinBox::StepEnabledFlag>)x[0].s_uint;
        return this->QDateTimeEdit::stepEnabled();
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2448, (void*)this, x)) return;
        this->QDateTimeEdit::mousePressEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2449, (void*)this, x)) return;
        this->QDateTimeEdit::paintEvent(x1);
    }
    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(2429, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(559, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSpinBox::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 mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(581, (void*)this, x)) return;
        this->QAbstractSpinBox::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(582, (void*)this, x)) return;
        this->QAbstractSpinBox::mouseMoveEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(572, (void*)this, x)) return;
        this->QAbstractSpinBox::keyReleaseEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(575, (void*)this, x)) return;
        this->QAbstractSpinBox::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 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(570, (void*)this, x)) return;
        this->QAbstractSpinBox::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(578, (void*)this, x)) return;
        this->QAbstractSpinBox::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(576, (void*)this, x)) return;
        this->QAbstractSpinBox::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(585, (void*)this, x)) return;
        this->QAbstractSpinBox::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(579, (void*)this, x)) return;
        this->QAbstractSpinBox::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(577, (void*)this, x)) return;
        this->QAbstractSpinBox::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(562, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSpinBox::inputMethodQuery(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(2432, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDateTimeEdit::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(583, (void*)this, x)) return;
        this->QAbstractSpinBox::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_QTimeEdit() { this->_binding->deleted(421, (void*)this); }
};
void xcall_QTimeEdit(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTimeEdit *xself = (x_QTimeEdit*)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_QTimeEdit::x_3(args);	break;
        case 4: x_QTimeEdit::x_4(args);	break;
        case 5: x_QTimeEdit::x_5(args);	break;
        case 6: x_QTimeEdit::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QTimeEdit::x_8(args);	break;
        case 9: x_QTimeEdit::x_9(args);	break;
        case 10: x_QTimeEdit::x_10(args);	break;
        case 11: x_QTimeEdit::x_11(args);	break;
        case 12: x_QTimeEdit::x_12(args);	break;
        case 13: x_QTimeEdit::x_13(args);	break;
        case 14: x_QTimeEdit::x_14(args);	break;
        case 15: delete (QTimeEdit*)xself;	break;
    }
}
class x_QToolBar : public QToolBar, 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<QToolBar*>(this))) {
            const QMetaObject* xret = ((const x_QToolBar*)this)->QToolBar::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QToolBar*)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<QToolBar*>(this))) {
            void* xret = this->QToolBar::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 = QToolBar::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 = QToolBar::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 = QToolBar::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 = QToolBar::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<QToolBar*>(this))) {
            int xret = this->QToolBar::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) {
        // QToolBar* QToolBar(const QString&, QWidget*)
        x_QToolBar* xret = new x_QToolBar(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QToolBar(const QString& x1, QWidget* x2) : QToolBar(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // QToolBar* QToolBar(QWidget*)
        x_QToolBar* xret = new x_QToolBar((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QToolBar(QWidget* x1) : QToolBar(x1) {}
    void x_10(Smoke::Stack x) {
        // void setMovable(bool)
        this->QToolBar::setMovable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool isMovable() const
        bool xret = ((const x_QToolBar*)this)->QToolBar::isMovable();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setAllowedAreas(QFlags<Qt::ToolBarArea>)
        this->QToolBar::setAllowedAreas((QFlags<Qt::ToolBarArea>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QFlags<Qt::ToolBarArea> allowedAreas() const
        QFlags<Qt::ToolBarArea> xret = ((const x_QToolBar*)this)->QToolBar::allowedAreas();
        x[0].s_uint = (uint)xret;
    }
    void x_14(Smoke::Stack x) {
        // bool isAreaAllowed(Qt::ToolBarArea) const
        bool xret = ((const x_QToolBar*)this)->QToolBar::isAreaAllowed((Qt::ToolBarArea)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setOrientation(Qt::Orientation)
        this->QToolBar::setOrientation((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // Qt::Orientation orientation() const
        Qt::Orientation xret = ((const x_QToolBar*)this)->QToolBar::orientation();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // void clear()
        this->QToolBar::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void addAction(QAction*)
        this->QToolBar::addAction((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QAction* addAction(const QString&)
        QAction* xret = this->QToolBar::addAction(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // QAction* addAction(const QIcon&, const QString&)
        QAction* xret = this->QToolBar::addAction(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // QAction* addAction(const QString&, const QObject*, const char*)
        QAction* xret = this->QToolBar::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_22(Smoke::Stack x) {
        // QAction* addAction(const QIcon&, const QString&, const QObject*, const char*)
        QAction* xret = this->QToolBar::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);
        x[0].s_class = (void*)xret;
    }
    void x_23(Smoke::Stack x) {
        // QAction* addSeparator()
        QAction* xret = this->QToolBar::addSeparator();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // QAction* insertSeparator(QAction*)
        QAction* xret = this->QToolBar::insertSeparator((QAction*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // QAction* addWidget(QWidget*)
        QAction* xret = this->QToolBar::addWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // QAction* insertWidget(QAction*, QWidget*)
        QAction* xret = this->QToolBar::insertWidget((QAction*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // QRect actionGeometry(QAction*) const
        QRect xret = ((const x_QToolBar*)this)->QToolBar::actionGeometry((QAction*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_28(Smoke::Stack x) {
        // QAction* actionAt(const QPoint&) const
        QAction* xret = ((const x_QToolBar*)this)->QToolBar::actionAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // QAction* actionAt(int, int) const
        QAction* xret = ((const x_QToolBar*)this)->QToolBar::actionAt((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_30(Smoke::Stack x) {
        // QAction* toggleViewAction() const
        QAction* xret = ((const x_QToolBar*)this)->QToolBar::toggleViewAction();
        x[0].s_class = (void*)xret;
    }
    void x_31(Smoke::Stack x) {
        // QSize iconSize() const
        QSize xret = ((const x_QToolBar*)this)->QToolBar::iconSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_32(Smoke::Stack x) {
        // Qt::ToolButtonStyle toolButtonStyle() const
        Qt::ToolButtonStyle xret = ((const x_QToolBar*)this)->QToolBar::toolButtonStyle();
        x[0].s_enum = xret;
    }
    void x_33(Smoke::Stack x) {
        // QWidget* widgetForAction(QAction*) const
        QWidget* xret = ((const x_QToolBar*)this)->QToolBar::widgetForAction((QAction*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_34(Smoke::Stack x) {
        // bool isFloatable() const
        bool xret = ((const x_QToolBar*)this)->QToolBar::isFloatable();
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // void setFloatable(bool)
        this->QToolBar::setFloatable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool isFloating() const
        bool xret = ((const x_QToolBar*)this)->QToolBar::isFloating();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // void setIconSize(const QSize&)
        this->QToolBar::setIconSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void setToolButtonStyle(Qt::ToolButtonStyle)
        this->QToolBar::setToolButtonStyle((Qt::ToolButtonStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void actionTriggered(QAction*)
        this->QToolBar::actionTriggered((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void movableChanged(bool)
        this->QToolBar::movableChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void allowedAreasChanged(Qt::ToolBarAreas)
        this->QToolBar::allowedAreasChanged((Qt::ToolBarAreas)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void orientationChanged(Qt::Orientation)
        this->QToolBar::orientationChanged((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void iconSizeChanged(const QSize&)
        this->QToolBar::iconSizeChanged(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void toolButtonStyleChanged(Qt::ToolButtonStyle)
        this->QToolBar::toolButtonStyleChanged((Qt::ToolButtonStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void topLevelChanged(bool)
        this->QToolBar::topLevelChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void visibilityChanged(bool)
        this->QToolBar::visibilityChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void actionEvent(QActionEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBar*>(this))) {
            this->QToolBar::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_48(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBar*>(this))) {
            this->QToolBar::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_49(Smoke::Stack x) {
        // void childEvent(QChildEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBar*>(this))) {
            this->QToolBar::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_50(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBar*>(this))) {
            this->QToolBar::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 resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBar*>(this))) {
            this->QToolBar::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_52(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBar*>(this))) {
            bool xret = this->QToolBar::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_53(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionToolBar*) const
        ((const x_QToolBar*)this)->QToolBar::initStyleOption((QStyleOptionToolBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_54(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QToolBar::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_55(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QToolBar::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_56(Smoke::Stack x) {
        // QToolBar* QToolBar(const QString&)
        x_QToolBar* xret = new x_QToolBar(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_57(Smoke::Stack x) {
        // QToolBar* QToolBar()
        x_QToolBar* xret = new x_QToolBar((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_58(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QToolBar::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14438, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QToolBar::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14439, (void*)this, x)) return (void*)x[0].s_class;
        return this->QToolBar::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(14444, (void*)this, x)) return (int)x[0].s_int;
        return this->QToolBar::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(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(14487, (void*)this, x)) return;
        this->QToolBar::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(14488, (void*)this, x)) return;
        this->QToolBar::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(14484, (void*)this, x)) return;
        this->QToolBar::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(14485, (void*)this, x)) return;
        this->QToolBar::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(14489, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QToolBar::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(14486, (void*)this, x)) return;
        this->QToolBar::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_QToolBar() { this->_binding->deleted(424, (void*)this); }
};
void xcall_QToolBar(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QToolBar *xself = (x_QToolBar*)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_QToolBar::x_3(args);	break;
        case 4: x_QToolBar::x_4(args);	break;
        case 5: x_QToolBar::x_5(args);	break;
        case 6: x_QToolBar::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QToolBar::x_8(args);	break;
        case 9: x_QToolBar::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: x_QToolBar::x_54(args);	break;
        case 55: x_QToolBar::x_55(args);	break;
        case 56: x_QToolBar::x_56(args);	break;
        case 57: x_QToolBar::x_57(args);	break;
        case 58: x_QToolBar::x_58(args);	break;
        case 59: delete (QToolBar*)xself;	break;
    }
}
class x_QToolBarChangeEvent : public QToolBarChangeEvent, 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) {
        // QToolBarChangeEvent* QToolBarChangeEvent(bool)
        x_QToolBarChangeEvent* xret = new x_QToolBarChangeEvent((bool)x[1].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_QToolBarChangeEvent(bool x1) : QToolBarChangeEvent(x1) {}
    void x_2(Smoke::Stack x) {
        // bool toggle() const
        bool xret = ((const x_QToolBarChangeEvent*)this)->QToolBarChangeEvent::toggle();
        x[0].s_bool = xret;
    }
    static void x_3(Smoke::Stack x) {
        // QToolBarChangeEvent* QToolBarChangeEvent(const QToolBarChangeEvent&)
        x_QToolBarChangeEvent* xret = new x_QToolBarChangeEvent(*(const QToolBarChangeEvent*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QToolBarChangeEvent(const QToolBarChangeEvent& x1) : QToolBarChangeEvent(x1) {}
    ~x_QToolBarChangeEvent() { this->_binding->deleted(425, (void*)this); }
};
void xcall_QToolBarChangeEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QToolBarChangeEvent *xself = (x_QToolBarChangeEvent*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QToolBarChangeEvent::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QToolBarChangeEvent::x_3(args);	break;
        case 4: delete (QToolBarChangeEvent*)xself;	break;
    }
}
class x_QToolBox : public QToolBox, 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<QToolBox*>(this))) {
            const QMetaObject* xret = ((const x_QToolBox*)this)->QToolBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QToolBox*)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<QToolBox*>(this))) {
            void* xret = this->QToolBox::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 = QToolBox::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 = QToolBox::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 = QToolBox::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 = QToolBox::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<QToolBox*>(this))) {
            int xret = this->QToolBox::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) {
        // QToolBox* QToolBox(QWidget*, QFlags<Qt::WindowType>)
        x_QToolBox* xret = new x_QToolBox((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QToolBox(QWidget* x1, QFlags<Qt::WindowType> x2) : QToolBox(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // int addItem(QWidget*, const QString&)
        int xret = this->QToolBox::addItem((QWidget*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // int addItem(QWidget*, const QIcon&, const QString&)
        int xret = this->QToolBox::addItem((QWidget*)x[1].s_class,*(const QIcon*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // int insertItem(int, QWidget*, const QString&)
        int xret = this->QToolBox::insertItem((int)x[1].s_int,(QWidget*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // int insertItem(int, QWidget*, const QIcon&, const QString&)
        int xret = this->QToolBox::insertItem((int)x[1].s_int,(QWidget*)x[2].s_class,*(const QIcon*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // void removeItem(int)
        this->QToolBox::removeItem((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setItemEnabled(int, bool)
        this->QToolBox::setItemEnabled((int)x[1].s_int,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool isItemEnabled(int) const
        bool xret = ((const x_QToolBox*)this)->QToolBox::isItemEnabled((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setItemText(int, const QString&)
        this->QToolBox::setItemText((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QString itemText(int) const
        QString xret = ((const x_QToolBox*)this)->QToolBox::itemText((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setItemIcon(int, const QIcon&)
        this->QToolBox::setItemIcon((int)x[1].s_int,*(const QIcon*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QIcon itemIcon(int) const
        QIcon xret = ((const x_QToolBox*)this)->QToolBox::itemIcon((int)x[1].s_int);
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setItemToolTip(int, const QString&)
        this->QToolBox::setItemToolTip((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QString itemToolTip(int) const
        QString xret = ((const x_QToolBox*)this)->QToolBox::itemToolTip((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // int currentIndex() const
        int xret = ((const x_QToolBox*)this)->QToolBox::currentIndex();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // QWidget* currentWidget() const
        QWidget* xret = ((const x_QToolBox*)this)->QToolBox::currentWidget();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // QWidget* widget(int) const
        QWidget* xret = ((const x_QToolBox*)this)->QToolBox::widget((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // int indexOf(QWidget*) const
        int xret = ((const x_QToolBox*)this)->QToolBox::indexOf((QWidget*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_QToolBox*)this)->QToolBox::count();
        x[0].s_int = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setCurrentIndex(int)
        this->QToolBox::setCurrentIndex((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setCurrentWidget(QWidget*)
        this->QToolBox::setCurrentWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void currentChanged(int)
        this->QToolBox::currentChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBox*>(this))) {
            bool xret = this->QToolBox::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) {
        // virtual void itemInserted(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBox*>(this))) {
            this->QToolBox::itemInserted((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->itemInserted((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // virtual void itemRemoved(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBox*>(this))) {
            this->QToolBox::itemRemoved((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->itemRemoved((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBox*>(this))) {
            this->QToolBox::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_34(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolBox*>(this))) {
            this->QToolBox::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_35(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QToolBox::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 = QToolBox::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) {
        // QToolBox* QToolBox()
        x_QToolBox* xret = new x_QToolBox((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_38(Smoke::Stack x) {
        // QToolBox* QToolBox(QWidget*)
        x_QToolBox* xret = new x_QToolBox((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QToolBox::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14501, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QToolBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14502, (void*)this, x)) return (void*)x[0].s_class;
        return this->QToolBox::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(14507, (void*)this, x)) return (int)x[0].s_int;
        return this->QToolBox::qt_metacall(x1, x2, x3);
    }
    virtual void itemInserted(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(14531, (void*)this, x)) return;
        this->QToolBox::itemInserted(x1);
    }
    virtual void itemRemoved(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(14532, (void*)this, x)) return;
        this->QToolBox::itemRemoved(x1);
    }
    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(3687, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFrame::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(3699, (void*)this, x)) return;
        this->QFrame::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(14533, (void*)this, x)) return;
        this->QToolBox::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(14534, (void*)this, x)) return;
        this->QToolBox::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(14530, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QToolBox::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_QToolBox() { this->_binding->deleted(426, (void*)this); }
};
void xcall_QToolBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QToolBox *xself = (x_QToolBox*)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_QToolBox::x_3(args);	break;
        case 4: x_QToolBox::x_4(args);	break;
        case 5: x_QToolBox::x_5(args);	break;
        case 6: x_QToolBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QToolBox::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: x_QToolBox::x_35(args);	break;
        case 36: x_QToolBox::x_36(args);	break;
        case 37: x_QToolBox::x_37(args);	break;
        case 38: x_QToolBox::x_38(args);	break;
        case 39: x_QToolBox::x_39(args);	break;
        case 40: delete (QToolBox*)xself;	break;
    }
}
class x_QToolButton : public QToolButton, 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<QToolButton*>(this))) {
            const QMetaObject* xret = ((const x_QToolButton*)this)->QToolButton::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QToolButton*)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<QToolButton*>(this))) {
            void* xret = this->QToolButton::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 = QToolButton::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 = QToolButton::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 = QToolButton::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 = QToolButton::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<QToolButton*>(this))) {
            int xret = this->QToolButton::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) {
        // QToolButton* QToolButton(QWidget*)
        x_QToolButton* xret = new x_QToolButton((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QToolButton(QWidget* x1) : QToolButton(x1) {}
    void x_9(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            QSize xret = ((const x_QToolButton*)this)->QToolButton::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QToolButton*)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<QToolButton*>(this))) {
            QSize xret = ((const x_QToolButton*)this)->QToolButton::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QToolButton*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_11(Smoke::Stack x) {
        // Qt::ToolButtonStyle toolButtonStyle() const
        Qt::ToolButtonStyle xret = ((const x_QToolButton*)this)->QToolButton::toolButtonStyle();
        x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
        // Qt::ArrowType arrowType() const
        Qt::ArrowType xret = ((const x_QToolButton*)this)->QToolButton::arrowType();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setArrowType(Qt::ArrowType)
        this->QToolButton::setArrowType((Qt::ArrowType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setMenu(QMenu*)
        this->QToolButton::setMenu((QMenu*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QMenu* menu() const
        QMenu* xret = ((const x_QToolButton*)this)->QToolButton::menu();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // void setPopupMode(QToolButton::ToolButtonPopupMode)
        this->QToolButton::setPopupMode((QToolButton::ToolButtonPopupMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QToolButton::ToolButtonPopupMode popupMode() const
        QToolButton::ToolButtonPopupMode xret = ((const x_QToolButton*)this)->QToolButton::popupMode();
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // QAction* defaultAction() const
        QAction* xret = ((const x_QToolButton*)this)->QToolButton::defaultAction();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void setAutoRaise(bool)
        this->QToolButton::setAutoRaise((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool autoRaise() const
        bool xret = ((const x_QToolButton*)this)->QToolButton::autoRaise();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void showMenu()
        this->QToolButton::showMenu();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setToolButtonStyle(Qt::ToolButtonStyle)
        this->QToolButton::setToolButtonStyle((Qt::ToolButtonStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setDefaultAction(QAction*)
        this->QToolButton::setDefaultAction((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void triggered(QAction*)
        this->QToolButton::triggered((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            bool xret = this->QToolButton::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_26(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::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_27(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::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_28(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::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_29(Smoke::Stack x) {
        // void actionEvent(QActionEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::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_30(Smoke::Stack x) {
        // void enterEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::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_31(Smoke::Stack x) {
        // void leaveEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::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_32(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::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_33(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::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) {
        // bool hitButton(const QPoint&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            bool xret = ((const x_QToolButton*)this)->QToolButton::hitButton(*(const QPoint*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QToolButton*)this)->hitButton(*(const QPoint*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_35(Smoke::Stack x) {
        // void nextCheckState()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QToolButton*>(this))) {
            this->QToolButton::nextCheckState();
            (void)x; // noop (for compiler warning)
        } else {
            this->nextCheckState();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_36(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionToolButton*) const
        ((const x_QToolButton*)this)->QToolButton::initStyleOption((QStyleOptionToolButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_37(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QToolButton::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QToolButton::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_39(Smoke::Stack x) {
        // QToolButton* QToolButton()
        x_QToolButton* xret = new x_QToolButton((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_40(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QToolButton::staticMetaObject;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QToolButton::DelayedPopup;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QToolButton::MenuButtonPopup;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QToolButton::InstantPopup;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14541, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QToolButton::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14542, (void*)this, x)) return (void*)x[0].s_class;
        return this->QToolButton::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(14547, (void*)this, x)) return (int)x[0].s_int;
        return this->QToolButton::qt_metacall(x1, x2, x3);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14568, (void*)this, x)) return;
        this->QToolButton::paintEvent(x1);
    }
    virtual bool hitButton(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14574, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QToolButton::hitButton(x1);
    }
    virtual void checkStateSet() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(41, (void*)this, x)) return;
        this->QAbstractButton::checkStateSet();
    }
    virtual void nextCheckState() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14575, (void*)this, x)) return;
        this->QToolButton::nextCheckState();
    }
    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(14549, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QToolButton::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14550, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QToolButton::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(14566, (void*)this, x)) return;
        this->QToolButton::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14567, (void*)this, x)) return;
        this->QToolButton::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(48, (void*)this, x)) return;
        this->QAbstractButton::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(44, (void*)this, x)) return;
        this->QAbstractButton::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(45, (void*)this, x)) return;
        this->QAbstractButton::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(49, (void*)this, x)) return;
        this->QAbstractButton::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(50, (void*)this, x)) return;
        this->QAbstractButton::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14570, (void*)this, x)) return;
        this->QToolButton::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14571, (void*)this, x)) return;
        this->QToolButton::leaveEvent(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(14569, (void*)this, x)) return;
        this->QToolButton::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(14573, (void*)this, x)) return;
        this->QToolButton::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(14565, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QToolButton::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(14572, (void*)this, x)) return;
        this->QToolButton::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 1020: //QToolButton::ToolButtonPopupMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QToolButton::ToolButtonPopupMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QToolButton::ToolButtonPopupMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QToolButton::ToolButtonPopupMode*)xdata = (QToolButton::ToolButtonPopupMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QToolButton::ToolButtonPopupMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QToolButton() { this->_binding->deleted(427, (void*)this); }
};
void xenum_QToolButton(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QToolButton::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QToolButton(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QToolButton *xself = (x_QToolButton*)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_QToolButton::x_3(args);	break;
        case 4: x_QToolButton::x_4(args);	break;
        case 5: x_QToolButton::x_5(args);	break;
        case 6: x_QToolButton::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QToolButton::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: x_QToolButton::x_37(args);	break;
        case 38: x_QToolButton::x_38(args);	break;
        case 39: x_QToolButton::x_39(args);	break;
        case 40: x_QToolButton::x_40(args);	break;
        case 41: x_QToolButton::x_41(args);	break;
        case 42: x_QToolButton::x_42(args);	break;
        case 43: x_QToolButton::x_43(args);	break;
        case 44: delete (QToolButton*)xself;	break;
    }
}
class x_QToolTip : public QToolTip {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // static void showText(const QPoint&, const QString&, QWidget*)
        QToolTip::showText(*(const QPoint*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_2(Smoke::Stack x) {
        // static void showText(const QPoint&, const QString&, QWidget*, const QRect&)
        QToolTip::showText(*(const QPoint*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QRect*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // static void hideText()
        QToolTip::hideText();
        (void)x; // noop (for compiler warning)
    }
    static void x_4(Smoke::Stack x) {
        // static bool isVisible()
        bool xret = QToolTip::isVisible();
        x[0].s_bool = xret;
    }
    static void x_5(Smoke::Stack x) {
        // static QString text()
        QString xret = QToolTip::text();
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QPalette palette()
        QPalette xret = QToolTip::palette();
        x[0].s_class = (void*)new QPalette(xret);
    }
    static void x_7(Smoke::Stack x) {
        // static void setPalette(const QPalette&)
        QToolTip::setPalette(*(const QPalette*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_8(Smoke::Stack x) {
        // static QFont font()
        QFont xret = QToolTip::font();
        x[0].s_class = (void*)new QFont(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static void setFont(const QFont&)
        QToolTip::setFont(*(const QFont*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // QToolTip* QToolTip(const QToolTip&)
        x_QToolTip* xret = new x_QToolTip(*(const QToolTip*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QToolTip(const QToolTip& x1) : QToolTip(x1) {}
    static void x_11(Smoke::Stack x) {
        // static void showText(const QPoint&, const QString&)
        QToolTip::showText(*(const QPoint*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0);
        (void)x; // noop (for compiler warning)
    }
    ~x_QToolTip() { this->_binding->deleted(428, (void*)this); }
};
void xcall_QToolTip(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QToolTip *xself = (x_QToolTip*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QToolTip::x_1(args);	break;
        case 2: x_QToolTip::x_2(args);	break;
        case 3: x_QToolTip::x_3(args);	break;
        case 4: x_QToolTip::x_4(args);	break;
        case 5: x_QToolTip::x_5(args);	break;
        case 6: x_QToolTip::x_6(args);	break;
        case 7: x_QToolTip::x_7(args);	break;
        case 8: x_QToolTip::x_8(args);	break;
        case 9: x_QToolTip::x_9(args);	break;
        case 10: x_QToolTip::x_10(args);	break;
        case 11: x_QToolTip::x_11(args);	break;
        case 12: delete (QToolTip*)xself;	break;
    }
}
class x_QTouchEvent : public QTouchEvent, 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) {
        // QTouchEvent* QTouchEvent(QEvent::Type, QTouchEvent::DeviceType, QFlags<Qt::KeyboardModifier>, QFlags<Qt::TouchPointState>, const QList<QTouchEvent::TouchPoint>&)
        x_QTouchEvent* xret = new x_QTouchEvent((QEvent::Type)x[1].s_enum,(QTouchEvent::DeviceType)x[2].s_enum,(QFlags<Qt::KeyboardModifier>)x[3].s_uint,(QFlags<Qt::TouchPointState>)x[4].s_uint,*(const QList<QTouchEvent::TouchPoint>*)x[5].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTouchEvent(QEvent::Type x1, QTouchEvent::DeviceType x2, QFlags<Qt::KeyboardModifier> x3, QFlags<Qt::TouchPointState> x4, const QList<QTouchEvent::TouchPoint>& x5) : QTouchEvent(x1, x2, x3, x4, x5) {}
    void x_2(Smoke::Stack x) {
        // QWidget* widget() const
        QWidget* xret = ((const x_QTouchEvent*)this)->QTouchEvent::widget();
        x[0].s_class = (void*)xret;
    }
    void x_3(Smoke::Stack x) {
        // QTouchEvent::DeviceType deviceType() const
        QTouchEvent::DeviceType xret = ((const x_QTouchEvent*)this)->QTouchEvent::deviceType();
        x[0].s_enum = xret;
    }
    void x_4(Smoke::Stack x) {
        // QFlags<Qt::TouchPointState> touchPointStates() const
        QFlags<Qt::TouchPointState> xret = ((const x_QTouchEvent*)this)->QTouchEvent::touchPointStates();
        x[0].s_uint = (uint)xret;
    }
    void x_5(Smoke::Stack x) {
        // const QList<QTouchEvent::TouchPoint>& touchPoints() const
        const QList<QTouchEvent::TouchPoint>& xret = ((const x_QTouchEvent*)this)->QTouchEvent::touchPoints();
        x[0].s_class = (void*)&xret;
    }
    void x_6(Smoke::Stack x) {
        // void setWidget(QWidget*)
        this->QTouchEvent::setWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // void setDeviceType(QTouchEvent::DeviceType)
        this->QTouchEvent::setDeviceType((QTouchEvent::DeviceType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // void setTouchPointStates(QFlags<Qt::TouchPointState>)
        this->QTouchEvent::setTouchPointStates((QFlags<Qt::TouchPointState>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void setTouchPoints(const QList<QTouchEvent::TouchPoint>&)
        this->QTouchEvent::setTouchPoints(*(const QList<QTouchEvent::TouchPoint>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // QTouchEvent* QTouchEvent(const QTouchEvent&)
        x_QTouchEvent* xret = new x_QTouchEvent(*(const QTouchEvent*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTouchEvent(const QTouchEvent& x1) : QTouchEvent(x1) {}
    static void x_11(Smoke::Stack x) {
        // QTouchEvent* QTouchEvent(QEvent::Type)
        x_QTouchEvent* xret = new x_QTouchEvent((QEvent::Type)x[1].s_enum,(QTouchEvent::DeviceType)QTouchEvent::TouchScreen,(QFlags<Qt::KeyboardModifier>)Qt::NoModifier,(QFlags<Qt::TouchPointState>)0,(const QList<QTouchEvent::TouchPoint>&)QList< QTouchEvent::TouchPoint >());
        x[0].s_class = (void*)xret;
    }
    static void x_12(Smoke::Stack x) {
        // QTouchEvent* QTouchEvent(QEvent::Type, QTouchEvent::DeviceType)
        x_QTouchEvent* xret = new x_QTouchEvent((QEvent::Type)x[1].s_enum,(QTouchEvent::DeviceType)x[2].s_enum,(QFlags<Qt::KeyboardModifier>)Qt::NoModifier,(QFlags<Qt::TouchPointState>)0,(const QList<QTouchEvent::TouchPoint>&)QList< QTouchEvent::TouchPoint >());
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // QTouchEvent* QTouchEvent(QEvent::Type, QTouchEvent::DeviceType, QFlags<Qt::KeyboardModifier>)
        x_QTouchEvent* xret = new x_QTouchEvent((QEvent::Type)x[1].s_enum,(QTouchEvent::DeviceType)x[2].s_enum,(QFlags<Qt::KeyboardModifier>)x[3].s_uint,(QFlags<Qt::TouchPointState>)0,(const QList<QTouchEvent::TouchPoint>&)QList< QTouchEvent::TouchPoint >());
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // QTouchEvent* QTouchEvent(QEvent::Type, QTouchEvent::DeviceType, QFlags<Qt::KeyboardModifier>, QFlags<Qt::TouchPointState>)
        x_QTouchEvent* xret = new x_QTouchEvent((QEvent::Type)x[1].s_enum,(QTouchEvent::DeviceType)x[2].s_enum,(QFlags<Qt::KeyboardModifier>)x[3].s_uint,(QFlags<Qt::TouchPointState>)x[4].s_uint,(const QList<QTouchEvent::TouchPoint>&)QList< QTouchEvent::TouchPoint >());
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // QWidget* _widget
        x[0].s_class = (void*)this->QTouchEvent::_widget;
    }
    void x_16(Smoke::Stack x) {
        // QWidget* _widget=
        this->QTouchEvent::_widget = (QWidget*)x[1].s_class;
    }
    void x_17(Smoke::Stack x) {
        // QTouchEvent::DeviceType _deviceType
        x[0].s_enum = this->QTouchEvent::_deviceType;
    }
    void x_18(Smoke::Stack x) {
        // QTouchEvent::DeviceType _deviceType=
        this->QTouchEvent::_deviceType = (QTouchEvent::DeviceType)x[1].s_enum;
    }
    void x_19(Smoke::Stack x) {
        // QFlags<Qt::TouchPointState> _touchPointStates
        x[0].s_uint = (uint)this->QTouchEvent::_touchPointStates;
    }
    void x_20(Smoke::Stack x) {
        // QFlags<Qt::TouchPointState> _touchPointStates=
        this->QTouchEvent::_touchPointStates = (QFlags<Qt::TouchPointState>)x[1].s_uint;
    }
    void x_21(Smoke::Stack x) {
        // QList<QTouchEvent::TouchPoint> _touchPoints
        x[0].s_class = (void*)&this->QTouchEvent::_touchPoints;
    }
    void x_22(Smoke::Stack x) {
        // QList<QTouchEvent::TouchPoint> _touchPoints=
        this->QTouchEvent::_touchPoints = *(const QList<QTouchEvent::TouchPoint>*)x[1].s_class;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)QTouchEvent::TouchScreen;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)QTouchEvent::TouchPad;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 1023: //QTouchEvent::DeviceType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTouchEvent::DeviceType;
                    break;
                case Smoke::EnumDelete:
                    delete (QTouchEvent::DeviceType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTouchEvent::DeviceType*)xdata = (QTouchEvent::DeviceType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTouchEvent::DeviceType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTouchEvent() { this->_binding->deleted(429, (void*)this); }
};
void xenum_QTouchEvent(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTouchEvent::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTouchEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTouchEvent *xself = (x_QTouchEvent*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTouchEvent::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: x_QTouchEvent::x_10(args);	break;
        case 11: x_QTouchEvent::x_11(args);	break;
        case 12: x_QTouchEvent::x_12(args);	break;
        case 13: x_QTouchEvent::x_13(args);	break;
        case 14: x_QTouchEvent::x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: x_QTouchEvent::x_23(args);	break;
        case 24: x_QTouchEvent::x_24(args);	break;
        case 25: delete (QTouchEvent*)xself;	break;
    }
}
class x_QTouchEvent__TouchPoint : public QTouchEvent::TouchPoint {
    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) {
        // QTouchEvent::TouchPoint* TouchPoint(int)
        x_QTouchEvent__TouchPoint* xret = new x_QTouchEvent__TouchPoint((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTouchEvent__TouchPoint(int x1) : TouchPoint(x1) {}
    static void x_2(Smoke::Stack x) {
        // QTouchEvent::TouchPoint* TouchPoint(const QTouchEvent::TouchPoint&)
        x_QTouchEvent__TouchPoint* xret = new x_QTouchEvent__TouchPoint(*(const QTouchEvent::TouchPoint*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTouchEvent__TouchPoint(const QTouchEvent::TouchPoint& x1) : TouchPoint(x1) {}
    void x_3(Smoke::Stack x) {
        // int id() const
        int xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::id();
        x[0].s_int = xret;
    }
    void x_4(Smoke::Stack x) {
        // Qt::TouchPointState state() const
        Qt::TouchPointState xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::state();
        x[0].s_enum = xret;
    }
    void x_5(Smoke::Stack x) {
        // bool isPrimary() const
        bool xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::isPrimary();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // QPointF pos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::pos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_7(Smoke::Stack x) {
        // QPointF startPos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::startPos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_8(Smoke::Stack x) {
        // QPointF lastPos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::lastPos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_9(Smoke::Stack x) {
        // QPointF scenePos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::scenePos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_10(Smoke::Stack x) {
        // QPointF startScenePos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::startScenePos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_11(Smoke::Stack x) {
        // QPointF lastScenePos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::lastScenePos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_12(Smoke::Stack x) {
        // QPointF screenPos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::screenPos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_13(Smoke::Stack x) {
        // QPointF startScreenPos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::startScreenPos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_14(Smoke::Stack x) {
        // QPointF lastScreenPos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::lastScreenPos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_15(Smoke::Stack x) {
        // QPointF normalizedPos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::normalizedPos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_16(Smoke::Stack x) {
        // QPointF startNormalizedPos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::startNormalizedPos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_17(Smoke::Stack x) {
        // QPointF lastNormalizedPos() const
        QPointF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::lastNormalizedPos();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_18(Smoke::Stack x) {
        // QRectF rect() const
        QRectF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::rect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_19(Smoke::Stack x) {
        // QRectF sceneRect() const
        QRectF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::sceneRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_20(Smoke::Stack x) {
        // QRectF screenRect() const
        QRectF xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::screenRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_21(Smoke::Stack x) {
        // double pressure() const
        double xret = ((const x_QTouchEvent__TouchPoint*)this)->QTouchEvent::TouchPoint::pressure();
        x[0].s_double = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setId(int)
        this->QTouchEvent::TouchPoint::setId((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setState(QFlags<Qt::TouchPointState>)
        this->QTouchEvent::TouchPoint::setState((QFlags<Qt::TouchPointState>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setScenePos(const QPointF&)
        this->QTouchEvent::TouchPoint::setScenePos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setScreenPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setScreenPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setNormalizedPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setNormalizedPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setStartPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setStartPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setStartScenePos(const QPointF&)
        this->QTouchEvent::TouchPoint::setStartScenePos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setStartScreenPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setStartScreenPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setStartNormalizedPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setStartNormalizedPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setLastPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setLastPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setLastScenePos(const QPointF&)
        this->QTouchEvent::TouchPoint::setLastScenePos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setLastScreenPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setLastScreenPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setLastNormalizedPos(const QPointF&)
        this->QTouchEvent::TouchPoint::setLastNormalizedPos(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void setRect(const QRectF&)
        this->QTouchEvent::TouchPoint::setRect(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void setSceneRect(const QRectF&)
        this->QTouchEvent::TouchPoint::setSceneRect(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void setScreenRect(const QRectF&)
        this->QTouchEvent::TouchPoint::setScreenRect(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void setPressure(double)
        this->QTouchEvent::TouchPoint::setPressure((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // QTouchEvent::TouchPoint& operator=(const QTouchEvent::TouchPoint&)
        QTouchEvent::TouchPoint& xret = this->QTouchEvent::TouchPoint::operator=(*(const QTouchEvent::TouchPoint*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_41(Smoke::Stack x) {
        // QTouchEvent::TouchPoint* TouchPoint()
        x_QTouchEvent__TouchPoint* xret = new x_QTouchEvent__TouchPoint((int)-1);
        x[0].s_class = (void*)xret;
    }
    ~x_QTouchEvent__TouchPoint() { this->_binding->deleted(430, (void*)this); }
};
void xcall_QTouchEvent__TouchPoint(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTouchEvent__TouchPoint *xself = (x_QTouchEvent__TouchPoint*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTouchEvent__TouchPoint::x_1(args);	break;
        case 2: x_QTouchEvent__TouchPoint::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: 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: x_QTouchEvent__TouchPoint::x_41(args);	break;
        case 42: delete (QTouchEvent::TouchPoint*)xself;	break;
    }
}
class x_QTransform : public QTransform {
    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) {
        // QTransform* QTransform(Qt::Initialization)
        x_QTransform* xret = new x_QTransform((Qt::Initialization)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTransform(Qt::Initialization x1) : QTransform(x1) {}
    static void x_2(Smoke::Stack x) {
        // QTransform* QTransform()
        x_QTransform* xret = new x_QTransform();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTransform() : QTransform() {}
    static void x_3(Smoke::Stack x) {
        // QTransform* QTransform(double, double, double, double, double, double, double, double, double)
        x_QTransform* xret = new x_QTransform((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);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTransform(double x1, double x2, double x3, double x4, double x5, double x6, double x7, double x8, double x9) : QTransform(x1, x2, x3, x4, x5, x6, x7, x8, x9) {}
    static void x_4(Smoke::Stack x) {
        // QTransform* QTransform(double, double, double, double, double, double)
        x_QTransform* xret = new x_QTransform((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_QTransform(double x1, double x2, double x3, double x4, double x5, double x6) : QTransform(x1, x2, x3, x4, x5, x6) {}
    static void x_5(Smoke::Stack x) {
        // QTransform* QTransform(const QMatrix&)
        x_QTransform* xret = new x_QTransform(*(const QMatrix*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTransform(const QMatrix& x1) : QTransform(x1) {}
    void x_6(Smoke::Stack x) {
        // bool isAffine() const
        bool xret = ((const x_QTransform*)this)->QTransform::isAffine();
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool isIdentity() const
        bool xret = ((const x_QTransform*)this)->QTransform::isIdentity();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // bool isInvertible() const
        bool xret = ((const x_QTransform*)this)->QTransform::isInvertible();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool isScaling() const
        bool xret = ((const x_QTransform*)this)->QTransform::isScaling();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool isRotating() const
        bool xret = ((const x_QTransform*)this)->QTransform::isRotating();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool isTranslating() const
        bool xret = ((const x_QTransform*)this)->QTransform::isTranslating();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // QTransform::TransformationType type() const
        QTransform::TransformationType xret = ((const x_QTransform*)this)->QTransform::type();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // double determinant() const
        double xret = ((const x_QTransform*)this)->QTransform::determinant();
        x[0].s_double = xret;
    }
    void x_14(Smoke::Stack x) {
        // double det() const
        double xret = ((const x_QTransform*)this)->QTransform::det();
        x[0].s_double = xret;
    }
    void x_15(Smoke::Stack x) {
        // double m11() const
        double xret = ((const x_QTransform*)this)->QTransform::m11();
        x[0].s_double = xret;
    }
    void x_16(Smoke::Stack x) {
        // double m12() const
        double xret = ((const x_QTransform*)this)->QTransform::m12();
        x[0].s_double = xret;
    }
    void x_17(Smoke::Stack x) {
        // double m13() const
        double xret = ((const x_QTransform*)this)->QTransform::m13();
        x[0].s_double = xret;
    }
    void x_18(Smoke::Stack x) {
        // double m21() const
        double xret = ((const x_QTransform*)this)->QTransform::m21();
        x[0].s_double = xret;
    }
    void x_19(Smoke::Stack x) {
        // double m22() const
        double xret = ((const x_QTransform*)this)->QTransform::m22();
        x[0].s_double = xret;
    }
    void x_20(Smoke::Stack x) {
        // double m23() const
        double xret = ((const x_QTransform*)this)->QTransform::m23();
        x[0].s_double = xret;
    }
    void x_21(Smoke::Stack x) {
        // double m31() const
        double xret = ((const x_QTransform*)this)->QTransform::m31();
        x[0].s_double = xret;
    }
    void x_22(Smoke::Stack x) {
        // double m32() const
        double xret = ((const x_QTransform*)this)->QTransform::m32();
        x[0].s_double = xret;
    }
    void x_23(Smoke::Stack x) {
        // double m33() const
        double xret = ((const x_QTransform*)this)->QTransform::m33();
        x[0].s_double = xret;
    }
    void x_24(Smoke::Stack x) {
        // double dx() const
        double xret = ((const x_QTransform*)this)->QTransform::dx();
        x[0].s_double = xret;
    }
    void x_25(Smoke::Stack x) {
        // double dy() const
        double xret = ((const x_QTransform*)this)->QTransform::dy();
        x[0].s_double = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setMatrix(double, double, double, double, double, double, double, double, double)
        this->QTransform::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,(double)x[7].s_double,(double)x[8].s_double,(double)x[9].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // QTransform inverted(bool*) const
        QTransform xret = ((const x_QTransform*)this)->QTransform::inverted((bool*)x[1].s_class);
        x[0].s_class = (void*)new QTransform(xret);
    }
    void x_28(Smoke::Stack x) {
        // QTransform adjoint() const
        QTransform xret = ((const x_QTransform*)this)->QTransform::adjoint();
        x[0].s_class = (void*)new QTransform(xret);
    }
    void x_29(Smoke::Stack x) {
        // QTransform transposed() const
        QTransform xret = ((const x_QTransform*)this)->QTransform::transposed();
        x[0].s_class = (void*)new QTransform(xret);
    }
    void x_30(Smoke::Stack x) {
        // QTransform& translate(double, double)
        QTransform& xret = this->QTransform::translate((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_31(Smoke::Stack x) {
        // QTransform& scale(double, double)
        QTransform& xret = this->QTransform::scale((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_32(Smoke::Stack x) {
        // QTransform& shear(double, double)
        QTransform& xret = this->QTransform::shear((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_33(Smoke::Stack x) {
        // QTransform& rotate(double, Qt::Axis)
        QTransform& xret = this->QTransform::rotate((double)x[1].s_double,(Qt::Axis)x[2].s_enum);
        x[0].s_class = (void*)&xret;
    }
    void x_34(Smoke::Stack x) {
        // QTransform& rotateRadians(double, Qt::Axis)
        QTransform& xret = this->QTransform::rotateRadians((double)x[1].s_double,(Qt::Axis)x[2].s_enum);
        x[0].s_class = (void*)&xret;
    }
    static void x_35(Smoke::Stack x) {
        // static bool squareToQuad(const QPolygonF&, QTransform&)
        bool xret = QTransform::squareToQuad(*(const QPolygonF*)x[1].s_class,*(QTransform*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_36(Smoke::Stack x) {
        // static bool quadToSquare(const QPolygonF&, QTransform&)
        bool xret = QTransform::quadToSquare(*(const QPolygonF*)x[1].s_class,*(QTransform*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_37(Smoke::Stack x) {
        // static bool quadToQuad(const QPolygonF&, const QPolygonF&, QTransform&)
        bool xret = QTransform::quadToQuad(*(const QPolygonF*)x[1].s_class,*(const QPolygonF*)x[2].s_class,*(QTransform*)x[3].s_class);
        x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
        // bool operator==(const QTransform&) const
        bool xret = ((const x_QTransform*)this)->QTransform::operator==(*(const QTransform*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_39(Smoke::Stack x) {
        // bool operator!=(const QTransform&) const
        bool xret = ((const x_QTransform*)this)->QTransform::operator!=(*(const QTransform*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_40(Smoke::Stack x) {
        // QTransform& operator*=(const QTransform&)
        QTransform& xret = this->QTransform::operator*=(*(const QTransform*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_41(Smoke::Stack x) {
        // QTransform operator*(const QTransform&) const
        QTransform xret = ((const x_QTransform*)this)->QTransform::operator*(*(const QTransform*)x[1].s_class);
        x[0].s_class = (void*)new QTransform(xret);
    }
    void x_42(Smoke::Stack x) {
        // QTransform& operator=(const QTransform&)
        QTransform& xret = this->QTransform::operator=(*(const QTransform*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_43(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QTransform*)this)->QTransform::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_44(Smoke::Stack x) {
        // void reset()
        this->QTransform::reset();
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // QPoint map(const QPoint&) const
        QPoint xret = ((const x_QTransform*)this)->QTransform::map(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_46(Smoke::Stack x) {
        // QPointF map(const QPointF&) const
        QPointF xret = ((const x_QTransform*)this)->QTransform::map(*(const QPointF*)x[1].s_class);
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_47(Smoke::Stack x) {
        // QLine map(const QLine&) const
        QLine xret = ((const x_QTransform*)this)->QTransform::map(*(const QLine*)x[1].s_class);
        x[0].s_class = (void*)new QLine(xret);
    }
    void x_48(Smoke::Stack x) {
        // QLineF map(const QLineF&) const
        QLineF xret = ((const x_QTransform*)this)->QTransform::map(*(const QLineF*)x[1].s_class);
        x[0].s_class = (void*)new QLineF(xret);
    }
    void x_49(Smoke::Stack x) {
        // QPolygonF map(const QPolygonF&) const
        QPolygonF xret = ((const x_QTransform*)this)->QTransform::map(*(const QPolygonF*)x[1].s_class);
        x[0].s_class = (void*)new QPolygonF(xret);
    }
    void x_50(Smoke::Stack x) {
        // QPolygon map(const QPolygon&) const
        QPolygon xret = ((const x_QTransform*)this)->QTransform::map(*(const QPolygon*)x[1].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_51(Smoke::Stack x) {
        // QRegion map(const QRegion&) const
        QRegion xret = ((const x_QTransform*)this)->QTransform::map(*(const QRegion*)x[1].s_class);
        x[0].s_class = (void*)new QRegion(xret);
    }
    void x_52(Smoke::Stack x) {
        // QPainterPath map(const QPainterPath&) const
        QPainterPath xret = ((const x_QTransform*)this)->QTransform::map(*(const QPainterPath*)x[1].s_class);
        x[0].s_class = (void*)new QPainterPath(xret);
    }
    void x_53(Smoke::Stack x) {
        // QPolygon mapToPolygon(const QRect&) const
        QPolygon xret = ((const x_QTransform*)this)->QTransform::mapToPolygon(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_54(Smoke::Stack x) {
        // QRect mapRect(const QRect&) const
        QRect xret = ((const x_QTransform*)this)->QTransform::mapRect(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_55(Smoke::Stack x) {
        // QRectF mapRect(const QRectF&) const
        QRectF xret = ((const x_QTransform*)this)->QTransform::mapRect(*(const QRectF*)x[1].s_class);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_56(Smoke::Stack x) {
        // void map(int, int, int*, int*) const
        ((const x_QTransform*)this)->QTransform::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_57(Smoke::Stack x) {
        // void map(double, double, double*, double*) const
        ((const x_QTransform*)this)->QTransform::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_58(Smoke::Stack x) {
        // const QMatrix& toAffine() const
        const QMatrix& xret = ((const x_QTransform*)this)->QTransform::toAffine();
        x[0].s_class = (void*)&xret;
    }
    void x_59(Smoke::Stack x) {
        // QTransform& operator*=(double)
        QTransform& xret = this->QTransform::operator*=((double)x[1].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_60(Smoke::Stack x) {
        // QTransform& operator/=(double)
        QTransform& xret = this->QTransform::operator/=((double)x[1].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_61(Smoke::Stack x) {
        // QTransform& operator+=(double)
        QTransform& xret = this->QTransform::operator+=((double)x[1].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_62(Smoke::Stack x) {
        // QTransform& operator-=(double)
        QTransform& xret = this->QTransform::operator-=((double)x[1].s_double);
        x[0].s_class = (void*)&xret;
    }
    static void x_63(Smoke::Stack x) {
        // static QTransform fromTranslate(double, double)
        QTransform xret = QTransform::fromTranslate((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)new QTransform(xret);
    }
    static void x_64(Smoke::Stack x) {
        // static QTransform fromScale(double, double)
        QTransform xret = QTransform::fromScale((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)new QTransform(xret);
    }
    static void x_65(Smoke::Stack x) {
        // QTransform* QTransform(const QTransform&)
        x_QTransform* xret = new x_QTransform(*(const QTransform*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTransform(const QTransform& x1) : QTransform(x1) {}
    static void x_66(Smoke::Stack x) {
        // QTransform* QTransform(double, double, double, double, double, double, double, double)
        x_QTransform* xret = new x_QTransform((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)1.0);
        x[0].s_class = (void*)xret;
    }
    void x_67(Smoke::Stack x) {
        // QTransform inverted() const
        QTransform xret = ((const x_QTransform*)this)->QTransform::inverted((bool*)0);
        x[0].s_class = (void*)new QTransform(xret);
    }
    void x_68(Smoke::Stack x) {
        // QTransform& rotate(double)
        QTransform& xret = this->QTransform::rotate((double)x[1].s_double,(Qt::Axis)Qt::ZAxis);
        x[0].s_class = (void*)&xret;
    }
    void x_69(Smoke::Stack x) {
        // QTransform& rotateRadians(double)
        QTransform& xret = this->QTransform::rotateRadians((double)x[1].s_double,(Qt::Axis)Qt::ZAxis);
        x[0].s_class = (void*)&xret;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QTransform::TxNone;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QTransform::TxTranslate;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QTransform::TxScale;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QTransform::TxRotate;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QTransform::TxShear;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QTransform::TxProject;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 1030: //QTransform::TransformationType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTransform::TransformationType;
                    break;
                case Smoke::EnumDelete:
                    delete (QTransform::TransformationType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTransform::TransformationType*)xdata = (QTransform::TransformationType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTransform::TransformationType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTransform() { this->_binding->deleted(431, (void*)this); }
};
void xenum_QTransform(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTransform::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTransform(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTransform *xself = (x_QTransform*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTransform::x_1(args);	break;
        case 2: x_QTransform::x_2(args);	break;
        case 3: x_QTransform::x_3(args);	break;
        case 4: x_QTransform::x_4(args);	break;
        case 5: x_QTransform::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: x_QTransform::x_35(args);	break;
        case 36: x_QTransform::x_36(args);	break;
        case 37: x_QTransform::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_QTransform::x_63(args);	break;
        case 64: x_QTransform::x_64(args);	break;
        case 65: x_QTransform::x_65(args);	break;
        case 66: x_QTransform::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_QTransform::x_70(args);	break;
        case 71: x_QTransform::x_71(args);	break;
        case 72: x_QTransform::x_72(args);	break;
        case 73: x_QTransform::x_73(args);	break;
        case 74: x_QTransform::x_74(args);	break;
        case 75: x_QTransform::x_75(args);	break;
        case 76: delete (QTransform*)xself;	break;
    }
}
class x_QTreeView : public QTreeView, 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<QTreeView*>(this))) {
            const QMetaObject* xret = ((const x_QTreeView*)this)->QTreeView::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QTreeView*)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<QTreeView*>(this))) {
            void* xret = this->QTreeView::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 = QTreeView::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 = QTreeView::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 = QTreeView::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 = QTreeView::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<QTreeView*>(this))) {
            int xret = this->QTreeView::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) {
        // QTreeView* QTreeView(QWidget*)
        x_QTreeView* xret = new x_QTreeView((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeView(QWidget* x1) : QTreeView(x1) {}
    void x_9(Smoke::Stack x) {
        // void setModel(QAbstractItemModel*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::setModel((QAbstractItemModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setModel((QAbstractItemModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // void setRootIndex(const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_11(Smoke::Stack x) {
        // void setSelectionModel(QItemSelectionModel*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::setSelectionModel((QItemSelectionModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSelectionModel((QItemSelectionModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // QHeaderView* header() const
        QHeaderView* xret = ((const x_QTreeView*)this)->QTreeView::header();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // void setHeader(QHeaderView*)
        this->QTreeView::setHeader((QHeaderView*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int autoExpandDelay() const
        int xret = ((const x_QTreeView*)this)->QTreeView::autoExpandDelay();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setAutoExpandDelay(int)
        this->QTreeView::setAutoExpandDelay((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // int indentation() const
        int xret = ((const x_QTreeView*)this)->QTreeView::indentation();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setIndentation(int)
        this->QTreeView::setIndentation((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool rootIsDecorated() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::rootIsDecorated();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setRootIsDecorated(bool)
        this->QTreeView::setRootIsDecorated((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool uniformRowHeights() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::uniformRowHeights();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setUniformRowHeights(bool)
        this->QTreeView::setUniformRowHeights((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool itemsExpandable() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::itemsExpandable();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setItemsExpandable(bool)
        this->QTreeView::setItemsExpandable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // bool expandsOnDoubleClick() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::expandsOnDoubleClick();
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setExpandsOnDoubleClick(bool)
        this->QTreeView::setExpandsOnDoubleClick((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // int columnViewportPosition(int) const
        int xret = ((const x_QTreeView*)this)->QTreeView::columnViewportPosition((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_27(Smoke::Stack x) {
        // int columnWidth(int) const
        int xret = ((const x_QTreeView*)this)->QTreeView::columnWidth((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setColumnWidth(int, int)
        this->QTreeView::setColumnWidth((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // int columnAt(int) const
        int xret = ((const x_QTreeView*)this)->QTreeView::columnAt((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_30(Smoke::Stack x) {
        // bool isColumnHidden(int) const
        bool xret = ((const x_QTreeView*)this)->QTreeView::isColumnHidden((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // void setColumnHidden(int, bool)
        this->QTreeView::setColumnHidden((int)x[1].s_int,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // bool isHeaderHidden() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::isHeaderHidden();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // void setHeaderHidden(bool)
        this->QTreeView::setHeaderHidden((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // bool isRowHidden(int, const QModelIndex&) const
        bool xret = ((const x_QTreeView*)this)->QTreeView::isRowHidden((int)x[1].s_int,*(const QModelIndex*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // void setRowHidden(int, const QModelIndex&, bool)
        this->QTreeView::setRowHidden((int)x[1].s_int,*(const QModelIndex*)x[2].s_class,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool isFirstColumnSpanned(int, const QModelIndex&) const
        bool xret = ((const x_QTreeView*)this)->QTreeView::isFirstColumnSpanned((int)x[1].s_int,*(const QModelIndex*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // void setFirstColumnSpanned(int, const QModelIndex&, bool)
        this->QTreeView::setFirstColumnSpanned((int)x[1].s_int,*(const QModelIndex*)x[2].s_class,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // bool isExpanded(const QModelIndex&) const
        bool xret = ((const x_QTreeView*)this)->QTreeView::isExpanded(*(const QModelIndex*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setExpanded(const QModelIndex&, bool)
        this->QTreeView::setExpanded(*(const QModelIndex*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void setSortingEnabled(bool)
        this->QTreeView::setSortingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // bool isSortingEnabled() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::isSortingEnabled();
        x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
        // void setAnimated(bool)
        this->QTreeView::setAnimated((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // bool isAnimated() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::isAnimated();
        x[0].s_bool = xret;
    }
    void x_44(Smoke::Stack x) {
        // void setAllColumnsShowFocus(bool)
        this->QTreeView::setAllColumnsShowFocus((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // bool allColumnsShowFocus() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::allColumnsShowFocus();
        x[0].s_bool = xret;
    }
    void x_46(Smoke::Stack x) {
        // void setWordWrap(bool)
        this->QTreeView::setWordWrap((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // bool wordWrap() const
        bool xret = ((const x_QTreeView*)this)->QTreeView::wordWrap();
        x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) {
        // void keyboardSearch(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::keyboardSearch(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyboardSearch(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // QRect visualRect(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            QRect xret = ((const x_QTreeView*)this)->QTreeView::visualRect(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QTreeView*)this)->visualRect(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_50(Smoke::Stack x) {
        // void scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_51(Smoke::Stack x) {
        // QModelIndex indexAt(const QPoint&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            QModelIndex xret = ((const x_QTreeView*)this)->QTreeView::indexAt(*(const QPoint*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = ((const x_QTreeView*)this)->indexAt(*(const QPoint*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_52(Smoke::Stack x) {
        // QModelIndex indexAbove(const QModelIndex&) const
        QModelIndex xret = ((const x_QTreeView*)this)->QTreeView::indexAbove(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_53(Smoke::Stack x) {
        // QModelIndex indexBelow(const QModelIndex&) const
        QModelIndex xret = ((const x_QTreeView*)this)->QTreeView::indexBelow(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_54(Smoke::Stack x) {
        // void doItemsLayout()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::doItemsLayout();
            (void)x; // noop (for compiler warning)
        } else {
            this->doItemsLayout();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // void reset()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::reset();
            (void)x; // noop (for compiler warning)
        } else {
            this->reset();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_56(Smoke::Stack x) {
        // void sortByColumn(int, Qt::SortOrder)
        this->QTreeView::sortByColumn((int)x[1].s_int,(Qt::SortOrder)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void dataChanged(const QModelIndex&, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_58(Smoke::Stack x) {
        // void selectAll()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::selectAll();
            (void)x; // noop (for compiler warning)
        } else {
            this->selectAll();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_59(Smoke::Stack x) {
        // void expanded(const QModelIndex&)
        this->QTreeView::expanded(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void collapsed(const QModelIndex&)
        this->QTreeView::collapsed(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void hideColumn(int)
        this->QTreeView::hideColumn((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void showColumn(int)
        this->QTreeView::showColumn((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void expand(const QModelIndex&)
        this->QTreeView::expand(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void collapse(const QModelIndex&)
        this->QTreeView::collapse(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // void resizeColumnToContents(int)
        this->QTreeView::resizeColumnToContents((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // void sortByColumn(int)
        this->QTreeView::sortByColumn((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void expandAll()
        this->QTreeView::expandAll();
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void collapseAll()
        this->QTreeView::collapseAll();
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // void expandToDepth(int)
        this->QTreeView::expandToDepth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_70(Smoke::Stack x) {
        // void columnResized(int, int, int)
        this->QTreeView::columnResized((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // void columnCountChanged(int, int)
        this->QTreeView::columnCountChanged((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_72(Smoke::Stack x) {
        // void columnMoved()
        this->QTreeView::columnMoved();
        (void)x; // noop (for compiler warning)
    }
    void x_73(Smoke::Stack x) {
        // void reexpand()
        this->QTreeView::reexpand();
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // void rowsRemoved(const QModelIndex&, int, int)
        this->QTreeView::rowsRemoved(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void scrollContentsBy(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_76(Smoke::Stack x) {
        // void rowsInserted(const QModelIndex&, int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_77(Smoke::Stack x) {
        // void rowsAboutToBeRemoved(const QModelIndex&, int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_78(Smoke::Stack x) {
        // QModelIndex moveCursor(QAbstractItemView::CursorAction, QFlags<Qt::KeyboardModifier>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            QModelIndex xret = this->QTreeView::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_79(Smoke::Stack x) {
        // int horizontalOffset() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            int xret = ((const x_QTreeView*)this)->QTreeView::horizontalOffset();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QTreeView*)this)->horizontalOffset();
            x[0].s_int = xret;
        }
    }
    void x_80(Smoke::Stack x) {
        // int verticalOffset() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            int xret = ((const x_QTreeView*)this)->QTreeView::verticalOffset();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QTreeView*)this)->verticalOffset();
            x[0].s_int = xret;
        }
    }
    void x_81(Smoke::Stack x) {
        // void setSelection(const QRect&, QFlags<QItemSelectionModel::SelectionFlag>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_82(Smoke::Stack x) {
        // QRegion visualRegionForSelection(const QItemSelection&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            QRegion xret = ((const x_QTreeView*)this)->QTreeView::visualRegionForSelection(*(const QItemSelection*)x[1].s_class);
            x[0].s_class = (void*)new QRegion(xret);
        } else {
            QRegion xret = ((const x_QTreeView*)this)->visualRegionForSelection(*(const QItemSelection*)x[1].s_class);
            x[0].s_class = (void*)new QRegion(xret);
        }
    }
    void x_83(Smoke::Stack x) {
        // QList<QModelIndex> selectedIndexes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            QList<QModelIndex> xret = ((const x_QTreeView*)this)->QTreeView::selectedIndexes();
            x[0].s_class = (void*)new QList<QModelIndex>(xret);
        } else {
            QList<QModelIndex> xret = ((const x_QTreeView*)this)->selectedIndexes();
            x[0].s_class = (void*)new QList<QModelIndex>(xret);
        }
    }
    void x_84(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_85(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_86(Smoke::Stack x) {
        // void drawTree(QPainter*, const QRegion&) const
        ((const x_QTreeView*)this)->QTreeView::drawTree((QPainter*)x[1].s_class,*(const QRegion*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_87(Smoke::Stack x) {
        // virtual void drawRow(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            ((const x_QTreeView*)this)->QTreeView::drawRow((QPainter*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QTreeView*)this)->drawRow((QPainter*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_88(Smoke::Stack x) {
        // virtual void drawBranches(QPainter*, const QRect&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            ((const x_QTreeView*)this)->QTreeView::drawBranches((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QTreeView*)this)->drawBranches((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_89(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_90(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_91(Smoke::Stack x) {
        // void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_92(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_93(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_94(Smoke::Stack x) {
        // void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_95(Smoke::Stack x) {
        // bool viewportEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            bool xret = this->QTreeView::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_96(Smoke::Stack x) {
        // void updateGeometries()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::updateGeometries();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateGeometries();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_97(Smoke::Stack x) {
        // int sizeHintForColumn(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            int xret = ((const x_QTreeView*)this)->QTreeView::sizeHintForColumn((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QTreeView*)this)->sizeHintForColumn((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_98(Smoke::Stack x) {
        // int indexRowSizeHint(const QModelIndex&) const
        int xret = ((const x_QTreeView*)this)->QTreeView::indexRowSizeHint(*(const QModelIndex*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_99(Smoke::Stack x) {
        // int rowHeight(const QModelIndex&) const
        int xret = ((const x_QTreeView*)this)->QTreeView::rowHeight(*(const QModelIndex*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_100(Smoke::Stack x) {
        // void horizontalScrollbarAction(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::horizontalScrollbarAction((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->horizontalScrollbarAction((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_101(Smoke::Stack x) {
        // bool isIndexHidden(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            bool xret = ((const x_QTreeView*)this)->QTreeView::isIndexHidden(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QTreeView*)this)->isIndexHidden(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_102(Smoke::Stack x) {
        // void selectionChanged(const QItemSelection&, const QItemSelection&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_103(Smoke::Stack x) {
        // void currentChanged(const QModelIndex&, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeView*>(this))) {
            this->QTreeView::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_104(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QTreeView::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_105(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QTreeView::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_106(Smoke::Stack x) {
        // QTreeView* QTreeView()
        x_QTreeView* xret = new x_QTreeView((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_107(Smoke::Stack x) {
        // void scrollTo(const QModelIndex&)
        this->QTreeView::scrollTo(*(const QModelIndex*)x[1].s_class,(QAbstractItemView::ScrollHint)EnsureVisible);
        (void)x; // noop (for compiler warning)
    }
    static void x_108(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTreeView::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14740, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QTreeView::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14741, (void*)this, x)) return (void*)x[0].s_class;
        return this->QTreeView::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(14746, (void*)this, x)) return (int)x[0].s_int;
        return this->QTreeView::qt_metacall(x1, x2, x3);
    }
    virtual void drawRow(QPainter* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(14826, (void*)this, x)) return;
        this->QTreeView::drawRow(x1, x2, x3);
    }
    virtual void drawBranches(QPainter* x1, const QRect& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(14827, (void*)this, x)) return;
        this->QTreeView::drawBranches(x1, x2, x3);
    }
    virtual void setModel(QAbstractItemModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14748, (void*)this, x)) return;
        this->QTreeView::setModel(x1);
    }
    virtual void setSelectionModel(QItemSelectionModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14750, (void*)this, x)) return;
        this->QTreeView::setSelectionModel(x1);
    }
    virtual void keyboardSearch(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14787, (void*)this, x)) return;
        this->QTreeView::keyboardSearch(x1);
    }
    virtual QRect visualRect(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14788, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::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(14789, (void*)this, x)) return;
        this->QTreeView::scrollTo(x1, x2);
    }
    virtual QModelIndex indexAt(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14790, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::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(14836, (void*)this, x)) return (int)x[0].s_int;
        return this->QTreeView::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(14794, (void*)this, x)) return;
        this->QTreeView::reset();
    }
    virtual void setRootIndex(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14749, (void*)this, x)) return;
        this->QTreeView::setRootIndex(x1);
    }
    virtual void doItemsLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14793, (void*)this, x)) return;
        this->QTreeView::doItemsLayout();
    }
    virtual void selectAll() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14797, (void*)this, x)) return;
        this->QTreeView::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(14796, (void*)this, x)) return;
        this->QTreeView::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(14815, (void*)this, x)) return;
        this->QTreeView::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(14816, (void*)this, x)) return;
        this->QTreeView::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(14841, (void*)this, x)) return;
        this->QTreeView::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(14842, (void*)this, x)) return;
        this->QTreeView::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(14835, (void*)this, x)) return;
        this->QTreeView::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(14839, (void*)this, x)) return;
        this->QTreeView::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(14817, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::moveCursor(x1, x2);
    }
    virtual int horizontalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14818, (void*)this, x)) return (int)x[0].s_int;
        return this->QTreeView::horizontalOffset();
    }
    virtual int verticalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14819, (void*)this, x)) return (int)x[0].s_int;
        return this->QTreeView::verticalOffset();
    }
    virtual bool isIndexHidden(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14840, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTreeView::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(14820, (void*)this, x)) return;
        this->QTreeView::setSelection(x1, x2);
    }
    virtual QRegion visualRegionForSelection(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14821, (void*)this, x)) {
            QRegion* xptr = (QRegion*)x[0].s_class;
            QRegion xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::visualRegionForSelection(x1);
    }
    virtual QList<QModelIndex> selectedIndexes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14822, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::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(232, (void*)this, x)) return;
        this->QAbstractItemView::startDrag(x1);
    }
    virtual QStyleOptionViewItem viewOptions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(233, (void*)this, x)) {
            QStyleOptionViewItem* xptr = (QStyleOptionViewItem*)x[0].s_class;
            QStyleOptionViewItem xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::viewOptions();
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14834, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTreeView::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(14814, (void*)this, x)) return;
        this->QTreeView::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(14828, (void*)this, x)) return;
        this->QTreeView::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14829, (void*)this, x)) return;
        this->QTreeView::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14830, (void*)this, x)) return;
        this->QTreeView::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14831, (void*)this, x)) return;
        this->QTreeView::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(14832, (void*)this, x)) return;
        this->QTreeView::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(14824, (void*)this, x)) return;
        this->QTreeView::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(258, (void*)this, x)) return;
        this->QAbstractItemView::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(14833, (void*)this, x)) return;
        this->QTreeView::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(253, (void*)this, x)) return;
        this->QAbstractItemView::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(254, (void*)this, x)) return;
        this->QAbstractItemView::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(245, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::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(14823, (void*)this, x)) return;
        this->QTreeView::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_QTreeView() { this->_binding->deleted(432, (void*)this); }
};
void xcall_QTreeView(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTreeView *xself = (x_QTreeView*)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_QTreeView::x_3(args);	break;
        case 4: x_QTreeView::x_4(args);	break;
        case 5: x_QTreeView::x_5(args);	break;
        case 6: x_QTreeView::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QTreeView::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: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: xself->x_88(args);	break;
        case 89: xself->x_89(args);	break;
        case 90: xself->x_90(args);	break;
        case 91: xself->x_91(args);	break;
        case 92: xself->x_92(args);	break;
        case 93: xself->x_93(args);	break;
        case 94: xself->x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: xself->x_96(args);	break;
        case 97: xself->x_97(args);	break;
        case 98: xself->x_98(args);	break;
        case 99: xself->x_99(args);	break;
        case 100: xself->x_100(args);	break;
        case 101: xself->x_101(args);	break;
        case 102: xself->x_102(args);	break;
        case 103: xself->x_103(args);	break;
        case 104: x_QTreeView::x_104(args);	break;
        case 105: x_QTreeView::x_105(args);	break;
        case 106: x_QTreeView::x_106(args);	break;
        case 107: xself->x_107(args);	break;
        case 108: x_QTreeView::x_108(args);	break;
        case 109: delete (QTreeView*)xself;	break;
    }
}
class x_QTreeWidget : public QTreeWidget, 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<QTreeWidget*>(this))) {
            const QMetaObject* xret = ((const x_QTreeWidget*)this)->QTreeWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QTreeWidget*)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<QTreeWidget*>(this))) {
            void* xret = this->QTreeWidget::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 = QTreeWidget::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 = QTreeWidget::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 = QTreeWidget::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 = QTreeWidget::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<QTreeWidget*>(this))) {
            int xret = this->QTreeWidget::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) {
        // QTreeWidget* QTreeWidget(QWidget*)
        x_QTreeWidget* xret = new x_QTreeWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidget(QWidget* x1) : QTreeWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // int columnCount() const
        int xret = ((const x_QTreeWidget*)this)->QTreeWidget::columnCount();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setColumnCount(int)
        this->QTreeWidget::setColumnCount((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QTreeWidgetItem* invisibleRootItem() const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::invisibleRootItem();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QTreeWidgetItem* topLevelItem(int) const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::topLevelItem((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // int topLevelItemCount() const
        int xret = ((const x_QTreeWidget*)this)->QTreeWidget::topLevelItemCount();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // void insertTopLevelItem(int, QTreeWidgetItem*)
        this->QTreeWidget::insertTopLevelItem((int)x[1].s_int,(QTreeWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void addTopLevelItem(QTreeWidgetItem*)
        this->QTreeWidget::addTopLevelItem((QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QTreeWidgetItem* takeTopLevelItem(int)
        QTreeWidgetItem* xret = this->QTreeWidget::takeTopLevelItem((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // int indexOfTopLevelItem(QTreeWidgetItem*)
        int xret = this->QTreeWidget::indexOfTopLevelItem((QTreeWidgetItem*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // int indexOfTopLevelItem(QTreeWidgetItem*) const
        int xret = ((const x_QTreeWidget*)this)->QTreeWidget::indexOfTopLevelItem((QTreeWidgetItem*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // void insertTopLevelItems(int, const QList<QTreeWidgetItem*>&)
        this->QTreeWidget::insertTopLevelItems((int)x[1].s_int,*(const QList<QTreeWidgetItem*>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void addTopLevelItems(const QList<QTreeWidgetItem*>&)
        this->QTreeWidget::addTopLevelItems(*(const QList<QTreeWidgetItem*>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QTreeWidgetItem* headerItem() const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::headerItem();
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // void setHeaderItem(QTreeWidgetItem*)
        this->QTreeWidget::setHeaderItem((QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setHeaderLabels(const QStringList&)
        this->QTreeWidget::setHeaderLabels(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setHeaderLabel(const QString&)
        this->QTreeWidget::setHeaderLabel(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QTreeWidgetItem* currentItem() const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::currentItem();
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // int currentColumn() const
        int xret = ((const x_QTreeWidget*)this)->QTreeWidget::currentColumn();
        x[0].s_int = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setCurrentItem(QTreeWidgetItem*)
        this->QTreeWidget::setCurrentItem((QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setCurrentItem(QTreeWidgetItem*, int)
        this->QTreeWidget::setCurrentItem((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setCurrentItem(QTreeWidgetItem*, int, QFlags<QItemSelectionModel::SelectionFlag>)
        this->QTreeWidget::setCurrentItem((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int,(QFlags<QItemSelectionModel::SelectionFlag>)x[3].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QTreeWidgetItem* itemAt(const QPoint&) const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::itemAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_31(Smoke::Stack x) {
        // QTreeWidgetItem* itemAt(int, int) const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::itemAt((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_32(Smoke::Stack x) {
        // QRect visualItemRect(const QTreeWidgetItem*) const
        QRect xret = ((const x_QTreeWidget*)this)->QTreeWidget::visualItemRect((const QTreeWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_33(Smoke::Stack x) {
        // int sortColumn() const
        int xret = ((const x_QTreeWidget*)this)->QTreeWidget::sortColumn();
        x[0].s_int = xret;
    }
    void x_34(Smoke::Stack x) {
        // void sortItems(int, Qt::SortOrder)
        this->QTreeWidget::sortItems((int)x[1].s_int,(Qt::SortOrder)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setSortingEnabled(bool)
        this->QTreeWidget::setSortingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool isSortingEnabled() const
        bool xret = ((const x_QTreeWidget*)this)->QTreeWidget::isSortingEnabled();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // void editItem(QTreeWidgetItem*, int)
        this->QTreeWidget::editItem((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void openPersistentEditor(QTreeWidgetItem*, int)
        this->QTreeWidget::openPersistentEditor((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void closePersistentEditor(QTreeWidgetItem*, int)
        this->QTreeWidget::closePersistentEditor((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // QWidget* itemWidget(QTreeWidgetItem*, int) const
        QWidget* xret = ((const x_QTreeWidget*)this)->QTreeWidget::itemWidget((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_41(Smoke::Stack x) {
        // void setItemWidget(QTreeWidgetItem*, int, QWidget*)
        this->QTreeWidget::setItemWidget((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int,(QWidget*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void removeItemWidget(QTreeWidgetItem*, int)
        this->QTreeWidget::removeItemWidget((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // bool isItemSelected(const QTreeWidgetItem*) const
        bool xret = ((const x_QTreeWidget*)this)->QTreeWidget::isItemSelected((const QTreeWidgetItem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_44(Smoke::Stack x) {
        // void setItemSelected(const QTreeWidgetItem*, bool)
        this->QTreeWidget::setItemSelected((const QTreeWidgetItem*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // QList<QTreeWidgetItem*> selectedItems() const
        QList<QTreeWidgetItem*> xret = ((const x_QTreeWidget*)this)->QTreeWidget::selectedItems();
        x[0].s_class = (void*)new QList<QTreeWidgetItem*>(xret);
    }
    void x_46(Smoke::Stack x) {
        // QList<QTreeWidgetItem*> findItems(const QString&, QFlags<Qt::MatchFlag>, int) const
        QList<QTreeWidgetItem*> xret = ((const x_QTreeWidget*)this)->QTreeWidget::findItems(*(const QString*)x[1].s_class,(QFlags<Qt::MatchFlag>)x[2].s_uint,(int)x[3].s_int);
        x[0].s_class = (void*)new QList<QTreeWidgetItem*>(xret);
    }
    void x_47(Smoke::Stack x) {
        // bool isItemHidden(const QTreeWidgetItem*) const
        bool xret = ((const x_QTreeWidget*)this)->QTreeWidget::isItemHidden((const QTreeWidgetItem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) {
        // void setItemHidden(const QTreeWidgetItem*, bool)
        this->QTreeWidget::setItemHidden((const QTreeWidgetItem*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // bool isItemExpanded(const QTreeWidgetItem*) const
        bool xret = ((const x_QTreeWidget*)this)->QTreeWidget::isItemExpanded((const QTreeWidgetItem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_50(Smoke::Stack x) {
        // void setItemExpanded(const QTreeWidgetItem*, bool)
        this->QTreeWidget::setItemExpanded((const QTreeWidgetItem*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // bool isFirstItemColumnSpanned(const QTreeWidgetItem*) const
        bool xret = ((const x_QTreeWidget*)this)->QTreeWidget::isFirstItemColumnSpanned((const QTreeWidgetItem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_52(Smoke::Stack x) {
        // void setFirstItemColumnSpanned(const QTreeWidgetItem*, bool)
        this->QTreeWidget::setFirstItemColumnSpanned((const QTreeWidgetItem*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // QTreeWidgetItem* itemAbove(const QTreeWidgetItem*) const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::itemAbove((const QTreeWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_54(Smoke::Stack x) {
        // QTreeWidgetItem* itemBelow(const QTreeWidgetItem*) const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::itemBelow((const QTreeWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_55(Smoke::Stack x) {
        // void setSelectionModel(QItemSelectionModel*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidget*>(this))) {
            this->QTreeWidget::setSelectionModel((QItemSelectionModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSelectionModel((QItemSelectionModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_56(Smoke::Stack x) {
        // void scrollToItem(const QTreeWidgetItem*, QAbstractItemView::ScrollHint)
        this->QTreeWidget::scrollToItem((const QTreeWidgetItem*)x[1].s_class,(QAbstractItemView::ScrollHint)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void expandItem(const QTreeWidgetItem*)
        this->QTreeWidget::expandItem((const QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void collapseItem(const QTreeWidgetItem*)
        this->QTreeWidget::collapseItem((const QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void clear()
        this->QTreeWidget::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void itemPressed(QTreeWidgetItem*, int)
        this->QTreeWidget::itemPressed((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void itemClicked(QTreeWidgetItem*, int)
        this->QTreeWidget::itemClicked((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void itemDoubleClicked(QTreeWidgetItem*, int)
        this->QTreeWidget::itemDoubleClicked((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void itemActivated(QTreeWidgetItem*, int)
        this->QTreeWidget::itemActivated((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void itemEntered(QTreeWidgetItem*, int)
        this->QTreeWidget::itemEntered((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // void itemChanged(QTreeWidgetItem*, int)
        this->QTreeWidget::itemChanged((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // void itemExpanded(QTreeWidgetItem*)
        this->QTreeWidget::itemExpanded((QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void itemCollapsed(QTreeWidgetItem*)
        this->QTreeWidget::itemCollapsed((QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)
        this->QTreeWidget::currentItemChanged((QTreeWidgetItem*)x[1].s_class,(QTreeWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // void itemSelectionChanged()
        this->QTreeWidget::itemSelectionChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_70(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidget*>(this))) {
            bool xret = this->QTreeWidget::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_71(Smoke::Stack x) {
        // virtual QStringList mimeTypes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidget*>(this))) {
            QStringList xret = ((const x_QTreeWidget*)this)->QTreeWidget::mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_QTreeWidget*)this)->mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_72(Smoke::Stack x) {
        // virtual QMimeData* mimeData(const QList<QTreeWidgetItem*>) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidget*>(this))) {
            QMimeData* xret = ((const x_QTreeWidget*)this)->QTreeWidget::mimeData(*(const QList<QTreeWidgetItem*>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QMimeData* xret = ((const x_QTreeWidget*)this)->mimeData(*(const QList<QTreeWidgetItem*>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_73(Smoke::Stack x) {
        // virtual bool dropMimeData(QTreeWidgetItem*, int, const QMimeData*, Qt::DropAction)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidget*>(this))) {
            bool xret = this->QTreeWidget::dropMimeData((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int,(const QMimeData*)x[3].s_class,(Qt::DropAction)x[4].s_enum);
            x[0].s_bool = xret;
        } else {
            bool xret = this->dropMimeData((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int,(const QMimeData*)x[3].s_class,(Qt::DropAction)x[4].s_enum);
            x[0].s_bool = xret;
        }
    }
    void x_74(Smoke::Stack x) {
        // virtual QFlags<Qt::DropAction> supportedDropActions() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidget*>(this))) {
            QFlags<Qt::DropAction> xret = ((const x_QTreeWidget*)this)->QTreeWidget::supportedDropActions();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::DropAction> xret = ((const x_QTreeWidget*)this)->supportedDropActions();
            x[0].s_uint = (uint)xret;
        }
    }
    void x_75(Smoke::Stack x) {
        // QList<QTreeWidgetItem*> items(const QMimeData*) const
        QList<QTreeWidgetItem*> xret = ((const x_QTreeWidget*)this)->QTreeWidget::items((const QMimeData*)x[1].s_class);
        x[0].s_class = (void*)new QList<QTreeWidgetItem*>(xret);
    }
    void x_76(Smoke::Stack x) {
        // QModelIndex indexFromItem(QTreeWidgetItem*, int) const
        QModelIndex xret = ((const x_QTreeWidget*)this)->QTreeWidget::indexFromItem((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_77(Smoke::Stack x) {
        // QTreeWidgetItem* itemFromIndex(const QModelIndex&) const
        QTreeWidgetItem* xret = ((const x_QTreeWidget*)this)->QTreeWidget::itemFromIndex(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_78(Smoke::Stack x) {
        // void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidget*>(this))) {
            this->QTreeWidget::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)
        }
    }
    static void x_79(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QTreeWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_80(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QTreeWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_81(Smoke::Stack x) {
        // QTreeWidget* QTreeWidget()
        x_QTreeWidget* xret = new x_QTreeWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_82(Smoke::Stack x) {
        // void editItem(QTreeWidgetItem*)
        this->QTreeWidget::editItem((QTreeWidgetItem*)x[1].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_83(Smoke::Stack x) {
        // void openPersistentEditor(QTreeWidgetItem*)
        this->QTreeWidget::openPersistentEditor((QTreeWidgetItem*)x[1].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_84(Smoke::Stack x) {
        // void closePersistentEditor(QTreeWidgetItem*)
        this->QTreeWidget::closePersistentEditor((QTreeWidgetItem*)x[1].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_85(Smoke::Stack x) {
        // QList<QTreeWidgetItem*> findItems(const QString&, QFlags<Qt::MatchFlag>) const
        QList<QTreeWidgetItem*> xret = ((const x_QTreeWidget*)this)->QTreeWidget::findItems(*(const QString*)x[1].s_class,(QFlags<Qt::MatchFlag>)x[2].s_uint,(int)0);
        x[0].s_class = (void*)new QList<QTreeWidgetItem*>(xret);
    }
    void x_86(Smoke::Stack x) {
        // void scrollToItem(const QTreeWidgetItem*)
        this->QTreeWidget::scrollToItem((const QTreeWidgetItem*)x[1].s_class,(QAbstractItemView::ScrollHint)EnsureVisible);
        (void)x; // noop (for compiler warning)
    }
    void x_87(Smoke::Stack x) {
        // QModelIndex indexFromItem(QTreeWidgetItem*) const
        QModelIndex xret = ((const x_QTreeWidget*)this)->QTreeWidget::indexFromItem((QTreeWidgetItem*)x[1].s_class,(int)0);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    static void x_88(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTreeWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14849, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QTreeWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14850, (void*)this, x)) return (void*)x[0].s_class;
        return this->QTreeWidget::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(14855, (void*)this, x)) return (int)x[0].s_int;
        return this->QTreeWidget::qt_metacall(x1, x2, x3);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14919, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeWidget::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QTreeWidgetItem*> x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new const QList<QTreeWidgetItem*>(x1);
        if (this->_binding->callMethod(14920, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QTreeWidget::mimeData(x1);
    }
    virtual bool dropMimeData(QTreeWidgetItem* x1, int x2, const QMimeData* x3, Qt::DropAction x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        x[4].s_enum = x4;
        if (this->_binding->callMethod(14921, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTreeWidget::dropMimeData(x1, x2, x3, x4);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14922, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QTreeWidget::supportedDropActions();
    }
    virtual void drawRow(QPainter* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(14826, (void*)this, x)) return;
        this->QTreeView::drawRow(x1, x2, x3);
    }
    virtual void drawBranches(QPainter* x1, const QRect& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(14827, (void*)this, x)) return;
        this->QTreeView::drawBranches(x1, x2, x3);
    }
    virtual void setSelectionModel(QItemSelectionModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14903, (void*)this, x)) return;
        this->QTreeWidget::setSelectionModel(x1);
    }
    virtual void keyboardSearch(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14787, (void*)this, x)) return;
        this->QTreeView::keyboardSearch(x1);
    }
    virtual QRect visualRect(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14788, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::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(14789, (void*)this, x)) return;
        this->QTreeView::scrollTo(x1, x2);
    }
    virtual QModelIndex indexAt(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14790, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::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(14836, (void*)this, x)) return (int)x[0].s_int;
        return this->QTreeView::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(14794, (void*)this, x)) return;
        this->QTreeView::reset();
    }
    virtual void setRootIndex(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14749, (void*)this, x)) return;
        this->QTreeView::setRootIndex(x1);
    }
    virtual void doItemsLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14793, (void*)this, x)) return;
        this->QTreeView::doItemsLayout();
    }
    virtual void selectAll() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14797, (void*)this, x)) return;
        this->QTreeView::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(14796, (void*)this, x)) return;
        this->QTreeView::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(14815, (void*)this, x)) return;
        this->QTreeView::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(14816, (void*)this, x)) return;
        this->QTreeView::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(14841, (void*)this, x)) return;
        this->QTreeView::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(14842, (void*)this, x)) return;
        this->QTreeView::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(14835, (void*)this, x)) return;
        this->QTreeView::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(14839, (void*)this, x)) return;
        this->QTreeView::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(14817, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::moveCursor(x1, x2);
    }
    virtual int horizontalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14818, (void*)this, x)) return (int)x[0].s_int;
        return this->QTreeView::horizontalOffset();
    }
    virtual int verticalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14819, (void*)this, x)) return (int)x[0].s_int;
        return this->QTreeView::verticalOffset();
    }
    virtual bool isIndexHidden(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14840, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTreeView::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(14820, (void*)this, x)) return;
        this->QTreeView::setSelection(x1, x2);
    }
    virtual QRegion visualRegionForSelection(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14821, (void*)this, x)) {
            QRegion* xptr = (QRegion*)x[0].s_class;
            QRegion xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::visualRegionForSelection(x1);
    }
    virtual QList<QModelIndex> selectedIndexes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14822, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeView::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(232, (void*)this, x)) return;
        this->QAbstractItemView::startDrag(x1);
    }
    virtual QStyleOptionViewItem viewOptions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(233, (void*)this, x)) {
            QStyleOptionViewItem* xptr = (QStyleOptionViewItem*)x[0].s_class;
            QStyleOptionViewItem xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::viewOptions();
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14834, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTreeView::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(14814, (void*)this, x)) return;
        this->QTreeView::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(14828, (void*)this, x)) return;
        this->QTreeView::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14829, (void*)this, x)) return;
        this->QTreeView::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14830, (void*)this, x)) return;
        this->QTreeView::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14831, (void*)this, x)) return;
        this->QTreeView::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(14832, (void*)this, x)) return;
        this->QTreeView::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(14824, (void*)this, x)) return;
        this->QTreeView::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(258, (void*)this, x)) return;
        this->QAbstractItemView::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(14833, (void*)this, x)) return;
        this->QTreeView::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(253, (void*)this, x)) return;
        this->QAbstractItemView::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14926, (void*)this, x)) return;
        this->QTreeWidget::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(14918, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTreeWidget::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(14823, (void*)this, x)) return;
        this->QTreeView::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_QTreeWidget() { this->_binding->deleted(433, (void*)this); }
};
void xcall_QTreeWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTreeWidget *xself = (x_QTreeWidget*)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_QTreeWidget::x_3(args);	break;
        case 4: x_QTreeWidget::x_4(args);	break;
        case 5: x_QTreeWidget::x_5(args);	break;
        case 6: x_QTreeWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QTreeWidget::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: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: x_QTreeWidget::x_79(args);	break;
        case 80: x_QTreeWidget::x_80(args);	break;
        case 81: x_QTreeWidget::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: x_QTreeWidget::x_88(args);	break;
        case 89: delete (QTreeWidget*)xself;	break;
    }
}
class x_QTreeWidgetItem : public QTreeWidgetItem, 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) {
        // QTreeWidgetItem* QTreeWidgetItem(int)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(int x1) : QTreeWidgetItem(x1) {}
    static void x_2(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(const QStringList&, int)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem(*(const QStringList*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(const QStringList& x1, int x2) : QTreeWidgetItem(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidget*, int)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidget*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(QTreeWidget* x1, int x2) : QTreeWidgetItem(x1, x2) {}
    static void x_4(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidget*, const QStringList&, int)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidget*)x[1].s_class,*(const QStringList*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(QTreeWidget* x1, const QStringList& x2, int x3) : QTreeWidgetItem(x1, x2, x3) {}
    static void x_5(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidget*, QTreeWidgetItem*, int)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidget*)x[1].s_class,(QTreeWidgetItem*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(QTreeWidget* x1, QTreeWidgetItem* x2, int x3) : QTreeWidgetItem(x1, x2, x3) {}
    static void x_6(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidgetItem*, int)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidgetItem*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(QTreeWidgetItem* x1, int x2) : QTreeWidgetItem(x1, x2) {}
    static void x_7(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidgetItem*, const QStringList&, int)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidgetItem*)x[1].s_class,*(const QStringList*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(QTreeWidgetItem* x1, const QStringList& x2, int x3) : QTreeWidgetItem(x1, x2, x3) {}
    static void x_8(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidgetItem*, QTreeWidgetItem*, int)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidgetItem*)x[1].s_class,(QTreeWidgetItem*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(QTreeWidgetItem* x1, QTreeWidgetItem* x2, int x3) : QTreeWidgetItem(x1, x2, x3) {}
    static void x_9(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(const QTreeWidgetItem&)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem(*(const QTreeWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItem(const QTreeWidgetItem& x1) : QTreeWidgetItem(x1) {}
    void x_10(Smoke::Stack x) {
        // virtual QTreeWidgetItem* clone() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidgetItem*>(this))) {
            QTreeWidgetItem* xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::clone();
            x[0].s_class = (void*)xret;
        } else {
            QTreeWidgetItem* xret = ((const x_QTreeWidgetItem*)this)->clone();
            x[0].s_class = (void*)xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // QTreeWidget* treeWidget() const
        QTreeWidget* xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::treeWidget();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // void setSelected(bool)
        this->QTreeWidgetItem::setSelected((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool isSelected() const
        bool xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::isSelected();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setHidden(bool)
        this->QTreeWidgetItem::setHidden((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool isHidden() const
        bool xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::isHidden();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setExpanded(bool)
        this->QTreeWidgetItem::setExpanded((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool isExpanded() const
        bool xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::isExpanded();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setFirstColumnSpanned(bool)
        this->QTreeWidgetItem::setFirstColumnSpanned((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // bool isFirstColumnSpanned() const
        bool xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::isFirstColumnSpanned();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setDisabled(bool)
        this->QTreeWidgetItem::setDisabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // bool isDisabled() const
        bool xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::isDisabled();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setChildIndicatorPolicy(QTreeWidgetItem::ChildIndicatorPolicy)
        this->QTreeWidgetItem::setChildIndicatorPolicy((QTreeWidgetItem::ChildIndicatorPolicy)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy() const
        QTreeWidgetItem::ChildIndicatorPolicy xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::childIndicatorPolicy();
        x[0].s_enum = xret;
    }
    void x_24(Smoke::Stack x) {
        // QFlags<Qt::ItemFlag> flags() const
        QFlags<Qt::ItemFlag> xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::flags();
        x[0].s_uint = (uint)xret;
    }
    void x_25(Smoke::Stack x) {
        // void setFlags(QFlags<Qt::ItemFlag>)
        this->QTreeWidgetItem::setFlags((QFlags<Qt::ItemFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QString text(int) const
        QString xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::text((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_27(Smoke::Stack x) {
        // void setText(int, const QString&)
        this->QTreeWidgetItem::setText((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QIcon icon(int) const
        QIcon xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::icon((int)x[1].s_int);
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_29(Smoke::Stack x) {
        // void setIcon(int, const QIcon&)
        this->QTreeWidgetItem::setIcon((int)x[1].s_int,*(const QIcon*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QString statusTip(int) const
        QString xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::statusTip((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_31(Smoke::Stack x) {
        // void setStatusTip(int, const QString&)
        this->QTreeWidgetItem::setStatusTip((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // QString toolTip(int) const
        QString xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::toolTip((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_33(Smoke::Stack x) {
        // void setToolTip(int, const QString&)
        this->QTreeWidgetItem::setToolTip((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // QString whatsThis(int) const
        QString xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::whatsThis((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_35(Smoke::Stack x) {
        // void setWhatsThis(int, const QString&)
        this->QTreeWidgetItem::setWhatsThis((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // QFont font(int) const
        QFont xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::font((int)x[1].s_int);
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_37(Smoke::Stack x) {
        // void setFont(int, const QFont&)
        this->QTreeWidgetItem::setFont((int)x[1].s_int,*(const QFont*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // int textAlignment(int) const
        int xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::textAlignment((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setTextAlignment(int, int)
        this->QTreeWidgetItem::setTextAlignment((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // QColor backgroundColor(int) const
        QColor xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::backgroundColor((int)x[1].s_int);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_41(Smoke::Stack x) {
        // void setBackgroundColor(int, const QColor&)
        this->QTreeWidgetItem::setBackgroundColor((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // QBrush background(int) const
        QBrush xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::background((int)x[1].s_int);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_43(Smoke::Stack x) {
        // void setBackground(int, const QBrush&)
        this->QTreeWidgetItem::setBackground((int)x[1].s_int,*(const QBrush*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // QColor textColor(int) const
        QColor xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::textColor((int)x[1].s_int);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_45(Smoke::Stack x) {
        // void setTextColor(int, const QColor&)
        this->QTreeWidgetItem::setTextColor((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // QBrush foreground(int) const
        QBrush xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::foreground((int)x[1].s_int);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_47(Smoke::Stack x) {
        // void setForeground(int, const QBrush&)
        this->QTreeWidgetItem::setForeground((int)x[1].s_int,*(const QBrush*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // Qt::CheckState checkState(int) const
        Qt::CheckState xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::checkState((int)x[1].s_int);
        x[0].s_enum = xret;
    }
    void x_49(Smoke::Stack x) {
        // void setCheckState(int, Qt::CheckState)
        this->QTreeWidgetItem::setCheckState((int)x[1].s_int,(Qt::CheckState)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // QSize sizeHint(int) const
        QSize xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::sizeHint((int)x[1].s_int);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_51(Smoke::Stack x) {
        // void setSizeHint(int, const QSize&)
        this->QTreeWidgetItem::setSizeHint((int)x[1].s_int,*(const QSize*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // virtual QVariant data(int, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidgetItem*>(this))) {
            QVariant xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::data((int)x[1].s_int,(int)x[2].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QTreeWidgetItem*)this)->data((int)x[1].s_int,(int)x[2].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_53(Smoke::Stack x) {
        // virtual void setData(int, int, const QVariant&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidgetItem*>(this))) {
            this->QTreeWidgetItem::setData((int)x[1].s_int,(int)x[2].s_int,*(const QVariant*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setData((int)x[1].s_int,(int)x[2].s_int,*(const QVariant*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // virtual bool operator<(const QTreeWidgetItem&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidgetItem*>(this))) {
            bool xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::operator<(*(const QTreeWidgetItem*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QTreeWidgetItem*)this)->operator<(*(const QTreeWidgetItem*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_55(Smoke::Stack x) {
        // virtual void read(QDataStream&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidgetItem*>(this))) {
            this->QTreeWidgetItem::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_56(Smoke::Stack x) {
        // virtual void write(QDataStream&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTreeWidgetItem*>(this))) {
            ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::write(*(QDataStream*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QTreeWidgetItem*)this)->write(*(QDataStream*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_57(Smoke::Stack x) {
        // QTreeWidgetItem& operator=(const QTreeWidgetItem&)
        QTreeWidgetItem& xret = this->QTreeWidgetItem::operator=(*(const QTreeWidgetItem*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_58(Smoke::Stack x) {
        // QTreeWidgetItem* parent() const
        QTreeWidgetItem* xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::parent();
        x[0].s_class = (void*)xret;
    }
    void x_59(Smoke::Stack x) {
        // QTreeWidgetItem* child(int) const
        QTreeWidgetItem* xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::child((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_60(Smoke::Stack x) {
        // int childCount() const
        int xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::childCount();
        x[0].s_int = xret;
    }
    void x_61(Smoke::Stack x) {
        // int columnCount() const
        int xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::columnCount();
        x[0].s_int = xret;
    }
    void x_62(Smoke::Stack x) {
        // int indexOfChild(QTreeWidgetItem*) const
        int xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::indexOfChild((QTreeWidgetItem*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_63(Smoke::Stack x) {
        // void addChild(QTreeWidgetItem*)
        this->QTreeWidgetItem::addChild((QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void insertChild(int, QTreeWidgetItem*)
        this->QTreeWidgetItem::insertChild((int)x[1].s_int,(QTreeWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // void removeChild(QTreeWidgetItem*)
        this->QTreeWidgetItem::removeChild((QTreeWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // QTreeWidgetItem* takeChild(int)
        QTreeWidgetItem* xret = this->QTreeWidgetItem::takeChild((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_67(Smoke::Stack x) {
        // void addChildren(const QList<QTreeWidgetItem*>&)
        this->QTreeWidgetItem::addChildren(*(const QList<QTreeWidgetItem*>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void insertChildren(int, const QList<QTreeWidgetItem*>&)
        this->QTreeWidgetItem::insertChildren((int)x[1].s_int,*(const QList<QTreeWidgetItem*>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // QList<QTreeWidgetItem*> takeChildren()
        QList<QTreeWidgetItem*> xret = this->QTreeWidgetItem::takeChildren();
        x[0].s_class = (void*)new QList<QTreeWidgetItem*>(xret);
    }
    void x_70(Smoke::Stack x) {
        // int type() const
        int xret = ((const x_QTreeWidgetItem*)this)->QTreeWidgetItem::type();
        x[0].s_int = xret;
    }
    void x_71(Smoke::Stack x) {
        // void sortChildren(int, Qt::SortOrder)
        this->QTreeWidgetItem::sortChildren((int)x[1].s_int,(Qt::SortOrder)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_72(Smoke::Stack x) {
        // void emitDataChanged()
        this->QTreeWidgetItem::emitDataChanged();
        (void)x; // noop (for compiler warning)
    }
    static void x_73(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem()
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((int)QTreeWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_74(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(const QStringList&)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem(*(const QStringList*)x[1].s_class,(int)QTreeWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_75(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidget*)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidget*)x[1].s_class,(int)QTreeWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_76(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidget*, const QStringList&)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidget*)x[1].s_class,*(const QStringList*)x[2].s_class,(int)QTreeWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_77(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidget*, QTreeWidgetItem*)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidget*)x[1].s_class,(QTreeWidgetItem*)x[2].s_class,(int)QTreeWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_78(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidgetItem*)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidgetItem*)x[1].s_class,(int)QTreeWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_79(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidgetItem*, const QStringList&)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidgetItem*)x[1].s_class,*(const QStringList*)x[2].s_class,(int)QTreeWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_80(Smoke::Stack x) {
        // QTreeWidgetItem* QTreeWidgetItem(QTreeWidgetItem*, QTreeWidgetItem*)
        x_QTreeWidgetItem* xret = new x_QTreeWidgetItem((QTreeWidgetItem*)x[1].s_class,(QTreeWidgetItem*)x[2].s_class,(int)QTreeWidgetItem::Type);
        x[0].s_class = (void*)xret;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItem::Type;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItem::UserType;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItem::ShowIndicator;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItem::DontShowIndicator;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItem::DontShowIndicatorWhenChildless;
    }
    virtual QTreeWidgetItem* clone() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14947, (void*)this, x)) return (QTreeWidgetItem*)x[0].s_class;
        return this->QTreeWidgetItem::clone();
    }
    virtual QVariant data(int x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(14989, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTreeWidgetItem::data(x1, x2);
    }
    virtual void setData(int x1, int x2, const QVariant& x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(14990, (void*)this, x)) return;
        this->QTreeWidgetItem::setData(x1, x2, x3);
    }
    virtual bool operator<(const QTreeWidgetItem& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14991, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTreeWidgetItem::operator<(x1);
    }
    virtual void read(QDataStream& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14992, (void*)this, x)) return;
        this->QTreeWidgetItem::read(x1);
    }
    virtual void write(QDataStream& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(14993, (void*)this, x)) return;
        this->QTreeWidgetItem::write(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 1036: //QTreeWidgetItem::ItemType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTreeWidgetItem::ItemType;
                    break;
                case Smoke::EnumDelete:
                    delete (QTreeWidgetItem::ItemType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTreeWidgetItem::ItemType*)xdata = (QTreeWidgetItem::ItemType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTreeWidgetItem::ItemType*)xdata;
                    break;
            }
            break;
        case 1035: //QTreeWidgetItem::ChildIndicatorPolicy
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTreeWidgetItem::ChildIndicatorPolicy;
                    break;
                case Smoke::EnumDelete:
                    delete (QTreeWidgetItem::ChildIndicatorPolicy*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTreeWidgetItem::ChildIndicatorPolicy*)xdata = (QTreeWidgetItem::ChildIndicatorPolicy)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTreeWidgetItem::ChildIndicatorPolicy*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTreeWidgetItem() { this->_binding->deleted(434, (void*)this); }
};
void xenum_QTreeWidgetItem(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTreeWidgetItem::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTreeWidgetItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTreeWidgetItem *xself = (x_QTreeWidgetItem*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTreeWidgetItem::x_1(args);	break;
        case 2: x_QTreeWidgetItem::x_2(args);	break;
        case 3: x_QTreeWidgetItem::x_3(args);	break;
        case 4: x_QTreeWidgetItem::x_4(args);	break;
        case 5: x_QTreeWidgetItem::x_5(args);	break;
        case 6: x_QTreeWidgetItem::x_6(args);	break;
        case 7: x_QTreeWidgetItem::x_7(args);	break;
        case 8: x_QTreeWidgetItem::x_8(args);	break;
        case 9: x_QTreeWidgetItem::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: x_QTreeWidgetItem::x_73(args);	break;
        case 74: x_QTreeWidgetItem::x_74(args);	break;
        case 75: x_QTreeWidgetItem::x_75(args);	break;
        case 76: x_QTreeWidgetItem::x_76(args);	break;
        case 77: x_QTreeWidgetItem::x_77(args);	break;
        case 78: x_QTreeWidgetItem::x_78(args);	break;
        case 79: x_QTreeWidgetItem::x_79(args);	break;
        case 80: x_QTreeWidgetItem::x_80(args);	break;
        case 81: x_QTreeWidgetItem::x_81(args);	break;
        case 82: x_QTreeWidgetItem::x_82(args);	break;
        case 83: x_QTreeWidgetItem::x_83(args);	break;
        case 84: x_QTreeWidgetItem::x_84(args);	break;
        case 85: x_QTreeWidgetItem::x_85(args);	break;
        case 86: delete (QTreeWidgetItem*)xself;	break;
    }
}
class x_QTreeWidgetItemIterator : public QTreeWidgetItemIterator {
    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) {
        // QTreeWidgetItemIterator* QTreeWidgetItemIterator(const QTreeWidgetItemIterator&)
        x_QTreeWidgetItemIterator* xret = new x_QTreeWidgetItemIterator(*(const QTreeWidgetItemIterator*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItemIterator(const QTreeWidgetItemIterator& x1) : QTreeWidgetItemIterator(x1) {}
    static void x_2(Smoke::Stack x) {
        // QTreeWidgetItemIterator* QTreeWidgetItemIterator(QTreeWidget*, QFlags<QTreeWidgetItemIterator::IteratorFlag>)
        x_QTreeWidgetItemIterator* xret = new x_QTreeWidgetItemIterator((QTreeWidget*)x[1].s_class,(QFlags<QTreeWidgetItemIterator::IteratorFlag>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItemIterator(QTreeWidget* x1, QFlags<QTreeWidgetItemIterator::IteratorFlag> x2) : QTreeWidgetItemIterator(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // QTreeWidgetItemIterator* QTreeWidgetItemIterator(QTreeWidgetItem*, QFlags<QTreeWidgetItemIterator::IteratorFlag>)
        x_QTreeWidgetItemIterator* xret = new x_QTreeWidgetItemIterator((QTreeWidgetItem*)x[1].s_class,(QFlags<QTreeWidgetItemIterator::IteratorFlag>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTreeWidgetItemIterator(QTreeWidgetItem* x1, QFlags<QTreeWidgetItemIterator::IteratorFlag> x2) : QTreeWidgetItemIterator(x1, x2) {}
    void x_4(Smoke::Stack x) {
        // QTreeWidgetItemIterator& operator=(const QTreeWidgetItemIterator&)
        QTreeWidgetItemIterator& xret = this->QTreeWidgetItemIterator::operator=(*(const QTreeWidgetItemIterator*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // QTreeWidgetItemIterator& operator++()
        QTreeWidgetItemIterator& xret = this->QTreeWidgetItemIterator::operator++();
        x[0].s_class = (void*)&xret;
    }
    void x_6(Smoke::Stack x) {
        // const QTreeWidgetItemIterator operator++(int)
        const QTreeWidgetItemIterator xret = this->QTreeWidgetItemIterator::operator++((int)x[1].s_int);
        x[0].s_class = (void*)new const QTreeWidgetItemIterator(xret);
    }
    void x_7(Smoke::Stack x) {
        // QTreeWidgetItemIterator& operator+=(int)
        QTreeWidgetItemIterator& xret = this->QTreeWidgetItemIterator::operator+=((int)x[1].s_int);
        x[0].s_class = (void*)&xret;
    }
    void x_8(Smoke::Stack x) {
        // QTreeWidgetItemIterator& operator--()
        QTreeWidgetItemIterator& xret = this->QTreeWidgetItemIterator::operator--();
        x[0].s_class = (void*)&xret;
    }
    void x_9(Smoke::Stack x) {
        // const QTreeWidgetItemIterator operator--(int)
        const QTreeWidgetItemIterator xret = this->QTreeWidgetItemIterator::operator--((int)x[1].s_int);
        x[0].s_class = (void*)new const QTreeWidgetItemIterator(xret);
    }
    void x_10(Smoke::Stack x) {
        // QTreeWidgetItemIterator& operator-=(int)
        QTreeWidgetItemIterator& xret = this->QTreeWidgetItemIterator::operator-=((int)x[1].s_int);
        x[0].s_class = (void*)&xret;
    }
    void x_11(Smoke::Stack x) {
        // QTreeWidgetItem* operator*() const
        QTreeWidgetItem* xret = ((const x_QTreeWidgetItemIterator*)this)->QTreeWidgetItemIterator::operator*();
        x[0].s_class = (void*)xret;
    }
    static void x_12(Smoke::Stack x) {
        // QTreeWidgetItemIterator* QTreeWidgetItemIterator(QTreeWidget*)
        x_QTreeWidgetItemIterator* xret = new x_QTreeWidgetItemIterator((QTreeWidget*)x[1].s_class,(QFlags<QTreeWidgetItemIterator::IteratorFlag>)QTreeWidgetItemIterator::All);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // QTreeWidgetItemIterator* QTreeWidgetItemIterator(QTreeWidgetItem*)
        x_QTreeWidgetItemIterator* xret = new x_QTreeWidgetItemIterator((QTreeWidgetItem*)x[1].s_class,(QFlags<QTreeWidgetItemIterator::IteratorFlag>)QTreeWidgetItemIterator::All);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::All;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::Hidden;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::NotHidden;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::Selected;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::Unselected;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::Selectable;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::NotSelectable;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::DragEnabled;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::DragDisabled;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::DropEnabled;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::DropDisabled;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::HasChildren;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::NoChildren;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::Checked;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::NotChecked;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::Enabled;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::Disabled;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::Editable;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::NotEditable;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QTreeWidgetItemIterator::UserFlag;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 1039: //QTreeWidgetItemIterator::IteratorFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTreeWidgetItemIterator::IteratorFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QTreeWidgetItemIterator::IteratorFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTreeWidgetItemIterator::IteratorFlag*)xdata = (QTreeWidgetItemIterator::IteratorFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTreeWidgetItemIterator::IteratorFlag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTreeWidgetItemIterator() { this->_binding->deleted(435, (void*)this); }
};
void xenum_QTreeWidgetItemIterator(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTreeWidgetItemIterator::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTreeWidgetItemIterator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTreeWidgetItemIterator *xself = (x_QTreeWidgetItemIterator*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTreeWidgetItemIterator::x_1(args);	break;
        case 2: x_QTreeWidgetItemIterator::x_2(args);	break;
        case 3: x_QTreeWidgetItemIterator::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: x_QTreeWidgetItemIterator::x_12(args);	break;
        case 13: x_QTreeWidgetItemIterator::x_13(args);	break;
        case 14: x_QTreeWidgetItemIterator::x_14(args);	break;
        case 15: x_QTreeWidgetItemIterator::x_15(args);	break;
        case 16: x_QTreeWidgetItemIterator::x_16(args);	break;
        case 17: x_QTreeWidgetItemIterator::x_17(args);	break;
        case 18: x_QTreeWidgetItemIterator::x_18(args);	break;
        case 19: x_QTreeWidgetItemIterator::x_19(args);	break;
        case 20: x_QTreeWidgetItemIterator::x_20(args);	break;
        case 21: x_QTreeWidgetItemIterator::x_21(args);	break;
        case 22: x_QTreeWidgetItemIterator::x_22(args);	break;
        case 23: x_QTreeWidgetItemIterator::x_23(args);	break;
        case 24: x_QTreeWidgetItemIterator::x_24(args);	break;
        case 25: x_QTreeWidgetItemIterator::x_25(args);	break;
        case 26: x_QTreeWidgetItemIterator::x_26(args);	break;
        case 27: x_QTreeWidgetItemIterator::x_27(args);	break;
        case 28: x_QTreeWidgetItemIterator::x_28(args);	break;
        case 29: x_QTreeWidgetItemIterator::x_29(args);	break;
        case 30: x_QTreeWidgetItemIterator::x_30(args);	break;
        case 31: x_QTreeWidgetItemIterator::x_31(args);	break;
        case 32: x_QTreeWidgetItemIterator::x_32(args);	break;
        case 33: x_QTreeWidgetItemIterator::x_33(args);	break;
        case 34: delete (QTreeWidgetItemIterator*)xself;	break;
    }
}
class x_QUndoCommand : public QUndoCommand, 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) {
        // QUndoCommand* QUndoCommand(QUndoCommand*)
        x_QUndoCommand* xret = new x_QUndoCommand((QUndoCommand*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QUndoCommand(QUndoCommand* x1) : QUndoCommand(x1) {}
    static void x_2(Smoke::Stack x) {
        // QUndoCommand* QUndoCommand(const QString&, QUndoCommand*)
        x_QUndoCommand* xret = new x_QUndoCommand(*(const QString*)x[1].s_class,(QUndoCommand*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QUndoCommand(const QString& x1, QUndoCommand* x2) : QUndoCommand(x1, x2) {}
    void x_3(Smoke::Stack x) {
        // virtual void undo()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QUndoCommand*>(this))) {
            this->QUndoCommand::undo();
            (void)x; // noop (for compiler warning)
        } else {
            this->undo();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_4(Smoke::Stack x) {
        // virtual void redo()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QUndoCommand*>(this))) {
            this->QUndoCommand::redo();
            (void)x; // noop (for compiler warning)
        } else {
            this->redo();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_5(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QUndoCommand*)this)->QUndoCommand::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_6(Smoke::Stack x) {
        // QString actionText() const
        QString xret = ((const x_QUndoCommand*)this)->QUndoCommand::actionText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // void setText(const QString&)
        this->QUndoCommand::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // virtual int id() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QUndoCommand*>(this))) {
            int xret = ((const x_QUndoCommand*)this)->QUndoCommand::id();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QUndoCommand*)this)->id();
            x[0].s_int = xret;
        }
    }
    void x_9(Smoke::Stack x) {
        // virtual bool mergeWith(const QUndoCommand*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QUndoCommand*>(this))) {
            bool xret = this->QUndoCommand::mergeWith((const QUndoCommand*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->mergeWith((const QUndoCommand*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_10(Smoke::Stack x) {
        // int childCount() const
        int xret = ((const x_QUndoCommand*)this)->QUndoCommand::childCount();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // const QUndoCommand* child(int) const
        const QUndoCommand* xret = ((const x_QUndoCommand*)this)->QUndoCommand::child((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    static void x_12(Smoke::Stack x) {
        // QUndoCommand* QUndoCommand()
        x_QUndoCommand* xret = new x_QUndoCommand((QUndoCommand*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // QUndoCommand* QUndoCommand(const QString&)
        x_QUndoCommand* xret = new x_QUndoCommand(*(const QString*)x[1].s_class,(QUndoCommand*)0);
        x[0].s_class = (void*)xret;
    }
    virtual void undo() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15060, (void*)this, x)) return;
        this->QUndoCommand::undo();
    }
    virtual void redo() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15061, (void*)this, x)) return;
        this->QUndoCommand::redo();
    }
    virtual int id() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15065, (void*)this, x)) return (int)x[0].s_int;
        return this->QUndoCommand::id();
    }
    virtual bool mergeWith(const QUndoCommand* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15066, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QUndoCommand::mergeWith(x1);
    }
    ~x_QUndoCommand() { this->_binding->deleted(436, (void*)this); }
};
void xcall_QUndoCommand(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QUndoCommand *xself = (x_QUndoCommand*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QUndoCommand::x_1(args);	break;
        case 2: x_QUndoCommand::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: x_QUndoCommand::x_12(args);	break;
        case 13: x_QUndoCommand::x_13(args);	break;
        case 14: delete (QUndoCommand*)xself;	break;
    }
}

}
