//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_QAbstractButton : public QAbstractButton, 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<QAbstractButton*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractButton*)this)->QAbstractButton::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractButton*)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<QAbstractButton*>(this))) {
            void* xret = this->QAbstractButton::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 = QAbstractButton::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 = QAbstractButton::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 = QAbstractButton::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 = QAbstractButton::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<QAbstractButton*>(this))) {
            int xret = this->QAbstractButton::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) {
        // QAbstractButton* QAbstractButton(QWidget*)
        x_QAbstractButton* xret = new x_QAbstractButton((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractButton(QWidget* x1) : QAbstractButton(x1) {}
    void x_9(Smoke::Stack x) {
        // void setText(const QString&)
        this->QAbstractButton::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QAbstractButton*)this)->QAbstractButton::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setIcon(const QIcon&)
        this->QAbstractButton::setIcon(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QIcon icon() const
        QIcon xret = ((const x_QAbstractButton*)this)->QAbstractButton::icon();
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_13(Smoke::Stack x) {
        // QSize iconSize() const
        QSize xret = ((const x_QAbstractButton*)this)->QAbstractButton::iconSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setShortcut(const QKeySequence&)
        this->QAbstractButton::setShortcut(*(const QKeySequence*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QKeySequence shortcut() const
        QKeySequence xret = ((const x_QAbstractButton*)this)->QAbstractButton::shortcut();
        x[0].s_class = (void*)new QKeySequence(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setCheckable(bool)
        this->QAbstractButton::setCheckable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool isCheckable() const
        bool xret = ((const x_QAbstractButton*)this)->QAbstractButton::isCheckable();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // bool isChecked() const
        bool xret = ((const x_QAbstractButton*)this)->QAbstractButton::isChecked();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setDown(bool)
        this->QAbstractButton::setDown((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool isDown() const
        bool xret = ((const x_QAbstractButton*)this)->QAbstractButton::isDown();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setAutoRepeat(bool)
        this->QAbstractButton::setAutoRepeat((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool autoRepeat() const
        bool xret = ((const x_QAbstractButton*)this)->QAbstractButton::autoRepeat();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setAutoRepeatDelay(int)
        this->QAbstractButton::setAutoRepeatDelay((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // int autoRepeatDelay() const
        int xret = ((const x_QAbstractButton*)this)->QAbstractButton::autoRepeatDelay();
        x[0].s_int = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setAutoRepeatInterval(int)
        this->QAbstractButton::setAutoRepeatInterval((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // int autoRepeatInterval() const
        int xret = ((const x_QAbstractButton*)this)->QAbstractButton::autoRepeatInterval();
        x[0].s_int = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setAutoExclusive(bool)
        this->QAbstractButton::setAutoExclusive((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool autoExclusive() const
        bool xret = ((const x_QAbstractButton*)this)->QAbstractButton::autoExclusive();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // QButtonGroup* group() const
        QButtonGroup* xret = ((const x_QAbstractButton*)this)->QAbstractButton::group();
        x[0].s_class = (void*)xret;
    }
    void x_30(Smoke::Stack x) {
        // void setIconSize(const QSize&)
        this->QAbstractButton::setIconSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void animateClick(int)
        this->QAbstractButton::animateClick((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void click()
        this->QAbstractButton::click();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void toggle()
        this->QAbstractButton::toggle();
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setChecked(bool)
        this->QAbstractButton::setChecked((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void pressed()
        this->QAbstractButton::pressed();
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void released()
        this->QAbstractButton::released();
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void clicked(bool)
        this->QAbstractButton::clicked((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void toggled(bool)
        this->QAbstractButton::toggled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*) = 0
        this->paintEvent((QPaintEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // virtual bool hitButton(const QPoint&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            bool xret = ((const x_QAbstractButton*)this)->QAbstractButton::hitButton(*(const QPoint*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QAbstractButton*)this)->hitButton(*(const QPoint*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_41(Smoke::Stack x) {
        // virtual void checkStateSet()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::checkStateSet();
            (void)x; // noop (for compiler warning)
        } else {
            this->checkStateSet();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_42(Smoke::Stack x) {
        // virtual void nextCheckState()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::nextCheckState();
            (void)x; // noop (for compiler warning)
        } else {
            this->nextCheckState();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            bool xret = this->QAbstractButton::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_44(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // void keyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::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_47(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::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_48(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::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_49(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_51(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_52(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractButton*>(this))) {
            this->QAbstractButton::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_53(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractButton::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_54(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractButton::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_55(Smoke::Stack x) {
        // QAbstractButton* QAbstractButton()
        x_QAbstractButton* xret = new x_QAbstractButton((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_56(Smoke::Stack x) {
        // void animateClick()
        this->QAbstractButton::animateClick((int)100);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void clicked()
        this->QAbstractButton::clicked((bool)false);
        (void)x; // noop (for compiler warning)
    }
    static void x_58(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractButton::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractButton::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractButton::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(7, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractButton::qt_metacall(x1, x2, x3);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(39, (void*)this, x, true /*pure virtual*/);
    }
    virtual bool hitButton(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(40, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractButton::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(42, (void*)this, x)) return;
        this->QAbstractButton::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(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(46, (void*)this, x)) return;
        this->QAbstractButton::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(47, (void*)this, x)) return;
        this->QAbstractButton::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(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(15630, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15632, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15639, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(51, (void*)this, x)) return;
        this->QAbstractButton::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(43, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractButton::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(52, (void*)this, x)) return;
        this->QAbstractButton::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_QAbstractButton() { this->_binding->deleted(1, (void*)this); }
};
void xcall_QAbstractButton(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractButton *xself = (x_QAbstractButton*)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_QAbstractButton::x_3(args);	break;
        case 4: x_QAbstractButton::x_4(args);	break;
        case 5: x_QAbstractButton::x_5(args);	break;
        case 6: x_QAbstractButton::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractButton::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: x_QAbstractButton::x_53(args);	break;
        case 54: x_QAbstractButton::x_54(args);	break;
        case 55: x_QAbstractButton::x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: x_QAbstractButton::x_58(args);	break;
        case 59: delete (QAbstractButton*)xself;	break;
    }
}
class x_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem, 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) {
        // QAbstractGraphicsShapeItem* QAbstractGraphicsShapeItem(QGraphicsItem*, QGraphicsScene*)
        x_QAbstractGraphicsShapeItem* xret = new x_QAbstractGraphicsShapeItem((QGraphicsItem*)x[1].s_class,(QGraphicsScene*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractGraphicsShapeItem(QGraphicsItem* x1, QGraphicsScene* x2) : QAbstractGraphicsShapeItem(x1, x2) {}
    void x_2(Smoke::Stack x) {
        // QPen pen() const
        QPen xret = ((const x_QAbstractGraphicsShapeItem*)this)->QAbstractGraphicsShapeItem::pen();
        x[0].s_class = (void*)new QPen(xret);
    }
    void x_3(Smoke::Stack x) {
        // void setPen(const QPen&)
        this->QAbstractGraphicsShapeItem::setPen(*(const QPen*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // QBrush brush() const
        QBrush xret = ((const x_QAbstractGraphicsShapeItem*)this)->QAbstractGraphicsShapeItem::brush();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_5(Smoke::Stack x) {
        // void setBrush(const QBrush&)
        this->QAbstractGraphicsShapeItem::setBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // bool isObscuredBy(const QGraphicsItem*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractGraphicsShapeItem*>(this))) {
            bool xret = ((const x_QAbstractGraphicsShapeItem*)this)->QAbstractGraphicsShapeItem::isObscuredBy((const QGraphicsItem*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QAbstractGraphicsShapeItem*)this)->isObscuredBy((const QGraphicsItem*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_7(Smoke::Stack x) {
        // QPainterPath opaqueArea() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractGraphicsShapeItem*>(this))) {
            QPainterPath xret = ((const x_QAbstractGraphicsShapeItem*)this)->QAbstractGraphicsShapeItem::opaqueArea();
            x[0].s_class = (void*)new QPainterPath(xret);
        } else {
            QPainterPath xret = ((const x_QAbstractGraphicsShapeItem*)this)->opaqueArea();
            x[0].s_class = (void*)new QPainterPath(xret);
        }
    }
    static void x_8(Smoke::Stack x) {
        // QAbstractGraphicsShapeItem* QAbstractGraphicsShapeItem()
        x_QAbstractGraphicsShapeItem* xret = new x_QAbstractGraphicsShapeItem((QGraphicsItem*)0,(QGraphicsScene*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_9(Smoke::Stack x) {
        // QAbstractGraphicsShapeItem* QAbstractGraphicsShapeItem(QGraphicsItem*)
        x_QAbstractGraphicsShapeItem* xret = new x_QAbstractGraphicsShapeItem((QGraphicsItem*)x[1].s_class,(QGraphicsScene*)0);
        x[0].s_class = (void*)xret;
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(4626, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(4630, (void*)this, x, true /*pure virtual*/);
        QRectF* xptr = (QRectF*)x[0].s_class;
        QRectF xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4633, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(4636, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(4637, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(4638, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(65, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractGraphicsShapeItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(66, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractGraphicsShapeItem::opaqueArea();
    }
    virtual void paint(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        this->_binding->callMethod(4648, (void*)this, x, true /*pure virtual*/);
    }
    virtual int type() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4707, (void*)this, x)) return (int)x[0].s_int;
        return this->QGraphicsItem::type();
    }
    virtual bool sceneEventFilter(QGraphicsItem* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(4711, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::sceneEventFilter(x1, x2);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4712, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::sceneEvent(x1);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4713, (void*)this, x)) return;
        this->QGraphicsItem::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4714, (void*)this, x)) return;
        this->QGraphicsItem::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4715, (void*)this, x)) return;
        this->QGraphicsItem::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4716, (void*)this, x)) return;
        this->QGraphicsItem::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4717, (void*)this, x)) return;
        this->QGraphicsItem::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4718, (void*)this, x)) return;
        this->QGraphicsItem::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4719, (void*)this, x)) return;
        this->QGraphicsItem::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4720, (void*)this, x)) return;
        this->QGraphicsItem::hoverEnterEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4721, (void*)this, x)) return;
        this->QGraphicsItem::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4722, (void*)this, x)) return;
        this->QGraphicsItem::hoverLeaveEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4723, (void*)this, x)) return;
        this->QGraphicsItem::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4724, (void*)this, x)) return;
        this->QGraphicsItem::keyReleaseEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4725, (void*)this, x)) return;
        this->QGraphicsItem::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4726, (void*)this, x)) return;
        this->QGraphicsItem::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4727, (void*)this, x)) return;
        this->QGraphicsItem::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4728, (void*)this, x)) return;
        this->QGraphicsItem::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4729, (void*)this, x)) return;
        this->QGraphicsItem::wheelEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4730, (void*)this, x)) return;
        this->QGraphicsItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(4731, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::inputMethodQuery(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(4732, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::itemChange(x1, x2);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(4733, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(4734, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(4735, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    ~x_QAbstractGraphicsShapeItem() { this->_binding->deleted(2, (void*)this); }
};
void xcall_QAbstractGraphicsShapeItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractGraphicsShapeItem *xself = (x_QAbstractGraphicsShapeItem*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QAbstractGraphicsShapeItem::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: x_QAbstractGraphicsShapeItem::x_8(args);	break;
        case 9: x_QAbstractGraphicsShapeItem::x_9(args);	break;
        case 10: delete (QAbstractGraphicsShapeItem*)xself;	break;
    }
}
class x_QAbstractItemDelegate : public QAbstractItemDelegate, 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<QAbstractItemDelegate*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractItemDelegate*)this)->QAbstractItemDelegate::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractItemDelegate*)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<QAbstractItemDelegate*>(this))) {
            void* xret = this->QAbstractItemDelegate::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 = QAbstractItemDelegate::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 = QAbstractItemDelegate::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 = QAbstractItemDelegate::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 = QAbstractItemDelegate::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<QAbstractItemDelegate*>(this))) {
            int xret = this->QAbstractItemDelegate::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) {
        // QAbstractItemDelegate* QAbstractItemDelegate(QObject*)
        x_QAbstractItemDelegate* xret = new x_QAbstractItemDelegate((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractItemDelegate(QObject* x1) : QAbstractItemDelegate(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const = 0
        ((const x_QAbstractItemDelegate*)this)->paint((QPainter*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // virtual QSize sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const = 0
        QSize xret = ((const x_QAbstractItemDelegate*)this)->sizeHint(*(const QStyleOptionViewItem*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_11(Smoke::Stack x) {
        // virtual QWidget* createEditor(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemDelegate*>(this))) {
            QWidget* xret = ((const x_QAbstractItemDelegate*)this)->QAbstractItemDelegate::createEditor((QWidget*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = ((const x_QAbstractItemDelegate*)this)->createEditor((QWidget*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual void setEditorData(QWidget*, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemDelegate*>(this))) {
            ((const x_QAbstractItemDelegate*)this)->QAbstractItemDelegate::setEditorData((QWidget*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QAbstractItemDelegate*)this)->setEditorData((QWidget*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void setModelData(QWidget*, QAbstractItemModel*, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemDelegate*>(this))) {
            ((const x_QAbstractItemDelegate*)this)->QAbstractItemDelegate::setModelData((QWidget*)x[1].s_class,(QAbstractItemModel*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QAbstractItemDelegate*)this)->setModelData((QWidget*)x[1].s_class,(QAbstractItemModel*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual void updateEditorGeometry(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemDelegate*>(this))) {
            ((const x_QAbstractItemDelegate*)this)->QAbstractItemDelegate::updateEditorGeometry((QWidget*)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_QAbstractItemDelegate*)this)->updateEditorGeometry((QWidget*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual bool editorEvent(QEvent*, QAbstractItemModel*, const QStyleOptionViewItem&, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemDelegate*>(this))) {
            bool xret = this->QAbstractItemDelegate::editorEvent((QEvent*)x[1].s_class,(QAbstractItemModel*)x[2].s_class,*(const QStyleOptionViewItem*)x[3].s_class,*(const QModelIndex*)x[4].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->editorEvent((QEvent*)x[1].s_class,(QAbstractItemModel*)x[2].s_class,*(const QStyleOptionViewItem*)x[3].s_class,*(const QModelIndex*)x[4].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_16(Smoke::Stack x) {
        // static QString elidedText(const QFontMetrics&, int, Qt::TextElideMode, const QString&)
        QString xret = QAbstractItemDelegate::elidedText(*(const QFontMetrics*)x[1].s_class,(int)x[2].s_int,(Qt::TextElideMode)x[3].s_enum,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // bool helpEvent(QHelpEvent*, QAbstractItemView*, const QStyleOptionViewItem&, const QModelIndex&)
        bool xret = this->QAbstractItemDelegate::helpEvent((QHelpEvent*)x[1].s_class,(QAbstractItemView*)x[2].s_class,*(const QStyleOptionViewItem*)x[3].s_class,*(const QModelIndex*)x[4].s_class);
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void commitData(QWidget*)
        this->QAbstractItemDelegate::commitData((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void closeEditor(QWidget*, QAbstractItemDelegate::EndEditHint)
        this->QAbstractItemDelegate::closeEditor((QWidget*)x[1].s_class,(QAbstractItemDelegate::EndEditHint)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void sizeHintChanged(const QModelIndex&)
        this->QAbstractItemDelegate::sizeHintChanged(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractItemDelegate::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractItemDelegate::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // QAbstractItemDelegate* QAbstractItemDelegate()
        x_QAbstractItemDelegate* xret = new x_QAbstractItemDelegate((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void closeEditor(QWidget*)
        this->QAbstractItemDelegate::closeEditor((QWidget*)x[1].s_class,(QAbstractItemDelegate::EndEditHint)QAbstractItemDelegate::NoHint);
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractItemDelegate::staticMetaObject;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemDelegate::NoHint;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemDelegate::EditNextItem;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemDelegate::EditPreviousItem;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemDelegate::SubmitModelCache;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemDelegate::RevertModelCache;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(70, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractItemDelegate::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(71, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractItemDelegate::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(76, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemDelegate::qt_metacall(x1, x2, x3);
    }
    virtual void paint(QPainter* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        this->_binding->callMethod(78, (void*)this, x, true /*pure virtual*/);
    }
    virtual QSize sizeHint(const QStyleOptionViewItem& x1, const QModelIndex& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        this->_binding->callMethod(79, (void*)this, x, true /*pure virtual*/);
        QSize* xptr = (QSize*)x[0].s_class;
        QSize xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QWidget* createEditor(QWidget* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(80, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->QAbstractItemDelegate::createEditor(x1, x2, x3);
    }
    virtual void setEditorData(QWidget* x1, const QModelIndex& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(81, (void*)this, x)) return;
        this->QAbstractItemDelegate::setEditorData(x1, x2);
    }
    virtual void setModelData(QWidget* x1, QAbstractItemModel* x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(82, (void*)this, x)) return;
        this->QAbstractItemDelegate::setModelData(x1, x2, x3);
    }
    virtual void updateEditorGeometry(QWidget* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(83, (void*)this, x)) return;
        this->QAbstractItemDelegate::updateEditorGeometry(x1, x2, x3);
    }
    virtual bool editorEvent(QEvent* x1, QAbstractItemModel* x2, const QStyleOptionViewItem& x3, const QModelIndex& x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(84, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemDelegate::editorEvent(x1, x2, x3, x4);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 6: //QAbstractItemDelegate::EndEditHint
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemDelegate::EndEditHint;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemDelegate::EndEditHint*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemDelegate::EndEditHint*)xdata = (QAbstractItemDelegate::EndEditHint)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemDelegate::EndEditHint*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QAbstractItemDelegate() { this->_binding->deleted(3, (void*)this); }
};
void xenum_QAbstractItemDelegate(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QAbstractItemDelegate::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QAbstractItemDelegate(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractItemDelegate *xself = (x_QAbstractItemDelegate*)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_QAbstractItemDelegate::x_3(args);	break;
        case 4: x_QAbstractItemDelegate::x_4(args);	break;
        case 5: x_QAbstractItemDelegate::x_5(args);	break;
        case 6: x_QAbstractItemDelegate::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractItemDelegate::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_QAbstractItemDelegate::x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: x_QAbstractItemDelegate::x_21(args);	break;
        case 22: x_QAbstractItemDelegate::x_22(args);	break;
        case 23: x_QAbstractItemDelegate::x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: x_QAbstractItemDelegate::x_25(args);	break;
        case 26: x_QAbstractItemDelegate::x_26(args);	break;
        case 27: x_QAbstractItemDelegate::x_27(args);	break;
        case 28: x_QAbstractItemDelegate::x_28(args);	break;
        case 29: x_QAbstractItemDelegate::x_29(args);	break;
        case 30: x_QAbstractItemDelegate::x_30(args);	break;
        case 31: delete (QAbstractItemDelegate*)xself;	break;
    }
}
class x_QAbstractItemView : public QAbstractItemView, 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<QAbstractItemView*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractItemView*)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<QAbstractItemView*>(this))) {
            void* xret = this->QAbstractItemView::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 = QAbstractItemView::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 = QAbstractItemView::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 = QAbstractItemView::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 = QAbstractItemView::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<QAbstractItemView*>(this))) {
            int xret = this->QAbstractItemView::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) {
        // QAbstractItemView* QAbstractItemView(QWidget*)
        x_QAbstractItemView* xret = new x_QAbstractItemView((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractItemView(QWidget* x1) : QAbstractItemView(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void setModel(QAbstractItemModel*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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) {
        // QAbstractItemModel* model() const
        QAbstractItemModel* xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::model();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // virtual void setSelectionModel(QItemSelectionModel*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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) {
        // QItemSelectionModel* selectionModel() const
        QItemSelectionModel* xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::selectionModel();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // void setItemDelegate(QAbstractItemDelegate*)
        this->QAbstractItemView::setItemDelegate((QAbstractItemDelegate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QAbstractItemDelegate* itemDelegate() const
        QAbstractItemDelegate* xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::itemDelegate();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // void setSelectionMode(QAbstractItemView::SelectionMode)
        this->QAbstractItemView::setSelectionMode((QAbstractItemView::SelectionMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QAbstractItemView::SelectionMode selectionMode() const
        QAbstractItemView::SelectionMode xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::selectionMode();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setSelectionBehavior(QAbstractItemView::SelectionBehavior)
        this->QAbstractItemView::setSelectionBehavior((QAbstractItemView::SelectionBehavior)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QAbstractItemView::SelectionBehavior selectionBehavior() const
        QAbstractItemView::SelectionBehavior xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::selectionBehavior();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // QModelIndex currentIndex() const
        QModelIndex xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::currentIndex();
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_20(Smoke::Stack x) {
        // QModelIndex rootIndex() const
        QModelIndex xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::rootIndex();
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_21(Smoke::Stack x) {
        // void setEditTriggers(QFlags<QAbstractItemView::EditTrigger>)
        this->QAbstractItemView::setEditTriggers((QFlags<QAbstractItemView::EditTrigger>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QFlags<QAbstractItemView::EditTrigger> editTriggers() const
        QFlags<QAbstractItemView::EditTrigger> xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::editTriggers();
        x[0].s_uint = (uint)xret;
    }
    void x_23(Smoke::Stack x) {
        // void setVerticalScrollMode(QAbstractItemView::ScrollMode)
        this->QAbstractItemView::setVerticalScrollMode((QAbstractItemView::ScrollMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QAbstractItemView::ScrollMode verticalScrollMode() const
        QAbstractItemView::ScrollMode xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::verticalScrollMode();
        x[0].s_enum = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setHorizontalScrollMode(QAbstractItemView::ScrollMode)
        this->QAbstractItemView::setHorizontalScrollMode((QAbstractItemView::ScrollMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QAbstractItemView::ScrollMode horizontalScrollMode() const
        QAbstractItemView::ScrollMode xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::horizontalScrollMode();
        x[0].s_enum = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setAutoScroll(bool)
        this->QAbstractItemView::setAutoScroll((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool hasAutoScroll() const
        bool xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::hasAutoScroll();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // void setAutoScrollMargin(int)
        this->QAbstractItemView::setAutoScrollMargin((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // int autoScrollMargin() const
        int xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::autoScrollMargin();
        x[0].s_int = xret;
    }
    void x_31(Smoke::Stack x) {
        // void setTabKeyNavigation(bool)
        this->QAbstractItemView::setTabKeyNavigation((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // bool tabKeyNavigation() const
        bool xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::tabKeyNavigation();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // void setDropIndicatorShown(bool)
        this->QAbstractItemView::setDropIndicatorShown((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // bool showDropIndicator() const
        bool xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::showDropIndicator();
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // void setDragEnabled(bool)
        this->QAbstractItemView::setDragEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool dragEnabled() const
        bool xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::dragEnabled();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // void setDragDropOverwriteMode(bool)
        this->QAbstractItemView::setDragDropOverwriteMode((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // bool dragDropOverwriteMode() const
        bool xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::dragDropOverwriteMode();
        x[0].s_bool = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setDragDropMode(QAbstractItemView::DragDropMode)
        this->QAbstractItemView::setDragDropMode((QAbstractItemView::DragDropMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // QAbstractItemView::DragDropMode dragDropMode() const
        QAbstractItemView::DragDropMode xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::dragDropMode();
        x[0].s_enum = xret;
    }
    void x_41(Smoke::Stack x) {
        // void setDefaultDropAction(Qt::DropAction)
        this->QAbstractItemView::setDefaultDropAction((Qt::DropAction)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // Qt::DropAction defaultDropAction() const
        Qt::DropAction xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::defaultDropAction();
        x[0].s_enum = xret;
    }
    void x_43(Smoke::Stack x) {
        // void setAlternatingRowColors(bool)
        this->QAbstractItemView::setAlternatingRowColors((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // bool alternatingRowColors() const
        bool xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::alternatingRowColors();
        x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
        // void setIconSize(const QSize&)
        this->QAbstractItemView::setIconSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // QSize iconSize() const
        QSize xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::iconSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_47(Smoke::Stack x) {
        // void setTextElideMode(Qt::TextElideMode)
        this->QAbstractItemView::setTextElideMode((Qt::TextElideMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // Qt::TextElideMode textElideMode() const
        Qt::TextElideMode xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::textElideMode();
        x[0].s_enum = xret;
    }
    void x_49(Smoke::Stack x) {
        // virtual void keyboardSearch(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_50(Smoke::Stack x) {
        // virtual QRect visualRect(const QModelIndex&) const = 0
        QRect xret = ((const x_QAbstractItemView*)this)->visualRect(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_51(Smoke::Stack x) {
        // virtual void scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint) = 0
        this->scrollTo(*(const QModelIndex*)x[1].s_class,(QAbstractItemView::ScrollHint)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // virtual QModelIndex indexAt(const QPoint&) const = 0
        QModelIndex xret = ((const x_QAbstractItemView*)this)->indexAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_53(Smoke::Stack x) {
        // QSize sizeHintForIndex(const QModelIndex&) const
        QSize xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::sizeHintForIndex(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_54(Smoke::Stack x) {
        // virtual int sizeHintForRow(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            int xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::sizeHintForRow((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QAbstractItemView*)this)->sizeHintForRow((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_55(Smoke::Stack x) {
        // virtual int sizeHintForColumn(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            int xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::sizeHintForColumn((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QAbstractItemView*)this)->sizeHintForColumn((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_56(Smoke::Stack x) {
        // void openPersistentEditor(const QModelIndex&)
        this->QAbstractItemView::openPersistentEditor(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void closePersistentEditor(const QModelIndex&)
        this->QAbstractItemView::closePersistentEditor(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void setIndexWidget(const QModelIndex&, QWidget*)
        this->QAbstractItemView::setIndexWidget(*(const QModelIndex*)x[1].s_class,(QWidget*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // QWidget* indexWidget(const QModelIndex&) const
        QWidget* xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::indexWidget(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_60(Smoke::Stack x) {
        // void setItemDelegateForRow(int, QAbstractItemDelegate*)
        this->QAbstractItemView::setItemDelegateForRow((int)x[1].s_int,(QAbstractItemDelegate*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // QAbstractItemDelegate* itemDelegateForRow(int) const
        QAbstractItemDelegate* xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::itemDelegateForRow((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_62(Smoke::Stack x) {
        // void setItemDelegateForColumn(int, QAbstractItemDelegate*)
        this->QAbstractItemView::setItemDelegateForColumn((int)x[1].s_int,(QAbstractItemDelegate*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // QAbstractItemDelegate* itemDelegateForColumn(int) const
        QAbstractItemDelegate* xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::itemDelegateForColumn((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_64(Smoke::Stack x) {
        // QAbstractItemDelegate* itemDelegate(const QModelIndex&) const
        QAbstractItemDelegate* xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::itemDelegate(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_65(Smoke::Stack x) {
        // virtual QVariant inputMethodQuery(Qt::InputMethodQuery) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            QVariant xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QAbstractItemView*)this)->inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_66(Smoke::Stack x) {
        // virtual void reset()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::reset();
            (void)x; // noop (for compiler warning)
        } else {
            this->reset();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_67(Smoke::Stack x) {
        // virtual void setRootIndex(const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_68(Smoke::Stack x) {
        // virtual void doItemsLayout()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::doItemsLayout();
            (void)x; // noop (for compiler warning)
        } else {
            this->doItemsLayout();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_69(Smoke::Stack x) {
        // virtual void selectAll()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::selectAll();
            (void)x; // noop (for compiler warning)
        } else {
            this->selectAll();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_70(Smoke::Stack x) {
        // void edit(const QModelIndex&)
        this->QAbstractItemView::edit(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // void clearSelection()
        this->QAbstractItemView::clearSelection();
        (void)x; // noop (for compiler warning)
    }
    void x_72(Smoke::Stack x) {
        // void setCurrentIndex(const QModelIndex&)
        this->QAbstractItemView::setCurrentIndex(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_73(Smoke::Stack x) {
        // void scrollToTop()
        this->QAbstractItemView::scrollToTop();
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // void scrollToBottom()
        this->QAbstractItemView::scrollToBottom();
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void update(const QModelIndex&)
        this->QAbstractItemView::update(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // virtual void dataChanged(const QModelIndex&, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_77(Smoke::Stack x) {
        // virtual void rowsInserted(const QModelIndex&, int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_78(Smoke::Stack x) {
        // virtual void rowsAboutToBeRemoved(const QModelIndex&, int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_79(Smoke::Stack x) {
        // virtual void selectionChanged(const QItemSelection&, const QItemSelection&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_80(Smoke::Stack x) {
        // virtual void currentChanged(const QModelIndex&, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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)
        }
    }
    void x_81(Smoke::Stack x) {
        // virtual void updateEditorData()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::updateEditorData();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateEditorData();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_82(Smoke::Stack x) {
        // virtual void updateEditorGeometries()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::updateEditorGeometries();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateEditorGeometries();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_83(Smoke::Stack x) {
        // virtual void updateGeometries()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::updateGeometries();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateGeometries();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_84(Smoke::Stack x) {
        // virtual void verticalScrollbarAction(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::verticalScrollbarAction((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->verticalScrollbarAction((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_85(Smoke::Stack x) {
        // virtual void horizontalScrollbarAction(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_86(Smoke::Stack x) {
        // virtual void verticalScrollbarValueChanged(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::verticalScrollbarValueChanged((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->verticalScrollbarValueChanged((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_87(Smoke::Stack x) {
        // virtual void horizontalScrollbarValueChanged(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::horizontalScrollbarValueChanged((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->horizontalScrollbarValueChanged((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_88(Smoke::Stack x) {
        // virtual void closeEditor(QWidget*, QAbstractItemDelegate::EndEditHint)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::closeEditor((QWidget*)x[1].s_class,(QAbstractItemDelegate::EndEditHint)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->closeEditor((QWidget*)x[1].s_class,(QAbstractItemDelegate::EndEditHint)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_89(Smoke::Stack x) {
        // virtual void commitData(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::commitData((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->commitData((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_90(Smoke::Stack x) {
        // virtual void editorDestroyed(QObject*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::editorDestroyed((QObject*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->editorDestroyed((QObject*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_91(Smoke::Stack x) {
        // void pressed(const QModelIndex&)
        this->QAbstractItemView::pressed(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_92(Smoke::Stack x) {
        // void clicked(const QModelIndex&)
        this->QAbstractItemView::clicked(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_93(Smoke::Stack x) {
        // void doubleClicked(const QModelIndex&)
        this->QAbstractItemView::doubleClicked(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_94(Smoke::Stack x) {
        // void activated(const QModelIndex&)
        this->QAbstractItemView::activated(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_95(Smoke::Stack x) {
        // void entered(const QModelIndex&)
        this->QAbstractItemView::entered(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_96(Smoke::Stack x) {
        // void viewportEntered()
        this->QAbstractItemView::viewportEntered();
        (void)x; // noop (for compiler warning)
    }
    void x_97(Smoke::Stack x) {
        // void setHorizontalStepsPerItem(int)
        this->QAbstractItemView::setHorizontalStepsPerItem((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_98(Smoke::Stack x) {
        // int horizontalStepsPerItem() const
        int xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::horizontalStepsPerItem();
        x[0].s_int = xret;
    }
    void x_99(Smoke::Stack x) {
        // void setVerticalStepsPerItem(int)
        this->QAbstractItemView::setVerticalStepsPerItem((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_100(Smoke::Stack x) {
        // int verticalStepsPerItem() const
        int xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::verticalStepsPerItem();
        x[0].s_int = xret;
    }
    void x_101(Smoke::Stack x) {
        // virtual QModelIndex moveCursor(QAbstractItemView::CursorAction, QFlags<Qt::KeyboardModifier>) = 0
        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_102(Smoke::Stack x) {
        // virtual int horizontalOffset() const = 0
        int xret = ((const x_QAbstractItemView*)this)->horizontalOffset();
        x[0].s_int = xret;
    }
    void x_103(Smoke::Stack x) {
        // virtual int verticalOffset() const = 0
        int xret = ((const x_QAbstractItemView*)this)->verticalOffset();
        x[0].s_int = xret;
    }
    void x_104(Smoke::Stack x) {
        // virtual bool isIndexHidden(const QModelIndex&) const = 0
        bool xret = ((const x_QAbstractItemView*)this)->isIndexHidden(*(const QModelIndex*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_105(Smoke::Stack x) {
        // virtual void setSelection(const QRect&, QFlags<QItemSelectionModel::SelectionFlag>) = 0
        this->setSelection(*(const QRect*)x[1].s_class,(QFlags<QItemSelectionModel::SelectionFlag>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_106(Smoke::Stack x) {
        // virtual QRegion visualRegionForSelection(const QItemSelection&) const = 0
        QRegion xret = ((const x_QAbstractItemView*)this)->visualRegionForSelection(*(const QItemSelection*)x[1].s_class);
        x[0].s_class = (void*)new QRegion(xret);
    }
    void x_107(Smoke::Stack x) {
        // virtual QList<QModelIndex> selectedIndexes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            QList<QModelIndex> xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::selectedIndexes();
            x[0].s_class = (void*)new QList<QModelIndex>(xret);
        } else {
            QList<QModelIndex> xret = ((const x_QAbstractItemView*)this)->selectedIndexes();
            x[0].s_class = (void*)new QList<QModelIndex>(xret);
        }
    }
    void x_108(Smoke::Stack x) {
        // virtual bool edit(const QModelIndex&, QAbstractItemView::EditTrigger, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            bool xret = this->QAbstractItemView::edit(*(const QModelIndex*)x[1].s_class,(QAbstractItemView::EditTrigger)x[2].s_enum,(QEvent*)x[3].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->edit(*(const QModelIndex*)x[1].s_class,(QAbstractItemView::EditTrigger)x[2].s_enum,(QEvent*)x[3].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_109(Smoke::Stack x) {
        // virtual QFlags<QItemSelectionModel::SelectionFlag> selectionCommand(const QModelIndex&, const QEvent*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            QFlags<QItemSelectionModel::SelectionFlag> xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::selectionCommand(*(const QModelIndex*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<QItemSelectionModel::SelectionFlag> xret = ((const x_QAbstractItemView*)this)->selectionCommand(*(const QModelIndex*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_uint = (uint)xret;
        }
    }
    void x_110(Smoke::Stack x) {
        // virtual void startDrag(QFlags<Qt::DropAction>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::startDrag((QFlags<Qt::DropAction>)x[1].s_uint);
            (void)x; // noop (for compiler warning)
        } else {
            this->startDrag((QFlags<Qt::DropAction>)x[1].s_uint);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_111(Smoke::Stack x) {
        // virtual QStyleOptionViewItem viewOptions() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            QStyleOptionViewItem xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::viewOptions();
            x[0].s_class = (void*)new QStyleOptionViewItem(xret);
        } else {
            QStyleOptionViewItem xret = ((const x_QAbstractItemView*)this)->viewOptions();
            x[0].s_class = (void*)new QStyleOptionViewItem(xret);
        }
    }
    void x_112(Smoke::Stack x) {
        // QAbstractItemView::State state() const
        QAbstractItemView::State xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::state();
        x[0].s_enum = xret;
    }
    void x_113(Smoke::Stack x) {
        // void setState(QAbstractItemView::State)
        this->QAbstractItemView::setState((QAbstractItemView::State)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_114(Smoke::Stack x) {
        // void scheduleDelayedItemsLayout()
        this->QAbstractItemView::scheduleDelayedItemsLayout();
        (void)x; // noop (for compiler warning)
    }
    void x_115(Smoke::Stack x) {
        // void executeDelayedItemsLayout()
        this->QAbstractItemView::executeDelayedItemsLayout();
        (void)x; // noop (for compiler warning)
    }
    void x_116(Smoke::Stack x) {
        // void setDirtyRegion(const QRegion&)
        this->QAbstractItemView::setDirtyRegion(*(const QRegion*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_117(Smoke::Stack x) {
        // void scrollDirtyRegion(int, int)
        this->QAbstractItemView::scrollDirtyRegion((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_118(Smoke::Stack x) {
        // QPoint dirtyRegionOffset() const
        QPoint xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::dirtyRegionOffset();
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_119(Smoke::Stack x) {
        // void startAutoScroll()
        this->QAbstractItemView::startAutoScroll();
        (void)x; // noop (for compiler warning)
    }
    void x_120(Smoke::Stack x) {
        // void stopAutoScroll()
        this->QAbstractItemView::stopAutoScroll();
        (void)x; // noop (for compiler warning)
    }
    void x_121(Smoke::Stack x) {
        // void doAutoScroll()
        this->QAbstractItemView::doAutoScroll();
        (void)x; // noop (for compiler warning)
    }
    void x_122(Smoke::Stack x) {
        // bool focusNextPrevChild(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            bool xret = this->QAbstractItemView::focusNextPrevChild((bool)x[1].s_bool);
            x[0].s_bool = xret;
        } else {
            bool xret = this->focusNextPrevChild((bool)x[1].s_bool);
            x[0].s_bool = xret;
        }
    }
    void x_123(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            bool xret = this->QAbstractItemView::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_124(Smoke::Stack x) {
        // bool viewportEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            bool xret = this->QAbstractItemView::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_125(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_126(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_127(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_128(Smoke::Stack x) {
        // void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_129(Smoke::Stack x) {
        // void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_130(Smoke::Stack x) {
        // void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_131(Smoke::Stack x) {
        // void dragLeaveEvent(QDragLeaveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_132(Smoke::Stack x) {
        // void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_133(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_134(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_135(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_136(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_137(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::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_138(Smoke::Stack x) {
        // void inputMethodEvent(QInputMethodEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractItemView*>(this))) {
            this->QAbstractItemView::inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_139(Smoke::Stack x) {
        // QAbstractItemView::DropIndicatorPosition dropIndicatorPosition() const
        QAbstractItemView::DropIndicatorPosition xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::dropIndicatorPosition();
        x[0].s_enum = xret;
    }
    static void x_140(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractItemView::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_141(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractItemView::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_142(Smoke::Stack x) {
        // QAbstractItemView* QAbstractItemView()
        x_QAbstractItemView* xret = new x_QAbstractItemView((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_143(Smoke::Stack x) {
        // void scrollTo(const QModelIndex&)
        this->scrollTo(*(const QModelIndex*)x[1].s_class,(QAbstractItemView::ScrollHint)QAbstractItemView::EnsureVisible);
        (void)x; // noop (for compiler warning)
    }
    void x_144(Smoke::Stack x) {
        // QFlags<QItemSelectionModel::SelectionFlag> selectionCommand(const QModelIndex&) const
        QFlags<QItemSelectionModel::SelectionFlag> xret = ((const x_QAbstractItemView*)this)->QAbstractItemView::selectionCommand(*(const QModelIndex*)x[1].s_class,(const QEvent*)0);
        x[0].s_uint = (uint)xret;
    }
    static void x_145(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractItemView::staticMetaObject;
    }
    static void x_146(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::NoSelection;
    }
    static void x_147(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::SingleSelection;
    }
    static void x_148(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MultiSelection;
    }
    static void x_149(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::ExtendedSelection;
    }
    static void x_150(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::ContiguousSelection;
    }
    static void x_151(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::SelectItems;
    }
    static void x_152(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::SelectRows;
    }
    static void x_153(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::SelectColumns;
    }
    static void x_154(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::EnsureVisible;
    }
    static void x_155(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::PositionAtTop;
    }
    static void x_156(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::PositionAtBottom;
    }
    static void x_157(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::PositionAtCenter;
    }
    static void x_158(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::NoEditTriggers;
    }
    static void x_159(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::CurrentChanged;
    }
    static void x_160(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::DoubleClicked;
    }
    static void x_161(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::SelectedClicked;
    }
    static void x_162(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::EditKeyPressed;
    }
    static void x_163(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::AnyKeyPressed;
    }
    static void x_164(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::AllEditTriggers;
    }
    static void x_165(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::ScrollPerItem;
    }
    static void x_166(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::ScrollPerPixel;
    }
    static void x_167(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::NoDragDrop;
    }
    static void x_168(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::DragOnly;
    }
    static void x_169(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::DropOnly;
    }
    static void x_170(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::DragDrop;
    }
    static void x_171(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::InternalMove;
    }
    static void x_172(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MoveUp;
    }
    static void x_173(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MoveDown;
    }
    static void x_174(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MoveLeft;
    }
    static void x_175(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MoveRight;
    }
    static void x_176(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MoveHome;
    }
    static void x_177(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MoveEnd;
    }
    static void x_178(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MovePageUp;
    }
    static void x_179(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MovePageDown;
    }
    static void x_180(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MoveNext;
    }
    static void x_181(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::MovePrevious;
    }
    static void x_182(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::NoState;
    }
    static void x_183(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::DraggingState;
    }
    static void x_184(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::DragSelectingState;
    }
    static void x_185(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::EditingState;
    }
    static void x_186(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::ExpandingState;
    }
    static void x_187(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::CollapsingState;
    }
    static void x_188(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::AnimatingState;
    }
    static void x_189(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::OnItem;
    }
    static void x_190(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::AboveItem;
    }
    static void x_191(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::BelowItem;
    }
    static void x_192(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractItemView::OnViewport;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(123, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractItemView::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(124, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractItemView::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(129, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::qt_metacall(x1, x2, x3);
    }
    virtual void setModel(QAbstractItemModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(131, (void*)this, x)) return;
        this->QAbstractItemView::setModel(x1);
    }
    virtual void setSelectionModel(QItemSelectionModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(133, (void*)this, x)) return;
        this->QAbstractItemView::setSelectionModel(x1);
    }
    virtual void keyboardSearch(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(171, (void*)this, x)) return;
        this->QAbstractItemView::keyboardSearch(x1);
    }
    virtual QRect visualRect(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(172, (void*)this, x, true /*pure virtual*/);
        QRect* xptr = (QRect*)x[0].s_class;
        QRect xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual void scrollTo(const QModelIndex& x1, QAbstractItemView::ScrollHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        this->_binding->callMethod(173, (void*)this, x, true /*pure virtual*/);
    }
    virtual QModelIndex indexAt(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(174, (void*)this, x, true /*pure virtual*/);
        QModelIndex* xptr = (QModelIndex*)x[0].s_class;
        QModelIndex xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual int sizeHintForRow(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(176, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForRow(x1);
    }
    virtual int sizeHintForColumn(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(177, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForColumn(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(187, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::inputMethodQuery(x1);
    }
    virtual void reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(188, (void*)this, x)) return;
        this->QAbstractItemView::reset();
    }
    virtual void setRootIndex(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(189, (void*)this, x)) return;
        this->QAbstractItemView::setRootIndex(x1);
    }
    virtual void doItemsLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(190, (void*)this, x)) return;
        this->QAbstractItemView::doItemsLayout();
    }
    virtual void selectAll() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(191, (void*)this, x)) return;
        this->QAbstractItemView::selectAll();
    }
    virtual void dataChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(198, (void*)this, x)) return;
        this->QAbstractItemView::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(199, (void*)this, x)) return;
        this->QAbstractItemView::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(200, (void*)this, x)) return;
        this->QAbstractItemView::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(201, (void*)this, x)) return;
        this->QAbstractItemView::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(202, (void*)this, x)) return;
        this->QAbstractItemView::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(205, (void*)this, x)) return;
        this->QAbstractItemView::updateGeometries();
    }
    virtual void verticalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(206, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarAction(x1);
    }
    virtual void horizontalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(207, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarAction(x1);
    }
    virtual void verticalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(208, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarValueChanged(x1);
    }
    virtual void horizontalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(209, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarValueChanged(x1);
    }
    virtual void closeEditor(QWidget* x1, QAbstractItemDelegate::EndEditHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(210, (void*)this, x)) return;
        this->QAbstractItemView::closeEditor(x1, x2);
    }
    virtual void commitData(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(211, (void*)this, x)) return;
        this->QAbstractItemView::commitData(x1);
    }
    virtual void editorDestroyed(QObject* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(212, (void*)this, x)) return;
        this->QAbstractItemView::editorDestroyed(x1);
    }
    virtual QModelIndex moveCursor(QAbstractItemView::CursorAction x1, QFlags<Qt::KeyboardModifier> x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_uint = (uint)x2;
        this->_binding->callMethod(223, (void*)this, x, true /*pure virtual*/);
        QModelIndex* xptr = (QModelIndex*)x[0].s_class;
        QModelIndex xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual int horizontalOffset() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(224, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual int verticalOffset() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(225, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual bool isIndexHidden(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(226, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    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;
        this->_binding->callMethod(227, (void*)this, x, true /*pure virtual*/);
    }
    virtual QRegion visualRegionForSelection(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(228, (void*)this, x, true /*pure virtual*/);
        QRegion* xptr = (QRegion*)x[0].s_class;
        QRegion xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QList<QModelIndex> selectedIndexes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(229, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::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(246, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::viewportEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(459, (void*)this, x)) return;
        this->QAbstractScrollArea::scrollContentsBy(x1, x2);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(440, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(439, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(247, (void*)this, x)) return;
        this->QAbstractItemView::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(249, (void*)this, x)) return;
        this->QAbstractItemView::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(250, (void*)this, x)) return;
        this->QAbstractItemView::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(248, (void*)this, x)) return;
        this->QAbstractItemView::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(452, (void*)this, x)) return;
        this->QAbstractScrollArea::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(257, (void*)this, x)) return;
        this->QAbstractItemView::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(255, (void*)this, x)) return;
        this->QAbstractItemView::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(256, (void*)this, x)) return;
        this->QAbstractItemView::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(447, (void*)this, x)) return;
        this->QAbstractScrollArea::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(252, (void*)this, x)) return;
        this->QAbstractItemView::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(259, (void*)this, x)) return;
        this->QAbstractItemView::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 16: //QAbstractItemView::SelectionMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::SelectionMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::SelectionMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::SelectionMode*)xdata = (QAbstractItemView::SelectionMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::SelectionMode*)xdata;
                    break;
            }
            break;
        case 15: //QAbstractItemView::SelectionBehavior
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::SelectionBehavior;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::SelectionBehavior*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::SelectionBehavior*)xdata = (QAbstractItemView::SelectionBehavior)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::SelectionBehavior*)xdata;
                    break;
            }
            break;
        case 13: //QAbstractItemView::ScrollHint
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::ScrollHint;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::ScrollHint*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::ScrollHint*)xdata = (QAbstractItemView::ScrollHint)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::ScrollHint*)xdata;
                    break;
            }
            break;
        case 12: //QAbstractItemView::EditTrigger
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::EditTrigger;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::EditTrigger*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::EditTrigger*)xdata = (QAbstractItemView::EditTrigger)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::EditTrigger*)xdata;
                    break;
            }
            break;
        case 14: //QAbstractItemView::ScrollMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::ScrollMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::ScrollMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::ScrollMode*)xdata = (QAbstractItemView::ScrollMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::ScrollMode*)xdata;
                    break;
            }
            break;
        case 10: //QAbstractItemView::DragDropMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::DragDropMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::DragDropMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::DragDropMode*)xdata = (QAbstractItemView::DragDropMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::DragDropMode*)xdata;
                    break;
            }
            break;
        case 9: //QAbstractItemView::CursorAction
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::CursorAction;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::CursorAction*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::CursorAction*)xdata = (QAbstractItemView::CursorAction)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::CursorAction*)xdata;
                    break;
            }
            break;
        case 17: //QAbstractItemView::State
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::State;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::State*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::State*)xdata = (QAbstractItemView::State)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::State*)xdata;
                    break;
            }
            break;
        case 11: //QAbstractItemView::DropIndicatorPosition
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractItemView::DropIndicatorPosition;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractItemView::DropIndicatorPosition*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractItemView::DropIndicatorPosition*)xdata = (QAbstractItemView::DropIndicatorPosition)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractItemView::DropIndicatorPosition*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QAbstractItemView() { this->_binding->deleted(5, (void*)this); }
};
void xenum_QAbstractItemView(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QAbstractItemView::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QAbstractItemView(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractItemView *xself = (x_QAbstractItemView*)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_QAbstractItemView::x_3(args);	break;
        case 4: x_QAbstractItemView::x_4(args);	break;
        case 5: x_QAbstractItemView::x_5(args);	break;
        case 6: x_QAbstractItemView::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractItemView::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: xself->x_104(args);	break;
        case 105: xself->x_105(args);	break;
        case 106: xself->x_106(args);	break;
        case 107: xself->x_107(args);	break;
        case 108: xself->x_108(args);	break;
        case 109: xself->x_109(args);	break;
        case 110: xself->x_110(args);	break;
        case 111: xself->x_111(args);	break;
        case 112: xself->x_112(args);	break;
        case 113: xself->x_113(args);	break;
        case 114: xself->x_114(args);	break;
        case 115: xself->x_115(args);	break;
        case 116: xself->x_116(args);	break;
        case 117: xself->x_117(args);	break;
        case 118: xself->x_118(args);	break;
        case 119: xself->x_119(args);	break;
        case 120: xself->x_120(args);	break;
        case 121: xself->x_121(args);	break;
        case 122: xself->x_122(args);	break;
        case 123: xself->x_123(args);	break;
        case 124: xself->x_124(args);	break;
        case 125: xself->x_125(args);	break;
        case 126: xself->x_126(args);	break;
        case 127: xself->x_127(args);	break;
        case 128: xself->x_128(args);	break;
        case 129: xself->x_129(args);	break;
        case 130: xself->x_130(args);	break;
        case 131: xself->x_131(args);	break;
        case 132: xself->x_132(args);	break;
        case 133: xself->x_133(args);	break;
        case 134: xself->x_134(args);	break;
        case 135: xself->x_135(args);	break;
        case 136: xself->x_136(args);	break;
        case 137: xself->x_137(args);	break;
        case 138: xself->x_138(args);	break;
        case 139: xself->x_139(args);	break;
        case 140: x_QAbstractItemView::x_140(args);	break;
        case 141: x_QAbstractItemView::x_141(args);	break;
        case 142: x_QAbstractItemView::x_142(args);	break;
        case 143: xself->x_143(args);	break;
        case 144: xself->x_144(args);	break;
        case 145: x_QAbstractItemView::x_145(args);	break;
        case 146: x_QAbstractItemView::x_146(args);	break;
        case 147: x_QAbstractItemView::x_147(args);	break;
        case 148: x_QAbstractItemView::x_148(args);	break;
        case 149: x_QAbstractItemView::x_149(args);	break;
        case 150: x_QAbstractItemView::x_150(args);	break;
        case 151: x_QAbstractItemView::x_151(args);	break;
        case 152: x_QAbstractItemView::x_152(args);	break;
        case 153: x_QAbstractItemView::x_153(args);	break;
        case 154: x_QAbstractItemView::x_154(args);	break;
        case 155: x_QAbstractItemView::x_155(args);	break;
        case 156: x_QAbstractItemView::x_156(args);	break;
        case 157: x_QAbstractItemView::x_157(args);	break;
        case 158: x_QAbstractItemView::x_158(args);	break;
        case 159: x_QAbstractItemView::x_159(args);	break;
        case 160: x_QAbstractItemView::x_160(args);	break;
        case 161: x_QAbstractItemView::x_161(args);	break;
        case 162: x_QAbstractItemView::x_162(args);	break;
        case 163: x_QAbstractItemView::x_163(args);	break;
        case 164: x_QAbstractItemView::x_164(args);	break;
        case 165: x_QAbstractItemView::x_165(args);	break;
        case 166: x_QAbstractItemView::x_166(args);	break;
        case 167: x_QAbstractItemView::x_167(args);	break;
        case 168: x_QAbstractItemView::x_168(args);	break;
        case 169: x_QAbstractItemView::x_169(args);	break;
        case 170: x_QAbstractItemView::x_170(args);	break;
        case 171: x_QAbstractItemView::x_171(args);	break;
        case 172: x_QAbstractItemView::x_172(args);	break;
        case 173: x_QAbstractItemView::x_173(args);	break;
        case 174: x_QAbstractItemView::x_174(args);	break;
        case 175: x_QAbstractItemView::x_175(args);	break;
        case 176: x_QAbstractItemView::x_176(args);	break;
        case 177: x_QAbstractItemView::x_177(args);	break;
        case 178: x_QAbstractItemView::x_178(args);	break;
        case 179: x_QAbstractItemView::x_179(args);	break;
        case 180: x_QAbstractItemView::x_180(args);	break;
        case 181: x_QAbstractItemView::x_181(args);	break;
        case 182: x_QAbstractItemView::x_182(args);	break;
        case 183: x_QAbstractItemView::x_183(args);	break;
        case 184: x_QAbstractItemView::x_184(args);	break;
        case 185: x_QAbstractItemView::x_185(args);	break;
        case 186: x_QAbstractItemView::x_186(args);	break;
        case 187: x_QAbstractItemView::x_187(args);	break;
        case 188: x_QAbstractItemView::x_188(args);	break;
        case 189: x_QAbstractItemView::x_189(args);	break;
        case 190: x_QAbstractItemView::x_190(args);	break;
        case 191: x_QAbstractItemView::x_191(args);	break;
        case 192: x_QAbstractItemView::x_192(args);	break;
        case 193: delete (QAbstractItemView*)xself;	break;
    }
}
class x_QAbstractPageSetupDialog : public QAbstractPageSetupDialog, 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<QAbstractPageSetupDialog*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractPageSetupDialog*)this)->QAbstractPageSetupDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractPageSetupDialog*)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<QAbstractPageSetupDialog*>(this))) {
            void* xret = this->QAbstractPageSetupDialog::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 = QAbstractPageSetupDialog::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 = QAbstractPageSetupDialog::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 = QAbstractPageSetupDialog::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 = QAbstractPageSetupDialog::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<QAbstractPageSetupDialog*>(this))) {
            int xret = this->QAbstractPageSetupDialog::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) {
        // QAbstractPageSetupDialog* QAbstractPageSetupDialog(QPrinter*, QWidget*)
        x_QAbstractPageSetupDialog* xret = new x_QAbstractPageSetupDialog((QPrinter*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractPageSetupDialog(QPrinter* x1, QWidget* x2) : QAbstractPageSetupDialog(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // virtual int exec() = 0
        int xret = this->exec();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // void done(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractPageSetupDialog*>(this))) {
            this->QAbstractPageSetupDialog::done((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->done((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // QPrinter* printer()
        QPrinter* xret = this->QAbstractPageSetupDialog::printer();
        x[0].s_class = (void*)xret;
    }
    static void x_12(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractPageSetupDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractPageSetupDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // QAbstractPageSetupDialog* QAbstractPageSetupDialog(QPrinter*)
        x_QAbstractPageSetupDialog* xret = new x_QAbstractPageSetupDialog((QPrinter*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractPageSetupDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(318, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractPageSetupDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(319, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractPageSetupDialog::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(324, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractPageSetupDialog::qt_metacall(x1, x2, x3);
    }
    virtual int exec() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(326, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(327, (void*)this, x)) return;
        this->QAbstractPageSetupDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2580, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2581, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(2563, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2568, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2569, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15617, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15618, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15620, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2583, (void*)this, x)) return;
        this->QDialog::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15628, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2586, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2584, (void*)this, x)) return;
        this->QDialog::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2587, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2585, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15642, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15645, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15652, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15616, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(2588, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QAbstractPageSetupDialog() { this->_binding->deleted(7, (void*)this); }
};
void xcall_QAbstractPageSetupDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractPageSetupDialog *xself = (x_QAbstractPageSetupDialog*)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_QAbstractPageSetupDialog::x_3(args);	break;
        case 4: x_QAbstractPageSetupDialog::x_4(args);	break;
        case 5: x_QAbstractPageSetupDialog::x_5(args);	break;
        case 6: x_QAbstractPageSetupDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractPageSetupDialog::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_QAbstractPageSetupDialog::x_12(args);	break;
        case 13: x_QAbstractPageSetupDialog::x_13(args);	break;
        case 14: x_QAbstractPageSetupDialog::x_14(args);	break;
        case 15: x_QAbstractPageSetupDialog::x_15(args);	break;
        case 16: delete (QAbstractPageSetupDialog*)xself;	break;
    }
}
class x_QAbstractPrintDialog : public QAbstractPrintDialog, 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<QAbstractPrintDialog*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractPrintDialog*)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<QAbstractPrintDialog*>(this))) {
            void* xret = this->QAbstractPrintDialog::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 = QAbstractPrintDialog::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 = QAbstractPrintDialog::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 = QAbstractPrintDialog::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 = QAbstractPrintDialog::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<QAbstractPrintDialog*>(this))) {
            int xret = this->QAbstractPrintDialog::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) {
        // QAbstractPrintDialog* QAbstractPrintDialog(QPrinter*, QWidget*)
        x_QAbstractPrintDialog* xret = new x_QAbstractPrintDialog((QPrinter*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractPrintDialog(QPrinter* x1, QWidget* x2) : QAbstractPrintDialog(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // virtual int exec() = 0
        int xret = this->exec();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // void addEnabledOption(QAbstractPrintDialog::PrintDialogOption)
        this->QAbstractPrintDialog::addEnabledOption((QAbstractPrintDialog::PrintDialogOption)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setEnabledOptions(QFlags<QAbstractPrintDialog::PrintDialogOption>)
        this->QAbstractPrintDialog::setEnabledOptions((QFlags<QAbstractPrintDialog::PrintDialogOption>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QFlags<QAbstractPrintDialog::PrintDialogOption> enabledOptions() const
        QFlags<QAbstractPrintDialog::PrintDialogOption> xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::enabledOptions();
        x[0].s_uint = (uint)xret;
    }
    void x_13(Smoke::Stack x) {
        // bool isOptionEnabled(QAbstractPrintDialog::PrintDialogOption) const
        bool xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::isOptionEnabled((QAbstractPrintDialog::PrintDialogOption)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setOptionTabs(const QList<QWidget*>&)
        this->QAbstractPrintDialog::setOptionTabs(*(const QList<QWidget*>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setPrintRange(QAbstractPrintDialog::PrintRange)
        this->QAbstractPrintDialog::setPrintRange((QAbstractPrintDialog::PrintRange)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QAbstractPrintDialog::PrintRange printRange() const
        QAbstractPrintDialog::PrintRange xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::printRange();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setMinMax(int, int)
        this->QAbstractPrintDialog::setMinMax((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // int minPage() const
        int xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::minPage();
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // int maxPage() const
        int xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::maxPage();
        x[0].s_int = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setFromTo(int, int)
        this->QAbstractPrintDialog::setFromTo((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // int fromPage() const
        int xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::fromPage();
        x[0].s_int = xret;
    }
    void x_22(Smoke::Stack x) {
        // int toPage() const
        int xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::toPage();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // QPrinter* printer() const
        QPrinter* xret = ((const x_QAbstractPrintDialog*)this)->QAbstractPrintDialog::printer();
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractPrintDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractPrintDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_26(Smoke::Stack x) {
        // QAbstractPrintDialog* QAbstractPrintDialog(QPrinter*)
        x_QAbstractPrintDialog* xret = new x_QAbstractPrintDialog((QPrinter*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractPrintDialog::staticMetaObject;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::AllPages;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::Selection;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::PageRange;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::CurrentPage;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::None;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::PrintToFile;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::PrintSelection;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::PrintPageRange;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::PrintShowPageSize;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::PrintCollateCopies;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::DontUseSheet;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractPrintDialog::PrintCurrentPage;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(334, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractPrintDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(335, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractPrintDialog::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(340, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractPrintDialog::qt_metacall(x1, x2, x3);
    }
    virtual int exec() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(342, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2579, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2580, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2581, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(2563, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2568, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2569, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15617, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15618, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15620, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2583, (void*)this, x)) return;
        this->QDialog::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15628, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2586, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2584, (void*)this, x)) return;
        this->QDialog::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2587, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2585, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15642, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15645, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15652, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15616, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(2588, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 21: //QAbstractPrintDialog::PrintRange
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractPrintDialog::PrintRange;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractPrintDialog::PrintRange*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractPrintDialog::PrintRange*)xdata = (QAbstractPrintDialog::PrintRange)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractPrintDialog::PrintRange*)xdata;
                    break;
            }
            break;
        case 20: //QAbstractPrintDialog::PrintDialogOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractPrintDialog::PrintDialogOption;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractPrintDialog::PrintDialogOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractPrintDialog::PrintDialogOption*)xdata = (QAbstractPrintDialog::PrintDialogOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractPrintDialog::PrintDialogOption*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QAbstractPrintDialog() { this->_binding->deleted(8, (void*)this); }
};
void xenum_QAbstractPrintDialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QAbstractPrintDialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QAbstractPrintDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractPrintDialog *xself = (x_QAbstractPrintDialog*)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_QAbstractPrintDialog::x_3(args);	break;
        case 4: x_QAbstractPrintDialog::x_4(args);	break;
        case 5: x_QAbstractPrintDialog::x_5(args);	break;
        case 6: x_QAbstractPrintDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractPrintDialog::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_QAbstractPrintDialog::x_24(args);	break;
        case 25: x_QAbstractPrintDialog::x_25(args);	break;
        case 26: x_QAbstractPrintDialog::x_26(args);	break;
        case 27: x_QAbstractPrintDialog::x_27(args);	break;
        case 28: x_QAbstractPrintDialog::x_28(args);	break;
        case 29: x_QAbstractPrintDialog::x_29(args);	break;
        case 30: x_QAbstractPrintDialog::x_30(args);	break;
        case 31: x_QAbstractPrintDialog::x_31(args);	break;
        case 32: x_QAbstractPrintDialog::x_32(args);	break;
        case 33: x_QAbstractPrintDialog::x_33(args);	break;
        case 34: x_QAbstractPrintDialog::x_34(args);	break;
        case 35: x_QAbstractPrintDialog::x_35(args);	break;
        case 36: x_QAbstractPrintDialog::x_36(args);	break;
        case 37: x_QAbstractPrintDialog::x_37(args);	break;
        case 38: x_QAbstractPrintDialog::x_38(args);	break;
        case 39: x_QAbstractPrintDialog::x_39(args);	break;
        case 40: delete (QAbstractPrintDialog*)xself;	break;
    }
}
class x_QAbstractProxyModel : public QAbstractProxyModel, 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<QAbstractProxyModel*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractProxyModel*)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<QAbstractProxyModel*>(this))) {
            void* xret = this->QAbstractProxyModel::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 = QAbstractProxyModel::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 = QAbstractProxyModel::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 = QAbstractProxyModel::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 = QAbstractProxyModel::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<QAbstractProxyModel*>(this))) {
            int xret = this->QAbstractProxyModel::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) {
        // QAbstractProxyModel* QAbstractProxyModel(QObject*)
        x_QAbstractProxyModel* xret = new x_QAbstractProxyModel((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractProxyModel(QObject* x1) : QAbstractProxyModel(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void setSourceModel(QAbstractItemModel*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            this->QAbstractProxyModel::setSourceModel((QAbstractItemModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSourceModel((QAbstractItemModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // QAbstractItemModel* sourceModel() const
        QAbstractItemModel* xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::sourceModel();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // virtual QModelIndex mapToSource(const QModelIndex&) const = 0
        QModelIndex xret = ((const x_QAbstractProxyModel*)this)->mapToSource(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_12(Smoke::Stack x) {
        // virtual QModelIndex mapFromSource(const QModelIndex&) const = 0
        QModelIndex xret = ((const x_QAbstractProxyModel*)this)->mapFromSource(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_13(Smoke::Stack x) {
        // virtual QItemSelection mapSelectionToSource(const QItemSelection&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QItemSelection xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::mapSelectionToSource(*(const QItemSelection*)x[1].s_class);
            x[0].s_class = (void*)new QItemSelection(xret);
        } else {
            QItemSelection xret = ((const x_QAbstractProxyModel*)this)->mapSelectionToSource(*(const QItemSelection*)x[1].s_class);
            x[0].s_class = (void*)new QItemSelection(xret);
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual QItemSelection mapSelectionFromSource(const QItemSelection&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QItemSelection xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::mapSelectionFromSource(*(const QItemSelection*)x[1].s_class);
            x[0].s_class = (void*)new QItemSelection(xret);
        } else {
            QItemSelection xret = ((const x_QAbstractProxyModel*)this)->mapSelectionFromSource(*(const QItemSelection*)x[1].s_class);
            x[0].s_class = (void*)new QItemSelection(xret);
        }
    }
    void x_15(Smoke::Stack x) {
        // bool submit()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            bool xret = this->QAbstractProxyModel::submit();
            x[0].s_bool = xret;
        } else {
            bool xret = this->submit();
            x[0].s_bool = xret;
        }
    }
    void x_16(Smoke::Stack x) {
        // void revert()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            this->QAbstractProxyModel::revert();
            (void)x; // noop (for compiler warning)
        } else {
            this->revert();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_17(Smoke::Stack x) {
        // QVariant data(const QModelIndex&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QVariant xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::data(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QAbstractProxyModel*)this)->data(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_18(Smoke::Stack x) {
        // QVariant headerData(int, Qt::Orientation, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QVariant xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::headerData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,(int)x[3].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QAbstractProxyModel*)this)->headerData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,(int)x[3].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_19(Smoke::Stack x) {
        // QMap<int,QVariant> itemData(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QMap<int,QVariant> xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::itemData(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QMap<int,QVariant>(xret);
        } else {
            QMap<int,QVariant> xret = ((const x_QAbstractProxyModel*)this)->itemData(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QMap<int,QVariant>(xret);
        }
    }
    void x_20(Smoke::Stack x) {
        // QFlags<Qt::ItemFlag> flags(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QFlags<Qt::ItemFlag> xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::flags(*(const QModelIndex*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::ItemFlag> xret = ((const x_QAbstractProxyModel*)this)->flags(*(const QModelIndex*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        }
    }
    void x_21(Smoke::Stack x) {
        // bool setData(const QModelIndex&, const QVariant&, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            bool xret = this->QAbstractProxyModel::setData(*(const QModelIndex*)x[1].s_class,*(const QVariant*)x[2].s_class,(int)x[3].s_int);
            x[0].s_bool = xret;
        } else {
            bool xret = this->setData(*(const QModelIndex*)x[1].s_class,*(const QVariant*)x[2].s_class,(int)x[3].s_int);
            x[0].s_bool = xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // bool setItemData(const QModelIndex&, const QMap<int,QVariant>&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            bool xret = this->QAbstractProxyModel::setItemData(*(const QModelIndex*)x[1].s_class,*(const QMap<int,QVariant>*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->setItemData(*(const QModelIndex*)x[1].s_class,*(const QMap<int,QVariant>*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_23(Smoke::Stack x) {
        // bool setHeaderData(int, Qt::Orientation, const QVariant&, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            bool xret = this->QAbstractProxyModel::setHeaderData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,*(const QVariant*)x[3].s_class,(int)x[4].s_int);
            x[0].s_bool = xret;
        } else {
            bool xret = this->setHeaderData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,*(const QVariant*)x[3].s_class,(int)x[4].s_int);
            x[0].s_bool = xret;
        }
    }
    void x_24(Smoke::Stack x) {
        // QModelIndex buddy(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QModelIndex xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::buddy(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = ((const x_QAbstractProxyModel*)this)->buddy(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_25(Smoke::Stack x) {
        // bool canFetchMore(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            bool xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::canFetchMore(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QAbstractProxyModel*)this)->canFetchMore(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // void fetchMore(const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            this->QAbstractProxyModel::fetchMore(*(const QModelIndex*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->fetchMore(*(const QModelIndex*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // void sort(int, Qt::SortOrder)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            this->QAbstractProxyModel::sort((int)x[1].s_int,(Qt::SortOrder)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->sort((int)x[1].s_int,(Qt::SortOrder)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // QSize span(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QSize xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::span(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QAbstractProxyModel*)this)->span(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_29(Smoke::Stack x) {
        // bool hasChildren(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            bool xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::hasChildren(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QAbstractProxyModel*)this)->hasChildren(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_30(Smoke::Stack x) {
        // QMimeData* mimeData(const QList<QModelIndex>&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QMimeData* xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::mimeData(*(const QList<QModelIndex>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QMimeData* xret = ((const x_QAbstractProxyModel*)this)->mimeData(*(const QList<QModelIndex>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_31(Smoke::Stack x) {
        // QStringList mimeTypes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QStringList xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_QAbstractProxyModel*)this)->mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_32(Smoke::Stack x) {
        // QFlags<Qt::DropAction> supportedDropActions() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractProxyModel*>(this))) {
            QFlags<Qt::DropAction> xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::supportedDropActions();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::DropAction> xret = ((const x_QAbstractProxyModel*)this)->supportedDropActions();
            x[0].s_uint = (uint)xret;
        }
    }
    static void x_33(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractProxyModel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractProxyModel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_35(Smoke::Stack x) {
        // QAbstractProxyModel* QAbstractProxyModel()
        x_QAbstractProxyModel* xret = new x_QAbstractProxyModel((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_36(Smoke::Stack x) {
        // QVariant data(const QModelIndex&) const
        QVariant xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::data(*(const QModelIndex*)x[1].s_class,(int)Qt::DisplayRole);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_37(Smoke::Stack x) {
        // bool setData(const QModelIndex&, const QVariant&)
        bool xret = this->QAbstractProxyModel::setData(*(const QModelIndex*)x[1].s_class,*(const QVariant*)x[2].s_class,(int)Qt::EditRole);
        x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
        // bool setHeaderData(int, Qt::Orientation, const QVariant&)
        bool xret = this->QAbstractProxyModel::setHeaderData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,*(const QVariant*)x[3].s_class,(int)Qt::EditRole);
        x[0].s_bool = xret;
    }
    void x_39(Smoke::Stack x) {
        // void sort(int)
        this->QAbstractProxyModel::sort((int)x[1].s_int,(Qt::SortOrder)Qt::AscendingOrder);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // bool hasChildren() const
        bool xret = ((const x_QAbstractProxyModel*)this)->QAbstractProxyModel::hasChildren((const QModelIndex&)QModelIndex());
        x[0].s_bool = xret;
    }
    static void x_41(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractProxyModel::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(374, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractProxyModel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(375, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractProxyModel::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(380, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractProxyModel::qt_metacall(x1, x2, x3);
    }
    virtual void setSourceModel(QAbstractItemModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(382, (void*)this, x)) return;
        this->QAbstractProxyModel::setSourceModel(x1);
    }
    virtual QModelIndex mapToSource(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(384, (void*)this, x, true /*pure virtual*/);
        QModelIndex* xptr = (QModelIndex*)x[0].s_class;
        QModelIndex xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QModelIndex mapFromSource(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(385, (void*)this, x, true /*pure virtual*/);
        QModelIndex* xptr = (QModelIndex*)x[0].s_class;
        QModelIndex xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QItemSelection mapSelectionToSource(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(386, (void*)this, x)) {
            QItemSelection* xptr = (QItemSelection*)x[0].s_class;
            QItemSelection xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractProxyModel::mapSelectionToSource(x1);
    }
    virtual QItemSelection mapSelectionFromSource(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(387, (void*)this, x)) {
            QItemSelection* xptr = (QItemSelection*)x[0].s_class;
            QItemSelection xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractProxyModel::mapSelectionFromSource(x1);
    }
    virtual QModelIndex index(int x1, int x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        this->_binding->callMethod(101, (void*)this, x, true /*pure virtual*/);
        QModelIndex* xptr = (QModelIndex*)x[0].s_class;
        QModelIndex xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QModelIndex parent(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(102, (void*)this, x, true /*pure virtual*/);
        QModelIndex* xptr = (QModelIndex*)x[0].s_class;
        QModelIndex xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual int rowCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(103, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual int columnCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(104, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual bool hasChildren(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(402, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractProxyModel::hasChildren(x1);
    }
    virtual QVariant data(const QModelIndex& x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(390, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractProxyModel::data(x1, x2);
    }
    virtual bool setData(const QModelIndex& x1, const QVariant& x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(394, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractProxyModel::setData(x1, x2, x3);
    }
    virtual QVariant headerData(int x1, Qt::Orientation x2, int x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(391, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractProxyModel::headerData(x1, x2, x3);
    }
    virtual bool setHeaderData(int x1, Qt::Orientation x2, const QVariant& x3, int x4) {
        Smoke::StackItem x[5];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        if (this->_binding->callMethod(396, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractProxyModel::setHeaderData(x1, x2, x3, x4);
    }
    virtual QMap<int,QVariant> itemData(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(392, (void*)this, x)) {
            QMap<int,QVariant>* xptr = (QMap<int,QVariant>*)x[0].s_class;
            QMap<int,QVariant> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractProxyModel::itemData(x1);
    }
    virtual bool setItemData(const QModelIndex& x1, const QMap<int,QVariant>& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(395, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractProxyModel::setItemData(x1, x2);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(404, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractProxyModel::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QModelIndex>& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(403, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QAbstractProxyModel::mimeData(x1);
    }
    virtual bool dropMimeData(const QMimeData* x1, Qt::DropAction x2, int x3, int x4, const QModelIndex& x5) {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        x[3].s_int = x3;
        x[4].s_int = x4;
        x[5].s_class = (void*)&x5;
        if (this->_binding->callMethod(111, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::dropMimeData(x1, x2, x3, x4, x5);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(405, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QAbstractProxyModel::supportedDropActions();
    }
    virtual bool insertRows(int x1, int x2, const QModelIndex& 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(112, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::insertRows(x1, x2, x3);
    }
    virtual bool insertColumns(int x1, int x2, const QModelIndex& 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(113, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::insertColumns(x1, x2, x3);
    }
    virtual bool removeRows(int x1, int x2, const QModelIndex& 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(114, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::removeRows(x1, x2, x3);
    }
    virtual bool removeColumns(int x1, int x2, const QModelIndex& 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(115, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::removeColumns(x1, x2, x3);
    }
    virtual void fetchMore(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(399, (void*)this, x)) return;
        this->QAbstractProxyModel::fetchMore(x1);
    }
    virtual bool canFetchMore(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(398, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractProxyModel::canFetchMore(x1);
    }
    virtual QFlags<Qt::ItemFlag> flags(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(393, (void*)this, x)) return (QFlags<Qt::ItemFlag>)x[0].s_uint;
        return this->QAbstractProxyModel::flags(x1);
    }
    virtual void sort(int x1, Qt::SortOrder x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(400, (void*)this, x)) return;
        this->QAbstractProxyModel::sort(x1, x2);
    }
    virtual QModelIndex buddy(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(397, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractProxyModel::buddy(x1);
    }
    virtual QList<QModelIndex> match(const QModelIndex& x1, int x2, const QVariant& x3, int x4, QFlags<Qt::MatchFlag> x5) const {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        x[5].s_uint = (uint)x5;
        if (this->_binding->callMethod(119, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::match(x1, x2, x3, x4, x5);
    }
    virtual QSize span(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(401, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractProxyModel::span(x1);
    }
    virtual bool submit() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(388, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractProxyModel::submit();
    }
    virtual void revert() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(389, (void*)this, x)) return;
        this->QAbstractProxyModel::revert();
    }
    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_QAbstractProxyModel() { this->_binding->deleted(9, (void*)this); }
};
void xcall_QAbstractProxyModel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractProxyModel *xself = (x_QAbstractProxyModel*)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_QAbstractProxyModel::x_3(args);	break;
        case 4: x_QAbstractProxyModel::x_4(args);	break;
        case 5: x_QAbstractProxyModel::x_5(args);	break;
        case 6: x_QAbstractProxyModel::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractProxyModel::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: x_QAbstractProxyModel::x_33(args);	break;
        case 34: x_QAbstractProxyModel::x_34(args);	break;
        case 35: x_QAbstractProxyModel::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_QAbstractProxyModel::x_41(args);	break;
        case 42: delete (QAbstractProxyModel*)xself;	break;
    }
}
class x_QAbstractScrollArea : public QAbstractScrollArea, 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<QAbstractScrollArea*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractScrollArea*)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<QAbstractScrollArea*>(this))) {
            void* xret = this->QAbstractScrollArea::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 = QAbstractScrollArea::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 = QAbstractScrollArea::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 = QAbstractScrollArea::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 = QAbstractScrollArea::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<QAbstractScrollArea*>(this))) {
            int xret = this->QAbstractScrollArea::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) {
        // QAbstractScrollArea* QAbstractScrollArea(QWidget*)
        x_QAbstractScrollArea* xret = new x_QAbstractScrollArea((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractScrollArea(QWidget* x1) : QAbstractScrollArea(x1) {}
    void x_9(Smoke::Stack x) {
        // Qt::ScrollBarPolicy verticalScrollBarPolicy() const
        Qt::ScrollBarPolicy xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::verticalScrollBarPolicy();
        x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setVerticalScrollBarPolicy(Qt::ScrollBarPolicy)
        this->QAbstractScrollArea::setVerticalScrollBarPolicy((Qt::ScrollBarPolicy)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QScrollBar* verticalScrollBar() const
        QScrollBar* xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::verticalScrollBar();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // void setVerticalScrollBar(QScrollBar*)
        this->QAbstractScrollArea::setVerticalScrollBar((QScrollBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // Qt::ScrollBarPolicy horizontalScrollBarPolicy() const
        Qt::ScrollBarPolicy xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::horizontalScrollBarPolicy();
        x[0].s_enum = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy)
        this->QAbstractScrollArea::setHorizontalScrollBarPolicy((Qt::ScrollBarPolicy)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QScrollBar* horizontalScrollBar() const
        QScrollBar* xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::horizontalScrollBar();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // void setHorizontalScrollBar(QScrollBar*)
        this->QAbstractScrollArea::setHorizontalScrollBar((QScrollBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QWidget* cornerWidget() const
        QWidget* xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::cornerWidget();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // void setCornerWidget(QWidget*)
        this->QAbstractScrollArea::setCornerWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void addScrollBarWidget(QWidget*, QFlags<Qt::AlignmentFlag>)
        this->QAbstractScrollArea::addScrollBarWidget((QWidget*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // QList<QWidget*> scrollBarWidgets(QFlags<Qt::AlignmentFlag>)
        QList<QWidget*> xret = this->QAbstractScrollArea::scrollBarWidgets((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        x[0].s_class = (void*)new QList<QWidget*>(xret);
    }
    void x_21(Smoke::Stack x) {
        // QWidget* viewport() const
        QWidget* xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::viewport();
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // void setViewport(QWidget*)
        this->QAbstractScrollArea::setViewport((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QSize maximumViewportSize() const
        QSize xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::maximumViewportSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_24(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            QSize xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QAbstractScrollArea*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_25(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            QSize xret = ((const x_QAbstractScrollArea*)this)->QAbstractScrollArea::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QAbstractScrollArea*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_26(Smoke::Stack x) {
        // void setupViewport(QWidget*)
        this->QAbstractScrollArea::setupViewport((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setViewportMargins(int, int, int, int)
        this->QAbstractScrollArea::setViewportMargins((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_28(Smoke::Stack x) {
        // void setViewportMargins(const QMargins&)
        this->QAbstractScrollArea::setViewportMargins(*(const QMargins*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            bool xret = this->QAbstractScrollArea::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_30(Smoke::Stack x) {
        // virtual bool viewportEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            bool xret = this->QAbstractScrollArea::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_31(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::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_32(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::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_33(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::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_34(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::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_35(Smoke::Stack x) {
        // void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::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_36(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::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_37(Smoke::Stack x) {
        // void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_38(Smoke::Stack x) {
        // void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_39(Smoke::Stack x) {
        // void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_40(Smoke::Stack x) {
        // void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::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_41(Smoke::Stack x) {
        // void dragLeaveEvent(QDragLeaveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_42(Smoke::Stack x) {
        // void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::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_44(Smoke::Stack x) {
        // virtual void scrollContentsBy(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractScrollArea*>(this))) {
            this->QAbstractScrollArea::scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_45(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractScrollArea::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_46(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractScrollArea::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_47(Smoke::Stack x) {
        // QAbstractScrollArea* QAbstractScrollArea()
        x_QAbstractScrollArea* xret = new x_QAbstractScrollArea((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_48(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractScrollArea::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(416, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractScrollArea::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(417, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractScrollArea::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(422, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractScrollArea::qt_metacall(x1, x2, x3);
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(445, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractScrollArea::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(459, (void*)this, x)) return;
        this->QAbstractScrollArea::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(448, (void*)this, x)) return;
        this->QAbstractScrollArea::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(449, (void*)this, x)) return;
        this->QAbstractScrollArea::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(450, (void*)this, x)) return;
        this->QAbstractScrollArea::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(451, (void*)this, x)) return;
        this->QAbstractScrollArea::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(452, (void*)this, x)) return;
        this->QAbstractScrollArea::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(458, (void*)this, x)) return;
        this->QAbstractScrollArea::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(447, (void*)this, x)) return;
        this->QAbstractScrollArea::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(446, (void*)this, x)) return;
        this->QAbstractScrollArea::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(453, (void*)this, x)) return;
        this->QAbstractScrollArea::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(454, (void*)this, x)) return;
        this->QAbstractScrollArea::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(455, (void*)this, x)) return;
        this->QAbstractScrollArea::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(456, (void*)this, x)) return;
        this->QAbstractScrollArea::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(457, (void*)this, x)) return;
        this->QAbstractScrollArea::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15639, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3700, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15645, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15652, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(444, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractScrollArea::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_QAbstractScrollArea() { this->_binding->deleted(10, (void*)this); }
};
void xcall_QAbstractScrollArea(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractScrollArea *xself = (x_QAbstractScrollArea*)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_QAbstractScrollArea::x_3(args);	break;
        case 4: x_QAbstractScrollArea::x_4(args);	break;
        case 5: x_QAbstractScrollArea::x_5(args);	break;
        case 6: x_QAbstractScrollArea::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractScrollArea::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: x_QAbstractScrollArea::x_45(args);	break;
        case 46: x_QAbstractScrollArea::x_46(args);	break;
        case 47: x_QAbstractScrollArea::x_47(args);	break;
        case 48: x_QAbstractScrollArea::x_48(args);	break;
        case 49: delete (QAbstractScrollArea*)xself;	break;
    }
}
class x_QAbstractSlider : public QAbstractSlider, 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<QAbstractSlider*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractSlider*)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<QAbstractSlider*>(this))) {
            void* xret = this->QAbstractSlider::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 = QAbstractSlider::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 = QAbstractSlider::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 = QAbstractSlider::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 = QAbstractSlider::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<QAbstractSlider*>(this))) {
            int xret = this->QAbstractSlider::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) {
        // QAbstractSlider* QAbstractSlider(QWidget*)
        x_QAbstractSlider* xret = new x_QAbstractSlider((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractSlider(QWidget* x1) : QAbstractSlider(x1) {}
    void x_9(Smoke::Stack x) {
        // Qt::Orientation orientation() const
        Qt::Orientation xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::orientation();
        x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setMinimum(int)
        this->QAbstractSlider::setMinimum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // int minimum() const
        int xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::minimum();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setMaximum(int)
        this->QAbstractSlider::setMaximum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // int maximum() const
        int xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::maximum();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setRange(int, int)
        this->QAbstractSlider::setRange((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setSingleStep(int)
        this->QAbstractSlider::setSingleStep((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // int singleStep() const
        int xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::singleStep();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setPageStep(int)
        this->QAbstractSlider::setPageStep((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // int pageStep() const
        int xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::pageStep();
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setTracking(bool)
        this->QAbstractSlider::setTracking((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool hasTracking() const
        bool xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::hasTracking();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setSliderDown(bool)
        this->QAbstractSlider::setSliderDown((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool isSliderDown() const
        bool xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::isSliderDown();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setSliderPosition(int)
        this->QAbstractSlider::setSliderPosition((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // int sliderPosition() const
        int xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::sliderPosition();
        x[0].s_int = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setInvertedAppearance(bool)
        this->QAbstractSlider::setInvertedAppearance((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // bool invertedAppearance() const
        bool xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::invertedAppearance();
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setInvertedControls(bool)
        this->QAbstractSlider::setInvertedControls((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool invertedControls() const
        bool xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::invertedControls();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // int value() const
        int xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::value();
        x[0].s_int = xret;
    }
    void x_30(Smoke::Stack x) {
        // void triggerAction(QAbstractSlider::SliderAction)
        this->QAbstractSlider::triggerAction((QAbstractSlider::SliderAction)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setValue(int)
        this->QAbstractSlider::setValue((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setOrientation(Qt::Orientation)
        this->QAbstractSlider::setOrientation((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void valueChanged(int)
        this->QAbstractSlider::valueChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void sliderPressed()
        this->QAbstractSlider::sliderPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void sliderMoved(int)
        this->QAbstractSlider::sliderMoved((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void sliderReleased()
        this->QAbstractSlider::sliderReleased();
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void rangeChanged(int, int)
        this->QAbstractSlider::rangeChanged((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void actionTriggered(int)
        this->QAbstractSlider::actionTriggered((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSlider*>(this))) {
            bool xret = this->QAbstractSlider::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_40(Smoke::Stack x) {
        // void setRepeatAction(QAbstractSlider::SliderAction, int, int)
        this->QAbstractSlider::setRepeatAction((QAbstractSlider::SliderAction)x[1].s_enum,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // QAbstractSlider::SliderAction repeatAction() const
        QAbstractSlider::SliderAction xret = ((const x_QAbstractSlider*)this)->QAbstractSlider::repeatAction();
        x[0].s_enum = xret;
    }
    void x_42(Smoke::Stack x) {
        // virtual void sliderChange(QAbstractSlider::SliderChange)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSlider*>(this))) {
            this->QAbstractSlider::sliderChange((QAbstractSlider::SliderChange)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->sliderChange((QAbstractSlider::SliderChange)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSlider*>(this))) {
            this->QAbstractSlider::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_44(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSlider*>(this))) {
            this->QAbstractSlider::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_45(Smoke::Stack x) {
        // void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSlider*>(this))) {
            this->QAbstractSlider::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSlider*>(this))) {
            this->QAbstractSlider::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_47(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractSlider::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_48(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractSlider::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_49(Smoke::Stack x) {
        // QAbstractSlider* QAbstractSlider()
        x_QAbstractSlider* xret = new x_QAbstractSlider((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_50(Smoke::Stack x) {
        // void setRepeatAction(QAbstractSlider::SliderAction)
        this->QAbstractSlider::setRepeatAction((QAbstractSlider::SliderAction)x[1].s_enum,(int)500,(int)50);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void setRepeatAction(QAbstractSlider::SliderAction, int)
        this->QAbstractSlider::setRepeatAction((QAbstractSlider::SliderAction)x[1].s_enum,(int)x[2].s_int,(int)50);
        (void)x; // noop (for compiler warning)
    }
    static void x_52(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractSlider::staticMetaObject;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderNoAction;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderSingleStepAdd;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderSingleStepSub;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderPageStepAdd;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderPageStepSub;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderToMinimum;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderToMaximum;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderMove;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderRangeChange;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderOrientationChange;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderStepsChange;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSlider::SliderValueChange;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(465, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractSlider::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(466, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractSlider::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(471, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractSlider::qt_metacall(x1, x2, x3);
    }
    virtual void sliderChange(QAbstractSlider::SliderChange x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(506, (void*)this, x)) return;
        this->QAbstractSlider::sliderChange(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(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(509, (void*)this, x)) return;
        this->QAbstractSlider::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(507, (void*)this, x)) return;
        this->QAbstractSlider::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15628, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15630, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15632, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15639, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(510, (void*)this, x)) return;
        this->QAbstractSlider::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(503, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractSlider::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(508, (void*)this, x)) return;
        this->QAbstractSlider::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 25: //QAbstractSlider::SliderAction
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractSlider::SliderAction;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractSlider::SliderAction*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractSlider::SliderAction*)xdata = (QAbstractSlider::SliderAction)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractSlider::SliderAction*)xdata;
                    break;
            }
            break;
        case 26: //QAbstractSlider::SliderChange
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractSlider::SliderChange;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractSlider::SliderChange*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractSlider::SliderChange*)xdata = (QAbstractSlider::SliderChange)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractSlider::SliderChange*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QAbstractSlider() { this->_binding->deleted(11, (void*)this); }
};
void xenum_QAbstractSlider(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QAbstractSlider::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QAbstractSlider(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractSlider *xself = (x_QAbstractSlider*)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_QAbstractSlider::x_3(args);	break;
        case 4: x_QAbstractSlider::x_4(args);	break;
        case 5: x_QAbstractSlider::x_5(args);	break;
        case 6: x_QAbstractSlider::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractSlider::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: x_QAbstractSlider::x_47(args);	break;
        case 48: x_QAbstractSlider::x_48(args);	break;
        case 49: x_QAbstractSlider::x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: x_QAbstractSlider::x_52(args);	break;
        case 53: x_QAbstractSlider::x_53(args);	break;
        case 54: x_QAbstractSlider::x_54(args);	break;
        case 55: x_QAbstractSlider::x_55(args);	break;
        case 56: x_QAbstractSlider::x_56(args);	break;
        case 57: x_QAbstractSlider::x_57(args);	break;
        case 58: x_QAbstractSlider::x_58(args);	break;
        case 59: x_QAbstractSlider::x_59(args);	break;
        case 60: x_QAbstractSlider::x_60(args);	break;
        case 61: x_QAbstractSlider::x_61(args);	break;
        case 62: x_QAbstractSlider::x_62(args);	break;
        case 63: x_QAbstractSlider::x_63(args);	break;
        case 64: x_QAbstractSlider::x_64(args);	break;
        case 65: delete (QAbstractSlider*)xself;	break;
    }
}
class x_QAbstractSpinBox : public QAbstractSpinBox, 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<QAbstractSpinBox*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractSpinBox*)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<QAbstractSpinBox*>(this))) {
            void* xret = this->QAbstractSpinBox::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 = QAbstractSpinBox::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 = QAbstractSpinBox::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 = QAbstractSpinBox::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 = QAbstractSpinBox::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<QAbstractSpinBox*>(this))) {
            int xret = this->QAbstractSpinBox::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) {
        // QAbstractSpinBox* QAbstractSpinBox(QWidget*)
        x_QAbstractSpinBox* xret = new x_QAbstractSpinBox((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractSpinBox(QWidget* x1) : QAbstractSpinBox(x1) {}
    void x_9(Smoke::Stack x) {
        // QAbstractSpinBox::ButtonSymbols buttonSymbols() const
        QAbstractSpinBox::ButtonSymbols xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::buttonSymbols();
        x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setButtonSymbols(QAbstractSpinBox::ButtonSymbols)
        this->QAbstractSpinBox::setButtonSymbols((QAbstractSpinBox::ButtonSymbols)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setCorrectionMode(QAbstractSpinBox::CorrectionMode)
        this->QAbstractSpinBox::setCorrectionMode((QAbstractSpinBox::CorrectionMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QAbstractSpinBox::CorrectionMode correctionMode() const
        QAbstractSpinBox::CorrectionMode xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::correctionMode();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool hasAcceptableInput() const
        bool xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::hasAcceptableInput();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // QString specialValueText() const
        QString xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::specialValueText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setSpecialValueText(const QString&)
        this->QAbstractSpinBox::setSpecialValueText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool wrapping() const
        bool xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::wrapping();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setWrapping(bool)
        this->QAbstractSpinBox::setWrapping((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setReadOnly(bool)
        this->QAbstractSpinBox::setReadOnly((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool isReadOnly() const
        bool xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::isReadOnly();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setKeyboardTracking(bool)
        this->QAbstractSpinBox::setKeyboardTracking((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool keyboardTracking() const
        bool xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::keyboardTracking();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->QAbstractSpinBox::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_25(Smoke::Stack x) {
        // void setFrame(bool)
        this->QAbstractSpinBox::setFrame((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // bool hasFrame() const
        bool xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::hasFrame();
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setAccelerated(bool)
        this->QAbstractSpinBox::setAccelerated((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool isAccelerated() const
        bool xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::isAccelerated();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            QSize xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QAbstractSpinBox*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_30(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            QSize xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QAbstractSpinBox*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_31(Smoke::Stack x) {
        // void interpretText()
        this->QAbstractSpinBox::interpretText();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            bool xret = this->QAbstractSpinBox::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_33(Smoke::Stack x) {
        // QVariant inputMethodQuery(Qt::InputMethodQuery) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            QVariant xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QAbstractSpinBox*)this)->inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_34(Smoke::Stack x) {
        // virtual QValidator::State validate(QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            QValidator::State xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        } else {
            QValidator::State xret = ((const x_QAbstractSpinBox*)this)->validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        }
    }
    void x_35(Smoke::Stack x) {
        // virtual void fixup(QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QAbstractSpinBox*)this)->fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_36(Smoke::Stack x) {
        // virtual void stepBy(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::stepBy((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->stepBy((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_37(Smoke::Stack x) {
        // void stepUp()
        this->QAbstractSpinBox::stepUp();
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void stepDown()
        this->QAbstractSpinBox::stepDown();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void selectAll()
        this->QAbstractSpinBox::selectAll();
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // virtual void clear()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::clear();
            (void)x; // noop (for compiler warning)
        } else {
            this->clear();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_41(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::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_42(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::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_43(Smoke::Stack x) {
        // void keyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::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 closeEvent(QCloseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::closeEvent((QCloseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->closeEvent((QCloseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_51(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::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_52(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::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_53(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::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_56(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            this->QAbstractSpinBox::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_57(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionSpinBox*) const
        ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::initStyleOption((QStyleOptionSpinBox*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // QLineEdit* lineEdit() const
        QLineEdit* xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::lineEdit();
        x[0].s_class = (void*)xret;
    }
    void x_59(Smoke::Stack x) {
        // void setLineEdit(QLineEdit*)
        this->QAbstractSpinBox::setLineEdit((QLineEdit*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // virtual QFlags<QAbstractSpinBox::StepEnabledFlag> stepEnabled() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractSpinBox*>(this))) {
            QFlags<QAbstractSpinBox::StepEnabledFlag> xret = ((const x_QAbstractSpinBox*)this)->QAbstractSpinBox::stepEnabled();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<QAbstractSpinBox::StepEnabledFlag> xret = ((const x_QAbstractSpinBox*)this)->stepEnabled();
            x[0].s_uint = (uint)xret;
        }
    }
    void x_61(Smoke::Stack x) {
        // void editingFinished()
        this->QAbstractSpinBox::editingFinished();
        (void)x; // noop (for compiler warning)
    }
    static void x_62(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractSpinBox::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_63(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractSpinBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_64(Smoke::Stack x) {
        // QAbstractSpinBox* QAbstractSpinBox()
        x_QAbstractSpinBox* xret = new x_QAbstractSpinBox((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_65(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractSpinBox::staticMetaObject;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSpinBox::StepNone;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSpinBox::StepUpEnabled;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSpinBox::StepDownEnabled;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSpinBox::UpDownArrows;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSpinBox::PlusMinus;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSpinBox::NoButtons;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSpinBox::CorrectToPreviousValue;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QAbstractSpinBox::CorrectToNearestValue;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(530, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractSpinBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(531, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractSpinBox::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(536, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractSpinBox::qt_metacall(x1, x2, x3);
    }
    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(563, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->QAbstractSpinBox::validate(x1, x2);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(564, (void*)this, x)) return;
        this->QAbstractSpinBox::fixup(x1);
    }
    virtual void stepBy(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(565, (void*)this, x)) return;
        this->QAbstractSpinBox::stepBy(x1);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(569, (void*)this, x)) return;
        this->QAbstractSpinBox::clear();
    }
    virtual QFlags<QAbstractSpinBox::StepEnabledFlag> stepEnabled() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(589, (void*)this, x)) return (QFlags<QAbstractSpinBox::StepEnabledFlag>)x[0].s_uint;
        return this->QAbstractSpinBox::stepEnabled();
    }
    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(558, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSpinBox::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 mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(580, (void*)this, x)) return;
        this->QAbstractSpinBox::mousePressEvent(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 wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(573, (void*)this, x)) return;
        this->QAbstractSpinBox::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(571, (void*)this, x)) return;
        this->QAbstractSpinBox::keyPressEvent(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 focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(574, (void*)this, x)) return;
        this->QAbstractSpinBox::focusInEvent(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 paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(584, (void*)this, x)) return;
        this->QAbstractSpinBox::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(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 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(561, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractSpinBox::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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 30: //QAbstractSpinBox::StepEnabledFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractSpinBox::StepEnabledFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractSpinBox::StepEnabledFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractSpinBox::StepEnabledFlag*)xdata = (QAbstractSpinBox::StepEnabledFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractSpinBox::StepEnabledFlag*)xdata;
                    break;
            }
            break;
        case 28: //QAbstractSpinBox::ButtonSymbols
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractSpinBox::ButtonSymbols;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractSpinBox::ButtonSymbols*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractSpinBox::ButtonSymbols*)xdata = (QAbstractSpinBox::ButtonSymbols)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractSpinBox::ButtonSymbols*)xdata;
                    break;
            }
            break;
        case 29: //QAbstractSpinBox::CorrectionMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAbstractSpinBox::CorrectionMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QAbstractSpinBox::CorrectionMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAbstractSpinBox::CorrectionMode*)xdata = (QAbstractSpinBox::CorrectionMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAbstractSpinBox::CorrectionMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QAbstractSpinBox() { this->_binding->deleted(12, (void*)this); }
};
void xenum_QAbstractSpinBox(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QAbstractSpinBox::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QAbstractSpinBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractSpinBox *xself = (x_QAbstractSpinBox*)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_QAbstractSpinBox::x_3(args);	break;
        case 4: x_QAbstractSpinBox::x_4(args);	break;
        case 5: x_QAbstractSpinBox::x_5(args);	break;
        case 6: x_QAbstractSpinBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractSpinBox::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: x_QAbstractSpinBox::x_62(args);	break;
        case 63: x_QAbstractSpinBox::x_63(args);	break;
        case 64: x_QAbstractSpinBox::x_64(args);	break;
        case 65: x_QAbstractSpinBox::x_65(args);	break;
        case 66: x_QAbstractSpinBox::x_66(args);	break;
        case 67: x_QAbstractSpinBox::x_67(args);	break;
        case 68: x_QAbstractSpinBox::x_68(args);	break;
        case 69: x_QAbstractSpinBox::x_69(args);	break;
        case 70: x_QAbstractSpinBox::x_70(args);	break;
        case 71: x_QAbstractSpinBox::x_71(args);	break;
        case 72: x_QAbstractSpinBox::x_72(args);	break;
        case 73: x_QAbstractSpinBox::x_73(args);	break;
        case 74: delete (QAbstractSpinBox*)xself;	break;
    }
}
class x_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout, 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<QAbstractTextDocumentLayout*>(this))) {
            const QMetaObject* xret = ((const x_QAbstractTextDocumentLayout*)this)->QAbstractTextDocumentLayout::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QAbstractTextDocumentLayout*)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<QAbstractTextDocumentLayout*>(this))) {
            void* xret = this->QAbstractTextDocumentLayout::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 = QAbstractTextDocumentLayout::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 = QAbstractTextDocumentLayout::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 = QAbstractTextDocumentLayout::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 = QAbstractTextDocumentLayout::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<QAbstractTextDocumentLayout*>(this))) {
            int xret = this->QAbstractTextDocumentLayout::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) {
        // QAbstractTextDocumentLayout* QAbstractTextDocumentLayout(QTextDocument*)
        x_QAbstractTextDocumentLayout* xret = new x_QAbstractTextDocumentLayout((QTextDocument*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractTextDocumentLayout(QTextDocument* x1) : QAbstractTextDocumentLayout(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QAbstractTextDocumentLayout::PaintContext&) = 0
        this->draw((QPainter*)x[1].s_class,*(const QAbstractTextDocumentLayout::PaintContext*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // virtual int hitTest(const QPointF&, Qt::HitTestAccuracy) const = 0
        int xret = ((const x_QAbstractTextDocumentLayout*)this)->hitTest(*(const QPointF*)x[1].s_class,(Qt::HitTestAccuracy)x[2].s_enum);
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // QString anchorAt(const QPointF&) const
        QString xret = ((const x_QAbstractTextDocumentLayout*)this)->QAbstractTextDocumentLayout::anchorAt(*(const QPointF*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // virtual int pageCount() const = 0
        int xret = ((const x_QAbstractTextDocumentLayout*)this)->pageCount();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // virtual QSizeF documentSize() const = 0
        QSizeF xret = ((const x_QAbstractTextDocumentLayout*)this)->documentSize();
        x[0].s_class = (void*)new QSizeF(xret);
    }
    void x_14(Smoke::Stack x) {
        // virtual QRectF frameBoundingRect(QTextFrame*) const = 0
        QRectF xret = ((const x_QAbstractTextDocumentLayout*)this)->frameBoundingRect((QTextFrame*)x[1].s_class);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_15(Smoke::Stack x) {
        // virtual QRectF blockBoundingRect(const QTextBlock&) const = 0
        QRectF xret = ((const x_QAbstractTextDocumentLayout*)this)->blockBoundingRect(*(const QTextBlock*)x[1].s_class);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setPaintDevice(QPaintDevice*)
        this->QAbstractTextDocumentLayout::setPaintDevice((QPaintDevice*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QPaintDevice* paintDevice() const
        QPaintDevice* xret = ((const x_QAbstractTextDocumentLayout*)this)->QAbstractTextDocumentLayout::paintDevice();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // QTextDocument* document() const
        QTextDocument* xret = ((const x_QAbstractTextDocumentLayout*)this)->QAbstractTextDocumentLayout::document();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void registerHandler(int, QObject*)
        this->QAbstractTextDocumentLayout::registerHandler((int)x[1].s_int,(QObject*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // QTextObjectInterface* handlerForObject(int) const
        QTextObjectInterface* xret = ((const x_QAbstractTextDocumentLayout*)this)->QAbstractTextDocumentLayout::handlerForObject((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // void update(const QRectF&)
        this->QAbstractTextDocumentLayout::update(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void updateBlock(const QTextBlock&)
        this->QAbstractTextDocumentLayout::updateBlock(*(const QTextBlock*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void documentSizeChanged(const QSizeF&)
        this->QAbstractTextDocumentLayout::documentSizeChanged(*(const QSizeF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void pageCountChanged(int)
        this->QAbstractTextDocumentLayout::pageCountChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // virtual void documentChanged(int, int, int) = 0
        this->documentChanged((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // virtual void resizeInlineObject(QTextInlineObject, int, const QTextFormat&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractTextDocumentLayout*>(this))) {
            this->QAbstractTextDocumentLayout::resizeInlineObject(*(QTextInlineObject*)x[1].s_class,(int)x[2].s_int,*(const QTextFormat*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeInlineObject(*(QTextInlineObject*)x[1].s_class,(int)x[2].s_int,*(const QTextFormat*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void positionInlineObject(QTextInlineObject, int, const QTextFormat&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractTextDocumentLayout*>(this))) {
            this->QAbstractTextDocumentLayout::positionInlineObject(*(QTextInlineObject*)x[1].s_class,(int)x[2].s_int,*(const QTextFormat*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->positionInlineObject(*(QTextInlineObject*)x[1].s_class,(int)x[2].s_int,*(const QTextFormat*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual void drawInlineObject(QPainter*, const QRectF&, QTextInlineObject, int, const QTextFormat&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAbstractTextDocumentLayout*>(this))) {
            this->QAbstractTextDocumentLayout::drawInlineObject((QPainter*)x[1].s_class,*(const QRectF*)x[2].s_class,*(QTextInlineObject*)x[3].s_class,(int)x[4].s_int,*(const QTextFormat*)x[5].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawInlineObject((QPainter*)x[1].s_class,*(const QRectF*)x[2].s_class,*(QTextInlineObject*)x[3].s_class,(int)x[4].s_int,*(const QTextFormat*)x[5].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // int formatIndex(int)
        int xret = this->QAbstractTextDocumentLayout::formatIndex((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_30(Smoke::Stack x) {
        // QTextCharFormat format(int)
        QTextCharFormat xret = this->QAbstractTextDocumentLayout::format((int)x[1].s_int);
        x[0].s_class = (void*)new QTextCharFormat(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QAbstractTextDocumentLayout::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QAbstractTextDocumentLayout::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_33(Smoke::Stack x) {
        // void update()
        this->QAbstractTextDocumentLayout::update((const QRectF&)QRectF(0.,0.,1000000000.,1000000000.));
        (void)x; // noop (for compiler warning)
    }
    static void x_34(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QAbstractTextDocumentLayout::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(604, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QAbstractTextDocumentLayout::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(605, (void*)this, x)) return (void*)x[0].s_class;
        return this->QAbstractTextDocumentLayout::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(610, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractTextDocumentLayout::qt_metacall(x1, x2, x3);
    }
    virtual void draw(QPainter* x1, const QAbstractTextDocumentLayout::PaintContext& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        this->_binding->callMethod(612, (void*)this, x, true /*pure virtual*/);
    }
    virtual int hitTest(const QPointF& x1, Qt::HitTestAccuracy x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        this->_binding->callMethod(613, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual int pageCount() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(615, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual QSizeF documentSize() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(616, (void*)this, x, true /*pure virtual*/);
        QSizeF* xptr = (QSizeF*)x[0].s_class;
        QSizeF xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QRectF frameBoundingRect(QTextFrame* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(617, (void*)this, x, true /*pure virtual*/);
        QRectF* xptr = (QRectF*)x[0].s_class;
        QRectF xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QRectF blockBoundingRect(const QTextBlock& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(618, (void*)this, x, true /*pure virtual*/);
        QRectF* xptr = (QRectF*)x[0].s_class;
        QRectF xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual void documentChanged(int x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        this->_binding->callMethod(628, (void*)this, x, true /*pure virtual*/);
    }
    virtual void resizeInlineObject(QTextInlineObject x1, int x2, const QTextFormat& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)new QTextInlineObject(x1);
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(629, (void*)this, x)) return;
        this->QAbstractTextDocumentLayout::resizeInlineObject(x1, x2, x3);
    }
    virtual void positionInlineObject(QTextInlineObject x1, int x2, const QTextFormat& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)new QTextInlineObject(x1);
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(630, (void*)this, x)) return;
        this->QAbstractTextDocumentLayout::positionInlineObject(x1, x2, x3);
    }
    virtual void drawInlineObject(QPainter* x1, const QRectF& x2, QTextInlineObject x3, int x4, const QTextFormat& x5) {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)new QTextInlineObject(x3);
        x[4].s_int = x4;
        x[5].s_class = (void*)&x5;
        if (this->_binding->callMethod(631, (void*)this, x)) return;
        this->QAbstractTextDocumentLayout::drawInlineObject(x1, x2, x3, x4, x5);
    }
    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_QAbstractTextDocumentLayout() { this->_binding->deleted(13, (void*)this); }
};
void xcall_QAbstractTextDocumentLayout(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractTextDocumentLayout *xself = (x_QAbstractTextDocumentLayout*)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_QAbstractTextDocumentLayout::x_3(args);	break;
        case 4: x_QAbstractTextDocumentLayout::x_4(args);	break;
        case 5: x_QAbstractTextDocumentLayout::x_5(args);	break;
        case 6: x_QAbstractTextDocumentLayout::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QAbstractTextDocumentLayout::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: x_QAbstractTextDocumentLayout::x_31(args);	break;
        case 32: x_QAbstractTextDocumentLayout::x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: x_QAbstractTextDocumentLayout::x_34(args);	break;
        case 35: delete (QAbstractTextDocumentLayout*)xself;	break;
    }
}
class x_QAbstractTextDocumentLayout__PaintContext : public QAbstractTextDocumentLayout::PaintContext {
    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) {
        // QAbstractTextDocumentLayout::PaintContext* PaintContext()
        x_QAbstractTextDocumentLayout__PaintContext* xret = new x_QAbstractTextDocumentLayout__PaintContext();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractTextDocumentLayout__PaintContext() : PaintContext() {}
    static void x_2(Smoke::Stack x) {
        // QAbstractTextDocumentLayout::PaintContext* PaintContext(const QAbstractTextDocumentLayout::PaintContext&)
        x_QAbstractTextDocumentLayout__PaintContext* xret = new x_QAbstractTextDocumentLayout__PaintContext(*(const QAbstractTextDocumentLayout::PaintContext*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractTextDocumentLayout__PaintContext(const QAbstractTextDocumentLayout::PaintContext& x1) : PaintContext(x1) {}
    void x_3(Smoke::Stack x) {
        // int cursorPosition
        x[0].s_int = this->QAbstractTextDocumentLayout::PaintContext::cursorPosition;
    }
    void x_4(Smoke::Stack x) {
        // int cursorPosition=
        this->QAbstractTextDocumentLayout::PaintContext::cursorPosition = (int)x[1].s_int;
    }
    void x_5(Smoke::Stack x) {
        // QPalette palette
        x[0].s_class = (void*)&this->QAbstractTextDocumentLayout::PaintContext::palette;
    }
    void x_6(Smoke::Stack x) {
        // QPalette palette=
        this->QAbstractTextDocumentLayout::PaintContext::palette = *(const QPalette*)x[1].s_class;
    }
    void x_7(Smoke::Stack x) {
        // QRectF clip
        x[0].s_class = (void*)&this->QAbstractTextDocumentLayout::PaintContext::clip;
    }
    void x_8(Smoke::Stack x) {
        // QRectF clip=
        this->QAbstractTextDocumentLayout::PaintContext::clip = *(const QRectF*)x[1].s_class;
    }
    void x_9(Smoke::Stack x) {
        // QVector<QAbstractTextDocumentLayout::Selection> selections
        x[0].s_class = (void*)&this->QAbstractTextDocumentLayout::PaintContext::selections;
    }
    void x_10(Smoke::Stack x) {
        // QVector<QAbstractTextDocumentLayout::Selection> selections=
        this->QAbstractTextDocumentLayout::PaintContext::selections = *(const QVector<QAbstractTextDocumentLayout::Selection>*)x[1].s_class;
    }
    ~x_QAbstractTextDocumentLayout__PaintContext() { this->_binding->deleted(14, (void*)this); }
};
void xcall_QAbstractTextDocumentLayout__PaintContext(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractTextDocumentLayout__PaintContext *xself = (x_QAbstractTextDocumentLayout__PaintContext*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QAbstractTextDocumentLayout__PaintContext::x_1(args);	break;
        case 2: x_QAbstractTextDocumentLayout__PaintContext::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: delete (QAbstractTextDocumentLayout::PaintContext*)xself;	break;
    }
}
class x_QAbstractTextDocumentLayout__Selection : public QAbstractTextDocumentLayout::Selection {
    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) {
        // QAbstractTextDocumentLayout::Selection* Selection()
        x_QAbstractTextDocumentLayout__Selection* xret = new x_QAbstractTextDocumentLayout__Selection();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractTextDocumentLayout__Selection() : Selection() {}
    static void x_2(Smoke::Stack x) {
        // QAbstractTextDocumentLayout::Selection* Selection(const QAbstractTextDocumentLayout::Selection&)
        x_QAbstractTextDocumentLayout__Selection* xret = new x_QAbstractTextDocumentLayout__Selection(*(const QAbstractTextDocumentLayout::Selection*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractTextDocumentLayout__Selection(const QAbstractTextDocumentLayout::Selection& x1) : Selection(x1) {}
    void x_3(Smoke::Stack x) {
        // QTextCursor cursor
        x[0].s_class = (void*)&this->QAbstractTextDocumentLayout::Selection::cursor;
    }
    void x_4(Smoke::Stack x) {
        // QTextCursor cursor=
        this->QAbstractTextDocumentLayout::Selection::cursor = *(const QTextCursor*)x[1].s_class;
    }
    void x_5(Smoke::Stack x) {
        // QTextCharFormat format
        x[0].s_class = (void*)&this->QAbstractTextDocumentLayout::Selection::format;
    }
    void x_6(Smoke::Stack x) {
        // QTextCharFormat format=
        this->QAbstractTextDocumentLayout::Selection::format = *(const QTextCharFormat*)x[1].s_class;
    }
    ~x_QAbstractTextDocumentLayout__Selection() { this->_binding->deleted(15, (void*)this); }
};
void xcall_QAbstractTextDocumentLayout__Selection(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractTextDocumentLayout__Selection *xself = (x_QAbstractTextDocumentLayout__Selection*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QAbstractTextDocumentLayout__Selection::x_1(args);	break;
        case 2: x_QAbstractTextDocumentLayout__Selection::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: delete (QAbstractTextDocumentLayout::Selection*)xself;	break;
    }
}
class x_QAbstractUndoItem : public QAbstractUndoItem, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual void undo() = 0
        this->undo();
        (void)x; // noop (for compiler warning)
    }
    void x_2(Smoke::Stack x) {
        // virtual void redo() = 0
        this->redo();
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // QAbstractUndoItem* QAbstractUndoItem()
        x_QAbstractUndoItem* xret = new x_QAbstractUndoItem();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractUndoItem() : QAbstractUndoItem() {}
    static void x_4(Smoke::Stack x) {
        // QAbstractUndoItem* QAbstractUndoItem(const QAbstractUndoItem&)
        x_QAbstractUndoItem* xret = new x_QAbstractUndoItem(*(const QAbstractUndoItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAbstractUndoItem(const QAbstractUndoItem& x1) : QAbstractUndoItem(x1) {}
    virtual void undo() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(657, (void*)this, x, true /*pure virtual*/);
    }
    virtual void redo() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(658, (void*)this, x, true /*pure virtual*/);
    }
    ~x_QAbstractUndoItem() { this->_binding->deleted(16, (void*)this); }
};
void xcall_QAbstractUndoItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAbstractUndoItem *xself = (x_QAbstractUndoItem*)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_QAbstractUndoItem::x_3(args);	break;
        case 4: x_QAbstractUndoItem::x_4(args);	break;
        case 5: delete (QAbstractUndoItem*)xself;	break;
    }
}
class x_QAccessible : public QAccessible {
    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 installFactory(QAccessibleInterface*(*)(const QString&,QObject*))
        QAccessible::installFactory((QAccessibleInterface*(*)(const QString&,QObject*))x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_2(Smoke::Stack x) {
        // static void removeFactory(QAccessibleInterface*(*)(const QString&,QObject*))
        QAccessible::removeFactory((QAccessibleInterface*(*)(const QString&,QObject*))x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // static void(*)(QObject*,int,QAccessible::Event) installUpdateHandler(void(*)(QObject*,int,QAccessible::Event))
        void(*xret)(QObject*,int,QAccessible::Event) = QAccessible::installUpdateHandler((void(*)(QObject*,int,QAccessible::Event))x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static void(*)(QObject*) installRootObjectHandler(void(*)(QObject*))
        void(*xret)(QObject*) = QAccessible::installRootObjectHandler((void(*)(QObject*))x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_5(Smoke::Stack x) {
        // static QAccessibleInterface* queryAccessibleInterface(QObject*)
        QAccessibleInterface* xret = QAccessible::queryAccessibleInterface((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_6(Smoke::Stack x) {
        // static void updateAccessibility(QObject*, int, QAccessible::Event)
        QAccessible::updateAccessibility((QObject*)x[1].s_class,(int)x[2].s_int,(QAccessible::Event)x[3].s_enum);
        (void)x; // noop (for compiler warning)
    }
    static void x_7(Smoke::Stack x) {
        // static bool isActive()
        bool xret = QAccessible::isActive();
        x[0].s_bool = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static void setRootObject(QObject*)
        QAccessible::setRootObject((QObject*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_9(Smoke::Stack x) {
        // static void initialize()
        QAccessible::initialize();
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static void cleanup()
        QAccessible::cleanup();
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // QAccessible* QAccessible()
        x_QAccessible* xret = new x_QAccessible();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessible() : QAccessible() {}
    static void x_12(Smoke::Stack x) {
        // QAccessible* QAccessible(const QAccessible&)
        x_QAccessible* xret = new x_QAccessible(*(const QAccessible*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessible(const QAccessible& x1) : QAccessible(x1) {}
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SoundPlayed;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Alert;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ForegroundChanged;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::MenuStart;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::MenuEnd;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::PopupMenuStart;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::PopupMenuEnd;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ContextHelpStart;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ContextHelpEnd;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DragDropStart;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DragDropEnd;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DialogStart;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DialogEnd;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ScrollingStart;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ScrollingEnd;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::MenuCommand;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ActionChanged;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ActiveDescendantChanged;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::AttributeChanged;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DocumentContentChanged;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DocumentLoadComplete;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DocumentLoadStopped;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DocumentReload;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HyperlinkEndIndexChanged;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HyperlinkNumberOfAnchorsChanged;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HyperlinkSelectedLinkChanged;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HypertextLinkActivated;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HypertextLinkSelected;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HyperlinkStartIndexChanged;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HypertextChanged;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HypertextNLinksChanged;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ObjectAttributeChanged;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::PageChanged;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SectionChanged;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TableCaptionChanged;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TableColumnDescriptionChanged;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TableColumnHeaderChanged;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TableModelChanged;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TableRowDescriptionChanged;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TableRowHeaderChanged;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TableSummaryChanged;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TextAttributeChanged;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TextCaretMoved;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TextColumnChanged;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TextInserted;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TextRemoved;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TextUpdated;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TextSelectionChanged;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::VisibleDataChanged;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ObjectCreated;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ObjectDestroyed;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ObjectShow;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ObjectHide;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ObjectReorder;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Focus;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Selection;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SelectionAdd;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SelectionRemove;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SelectionWithin;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::StateChanged;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::LocationChanged;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::NameChanged;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DescriptionChanged;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ValueChanged;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ParentChanged;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HelpChanged;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DefaultActionChanged;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::AcceleratorChanged;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Normal;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Unavailable;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Selected;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Focused;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Pressed;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Checked;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Mixed;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ReadOnly;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HotTracked;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DefaultButton;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Expanded;
    }
    static void x_92(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Collapsed;
    }
    static void x_93(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Busy;
    }
    static void x_94(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Marqueed;
    }
    static void x_95(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Animated;
    }
    static void x_96(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Invisible;
    }
    static void x_97(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Offscreen;
    }
    static void x_98(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Sizeable;
    }
    static void x_99(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Movable;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SelfVoicing;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Focusable;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Selectable;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Linked;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Traversed;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::MultiSelectable;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ExtSelectable;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Protected;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HasPopup;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Modal;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HasInvokeExtension;
    }
    static void x_111(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::NoRole;
    }
    static void x_112(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TitleBar;
    }
    static void x_113(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::MenuBar;
    }
    static void x_114(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ScrollBar;
    }
    static void x_115(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Grip;
    }
    static void x_116(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Sound;
    }
    static void x_117(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Cursor;
    }
    static void x_118(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Caret;
    }
    static void x_119(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::AlertMessage;
    }
    static void x_120(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Window;
    }
    static void x_121(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Client;
    }
    static void x_122(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::PopupMenu;
    }
    static void x_123(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::MenuItem;
    }
    static void x_124(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ToolTip;
    }
    static void x_125(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Application;
    }
    static void x_126(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Document;
    }
    static void x_127(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Pane;
    }
    static void x_128(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Chart;
    }
    static void x_129(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Dialog;
    }
    static void x_130(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Border;
    }
    static void x_131(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Grouping;
    }
    static void x_132(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Separator;
    }
    static void x_133(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ToolBar;
    }
    static void x_134(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::StatusBar;
    }
    static void x_135(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Table;
    }
    static void x_136(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ColumnHeader;
    }
    static void x_137(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::RowHeader;
    }
    static void x_138(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Column;
    }
    static void x_139(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Row;
    }
    static void x_140(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Cell;
    }
    static void x_141(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Link;
    }
    static void x_142(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HelpBalloon;
    }
    static void x_143(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Assistant;
    }
    static void x_144(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::List;
    }
    static void x_145(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ListItem;
    }
    static void x_146(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Tree;
    }
    static void x_147(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::TreeItem;
    }
    static void x_148(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::PageTab;
    }
    static void x_149(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::PropertyPage;
    }
    static void x_150(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Indicator;
    }
    static void x_151(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Graphic;
    }
    static void x_152(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::StaticText;
    }
    static void x_153(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::EditableText;
    }
    static void x_154(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::PushButton;
    }
    static void x_155(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::CheckBox;
    }
    static void x_156(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::RadioButton;
    }
    static void x_157(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ComboBox;
    }
    static void x_158(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ProgressBar;
    }
    static void x_159(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Dial;
    }
    static void x_160(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HotkeyField;
    }
    static void x_161(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Slider;
    }
    static void x_162(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SpinBox;
    }
    static void x_163(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Canvas;
    }
    static void x_164(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Animation;
    }
    static void x_165(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Equation;
    }
    static void x_166(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ButtonDropDown;
    }
    static void x_167(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ButtonMenu;
    }
    static void x_168(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ButtonDropGrid;
    }
    static void x_169(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Whitespace;
    }
    static void x_170(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::PageTabList;
    }
    static void x_171(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Clock;
    }
    static void x_172(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Splitter;
    }
    static void x_173(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::LayeredPane;
    }
    static void x_174(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Terminal;
    }
    static void x_175(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Desktop;
    }
    static void x_176(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::UserRole;
    }
    static void x_177(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Name;
    }
    static void x_178(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Description;
    }
    static void x_179(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Value;
    }
    static void x_180(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Help;
    }
    static void x_181(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Accelerator;
    }
    static void x_182(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::UserText;
    }
    static void x_183(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Unrelated;
    }
    static void x_184(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Self;
    }
    static void x_185(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Ancestor;
    }
    static void x_186(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Child;
    }
    static void x_187(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Descendent;
    }
    static void x_188(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Sibling;
    }
    static void x_189(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::HierarchyMask;
    }
    static void x_190(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Up;
    }
    static void x_191(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Down;
    }
    static void x_192(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Left;
    }
    static void x_193(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Right;
    }
    static void x_194(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Covers;
    }
    static void x_195(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Covered;
    }
    static void x_196(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::GeometryMask;
    }
    static void x_197(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::FocusChild;
    }
    static void x_198(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Label;
    }
    static void x_199(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Labelled;
    }
    static void x_200(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Controller;
    }
    static void x_201(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Controlled;
    }
    static void x_202(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::LogicalMask;
    }
    static void x_203(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::DefaultAction;
    }
    static void x_204(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Press;
    }
    static void x_205(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::FirstStandardAction;
    }
    static void x_206(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SetFocus;
    }
    static void x_207(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Increase;
    }
    static void x_208(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Decrease;
    }
    static void x_209(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Accept;
    }
    static void x_210(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Cancel;
    }
    static void x_211(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::Select;
    }
    static void x_212(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ClearSelection;
    }
    static void x_213(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::RemoveSelection;
    }
    static void x_214(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ExtendSelection;
    }
    static void x_215(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::AddToSelection;
    }
    static void x_216(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::LastStandardAction;
    }
    static void x_217(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ListSupportedMethods;
    }
    static void x_218(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::SetCursorPosition;
    }
    static void x_219(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::GetCursorPosition;
    }
    static void x_220(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::ForegroundColor;
    }
    static void x_221(Smoke::Stack x) {
        x[0].s_enum = (long)QAccessible::BackgroundColor;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 46: //QAccessible::Event
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAccessible::Event;
                    break;
                case Smoke::EnumDelete:
                    delete (QAccessible::Event*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAccessible::Event*)xdata = (QAccessible::Event)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAccessible::Event*)xdata;
                    break;
            }
            break;
        case 50: //QAccessible::StateFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAccessible::StateFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QAccessible::StateFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAccessible::StateFlag*)xdata = (QAccessible::StateFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAccessible::StateFlag*)xdata;
                    break;
            }
            break;
        case 49: //QAccessible::Role
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAccessible::Role;
                    break;
                case Smoke::EnumDelete:
                    delete (QAccessible::Role*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAccessible::Role*)xdata = (QAccessible::Role)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAccessible::Role*)xdata;
                    break;
            }
            break;
        case 51: //QAccessible::Text
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAccessible::Text;
                    break;
                case Smoke::EnumDelete:
                    delete (QAccessible::Text*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAccessible::Text*)xdata = (QAccessible::Text)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAccessible::Text*)xdata;
                    break;
            }
            break;
        case 48: //QAccessible::RelationFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAccessible::RelationFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QAccessible::RelationFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAccessible::RelationFlag*)xdata = (QAccessible::RelationFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAccessible::RelationFlag*)xdata;
                    break;
            }
            break;
        case 45: //QAccessible::Action
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAccessible::Action;
                    break;
                case Smoke::EnumDelete:
                    delete (QAccessible::Action*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAccessible::Action*)xdata = (QAccessible::Action)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAccessible::Action*)xdata;
                    break;
            }
            break;
        case 47: //QAccessible::Method
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QAccessible::Method;
                    break;
                case Smoke::EnumDelete:
                    delete (QAccessible::Method*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QAccessible::Method*)xdata = (QAccessible::Method)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QAccessible::Method*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QAccessible() { this->_binding->deleted(17, (void*)this); }
};
void xenum_QAccessible(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QAccessible::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QAccessible(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAccessible *xself = (x_QAccessible*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QAccessible::x_1(args);	break;
        case 2: x_QAccessible::x_2(args);	break;
        case 3: x_QAccessible::x_3(args);	break;
        case 4: x_QAccessible::x_4(args);	break;
        case 5: x_QAccessible::x_5(args);	break;
        case 6: x_QAccessible::x_6(args);	break;
        case 7: x_QAccessible::x_7(args);	break;
        case 8: x_QAccessible::x_8(args);	break;
        case 9: x_QAccessible::x_9(args);	break;
        case 10: x_QAccessible::x_10(args);	break;
        case 11: x_QAccessible::x_11(args);	break;
        case 12: x_QAccessible::x_12(args);	break;
        case 13: x_QAccessible::x_13(args);	break;
        case 14: x_QAccessible::x_14(args);	break;
        case 15: x_QAccessible::x_15(args);	break;
        case 16: x_QAccessible::x_16(args);	break;
        case 17: x_QAccessible::x_17(args);	break;
        case 18: x_QAccessible::x_18(args);	break;
        case 19: x_QAccessible::x_19(args);	break;
        case 20: x_QAccessible::x_20(args);	break;
        case 21: x_QAccessible::x_21(args);	break;
        case 22: x_QAccessible::x_22(args);	break;
        case 23: x_QAccessible::x_23(args);	break;
        case 24: x_QAccessible::x_24(args);	break;
        case 25: x_QAccessible::x_25(args);	break;
        case 26: x_QAccessible::x_26(args);	break;
        case 27: x_QAccessible::x_27(args);	break;
        case 28: x_QAccessible::x_28(args);	break;
        case 29: x_QAccessible::x_29(args);	break;
        case 30: x_QAccessible::x_30(args);	break;
        case 31: x_QAccessible::x_31(args);	break;
        case 32: x_QAccessible::x_32(args);	break;
        case 33: x_QAccessible::x_33(args);	break;
        case 34: x_QAccessible::x_34(args);	break;
        case 35: x_QAccessible::x_35(args);	break;
        case 36: x_QAccessible::x_36(args);	break;
        case 37: x_QAccessible::x_37(args);	break;
        case 38: x_QAccessible::x_38(args);	break;
        case 39: x_QAccessible::x_39(args);	break;
        case 40: x_QAccessible::x_40(args);	break;
        case 41: x_QAccessible::x_41(args);	break;
        case 42: x_QAccessible::x_42(args);	break;
        case 43: x_QAccessible::x_43(args);	break;
        case 44: x_QAccessible::x_44(args);	break;
        case 45: x_QAccessible::x_45(args);	break;
        case 46: x_QAccessible::x_46(args);	break;
        case 47: x_QAccessible::x_47(args);	break;
        case 48: x_QAccessible::x_48(args);	break;
        case 49: x_QAccessible::x_49(args);	break;
        case 50: x_QAccessible::x_50(args);	break;
        case 51: x_QAccessible::x_51(args);	break;
        case 52: x_QAccessible::x_52(args);	break;
        case 53: x_QAccessible::x_53(args);	break;
        case 54: x_QAccessible::x_54(args);	break;
        case 55: x_QAccessible::x_55(args);	break;
        case 56: x_QAccessible::x_56(args);	break;
        case 57: x_QAccessible::x_57(args);	break;
        case 58: x_QAccessible::x_58(args);	break;
        case 59: x_QAccessible::x_59(args);	break;
        case 60: x_QAccessible::x_60(args);	break;
        case 61: x_QAccessible::x_61(args);	break;
        case 62: x_QAccessible::x_62(args);	break;
        case 63: x_QAccessible::x_63(args);	break;
        case 64: x_QAccessible::x_64(args);	break;
        case 65: x_QAccessible::x_65(args);	break;
        case 66: x_QAccessible::x_66(args);	break;
        case 67: x_QAccessible::x_67(args);	break;
        case 68: x_QAccessible::x_68(args);	break;
        case 69: x_QAccessible::x_69(args);	break;
        case 70: x_QAccessible::x_70(args);	break;
        case 71: x_QAccessible::x_71(args);	break;
        case 72: x_QAccessible::x_72(args);	break;
        case 73: x_QAccessible::x_73(args);	break;
        case 74: x_QAccessible::x_74(args);	break;
        case 75: x_QAccessible::x_75(args);	break;
        case 76: x_QAccessible::x_76(args);	break;
        case 77: x_QAccessible::x_77(args);	break;
        case 78: x_QAccessible::x_78(args);	break;
        case 79: x_QAccessible::x_79(args);	break;
        case 80: x_QAccessible::x_80(args);	break;
        case 81: x_QAccessible::x_81(args);	break;
        case 82: x_QAccessible::x_82(args);	break;
        case 83: x_QAccessible::x_83(args);	break;
        case 84: x_QAccessible::x_84(args);	break;
        case 85: x_QAccessible::x_85(args);	break;
        case 86: x_QAccessible::x_86(args);	break;
        case 87: x_QAccessible::x_87(args);	break;
        case 88: x_QAccessible::x_88(args);	break;
        case 89: x_QAccessible::x_89(args);	break;
        case 90: x_QAccessible::x_90(args);	break;
        case 91: x_QAccessible::x_91(args);	break;
        case 92: x_QAccessible::x_92(args);	break;
        case 93: x_QAccessible::x_93(args);	break;
        case 94: x_QAccessible::x_94(args);	break;
        case 95: x_QAccessible::x_95(args);	break;
        case 96: x_QAccessible::x_96(args);	break;
        case 97: x_QAccessible::x_97(args);	break;
        case 98: x_QAccessible::x_98(args);	break;
        case 99: x_QAccessible::x_99(args);	break;
        case 100: x_QAccessible::x_100(args);	break;
        case 101: x_QAccessible::x_101(args);	break;
        case 102: x_QAccessible::x_102(args);	break;
        case 103: x_QAccessible::x_103(args);	break;
        case 104: x_QAccessible::x_104(args);	break;
        case 105: x_QAccessible::x_105(args);	break;
        case 106: x_QAccessible::x_106(args);	break;
        case 107: x_QAccessible::x_107(args);	break;
        case 108: x_QAccessible::x_108(args);	break;
        case 109: x_QAccessible::x_109(args);	break;
        case 110: x_QAccessible::x_110(args);	break;
        case 111: x_QAccessible::x_111(args);	break;
        case 112: x_QAccessible::x_112(args);	break;
        case 113: x_QAccessible::x_113(args);	break;
        case 114: x_QAccessible::x_114(args);	break;
        case 115: x_QAccessible::x_115(args);	break;
        case 116: x_QAccessible::x_116(args);	break;
        case 117: x_QAccessible::x_117(args);	break;
        case 118: x_QAccessible::x_118(args);	break;
        case 119: x_QAccessible::x_119(args);	break;
        case 120: x_QAccessible::x_120(args);	break;
        case 121: x_QAccessible::x_121(args);	break;
        case 122: x_QAccessible::x_122(args);	break;
        case 123: x_QAccessible::x_123(args);	break;
        case 124: x_QAccessible::x_124(args);	break;
        case 125: x_QAccessible::x_125(args);	break;
        case 126: x_QAccessible::x_126(args);	break;
        case 127: x_QAccessible::x_127(args);	break;
        case 128: x_QAccessible::x_128(args);	break;
        case 129: x_QAccessible::x_129(args);	break;
        case 130: x_QAccessible::x_130(args);	break;
        case 131: x_QAccessible::x_131(args);	break;
        case 132: x_QAccessible::x_132(args);	break;
        case 133: x_QAccessible::x_133(args);	break;
        case 134: x_QAccessible::x_134(args);	break;
        case 135: x_QAccessible::x_135(args);	break;
        case 136: x_QAccessible::x_136(args);	break;
        case 137: x_QAccessible::x_137(args);	break;
        case 138: x_QAccessible::x_138(args);	break;
        case 139: x_QAccessible::x_139(args);	break;
        case 140: x_QAccessible::x_140(args);	break;
        case 141: x_QAccessible::x_141(args);	break;
        case 142: x_QAccessible::x_142(args);	break;
        case 143: x_QAccessible::x_143(args);	break;
        case 144: x_QAccessible::x_144(args);	break;
        case 145: x_QAccessible::x_145(args);	break;
        case 146: x_QAccessible::x_146(args);	break;
        case 147: x_QAccessible::x_147(args);	break;
        case 148: x_QAccessible::x_148(args);	break;
        case 149: x_QAccessible::x_149(args);	break;
        case 150: x_QAccessible::x_150(args);	break;
        case 151: x_QAccessible::x_151(args);	break;
        case 152: x_QAccessible::x_152(args);	break;
        case 153: x_QAccessible::x_153(args);	break;
        case 154: x_QAccessible::x_154(args);	break;
        case 155: x_QAccessible::x_155(args);	break;
        case 156: x_QAccessible::x_156(args);	break;
        case 157: x_QAccessible::x_157(args);	break;
        case 158: x_QAccessible::x_158(args);	break;
        case 159: x_QAccessible::x_159(args);	break;
        case 160: x_QAccessible::x_160(args);	break;
        case 161: x_QAccessible::x_161(args);	break;
        case 162: x_QAccessible::x_162(args);	break;
        case 163: x_QAccessible::x_163(args);	break;
        case 164: x_QAccessible::x_164(args);	break;
        case 165: x_QAccessible::x_165(args);	break;
        case 166: x_QAccessible::x_166(args);	break;
        case 167: x_QAccessible::x_167(args);	break;
        case 168: x_QAccessible::x_168(args);	break;
        case 169: x_QAccessible::x_169(args);	break;
        case 170: x_QAccessible::x_170(args);	break;
        case 171: x_QAccessible::x_171(args);	break;
        case 172: x_QAccessible::x_172(args);	break;
        case 173: x_QAccessible::x_173(args);	break;
        case 174: x_QAccessible::x_174(args);	break;
        case 175: x_QAccessible::x_175(args);	break;
        case 176: x_QAccessible::x_176(args);	break;
        case 177: x_QAccessible::x_177(args);	break;
        case 178: x_QAccessible::x_178(args);	break;
        case 179: x_QAccessible::x_179(args);	break;
        case 180: x_QAccessible::x_180(args);	break;
        case 181: x_QAccessible::x_181(args);	break;
        case 182: x_QAccessible::x_182(args);	break;
        case 183: x_QAccessible::x_183(args);	break;
        case 184: x_QAccessible::x_184(args);	break;
        case 185: x_QAccessible::x_185(args);	break;
        case 186: x_QAccessible::x_186(args);	break;
        case 187: x_QAccessible::x_187(args);	break;
        case 188: x_QAccessible::x_188(args);	break;
        case 189: x_QAccessible::x_189(args);	break;
        case 190: x_QAccessible::x_190(args);	break;
        case 191: x_QAccessible::x_191(args);	break;
        case 192: x_QAccessible::x_192(args);	break;
        case 193: x_QAccessible::x_193(args);	break;
        case 194: x_QAccessible::x_194(args);	break;
        case 195: x_QAccessible::x_195(args);	break;
        case 196: x_QAccessible::x_196(args);	break;
        case 197: x_QAccessible::x_197(args);	break;
        case 198: x_QAccessible::x_198(args);	break;
        case 199: x_QAccessible::x_199(args);	break;
        case 200: x_QAccessible::x_200(args);	break;
        case 201: x_QAccessible::x_201(args);	break;
        case 202: x_QAccessible::x_202(args);	break;
        case 203: x_QAccessible::x_203(args);	break;
        case 204: x_QAccessible::x_204(args);	break;
        case 205: x_QAccessible::x_205(args);	break;
        case 206: x_QAccessible::x_206(args);	break;
        case 207: x_QAccessible::x_207(args);	break;
        case 208: x_QAccessible::x_208(args);	break;
        case 209: x_QAccessible::x_209(args);	break;
        case 210: x_QAccessible::x_210(args);	break;
        case 211: x_QAccessible::x_211(args);	break;
        case 212: x_QAccessible::x_212(args);	break;
        case 213: x_QAccessible::x_213(args);	break;
        case 214: x_QAccessible::x_214(args);	break;
        case 215: x_QAccessible::x_215(args);	break;
        case 216: x_QAccessible::x_216(args);	break;
        case 217: x_QAccessible::x_217(args);	break;
        case 218: x_QAccessible::x_218(args);	break;
        case 219: x_QAccessible::x_219(args);	break;
        case 220: x_QAccessible::x_220(args);	break;
        case 221: x_QAccessible::x_221(args);	break;
        case 222: delete (QAccessible*)xself;	break;
    }
}
class x_QAccessible2__TableModelChange : public QAccessible2::TableModelChange {
    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) {
        // QAccessible2::TableModelChange* TableModelChange()
        x_QAccessible2__TableModelChange* xret = new x_QAccessible2__TableModelChange();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessible2__TableModelChange() : TableModelChange() {}
    static void x_2(Smoke::Stack x) {
        // QAccessible2::TableModelChange* TableModelChange(const QAccessible2::TableModelChange&)
        x_QAccessible2__TableModelChange* xret = new x_QAccessible2__TableModelChange(*(const QAccessible2::TableModelChange*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessible2__TableModelChange(const QAccessible2::TableModelChange& x1) : TableModelChange(x1) {}
    void x_3(Smoke::Stack x) {
        // int firstColumn
        x[0].s_int = this->QAccessible2::TableModelChange::firstColumn;
    }
    void x_4(Smoke::Stack x) {
        // int firstColumn=
        this->QAccessible2::TableModelChange::firstColumn = (int)x[1].s_int;
    }
    void x_5(Smoke::Stack x) {
        // int firstRow
        x[0].s_int = this->QAccessible2::TableModelChange::firstRow;
    }
    void x_6(Smoke::Stack x) {
        // int firstRow=
        this->QAccessible2::TableModelChange::firstRow = (int)x[1].s_int;
    }
    void x_7(Smoke::Stack x) {
        // int lastColumn
        x[0].s_int = this->QAccessible2::TableModelChange::lastColumn;
    }
    void x_8(Smoke::Stack x) {
        // int lastColumn=
        this->QAccessible2::TableModelChange::lastColumn = (int)x[1].s_int;
    }
    void x_9(Smoke::Stack x) {
        // int lastRow
        x[0].s_int = this->QAccessible2::TableModelChange::lastRow;
    }
    void x_10(Smoke::Stack x) {
        // int lastRow=
        this->QAccessible2::TableModelChange::lastRow = (int)x[1].s_int;
    }
    void x_11(Smoke::Stack x) {
        // QAccessible2::TableModelChangeType type
        x[0].s_enum = this->QAccessible2::TableModelChange::type;
    }
    void x_12(Smoke::Stack x) {
        // QAccessible2::TableModelChangeType type=
        this->QAccessible2::TableModelChange::type = (QAccessible2::TableModelChangeType)x[1].s_enum;
    }
    ~x_QAccessible2__TableModelChange() { this->_binding->deleted(19, (void*)this); }
};
void xcall_QAccessible2__TableModelChange(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAccessible2__TableModelChange *xself = (x_QAccessible2__TableModelChange*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QAccessible2__TableModelChange::x_1(args);	break;
        case 2: x_QAccessible2__TableModelChange::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: delete (QAccessible2::TableModelChange*)xself;	break;
    }
}
class x_QAccessible2Interface : public QAccessible2Interface, 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) {
        // QAccessible2Interface* QAccessible2Interface()
        x_QAccessible2Interface* xret = new x_QAccessible2Interface();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessible2Interface() : QAccessible2Interface() {}
    static void x_2(Smoke::Stack x) {
        // QAccessible2Interface* QAccessible2Interface(const QAccessible2Interface&)
        x_QAccessible2Interface* xret = new x_QAccessible2Interface(*(const QAccessible2Interface*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessible2Interface(const QAccessible2Interface& x1) : QAccessible2Interface(x1) {}
    ~x_QAccessible2Interface() { this->_binding->deleted(20, (void*)this); }
};
void xcall_QAccessible2Interface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAccessible2Interface *xself = (x_QAccessible2Interface*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QAccessible2Interface::x_1(args);	break;
        case 2: x_QAccessible2Interface::x_2(args);	break;
        case 3: delete (QAccessible2Interface*)xself;	break;
    }
}
class x_QAccessibleActionInterface : public QAccessibleActionInterface, 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) {
        // QAccessible2Interface* qAccessibleActionCastHelper()
        QAccessible2Interface* xret = this->QAccessibleActionInterface::qAccessibleActionCastHelper();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual int actionCount() = 0
        int xret = this->actionCount();
        x[0].s_int = xret;
    }
    void x_3(Smoke::Stack x) {
        // virtual void doAction(int) = 0
        this->doAction((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // virtual QString description(int) = 0
        QString xret = this->description((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_5(Smoke::Stack x) {
        // virtual QString name(int) = 0
        QString xret = this->name((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_6(Smoke::Stack x) {
        // virtual QString localizedName(int) = 0
        QString xret = this->localizedName((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual QStringList keyBindings(int) = 0
        QStringList xret = this->keyBindings((int)x[1].s_int);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_8(Smoke::Stack x) {
        // QAccessibleActionInterface* QAccessibleActionInterface()
        x_QAccessibleActionInterface* xret = new x_QAccessibleActionInterface();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessibleActionInterface() : QAccessibleActionInterface() {}
    static void x_9(Smoke::Stack x) {
        // QAccessibleActionInterface* QAccessibleActionInterface(const QAccessibleActionInterface&)
        x_QAccessibleActionInterface* xret = new x_QAccessibleActionInterface(*(const QAccessibleActionInterface*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessibleActionInterface(const QAccessibleActionInterface& x1) : QAccessibleActionInterface(x1) {}
    virtual int actionCount() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(919, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual void doAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(920, (void*)this, x, true /*pure virtual*/);
    }
    virtual QString description(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(921, (void*)this, x, true /*pure virtual*/);
        QString* xptr = (QString*)x[0].s_class;
        QString xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QString name(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(922, (void*)this, x, true /*pure virtual*/);
        QString* xptr = (QString*)x[0].s_class;
        QString xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QString localizedName(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(923, (void*)this, x, true /*pure virtual*/);
        QString* xptr = (QString*)x[0].s_class;
        QString xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QStringList keyBindings(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(924, (void*)this, x, true /*pure virtual*/);
        QStringList* xptr = (QStringList*)x[0].s_class;
        QStringList xret(*xptr);
        delete xptr;
        return xret;
    }
    ~x_QAccessibleActionInterface() { this->_binding->deleted(21, (void*)this); }
};
void xcall_QAccessibleActionInterface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAccessibleActionInterface *xself = (x_QAccessibleActionInterface*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: 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: x_QAccessibleActionInterface::x_8(args);	break;
        case 9: x_QAccessibleActionInterface::x_9(args);	break;
        case 10: delete (QAccessibleActionInterface*)xself;	break;
    }
}
class x_QAccessibleApplication : public QAccessibleApplication, 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) {
        // QAccessibleApplication* QAccessibleApplication()
        x_QAccessibleApplication* xret = new x_QAccessibleApplication();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessibleApplication() : QAccessibleApplication() {}
    void x_2(Smoke::Stack x) {
        // int childCount() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            int xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::childCount();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QAccessibleApplication*)this)->childCount();
            x[0].s_int = xret;
        }
    }
    void x_3(Smoke::Stack x) {
        // int indexOfChild(const QAccessibleInterface*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            int xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::indexOfChild((const QAccessibleInterface*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QAccessibleApplication*)this)->indexOfChild((const QAccessibleInterface*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_4(Smoke::Stack x) {
        // QFlags<QAccessible::RelationFlag> relationTo(int, const QAccessibleInterface*, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            QFlags<QAccessible::RelationFlag> xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::relationTo((int)x[1].s_int,(const QAccessibleInterface*)x[2].s_class,(int)x[3].s_int);
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<QAccessible::RelationFlag> xret = ((const x_QAccessibleApplication*)this)->relationTo((int)x[1].s_int,(const QAccessibleInterface*)x[2].s_class,(int)x[3].s_int);
            x[0].s_uint = (uint)xret;
        }
    }
    void x_5(Smoke::Stack x) {
        // int childAt(int, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            int xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::childAt((int)x[1].s_int,(int)x[2].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QAccessibleApplication*)this)->childAt((int)x[1].s_int,(int)x[2].s_int);
            x[0].s_int = xret;
        }
    }
    void x_6(Smoke::Stack x) {
        // int navigate(QAccessible::RelationFlag, int, QAccessibleInterface**) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            int xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::navigate((QAccessible::RelationFlag)x[1].s_enum,(int)x[2].s_int,(QAccessibleInterface**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QAccessibleApplication*)this)->navigate((QAccessible::RelationFlag)x[1].s_enum,(int)x[2].s_int,(QAccessibleInterface**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    void x_7(Smoke::Stack x) {
        // QString text(QAccessible::Text, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            QString xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::text((QAccessible::Text)x[1].s_enum,(int)x[2].s_int);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_QAccessibleApplication*)this)->text((QAccessible::Text)x[1].s_enum,(int)x[2].s_int);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_8(Smoke::Stack x) {
        // QAccessible::Role role(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            QAccessible::Role xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::role((int)x[1].s_int);
            x[0].s_enum = xret;
        } else {
            QAccessible::Role xret = ((const x_QAccessibleApplication*)this)->role((int)x[1].s_int);
            x[0].s_enum = xret;
        }
    }
    void x_9(Smoke::Stack x) {
        // QFlags<QAccessible::StateFlag> state(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            QFlags<QAccessible::StateFlag> xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::state((int)x[1].s_int);
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<QAccessible::StateFlag> xret = ((const x_QAccessibleApplication*)this)->state((int)x[1].s_int);
            x[0].s_uint = (uint)xret;
        }
    }
    void x_10(Smoke::Stack x) {
        // int userActionCount(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            int xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::userActionCount((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QAccessibleApplication*)this)->userActionCount((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // bool doAction(int, int, const QList<QVariant>&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            bool xret = this->QAccessibleApplication::doAction((int)x[1].s_int,(int)x[2].s_int,*(const QList<QVariant>*)x[3].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->doAction((int)x[1].s_int,(int)x[2].s_int,*(const QList<QVariant>*)x[3].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_12(Smoke::Stack x) {
        // QString actionText(int, QAccessible::Text, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QAccessibleApplication*>(this))) {
            QString xret = ((const x_QAccessibleApplication*)this)->QAccessibleApplication::actionText((int)x[1].s_int,(QAccessible::Text)x[2].s_enum,(int)x[3].s_int);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_QAccessibleApplication*)this)->actionText((int)x[1].s_int,(QAccessible::Text)x[2].s_enum,(int)x[3].s_int);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    virtual bool isValid() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1032, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAccessibleObject::isValid();
    }
    virtual QObject* object() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1033, (void*)this, x)) return (QObject*)x[0].s_class;
        return this->QAccessibleObject::object();
    }
    virtual int childCount() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(929, (void*)this, x)) return (int)x[0].s_int;
        return this->QAccessibleApplication::childCount();
    }
    virtual int indexOfChild(const QAccessibleInterface* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(930, (void*)this, x)) return (int)x[0].s_int;
        return this->QAccessibleApplication::indexOfChild(x1);
    }
    virtual QFlags<QAccessible::RelationFlag> relationTo(int x1, const QAccessibleInterface* x2, int x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(931, (void*)this, x)) return (QFlags<QAccessible::RelationFlag>)x[0].s_uint;
        return this->QAccessibleApplication::relationTo(x1, x2, x3);
    }
    virtual int childAt(int x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(932, (void*)this, x)) return (int)x[0].s_int;
        return this->QAccessibleApplication::childAt(x1, x2);
    }
    virtual int navigate(QAccessible::RelationFlag x1, int x2, QAccessibleInterface** x3) const {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(933, (void*)this, x)) return (int)x[0].s_int;
        return this->QAccessibleApplication::navigate(x1, x2, x3);
    }
    virtual QString text(QAccessible::Text x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(934, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAccessibleApplication::text(x1, x2);
    }
    virtual void setText(QAccessible::Text x1, int x2, const QString& 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(1035, (void*)this, x)) return;
        this->QAccessibleObject::setText(x1, x2, x3);
    }
    virtual QRect rect(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1034, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAccessibleObject::rect(x1);
    }
    virtual QAccessible::Role role(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(935, (void*)this, x)) return (QAccessible::Role)x[0].s_enum;
        return this->QAccessibleApplication::role(x1);
    }
    virtual QFlags<QAccessible::StateFlag> state(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(936, (void*)this, x)) return (QFlags<QAccessible::StateFlag>)x[0].s_uint;
        return this->QAccessibleApplication::state(x1);
    }
    virtual int userActionCount(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(937, (void*)this, x)) return (int)x[0].s_int;
        return this->QAccessibleApplication::userActionCount(x1);
    }
    virtual QString actionText(int x1, QAccessible::Text x2, int x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(939, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAccessibleApplication::actionText(x1, x2, x3);
    }
    virtual bool doAction(int x1, int x2, const QList<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(938, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAccessibleApplication::doAction(x1, x2, x3);
    }
    ~x_QAccessibleApplication() { this->_binding->deleted(22, (void*)this); }
};
void xcall_QAccessibleApplication(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAccessibleApplication *xself = (x_QAccessibleApplication*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QAccessibleApplication::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: delete (QAccessibleApplication*)xself;	break;
    }
}
class x_QAccessibleBridge : public QAccessibleBridge, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual void setRootObject(QAccessibleInterface*) = 0
        this->setRootObject((QAccessibleInterface*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_2(Smoke::Stack x) {
        // virtual void notifyAccessibilityUpdate(int, QAccessibleInterface*, int) = 0
        this->notifyAccessibilityUpdate((int)x[1].s_int,(QAccessibleInterface*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // QAccessibleBridge* QAccessibleBridge()
        x_QAccessibleBridge* xret = new x_QAccessibleBridge();
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessibleBridge() : QAccessibleBridge() {}
    static void x_4(Smoke::Stack x) {
        // QAccessibleBridge* QAccessibleBridge(const QAccessibleBridge&)
        x_QAccessibleBridge* xret = new x_QAccessibleBridge(*(const QAccessibleBridge*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QAccessibleBridge(const QAccessibleBridge& x1) : QAccessibleBridge(x1) {}
    virtual void setRootObject(QAccessibleInterface* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(941, (void*)this, x, true /*pure virtual*/);
    }
    virtual void notifyAccessibilityUpdate(int x1, QAccessibleInterface* x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        x[3].s_int = x3;
        this->_binding->callMethod(942, (void*)this, x, true /*pure virtual*/);
    }
    ~x_QAccessibleBridge() { this->_binding->deleted(23, (void*)this); }
};
void xcall_QAccessibleBridge(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAccessibleBridge *xself = (x_QAccessibleBridge*)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_QAccessibleBridge::x_3(args);	break;
        case 4: x_QAccessibleBridge::x_4(args);	break;
        case 5: delete (QAccessibleBridge*)xself;	break;
    }
}

}
