//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_QConicalGradient : public QConicalGradient {
    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) {
        // QConicalGradient* QConicalGradient()
        x_QConicalGradient* xret = new x_QConicalGradient();
        x[0].s_class = (void*)xret;
    }
    explicit x_QConicalGradient() : QConicalGradient() {}
    static void x_2(Smoke::Stack x) {
        // QConicalGradient* QConicalGradient(const QPointF&, double)
        x_QConicalGradient* xret = new x_QConicalGradient(*(const QPointF*)x[1].s_class,(double)x[2].s_double);
        x[0].s_class = (void*)xret;
    }
    explicit x_QConicalGradient(const QPointF& x1, double x2) : QConicalGradient(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // QConicalGradient* QConicalGradient(double, double, double)
        x_QConicalGradient* xret = new x_QConicalGradient((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double);
        x[0].s_class = (void*)xret;
    }
    explicit x_QConicalGradient(double x1, double x2, double x3) : QConicalGradient(x1, x2, x3) {}
    void x_4(Smoke::Stack x) {
        // QPointF center() const
        QPointF xret = ((const x_QConicalGradient*)this)->QConicalGradient::center();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_5(Smoke::Stack x) {
        // void setCenter(const QPointF&)
        this->QConicalGradient::setCenter(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // void setCenter(double, double)
        this->QConicalGradient::setCenter((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // double angle() const
        double xret = ((const x_QConicalGradient*)this)->QConicalGradient::angle();
        x[0].s_double = xret;
    }
    void x_8(Smoke::Stack x) {
        // void setAngle(double)
        this->QConicalGradient::setAngle((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    static void x_9(Smoke::Stack x) {
        // QConicalGradient* QConicalGradient(const QConicalGradient&)
        x_QConicalGradient* xret = new x_QConicalGradient(*(const QConicalGradient*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QConicalGradient(const QConicalGradient& x1) : QConicalGradient(x1) {}
    ~x_QConicalGradient() { this->_binding->deleted(70, (void*)this); }
};
void xcall_QConicalGradient(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QConicalGradient *xself = (x_QConicalGradient*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QConicalGradient::x_1(args);	break;
        case 2: x_QConicalGradient::x_2(args);	break;
        case 3: x_QConicalGradient::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: x_QConicalGradient::x_9(args);	break;
        case 10: delete (QConicalGradient*)xself;	break;
    }
}
class x_QContextMenuEvent : public QContextMenuEvent, 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) {
        // QContextMenuEvent* QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, QFlags<Qt::KeyboardModifier>)
        x_QContextMenuEvent* xret = new x_QContextMenuEvent((QContextMenuEvent::Reason)x[1].s_enum,*(const QPoint*)x[2].s_class,*(const QPoint*)x[3].s_class,(QFlags<Qt::KeyboardModifier>)x[4].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QContextMenuEvent(QContextMenuEvent::Reason x1, const QPoint& x2, const QPoint& x3, QFlags<Qt::KeyboardModifier> x4) : QContextMenuEvent(x1, x2, x3, x4) {}
    static void x_2(Smoke::Stack x) {
        // QContextMenuEvent* QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&)
        x_QContextMenuEvent* xret = new x_QContextMenuEvent((QContextMenuEvent::Reason)x[1].s_enum,*(const QPoint*)x[2].s_class,*(const QPoint*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QContextMenuEvent(QContextMenuEvent::Reason x1, const QPoint& x2, const QPoint& x3) : QContextMenuEvent(x1, x2, x3) {}
    static void x_3(Smoke::Stack x) {
        // QContextMenuEvent* QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&)
        x_QContextMenuEvent* xret = new x_QContextMenuEvent((QContextMenuEvent::Reason)x[1].s_enum,*(const QPoint*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QContextMenuEvent(QContextMenuEvent::Reason x1, const QPoint& x2) : QContextMenuEvent(x1, x2) {}
    void x_4(Smoke::Stack x) {
        // int x() const
        int xret = ((const x_QContextMenuEvent*)this)->QContextMenuEvent::x();
        x[0].s_int = xret;
    }
    void x_5(Smoke::Stack x) {
        // int y() const
        int xret = ((const x_QContextMenuEvent*)this)->QContextMenuEvent::y();
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // int globalX() const
        int xret = ((const x_QContextMenuEvent*)this)->QContextMenuEvent::globalX();
        x[0].s_int = xret;
    }
    void x_7(Smoke::Stack x) {
        // int globalY() const
        int xret = ((const x_QContextMenuEvent*)this)->QContextMenuEvent::globalY();
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // const QPoint& pos() const
        const QPoint& xret = ((const x_QContextMenuEvent*)this)->QContextMenuEvent::pos();
        x[0].s_class = (void*)&xret;
    }
    void x_9(Smoke::Stack x) {
        // const QPoint& globalPos() const
        const QPoint& xret = ((const x_QContextMenuEvent*)this)->QContextMenuEvent::globalPos();
        x[0].s_class = (void*)&xret;
    }
    void x_10(Smoke::Stack x) {
        // QContextMenuEvent::Reason reason() const
        QContextMenuEvent::Reason xret = ((const x_QContextMenuEvent*)this)->QContextMenuEvent::reason();
        x[0].s_enum = xret;
    }
    static void x_11(Smoke::Stack x) {
        // QContextMenuEvent* QContextMenuEvent(const QContextMenuEvent&)
        x_QContextMenuEvent* xret = new x_QContextMenuEvent(*(const QContextMenuEvent*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QContextMenuEvent(const QContextMenuEvent& x1) : QContextMenuEvent(x1) {}
    void x_12(Smoke::Stack x) {
        // QPoint p
        x[0].s_class = (void*)&this->QContextMenuEvent::p;
    }
    void x_13(Smoke::Stack x) {
        // QPoint p=
        this->QContextMenuEvent::p = *(const QPoint*)x[1].s_class;
    }
    void x_14(Smoke::Stack x) {
        // QPoint gp
        x[0].s_class = (void*)&this->QContextMenuEvent::gp;
    }
    void x_15(Smoke::Stack x) {
        // QPoint gp=
        this->QContextMenuEvent::gp = *(const QPoint*)x[1].s_class;
    }
    void x_16(Smoke::Stack x) {
        // unsigned int reas
        x[0].s_uint = this->QContextMenuEvent::reas;
    }
    void x_17(Smoke::Stack x) {
        // unsigned int reas=
        this->QContextMenuEvent::reas = (unsigned int)x[1].s_uint;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)QContextMenuEvent::Mouse;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)QContextMenuEvent::Keyboard;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)QContextMenuEvent::Other;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 133: //QContextMenuEvent::Reason
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QContextMenuEvent::Reason;
                    break;
                case Smoke::EnumDelete:
                    delete (QContextMenuEvent::Reason*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QContextMenuEvent::Reason*)xdata = (QContextMenuEvent::Reason)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QContextMenuEvent::Reason*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QContextMenuEvent() { this->_binding->deleted(71, (void*)this); }
};
void xenum_QContextMenuEvent(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QContextMenuEvent::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QContextMenuEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QContextMenuEvent *xself = (x_QContextMenuEvent*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QContextMenuEvent::x_1(args);	break;
        case 2: x_QContextMenuEvent::x_2(args);	break;
        case 3: x_QContextMenuEvent::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: x_QContextMenuEvent::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: x_QContextMenuEvent::x_18(args);	break;
        case 19: x_QContextMenuEvent::x_19(args);	break;
        case 20: x_QContextMenuEvent::x_20(args);	break;
        case 21: delete (QContextMenuEvent*)xself;	break;
    }
}
class x_QCursor : public QCursor {
    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) {
        // QCursor* QCursor()
        x_QCursor* xret = new x_QCursor();
        x[0].s_class = (void*)xret;
    }
    explicit x_QCursor() : QCursor() {}
    static void x_2(Smoke::Stack x) {
        // QCursor* QCursor(Qt::CursorShape)
        x_QCursor* xret = new x_QCursor((Qt::CursorShape)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QCursor(Qt::CursorShape x1) : QCursor(x1) {}
    static void x_3(Smoke::Stack x) {
        // QCursor* QCursor(const QBitmap&, const QBitmap&, int, int)
        x_QCursor* xret = new x_QCursor(*(const QBitmap*)x[1].s_class,*(const QBitmap*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QCursor(const QBitmap& x1, const QBitmap& x2, int x3, int x4) : QCursor(x1, x2, x3, x4) {}
    static void x_4(Smoke::Stack x) {
        // QCursor* QCursor(const QPixmap&, int, int)
        x_QCursor* xret = new x_QCursor(*(const QPixmap*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QCursor(const QPixmap& x1, int x2, int x3) : QCursor(x1, x2, x3) {}
    static void x_5(Smoke::Stack x) {
        // QCursor* QCursor(const QCursor&)
        x_QCursor* xret = new x_QCursor(*(const QCursor*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QCursor(const QCursor& x1) : QCursor(x1) {}
    void x_6(Smoke::Stack x) {
        // QCursor& operator=(const QCursor&)
        QCursor& xret = this->QCursor::operator=(*(const QCursor*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_7(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QCursor*)this)->QCursor::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_8(Smoke::Stack x) {
        // Qt::CursorShape shape() const
        Qt::CursorShape xret = ((const x_QCursor*)this)->QCursor::shape();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setShape(Qt::CursorShape)
        this->QCursor::setShape((Qt::CursorShape)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // const QBitmap* bitmap() const
        const QBitmap* xret = ((const x_QCursor*)this)->QCursor::bitmap();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // const QBitmap* mask() const
        const QBitmap* xret = ((const x_QCursor*)this)->QCursor::mask();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QPixmap pixmap() const
        QPixmap xret = ((const x_QCursor*)this)->QCursor::pixmap();
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_13(Smoke::Stack x) {
        // QPoint hotSpot() const
        QPoint xret = ((const x_QCursor*)this)->QCursor::hotSpot();
        x[0].s_class = (void*)new QPoint(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QPoint pos()
        QPoint xret = QCursor::pos();
        x[0].s_class = (void*)new QPoint(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static void setPos(int, int)
        QCursor::setPos((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static void setPos(const QPoint&)
        QCursor::setPos(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // unsigned long handle() const
        unsigned long xret = ((const x_QCursor*)this)->QCursor::handle();
        x[0].s_ulong = xret;
    }
    static void x_18(Smoke::Stack x) {
        // QCursor* QCursor(unsigned long)
        x_QCursor* xret = new x_QCursor((unsigned long)x[1].s_ulong);
        x[0].s_class = (void*)xret;
    }
    explicit x_QCursor(unsigned long x1) : QCursor(x1) {}
    static void x_19(Smoke::Stack x) {
        // static int x11Screen()
        int xret = QCursor::x11Screen();
        x[0].s_int = xret;
    }
    static void x_20(Smoke::Stack x) {
        // QCursor* QCursor(const QBitmap&, const QBitmap&)
        x_QCursor* xret = new x_QCursor(*(const QBitmap*)x[1].s_class,*(const QBitmap*)x[2].s_class,(int)-1,(int)-1);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // QCursor* QCursor(const QBitmap&, const QBitmap&, int)
        x_QCursor* xret = new x_QCursor(*(const QBitmap*)x[1].s_class,*(const QBitmap*)x[2].s_class,(int)x[3].s_int,(int)-1);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // QCursor* QCursor(const QPixmap&)
        x_QCursor* xret = new x_QCursor(*(const QPixmap*)x[1].s_class,(int)-1,(int)-1);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // QCursor* QCursor(const QPixmap&, int)
        x_QCursor* xret = new x_QCursor(*(const QPixmap*)x[1].s_class,(int)x[2].s_int,(int)-1);
        x[0].s_class = (void*)xret;
    }
    ~x_QCursor() { this->_binding->deleted(73, (void*)this); }
};
void xcall_QCursor(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QCursor *xself = (x_QCursor*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QCursor::x_1(args);	break;
        case 2: x_QCursor::x_2(args);	break;
        case 3: x_QCursor::x_3(args);	break;
        case 4: x_QCursor::x_4(args);	break;
        case 5: x_QCursor::x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: x_QCursor::x_14(args);	break;
        case 15: x_QCursor::x_15(args);	break;
        case 16: x_QCursor::x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: x_QCursor::x_18(args);	break;
        case 19: x_QCursor::x_19(args);	break;
        case 20: x_QCursor::x_20(args);	break;
        case 21: x_QCursor::x_21(args);	break;
        case 22: x_QCursor::x_22(args);	break;
        case 23: x_QCursor::x_23(args);	break;
        case 24: delete (QCursor*)xself;	break;
    }
}
class x_QDataWidgetMapper : public QDataWidgetMapper, 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<QDataWidgetMapper*>(this))) {
            const QMetaObject* xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDataWidgetMapper*)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<QDataWidgetMapper*>(this))) {
            void* xret = this->QDataWidgetMapper::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 = QDataWidgetMapper::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 = QDataWidgetMapper::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 = QDataWidgetMapper::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 = QDataWidgetMapper::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<QDataWidgetMapper*>(this))) {
            int xret = this->QDataWidgetMapper::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) {
        // QDataWidgetMapper* QDataWidgetMapper(QObject*)
        x_QDataWidgetMapper* xret = new x_QDataWidgetMapper((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDataWidgetMapper(QObject* x1) : QDataWidgetMapper(x1) {}
    void x_9(Smoke::Stack x) {
        // void setModel(QAbstractItemModel*)
        this->QDataWidgetMapper::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_QDataWidgetMapper*)this)->QDataWidgetMapper::model();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setItemDelegate(QAbstractItemDelegate*)
        this->QDataWidgetMapper::setItemDelegate((QAbstractItemDelegate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QAbstractItemDelegate* itemDelegate() const
        QAbstractItemDelegate* xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::itemDelegate();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // void setRootIndex(const QModelIndex&)
        this->QDataWidgetMapper::setRootIndex(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QModelIndex rootIndex() const
        QModelIndex xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::rootIndex();
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setOrientation(Qt::Orientation)
        this->QDataWidgetMapper::setOrientation((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // Qt::Orientation orientation() const
        Qt::Orientation xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::orientation();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setSubmitPolicy(QDataWidgetMapper::SubmitPolicy)
        this->QDataWidgetMapper::setSubmitPolicy((QDataWidgetMapper::SubmitPolicy)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QDataWidgetMapper::SubmitPolicy submitPolicy() const
        QDataWidgetMapper::SubmitPolicy xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::submitPolicy();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // void addMapping(QWidget*, int)
        this->QDataWidgetMapper::addMapping((QWidget*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void addMapping(QWidget*, int, const QByteArray&)
        this->QDataWidgetMapper::addMapping((QWidget*)x[1].s_class,(int)x[2].s_int,*(const QByteArray*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void removeMapping(QWidget*)
        this->QDataWidgetMapper::removeMapping((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // int mappedSection(QWidget*) const
        int xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::mappedSection((QWidget*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // QByteArray mappedPropertyName(QWidget*) const
        QByteArray xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::mappedPropertyName((QWidget*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_24(Smoke::Stack x) {
        // QWidget* mappedWidgetAt(int) const
        QWidget* xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::mappedWidgetAt((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // void clearMapping()
        this->QDataWidgetMapper::clearMapping();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // int currentIndex() const
        int xret = ((const x_QDataWidgetMapper*)this)->QDataWidgetMapper::currentIndex();
        x[0].s_int = xret;
    }
    void x_27(Smoke::Stack x) {
        // void revert()
        this->QDataWidgetMapper::revert();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool submit()
        bool xret = this->QDataWidgetMapper::submit();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // void toFirst()
        this->QDataWidgetMapper::toFirst();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void toLast()
        this->QDataWidgetMapper::toLast();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void toNext()
        this->QDataWidgetMapper::toNext();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void toPrevious()
        this->QDataWidgetMapper::toPrevious();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // virtual void setCurrentIndex(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDataWidgetMapper*>(this))) {
            this->QDataWidgetMapper::setCurrentIndex((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCurrentIndex((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // void setCurrentModelIndex(const QModelIndex&)
        this->QDataWidgetMapper::setCurrentModelIndex(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void currentIndexChanged(int)
        this->QDataWidgetMapper::currentIndexChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_36(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDataWidgetMapper::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDataWidgetMapper::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // QDataWidgetMapper* QDataWidgetMapper()
        x_QDataWidgetMapper* xret = new x_QDataWidgetMapper((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDataWidgetMapper::staticMetaObject;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QDataWidgetMapper::AutoSubmit;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QDataWidgetMapper::ManualSubmit;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2320, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDataWidgetMapper::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2321, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDataWidgetMapper::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(2326, (void*)this, x)) return (int)x[0].s_int;
        return this->QDataWidgetMapper::qt_metacall(x1, x2, x3);
    }
    virtual void setCurrentIndex(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2352, (void*)this, x)) return;
        this->QDataWidgetMapper::setCurrentIndex(x1);
    }
    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 139: //QDataWidgetMapper::SubmitPolicy
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDataWidgetMapper::SubmitPolicy;
                    break;
                case Smoke::EnumDelete:
                    delete (QDataWidgetMapper::SubmitPolicy*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDataWidgetMapper::SubmitPolicy*)xdata = (QDataWidgetMapper::SubmitPolicy)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDataWidgetMapper::SubmitPolicy*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDataWidgetMapper() { this->_binding->deleted(75, (void*)this); }
};
void xenum_QDataWidgetMapper(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDataWidgetMapper::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDataWidgetMapper(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDataWidgetMapper *xself = (x_QDataWidgetMapper*)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_QDataWidgetMapper::x_3(args);	break;
        case 4: x_QDataWidgetMapper::x_4(args);	break;
        case 5: x_QDataWidgetMapper::x_5(args);	break;
        case 6: x_QDataWidgetMapper::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDataWidgetMapper::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: x_QDataWidgetMapper::x_36(args);	break;
        case 37: x_QDataWidgetMapper::x_37(args);	break;
        case 38: x_QDataWidgetMapper::x_38(args);	break;
        case 39: x_QDataWidgetMapper::x_39(args);	break;
        case 40: x_QDataWidgetMapper::x_40(args);	break;
        case 41: x_QDataWidgetMapper::x_41(args);	break;
        case 42: delete (QDataWidgetMapper*)xself;	break;
    }
}
class x_QDateEdit : public QDateEdit, 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<QDateEdit*>(this))) {
            const QMetaObject* xret = ((const x_QDateEdit*)this)->QDateEdit::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDateEdit*)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<QDateEdit*>(this))) {
            void* xret = this->QDateEdit::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 = QDateEdit::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 = QDateEdit::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 = QDateEdit::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 = QDateEdit::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<QDateEdit*>(this))) {
            int xret = this->QDateEdit::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) {
        // QDateEdit* QDateEdit(QWidget*)
        x_QDateEdit* xret = new x_QDateEdit((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDateEdit(QWidget* x1) : QDateEdit(x1) {}
    static void x_9(Smoke::Stack x) {
        // QDateEdit* QDateEdit(const QDate&, QWidget*)
        x_QDateEdit* xret = new x_QDateEdit(*(const QDate*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDateEdit(const QDate& x1, QWidget* x2) : QDateEdit(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDateEdit::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDateEdit::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // QDateEdit* QDateEdit()
        x_QDateEdit* xret = new x_QDateEdit((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // QDateEdit* QDateEdit(const QDate&)
        x_QDateEdit* xret = new x_QDateEdit(*(const QDate*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDateEdit::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2362, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDateEdit::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2363, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDateEdit::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(2368, (void*)this, x)) return (int)x[0].s_int;
        return this->QDateEdit::qt_metacall(x1, x2, x3);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2430, (void*)this, x)) return;
        this->QDateTimeEdit::clear();
    }
    virtual void stepBy(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2431, (void*)this, x)) return;
        this->QDateTimeEdit::stepBy(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2439, (void*)this, x)) return;
        this->QDateTimeEdit::keyPressEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2440, (void*)this, x)) return;
        this->QDateTimeEdit::wheelEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2441, (void*)this, x)) return;
        this->QDateTimeEdit::focusInEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(2442, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDateTimeEdit::focusNextPrevChild(x1);
    }
    virtual QValidator::State validate(QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(2443, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->QDateTimeEdit::validate(x1, x2);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2444, (void*)this, x)) return;
        this->QDateTimeEdit::fixup(x1);
    }
    virtual QDateTime dateTimeFromText(const QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2445, (void*)this, x)) {
            QDateTime* xptr = (QDateTime*)x[0].s_class;
            QDateTime xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::dateTimeFromText(x1);
    }
    virtual QString textFromDateTime(const QDateTime& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2446, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::textFromDateTime(x1);
    }
    virtual QFlags<QAbstractSpinBox::StepEnabledFlag> stepEnabled() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2447, (void*)this, x)) return (QFlags<QAbstractSpinBox::StepEnabledFlag>)x[0].s_uint;
        return this->QDateTimeEdit::stepEnabled();
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2448, (void*)this, x)) return;
        this->QDateTimeEdit::mousePressEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2449, (void*)this, x)) return;
        this->QDateTimeEdit::paintEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2429, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(559, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSpinBox::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(581, (void*)this, x)) return;
        this->QAbstractSpinBox::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(582, (void*)this, x)) return;
        this->QAbstractSpinBox::mouseMoveEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(572, (void*)this, x)) return;
        this->QAbstractSpinBox::keyReleaseEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(575, (void*)this, x)) return;
        this->QAbstractSpinBox::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(570, (void*)this, x)) return;
        this->QAbstractSpinBox::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(578, (void*)this, x)) return;
        this->QAbstractSpinBox::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(576, (void*)this, x)) return;
        this->QAbstractSpinBox::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(585, (void*)this, x)) return;
        this->QAbstractSpinBox::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(579, (void*)this, x)) return;
        this->QAbstractSpinBox::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(577, (void*)this, x)) return;
        this->QAbstractSpinBox::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(562, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSpinBox::inputMethodQuery(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2432, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDateTimeEdit::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(583, (void*)this, x)) return;
        this->QAbstractSpinBox::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QDateEdit() { this->_binding->deleted(77, (void*)this); }
};
void xcall_QDateEdit(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDateEdit *xself = (x_QDateEdit*)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_QDateEdit::x_3(args);	break;
        case 4: x_QDateEdit::x_4(args);	break;
        case 5: x_QDateEdit::x_5(args);	break;
        case 6: x_QDateEdit::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDateEdit::x_8(args);	break;
        case 9: x_QDateEdit::x_9(args);	break;
        case 10: x_QDateEdit::x_10(args);	break;
        case 11: x_QDateEdit::x_11(args);	break;
        case 12: x_QDateEdit::x_12(args);	break;
        case 13: x_QDateEdit::x_13(args);	break;
        case 14: x_QDateEdit::x_14(args);	break;
        case 15: delete (QDateEdit*)xself;	break;
    }
}
class x_QDateTimeEdit : public QDateTimeEdit, 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<QDateTimeEdit*>(this))) {
            const QMetaObject* xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDateTimeEdit*)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<QDateTimeEdit*>(this))) {
            void* xret = this->QDateTimeEdit::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 = QDateTimeEdit::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 = QDateTimeEdit::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 = QDateTimeEdit::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 = QDateTimeEdit::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<QDateTimeEdit*>(this))) {
            int xret = this->QDateTimeEdit::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) {
        // QDateTimeEdit* QDateTimeEdit(QWidget*)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDateTimeEdit(QWidget* x1) : QDateTimeEdit(x1) {}
    static void x_9(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit(const QDateTime&, QWidget*)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit(*(const QDateTime*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDateTimeEdit(const QDateTime& x1, QWidget* x2) : QDateTimeEdit(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit(const QDate&, QWidget*)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit(*(const QDate*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDateTimeEdit(const QDate& x1, QWidget* x2) : QDateTimeEdit(x1, x2) {}
    static void x_11(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit(const QTime&, QWidget*)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit(*(const QTime*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDateTimeEdit(const QTime& x1, QWidget* x2) : QDateTimeEdit(x1, x2) {}
    void x_12(Smoke::Stack x) {
        // QDateTime dateTime() const
        QDateTime xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::dateTime();
        x[0].s_class = (void*)new QDateTime(xret);
    }
    void x_13(Smoke::Stack x) {
        // QDate date() const
        QDate xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::date();
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_14(Smoke::Stack x) {
        // QTime time() const
        QTime xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::time();
        x[0].s_class = (void*)new QTime(xret);
    }
    void x_15(Smoke::Stack x) {
        // QDateTime minimumDateTime() const
        QDateTime xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::minimumDateTime();
        x[0].s_class = (void*)new QDateTime(xret);
    }
    void x_16(Smoke::Stack x) {
        // void clearMinimumDateTime()
        this->QDateTimeEdit::clearMinimumDateTime();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setMinimumDateTime(const QDateTime&)
        this->QDateTimeEdit::setMinimumDateTime(*(const QDateTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QDateTime maximumDateTime() const
        QDateTime xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::maximumDateTime();
        x[0].s_class = (void*)new QDateTime(xret);
    }
    void x_19(Smoke::Stack x) {
        // void clearMaximumDateTime()
        this->QDateTimeEdit::clearMaximumDateTime();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setMaximumDateTime(const QDateTime&)
        this->QDateTimeEdit::setMaximumDateTime(*(const QDateTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setDateTimeRange(const QDateTime&, const QDateTime&)
        this->QDateTimeEdit::setDateTimeRange(*(const QDateTime*)x[1].s_class,*(const QDateTime*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QDate minimumDate() const
        QDate xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::minimumDate();
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_23(Smoke::Stack x) {
        // void setMinimumDate(const QDate&)
        this->QDateTimeEdit::setMinimumDate(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void clearMinimumDate()
        this->QDateTimeEdit::clearMinimumDate();
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QDate maximumDate() const
        QDate xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::maximumDate();
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_26(Smoke::Stack x) {
        // void setMaximumDate(const QDate&)
        this->QDateTimeEdit::setMaximumDate(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void clearMaximumDate()
        this->QDateTimeEdit::clearMaximumDate();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setDateRange(const QDate&, const QDate&)
        this->QDateTimeEdit::setDateRange(*(const QDate*)x[1].s_class,*(const QDate*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // QTime minimumTime() const
        QTime xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::minimumTime();
        x[0].s_class = (void*)new QTime(xret);
    }
    void x_30(Smoke::Stack x) {
        // void setMinimumTime(const QTime&)
        this->QDateTimeEdit::setMinimumTime(*(const QTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void clearMinimumTime()
        this->QDateTimeEdit::clearMinimumTime();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // QTime maximumTime() const
        QTime xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::maximumTime();
        x[0].s_class = (void*)new QTime(xret);
    }
    void x_33(Smoke::Stack x) {
        // void setMaximumTime(const QTime&)
        this->QDateTimeEdit::setMaximumTime(*(const QTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void clearMaximumTime()
        this->QDateTimeEdit::clearMaximumTime();
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setTimeRange(const QTime&, const QTime&)
        this->QDateTimeEdit::setTimeRange(*(const QTime*)x[1].s_class,*(const QTime*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // QFlags<QDateTimeEdit::Section> displayedSections() const
        QFlags<QDateTimeEdit::Section> xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::displayedSections();
        x[0].s_uint = (uint)xret;
    }
    void x_37(Smoke::Stack x) {
        // QDateTimeEdit::Section currentSection() const
        QDateTimeEdit::Section xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::currentSection();
        x[0].s_enum = xret;
    }
    void x_38(Smoke::Stack x) {
        // QDateTimeEdit::Section sectionAt(int) const
        QDateTimeEdit::Section xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::sectionAt((int)x[1].s_int);
        x[0].s_enum = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setCurrentSection(QDateTimeEdit::Section)
        this->QDateTimeEdit::setCurrentSection((QDateTimeEdit::Section)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // int currentSectionIndex() const
        int xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::currentSectionIndex();
        x[0].s_int = xret;
    }
    void x_41(Smoke::Stack x) {
        // void setCurrentSectionIndex(int)
        this->QDateTimeEdit::setCurrentSectionIndex((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // QCalendarWidget* calendarWidget() const
        QCalendarWidget* xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::calendarWidget();
        x[0].s_class = (void*)xret;
    }
    void x_43(Smoke::Stack x) {
        // void setCalendarWidget(QCalendarWidget*)
        this->QDateTimeEdit::setCalendarWidget((QCalendarWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // int sectionCount() const
        int xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::sectionCount();
        x[0].s_int = xret;
    }
    void x_45(Smoke::Stack x) {
        // void setSelectedSection(QDateTimeEdit::Section)
        this->QDateTimeEdit::setSelectedSection((QDateTimeEdit::Section)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // QString sectionText(QDateTimeEdit::Section) const
        QString xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::sectionText((QDateTimeEdit::Section)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_47(Smoke::Stack x) {
        // QString displayFormat() const
        QString xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::displayFormat();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_48(Smoke::Stack x) {
        // void setDisplayFormat(const QString&)
        this->QDateTimeEdit::setDisplayFormat(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // bool calendarPopup() const
        bool xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::calendarPopup();
        x[0].s_bool = xret;
    }
    void x_50(Smoke::Stack x) {
        // void setCalendarPopup(bool)
        this->QDateTimeEdit::setCalendarPopup((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // Qt::TimeSpec timeSpec() const
        Qt::TimeSpec xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::timeSpec();
        x[0].s_enum = xret;
    }
    void x_52(Smoke::Stack x) {
        // void setTimeSpec(Qt::TimeSpec)
        this->QDateTimeEdit::setTimeSpec((Qt::TimeSpec)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            QSize xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QDateTimeEdit*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_54(Smoke::Stack x) {
        // virtual void clear()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            this->QDateTimeEdit::clear();
            (void)x; // noop (for compiler warning)
        } else {
            this->clear();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // virtual void stepBy(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            this->QDateTimeEdit::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_56(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            bool xret = this->QDateTimeEdit::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_57(Smoke::Stack x) {
        // void dateTimeChanged(const QDateTime&)
        this->QDateTimeEdit::dateTimeChanged(*(const QDateTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void timeChanged(const QTime&)
        this->QDateTimeEdit::timeChanged(*(const QTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void dateChanged(const QDate&)
        this->QDateTimeEdit::dateChanged(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void setDateTime(const QDateTime&)
        this->QDateTimeEdit::setDateTime(*(const QDateTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void setDate(const QDate&)
        this->QDateTimeEdit::setDate(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void setTime(const QTime&)
        this->QDateTimeEdit::setTime(*(const QTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            this->QDateTimeEdit::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_64(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            this->QDateTimeEdit::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_65(Smoke::Stack x) {
        // virtual void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            this->QDateTimeEdit::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_66(Smoke::Stack x) {
        // virtual bool focusNextPrevChild(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            bool xret = this->QDateTimeEdit::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_67(Smoke::Stack x) {
        // virtual QValidator::State validate(QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            QValidator::State xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        } else {
            QValidator::State xret = ((const x_QDateTimeEdit*)this)->validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        }
    }
    void x_68(Smoke::Stack x) {
        // virtual void fixup(QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            ((const x_QDateTimeEdit*)this)->QDateTimeEdit::fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QDateTimeEdit*)this)->fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_69(Smoke::Stack x) {
        // virtual QDateTime dateTimeFromText(const QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            QDateTime xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::dateTimeFromText(*(const QString*)x[1].s_class);
            x[0].s_class = (void*)new QDateTime(xret);
        } else {
            QDateTime xret = ((const x_QDateTimeEdit*)this)->dateTimeFromText(*(const QString*)x[1].s_class);
            x[0].s_class = (void*)new QDateTime(xret);
        }
    }
    void x_70(Smoke::Stack x) {
        // virtual QString textFromDateTime(const QDateTime&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            QString xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::textFromDateTime(*(const QDateTime*)x[1].s_class);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_QDateTimeEdit*)this)->textFromDateTime(*(const QDateTime*)x[1].s_class);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_71(Smoke::Stack x) {
        // virtual QFlags<QAbstractSpinBox::StepEnabledFlag> stepEnabled() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            QFlags<QAbstractSpinBox::StepEnabledFlag> xret = ((const x_QDateTimeEdit*)this)->QDateTimeEdit::stepEnabled();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<QAbstractSpinBox::StepEnabledFlag> xret = ((const x_QDateTimeEdit*)this)->stepEnabled();
            x[0].s_uint = (uint)xret;
        }
    }
    void x_72(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            this->QDateTimeEdit::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_73(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDateTimeEdit*>(this))) {
            this->QDateTimeEdit::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_74(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionSpinBox*) const
        ((const x_QDateTimeEdit*)this)->QDateTimeEdit::initStyleOption((QStyleOptionSpinBox*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_75(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit(const QVariant&, QVariant::Type, QWidget*)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit(*(const QVariant*)x[1].s_class,(QVariant::Type)x[2].s_enum,(QWidget*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDateTimeEdit(const QVariant& x1, QVariant::Type x2, QWidget* x3) : QDateTimeEdit(x1, x2, x3) {}
    static void x_76(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDateTimeEdit::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_77(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDateTimeEdit::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_78(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit()
        x_QDateTimeEdit* xret = new x_QDateTimeEdit((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_79(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit(const QDateTime&)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit(*(const QDateTime*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_80(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit(const QDate&)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit(*(const QDate*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_81(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit(const QTime&)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit(*(const QTime*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_82(Smoke::Stack x) {
        // QDateTimeEdit* QDateTimeEdit(const QVariant&, QVariant::Type)
        x_QDateTimeEdit* xret = new x_QDateTimeEdit(*(const QVariant*)x[1].s_class,(QVariant::Type)x[2].s_enum,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_83(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDateTimeEdit::staticMetaObject;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::NoSection;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::AmPmSection;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::MSecSection;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::SecondSection;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::MinuteSection;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::HourSection;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::DaySection;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::MonthSection;
    }
    static void x_92(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::YearSection;
    }
    static void x_93(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::TimeSections_Mask;
    }
    static void x_94(Smoke::Stack x) {
        x[0].s_enum = (long)QDateTimeEdit::DateSections_Mask;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2377, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDateTimeEdit::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2378, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDateTimeEdit::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(2383, (void*)this, x)) return (int)x[0].s_int;
        return this->QDateTimeEdit::qt_metacall(x1, x2, x3);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2430, (void*)this, x)) return;
        this->QDateTimeEdit::clear();
    }
    virtual void stepBy(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2431, (void*)this, x)) return;
        this->QDateTimeEdit::stepBy(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2439, (void*)this, x)) return;
        this->QDateTimeEdit::keyPressEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2440, (void*)this, x)) return;
        this->QDateTimeEdit::wheelEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2441, (void*)this, x)) return;
        this->QDateTimeEdit::focusInEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(2442, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDateTimeEdit::focusNextPrevChild(x1);
    }
    virtual QValidator::State validate(QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(2443, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->QDateTimeEdit::validate(x1, x2);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2444, (void*)this, x)) return;
        this->QDateTimeEdit::fixup(x1);
    }
    virtual QDateTime dateTimeFromText(const QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2445, (void*)this, x)) {
            QDateTime* xptr = (QDateTime*)x[0].s_class;
            QDateTime xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::dateTimeFromText(x1);
    }
    virtual QString textFromDateTime(const QDateTime& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2446, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::textFromDateTime(x1);
    }
    virtual QFlags<QAbstractSpinBox::StepEnabledFlag> stepEnabled() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2447, (void*)this, x)) return (QFlags<QAbstractSpinBox::StepEnabledFlag>)x[0].s_uint;
        return this->QDateTimeEdit::stepEnabled();
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2448, (void*)this, x)) return;
        this->QDateTimeEdit::mousePressEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2449, (void*)this, x)) return;
        this->QDateTimeEdit::paintEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2429, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDateTimeEdit::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(559, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSpinBox::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(581, (void*)this, x)) return;
        this->QAbstractSpinBox::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(582, (void*)this, x)) return;
        this->QAbstractSpinBox::mouseMoveEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(572, (void*)this, x)) return;
        this->QAbstractSpinBox::keyReleaseEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(575, (void*)this, x)) return;
        this->QAbstractSpinBox::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(570, (void*)this, x)) return;
        this->QAbstractSpinBox::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(578, (void*)this, x)) return;
        this->QAbstractSpinBox::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(576, (void*)this, x)) return;
        this->QAbstractSpinBox::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(585, (void*)this, x)) return;
        this->QAbstractSpinBox::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(579, (void*)this, x)) return;
        this->QAbstractSpinBox::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(577, (void*)this, x)) return;
        this->QAbstractSpinBox::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(562, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSpinBox::inputMethodQuery(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2432, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDateTimeEdit::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(583, (void*)this, x)) return;
        this->QAbstractSpinBox::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 144: //QDateTimeEdit::Section
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDateTimeEdit::Section;
                    break;
                case Smoke::EnumDelete:
                    delete (QDateTimeEdit::Section*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDateTimeEdit::Section*)xdata = (QDateTimeEdit::Section)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDateTimeEdit::Section*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDateTimeEdit() { this->_binding->deleted(79, (void*)this); }
};
void xenum_QDateTimeEdit(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDateTimeEdit::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDateTimeEdit(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDateTimeEdit *xself = (x_QDateTimeEdit*)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_QDateTimeEdit::x_3(args);	break;
        case 4: x_QDateTimeEdit::x_4(args);	break;
        case 5: x_QDateTimeEdit::x_5(args);	break;
        case 6: x_QDateTimeEdit::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDateTimeEdit::x_8(args);	break;
        case 9: x_QDateTimeEdit::x_9(args);	break;
        case 10: x_QDateTimeEdit::x_10(args);	break;
        case 11: x_QDateTimeEdit::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: x_QDateTimeEdit::x_75(args);	break;
        case 76: x_QDateTimeEdit::x_76(args);	break;
        case 77: x_QDateTimeEdit::x_77(args);	break;
        case 78: x_QDateTimeEdit::x_78(args);	break;
        case 79: x_QDateTimeEdit::x_79(args);	break;
        case 80: x_QDateTimeEdit::x_80(args);	break;
        case 81: x_QDateTimeEdit::x_81(args);	break;
        case 82: x_QDateTimeEdit::x_82(args);	break;
        case 83: x_QDateTimeEdit::x_83(args);	break;
        case 84: x_QDateTimeEdit::x_84(args);	break;
        case 85: x_QDateTimeEdit::x_85(args);	break;
        case 86: x_QDateTimeEdit::x_86(args);	break;
        case 87: x_QDateTimeEdit::x_87(args);	break;
        case 88: x_QDateTimeEdit::x_88(args);	break;
        case 89: x_QDateTimeEdit::x_89(args);	break;
        case 90: x_QDateTimeEdit::x_90(args);	break;
        case 91: x_QDateTimeEdit::x_91(args);	break;
        case 92: x_QDateTimeEdit::x_92(args);	break;
        case 93: x_QDateTimeEdit::x_93(args);	break;
        case 94: x_QDateTimeEdit::x_94(args);	break;
        case 95: delete (QDateTimeEdit*)xself;	break;
    }
}
class x_QDesktopServices : public QDesktopServices {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // static bool openUrl(const QUrl&)
        bool xret = QDesktopServices::openUrl(*(const QUrl*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_2(Smoke::Stack x) {
        // static void setUrlHandler(const QString&, QObject*, const char*)
        QDesktopServices::setUrlHandler(*(const QString*)x[1].s_class,(QObject*)x[2].s_class,(const char*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // static void unsetUrlHandler(const QString&)
        QDesktopServices::unsetUrlHandler(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_4(Smoke::Stack x) {
        // static QString storageLocation(QDesktopServices::StandardLocation)
        QString xret = QDesktopServices::storageLocation((QDesktopServices::StandardLocation)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString displayName(QDesktopServices::StandardLocation)
        QString xret = QDesktopServices::displayName((QDesktopServices::StandardLocation)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // QDesktopServices* QDesktopServices()
        x_QDesktopServices* xret = new x_QDesktopServices();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDesktopServices() : QDesktopServices() {}
    static void x_7(Smoke::Stack x) {
        // QDesktopServices* QDesktopServices(const QDesktopServices&)
        x_QDesktopServices* xret = new x_QDesktopServices(*(const QDesktopServices*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDesktopServices(const QDesktopServices& x1) : QDesktopServices(x1) {}
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::DesktopLocation;
    }
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::DocumentsLocation;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::FontsLocation;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::ApplicationsLocation;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::MusicLocation;
    }
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::MoviesLocation;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::PicturesLocation;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::TempLocation;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::HomeLocation;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::DataLocation;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)QDesktopServices::CacheLocation;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 147: //QDesktopServices::StandardLocation
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDesktopServices::StandardLocation;
                    break;
                case Smoke::EnumDelete:
                    delete (QDesktopServices::StandardLocation*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDesktopServices::StandardLocation*)xdata = (QDesktopServices::StandardLocation)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDesktopServices::StandardLocation*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDesktopServices() { this->_binding->deleted(81, (void*)this); }
};
void xenum_QDesktopServices(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDesktopServices::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDesktopServices(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDesktopServices *xself = (x_QDesktopServices*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDesktopServices::x_1(args);	break;
        case 2: x_QDesktopServices::x_2(args);	break;
        case 3: x_QDesktopServices::x_3(args);	break;
        case 4: x_QDesktopServices::x_4(args);	break;
        case 5: x_QDesktopServices::x_5(args);	break;
        case 6: x_QDesktopServices::x_6(args);	break;
        case 7: x_QDesktopServices::x_7(args);	break;
        case 8: x_QDesktopServices::x_8(args);	break;
        case 9: x_QDesktopServices::x_9(args);	break;
        case 10: x_QDesktopServices::x_10(args);	break;
        case 11: x_QDesktopServices::x_11(args);	break;
        case 12: x_QDesktopServices::x_12(args);	break;
        case 13: x_QDesktopServices::x_13(args);	break;
        case 14: x_QDesktopServices::x_14(args);	break;
        case 15: x_QDesktopServices::x_15(args);	break;
        case 16: x_QDesktopServices::x_16(args);	break;
        case 17: x_QDesktopServices::x_17(args);	break;
        case 18: x_QDesktopServices::x_18(args);	break;
        case 19: delete (QDesktopServices*)xself;	break;
    }
}
class x_QDesktopWidget : public QDesktopWidget, 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<QDesktopWidget*>(this))) {
            const QMetaObject* xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDesktopWidget*)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<QDesktopWidget*>(this))) {
            void* xret = this->QDesktopWidget::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 = QDesktopWidget::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 = QDesktopWidget::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 = QDesktopWidget::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 = QDesktopWidget::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<QDesktopWidget*>(this))) {
            int xret = this->QDesktopWidget::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) {
        // QDesktopWidget* QDesktopWidget()
        x_QDesktopWidget* xret = new x_QDesktopWidget();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDesktopWidget() : QDesktopWidget() {}
    void x_9(Smoke::Stack x) {
        // bool isVirtualDesktop() const
        bool xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::isVirtualDesktop();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // int numScreens() const
        int xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::numScreens();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // int screenCount() const
        int xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::screenCount();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // int primaryScreen() const
        int xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::primaryScreen();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // int screenNumber(const QWidget*) const
        int xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::screenNumber((const QWidget*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // int screenNumber(const QPoint&) const
        int xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::screenNumber(*(const QPoint*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // QWidget* screen(int)
        QWidget* xret = this->QDesktopWidget::screen((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // const QRect screenGeometry(int) const
        const QRect xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::screenGeometry((int)x[1].s_int);
        x[0].s_class = (void*)new const QRect(xret);
    }
    void x_17(Smoke::Stack x) {
        // const QRect screenGeometry(const QWidget*) const
        const QRect xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::screenGeometry((const QWidget*)x[1].s_class);
        x[0].s_class = (void*)new const QRect(xret);
    }
    void x_18(Smoke::Stack x) {
        // const QRect screenGeometry(const QPoint&) const
        const QRect xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::screenGeometry(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new const QRect(xret);
    }
    void x_19(Smoke::Stack x) {
        // const QRect availableGeometry(int) const
        const QRect xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::availableGeometry((int)x[1].s_int);
        x[0].s_class = (void*)new const QRect(xret);
    }
    void x_20(Smoke::Stack x) {
        // const QRect availableGeometry(const QWidget*) const
        const QRect xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::availableGeometry((const QWidget*)x[1].s_class);
        x[0].s_class = (void*)new const QRect(xret);
    }
    void x_21(Smoke::Stack x) {
        // const QRect availableGeometry(const QPoint&) const
        const QRect xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::availableGeometry(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new const QRect(xret);
    }
    void x_22(Smoke::Stack x) {
        // void resized(int)
        this->QDesktopWidget::resized((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void workAreaResized(int)
        this->QDesktopWidget::workAreaResized((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void screenCountChanged(int)
        this->QDesktopWidget::screenCountChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDesktopWidget*>(this))) {
            this->QDesktopWidget::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)
        }
    }
    static void x_26(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDesktopWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDesktopWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_28(Smoke::Stack x) {
        // int screenNumber() const
        int xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::screenNumber((const QWidget*)0);
        x[0].s_int = xret;
    }
    void x_29(Smoke::Stack x) {
        // QWidget* screen()
        QWidget* xret = this->QDesktopWidget::screen((int)-1);
        x[0].s_class = (void*)xret;
    }
    void x_30(Smoke::Stack x) {
        // const QRect screenGeometry() const
        const QRect xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::screenGeometry((int)-1);
        x[0].s_class = (void*)new const QRect(xret);
    }
    void x_31(Smoke::Stack x) {
        // const QRect availableGeometry() const
        const QRect xret = ((const x_QDesktopWidget*)this)->QDesktopWidget::availableGeometry((int)-1);
        x[0].s_class = (void*)new const QRect(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDesktopWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2491, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDesktopWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2492, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDesktopWidget::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(2497, (void*)this, x)) return (int)x[0].s_int;
        return this->QDesktopWidget::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15563, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15564, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15617, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15618, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15620, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15622, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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(2515, (void*)this, x)) return;
        this->QDesktopWidget::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(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(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_QDesktopWidget() { this->_binding->deleted(82, (void*)this); }
};
void xcall_QDesktopWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDesktopWidget *xself = (x_QDesktopWidget*)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_QDesktopWidget::x_3(args);	break;
        case 4: x_QDesktopWidget::x_4(args);	break;
        case 5: x_QDesktopWidget::x_5(args);	break;
        case 6: x_QDesktopWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDesktopWidget::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: x_QDesktopWidget::x_26(args);	break;
        case 27: x_QDesktopWidget::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: x_QDesktopWidget::x_32(args);	break;
        case 33: delete (QDesktopWidget*)xself;	break;
    }
}
class x_QDial : public QDial, 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<QDial*>(this))) {
            const QMetaObject* xret = ((const x_QDial*)this)->QDial::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDial*)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<QDial*>(this))) {
            void* xret = this->QDial::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 = QDial::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 = QDial::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 = QDial::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 = QDial::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<QDial*>(this))) {
            int xret = this->QDial::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) {
        // QDial* QDial(QWidget*)
        x_QDial* xret = new x_QDial((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDial(QWidget* x1) : QDial(x1) {}
    void x_9(Smoke::Stack x) {
        // bool wrapping() const
        bool xret = ((const x_QDial*)this)->QDial::wrapping();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // int notchSize() const
        int xret = ((const x_QDial*)this)->QDial::notchSize();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setNotchTarget(double)
        this->QDial::setNotchTarget((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // double notchTarget() const
        double xret = ((const x_QDial*)this)->QDial::notchTarget();
        x[0].s_double = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool notchesVisible() const
        bool xret = ((const x_QDial*)this)->QDial::notchesVisible();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            QSize xret = ((const x_QDial*)this)->QDial::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QDial*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_15(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            QSize xret = ((const x_QDial*)this)->QDial::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QDial*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_16(Smoke::Stack x) {
        // void setNotchesVisible(bool)
        this->QDial::setNotchesVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setWrapping(bool)
        this->QDial::setWrapping((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            bool xret = this->QDial::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_19(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            this->QDial::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_20(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            this->QDial::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_21(Smoke::Stack x) {
        // void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            this->QDial::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_22(Smoke::Stack x) {
        // void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            this->QDial::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_23(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            this->QDial::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // void sliderChange(QAbstractSlider::SliderChange)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDial*>(this))) {
            this->QDial::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_25(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionSlider*) const
        ((const x_QDial*)this)->QDial::initStyleOption((QStyleOptionSlider*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_26(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDial::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDial::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_28(Smoke::Stack x) {
        // QDial* QDial()
        x_QDial* xret = new x_QDial((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_29(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDial::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2524, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDial::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2525, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDial::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(2530, (void*)this, x)) return (int)x[0].s_int;
        return this->QDial::qt_metacall(x1, x2, x3);
    }
    virtual void sliderChange(QAbstractSlider::SliderChange x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(2547, (void*)this, x)) return;
        this->QDial::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(2537, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDial::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2538, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDial::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(2544, (void*)this, x)) return;
        this->QDial::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2545, (void*)this, x)) return;
        this->QDial::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(2546, (void*)this, x)) return;
        this->QDial::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(2543, (void*)this, x)) return;
        this->QDial::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(2542, (void*)this, x)) return;
        this->QDial::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(2541, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDial::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);
    }
    ~x_QDial() { this->_binding->deleted(83, (void*)this); }
};
void xcall_QDial(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDial *xself = (x_QDial*)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_QDial::x_3(args);	break;
        case 4: x_QDial::x_4(args);	break;
        case 5: x_QDial::x_5(args);	break;
        case 6: x_QDial::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDial::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: x_QDial::x_26(args);	break;
        case 27: x_QDial::x_27(args);	break;
        case 28: x_QDial::x_28(args);	break;
        case 29: x_QDial::x_29(args);	break;
        case 30: delete (QDial*)xself;	break;
    }
}
class x_QDialog : public QDialog, 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<QDialog*>(this))) {
            const QMetaObject* xret = ((const x_QDialog*)this)->QDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDialog*)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<QDialog*>(this))) {
            void* xret = this->QDialog::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 = QDialog::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 = QDialog::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 = QDialog::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 = QDialog::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<QDialog*>(this))) {
            int xret = this->QDialog::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) {
        // QDialog* QDialog(QWidget*, QFlags<Qt::WindowType>)
        x_QDialog* xret = new x_QDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDialog(QWidget* x1, QFlags<Qt::WindowType> x2) : QDialog(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // int result() const
        int xret = ((const x_QDialog*)this)->QDialog::result();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setVisible(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::setVisible((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setVisible((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // void setOrientation(Qt::Orientation)
        this->QDialog::setOrientation((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // Qt::Orientation orientation() const
        Qt::Orientation xret = ((const x_QDialog*)this)->QDialog::orientation();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setExtension(QWidget*)
        this->QDialog::setExtension((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QWidget* extension() const
        QWidget* xret = ((const x_QDialog*)this)->QDialog::extension();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            QSize xret = ((const x_QDialog*)this)->QDialog::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QDialog*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_16(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            QSize xret = ((const x_QDialog*)this)->QDialog::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QDialog*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_17(Smoke::Stack x) {
        // void setSizeGripEnabled(bool)
        this->QDialog::setSizeGripEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool isSizeGripEnabled() const
        bool xret = ((const x_QDialog*)this)->QDialog::isSizeGripEnabled();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setModal(bool)
        this->QDialog::setModal((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setResult(int)
        this->QDialog::setResult((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void finished(int)
        this->QDialog::finished((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void accepted()
        this->QDialog::accepted();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void rejected()
        this->QDialog::rejected();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void open()
        this->QDialog::open();
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // int exec()
        int xret = this->QDialog::exec();
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // virtual void done(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::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_27(Smoke::Stack x) {
        // virtual void accept()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::accept();
            (void)x; // noop (for compiler warning)
        } else {
            this->accept();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual void reject()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::reject();
            (void)x; // noop (for compiler warning)
        } else {
            this->reject();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // void showExtension(bool)
        this->QDialog::showExtension((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::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_31(Smoke::Stack x) {
        // void closeEvent(QCloseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::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_32(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::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_33(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::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_34(Smoke::Stack x) {
        // void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            this->QDialog::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_35(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialog*>(this))) {
            bool xret = this->QDialog::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_36(Smoke::Stack x) {
        // void adjustPosition(QWidget*)
        this->QDialog::adjustPosition((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_37(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_39(Smoke::Stack x) {
        // QDialog* QDialog()
        x_QDialog* xret = new x_QDialog((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_40(Smoke::Stack x) {
        // QDialog* QDialog(QWidget*)
        x_QDialog* xret = new x_QDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_41(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDialog::staticMetaObject;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QDialog::Rejected;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QDialog::Accepted;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2554, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2555, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDialog::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(2560, (void*)this, x)) return (int)x[0].s_int;
        return this->QDialog::qt_metacall(x1, x2, x3);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2579, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2580, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2581, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(2563, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(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 151: //QDialog::DialogCode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDialog::DialogCode;
                    break;
                case Smoke::EnumDelete:
                    delete (QDialog::DialogCode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDialog::DialogCode*)xdata = (QDialog::DialogCode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDialog::DialogCode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDialog() { this->_binding->deleted(84, (void*)this); }
};
void xenum_QDialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDialog *xself = (x_QDialog*)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_QDialog::x_3(args);	break;
        case 4: x_QDialog::x_4(args);	break;
        case 5: x_QDialog::x_5(args);	break;
        case 6: x_QDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDialog::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: x_QDialog::x_37(args);	break;
        case 38: x_QDialog::x_38(args);	break;
        case 39: x_QDialog::x_39(args);	break;
        case 40: x_QDialog::x_40(args);	break;
        case 41: x_QDialog::x_41(args);	break;
        case 42: x_QDialog::x_42(args);	break;
        case 43: x_QDialog::x_43(args);	break;
        case 44: delete (QDialog*)xself;	break;
    }
}
class x_QDialogButtonBox : public QDialogButtonBox, 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<QDialogButtonBox*>(this))) {
            const QMetaObject* xret = ((const x_QDialogButtonBox*)this)->QDialogButtonBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDialogButtonBox*)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<QDialogButtonBox*>(this))) {
            void* xret = this->QDialogButtonBox::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 = QDialogButtonBox::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 = QDialogButtonBox::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 = QDialogButtonBox::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 = QDialogButtonBox::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<QDialogButtonBox*>(this))) {
            int xret = this->QDialogButtonBox::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) {
        // QDialogButtonBox* QDialogButtonBox(QWidget*)
        x_QDialogButtonBox* xret = new x_QDialogButtonBox((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDialogButtonBox(QWidget* x1) : QDialogButtonBox(x1) {}
    static void x_9(Smoke::Stack x) {
        // QDialogButtonBox* QDialogButtonBox(Qt::Orientation, QWidget*)
        x_QDialogButtonBox* xret = new x_QDialogButtonBox((Qt::Orientation)x[1].s_enum,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDialogButtonBox(Qt::Orientation x1, QWidget* x2) : QDialogButtonBox(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // QDialogButtonBox* QDialogButtonBox(QFlags<QDialogButtonBox::StandardButton>, Qt::Orientation, QWidget*)
        x_QDialogButtonBox* xret = new x_QDialogButtonBox((QFlags<QDialogButtonBox::StandardButton>)x[1].s_uint,(Qt::Orientation)x[2].s_enum,(QWidget*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDialogButtonBox(QFlags<QDialogButtonBox::StandardButton> x1, Qt::Orientation x2, QWidget* x3) : QDialogButtonBox(x1, x2, x3) {}
    void x_11(Smoke::Stack x) {
        // void setOrientation(Qt::Orientation)
        this->QDialogButtonBox::setOrientation((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // Qt::Orientation orientation() const
        Qt::Orientation xret = ((const x_QDialogButtonBox*)this)->QDialogButtonBox::orientation();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // void addButton(QAbstractButton*, QDialogButtonBox::ButtonRole)
        this->QDialogButtonBox::addButton((QAbstractButton*)x[1].s_class,(QDialogButtonBox::ButtonRole)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QPushButton* addButton(const QString&, QDialogButtonBox::ButtonRole)
        QPushButton* xret = this->QDialogButtonBox::addButton(*(const QString*)x[1].s_class,(QDialogButtonBox::ButtonRole)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // QPushButton* addButton(QDialogButtonBox::StandardButton)
        QPushButton* xret = this->QDialogButtonBox::addButton((QDialogButtonBox::StandardButton)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // void removeButton(QAbstractButton*)
        this->QDialogButtonBox::removeButton((QAbstractButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void clear()
        this->QDialogButtonBox::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QList<QAbstractButton*> buttons() const
        QList<QAbstractButton*> xret = ((const x_QDialogButtonBox*)this)->QDialogButtonBox::buttons();
        x[0].s_class = (void*)new QList<QAbstractButton*>(xret);
    }
    void x_19(Smoke::Stack x) {
        // QDialogButtonBox::ButtonRole buttonRole(QAbstractButton*) const
        QDialogButtonBox::ButtonRole xret = ((const x_QDialogButtonBox*)this)->QDialogButtonBox::buttonRole((QAbstractButton*)x[1].s_class);
        x[0].s_enum = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setStandardButtons(QFlags<QDialogButtonBox::StandardButton>)
        this->QDialogButtonBox::setStandardButtons((QFlags<QDialogButtonBox::StandardButton>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QFlags<QDialogButtonBox::StandardButton> standardButtons() const
        QFlags<QDialogButtonBox::StandardButton> xret = ((const x_QDialogButtonBox*)this)->QDialogButtonBox::standardButtons();
        x[0].s_uint = (uint)xret;
    }
    void x_22(Smoke::Stack x) {
        // QDialogButtonBox::StandardButton standardButton(QAbstractButton*) const
        QDialogButtonBox::StandardButton xret = ((const x_QDialogButtonBox*)this)->QDialogButtonBox::standardButton((QAbstractButton*)x[1].s_class);
        x[0].s_enum = xret;
    }
    void x_23(Smoke::Stack x) {
        // QPushButton* button(QDialogButtonBox::StandardButton) const
        QPushButton* xret = ((const x_QDialogButtonBox*)this)->QDialogButtonBox::button((QDialogButtonBox::StandardButton)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void setCenterButtons(bool)
        this->QDialogButtonBox::setCenterButtons((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // bool centerButtons() const
        bool xret = ((const x_QDialogButtonBox*)this)->QDialogButtonBox::centerButtons();
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // void clicked(QAbstractButton*)
        this->QDialogButtonBox::clicked((QAbstractButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void accepted()
        this->QDialogButtonBox::accepted();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void helpRequested()
        this->QDialogButtonBox::helpRequested();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void rejected()
        this->QDialogButtonBox::rejected();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialogButtonBox*>(this))) {
            this->QDialogButtonBox::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_31(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDialogButtonBox*>(this))) {
            bool xret = this->QDialogButtonBox::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_32(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDialogButtonBox::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDialogButtonBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // QDialogButtonBox* QDialogButtonBox()
        x_QDialogButtonBox* xret = new x_QDialogButtonBox((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_35(Smoke::Stack x) {
        // QDialogButtonBox* QDialogButtonBox(Qt::Orientation)
        x_QDialogButtonBox* xret = new x_QDialogButtonBox((Qt::Orientation)x[1].s_enum,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_36(Smoke::Stack x) {
        // QDialogButtonBox* QDialogButtonBox(QFlags<QDialogButtonBox::StandardButton>)
        x_QDialogButtonBox* xret = new x_QDialogButtonBox((QFlags<QDialogButtonBox::StandardButton>)x[1].s_uint,(Qt::Orientation)Qt::Horizontal,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_37(Smoke::Stack x) {
        // QDialogButtonBox* QDialogButtonBox(QFlags<QDialogButtonBox::StandardButton>, Qt::Orientation)
        x_QDialogButtonBox* xret = new x_QDialogButtonBox((QFlags<QDialogButtonBox::StandardButton>)x[1].s_uint,(Qt::Orientation)x[2].s_enum,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_38(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDialogButtonBox::staticMetaObject;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::InvalidRole;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::AcceptRole;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::RejectRole;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::DestructiveRole;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::ActionRole;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::HelpRole;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::YesRole;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::NoRole;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::ResetRole;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::ApplyRole;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::NRoles;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::NoButton;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Ok;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Save;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::SaveAll;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Open;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Yes;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::YesToAll;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::No;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::NoToAll;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Abort;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Retry;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Ignore;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Close;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Cancel;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Discard;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Help;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Apply;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::Reset;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::RestoreDefaults;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::FirstButton;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::LastButton;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::WinLayout;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::MacLayout;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::KdeLayout;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QDialogButtonBox::GnomeLayout;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2598, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDialogButtonBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2599, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDialogButtonBox::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(2604, (void*)this, x)) return (int)x[0].s_int;
        return this->QDialogButtonBox::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15563, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15564, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15617, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15618, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15620, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15622, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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(2627, (void*)this, x)) return;
        this->QDialogButtonBox::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(2628, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialogButtonBox::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 154: //QDialogButtonBox::ButtonRole
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDialogButtonBox::ButtonRole;
                    break;
                case Smoke::EnumDelete:
                    delete (QDialogButtonBox::ButtonRole*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDialogButtonBox::ButtonRole*)xdata = (QDialogButtonBox::ButtonRole)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDialogButtonBox::ButtonRole*)xdata;
                    break;
            }
            break;
        case 155: //QDialogButtonBox::StandardButton
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDialogButtonBox::StandardButton;
                    break;
                case Smoke::EnumDelete:
                    delete (QDialogButtonBox::StandardButton*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDialogButtonBox::StandardButton*)xdata = (QDialogButtonBox::StandardButton)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDialogButtonBox::StandardButton*)xdata;
                    break;
            }
            break;
        case 153: //QDialogButtonBox::ButtonLayout
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDialogButtonBox::ButtonLayout;
                    break;
                case Smoke::EnumDelete:
                    delete (QDialogButtonBox::ButtonLayout*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDialogButtonBox::ButtonLayout*)xdata = (QDialogButtonBox::ButtonLayout)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDialogButtonBox::ButtonLayout*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDialogButtonBox() { this->_binding->deleted(85, (void*)this); }
};
void xenum_QDialogButtonBox(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDialogButtonBox::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDialogButtonBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDialogButtonBox *xself = (x_QDialogButtonBox*)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_QDialogButtonBox::x_3(args);	break;
        case 4: x_QDialogButtonBox::x_4(args);	break;
        case 5: x_QDialogButtonBox::x_5(args);	break;
        case 6: x_QDialogButtonBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDialogButtonBox::x_8(args);	break;
        case 9: x_QDialogButtonBox::x_9(args);	break;
        case 10: x_QDialogButtonBox::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: x_QDialogButtonBox::x_32(args);	break;
        case 33: x_QDialogButtonBox::x_33(args);	break;
        case 34: x_QDialogButtonBox::x_34(args);	break;
        case 35: x_QDialogButtonBox::x_35(args);	break;
        case 36: x_QDialogButtonBox::x_36(args);	break;
        case 37: x_QDialogButtonBox::x_37(args);	break;
        case 38: x_QDialogButtonBox::x_38(args);	break;
        case 39: x_QDialogButtonBox::x_39(args);	break;
        case 40: x_QDialogButtonBox::x_40(args);	break;
        case 41: x_QDialogButtonBox::x_41(args);	break;
        case 42: x_QDialogButtonBox::x_42(args);	break;
        case 43: x_QDialogButtonBox::x_43(args);	break;
        case 44: x_QDialogButtonBox::x_44(args);	break;
        case 45: x_QDialogButtonBox::x_45(args);	break;
        case 46: x_QDialogButtonBox::x_46(args);	break;
        case 47: x_QDialogButtonBox::x_47(args);	break;
        case 48: x_QDialogButtonBox::x_48(args);	break;
        case 49: x_QDialogButtonBox::x_49(args);	break;
        case 50: x_QDialogButtonBox::x_50(args);	break;
        case 51: x_QDialogButtonBox::x_51(args);	break;
        case 52: x_QDialogButtonBox::x_52(args);	break;
        case 53: x_QDialogButtonBox::x_53(args);	break;
        case 54: x_QDialogButtonBox::x_54(args);	break;
        case 55: x_QDialogButtonBox::x_55(args);	break;
        case 56: x_QDialogButtonBox::x_56(args);	break;
        case 57: x_QDialogButtonBox::x_57(args);	break;
        case 58: x_QDialogButtonBox::x_58(args);	break;
        case 59: x_QDialogButtonBox::x_59(args);	break;
        case 60: x_QDialogButtonBox::x_60(args);	break;
        case 61: x_QDialogButtonBox::x_61(args);	break;
        case 62: x_QDialogButtonBox::x_62(args);	break;
        case 63: x_QDialogButtonBox::x_63(args);	break;
        case 64: x_QDialogButtonBox::x_64(args);	break;
        case 65: x_QDialogButtonBox::x_65(args);	break;
        case 66: x_QDialogButtonBox::x_66(args);	break;
        case 67: x_QDialogButtonBox::x_67(args);	break;
        case 68: x_QDialogButtonBox::x_68(args);	break;
        case 69: x_QDialogButtonBox::x_69(args);	break;
        case 70: x_QDialogButtonBox::x_70(args);	break;
        case 71: x_QDialogButtonBox::x_71(args);	break;
        case 72: x_QDialogButtonBox::x_72(args);	break;
        case 73: x_QDialogButtonBox::x_73(args);	break;
        case 74: x_QDialogButtonBox::x_74(args);	break;
        case 75: delete (QDialogButtonBox*)xself;	break;
    }
}
class x_QDirModel : public QDirModel, 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<QDirModel*>(this))) {
            const QMetaObject* xret = ((const x_QDirModel*)this)->QDirModel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDirModel*)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<QDirModel*>(this))) {
            void* xret = this->QDirModel::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 = QDirModel::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 = QDirModel::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 = QDirModel::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 = QDirModel::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<QDirModel*>(this))) {
            int xret = this->QDirModel::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) {
        // QDirModel* QDirModel(const QStringList&, QFlags<QDir::Filter>, QFlags<QDir::SortFlag>, QObject*)
        x_QDirModel* xret = new x_QDirModel(*(const QStringList*)x[1].s_class,(QFlags<QDir::Filter>)x[2].s_uint,(QFlags<QDir::SortFlag>)x[3].s_uint,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDirModel(const QStringList& x1, QFlags<QDir::Filter> x2, QFlags<QDir::SortFlag> x3, QObject* x4) : QDirModel(x1, x2, x3, x4) {}
    static void x_9(Smoke::Stack x) {
        // QDirModel* QDirModel(QObject*)
        x_QDirModel* xret = new x_QDirModel((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDirModel(QObject* x1) : QDirModel(x1) {}
    void x_10(Smoke::Stack x) {
        // QModelIndex index(int, int, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            QModelIndex xret = ((const x_QDirModel*)this)->QDirModel::index((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = ((const x_QDirModel*)this)->index((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_11(Smoke::Stack x) {
        // QModelIndex parent(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            QModelIndex xret = ((const x_QDirModel*)this)->QDirModel::parent(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = ((const x_QDirModel*)this)->parent(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_12(Smoke::Stack x) {
        // int rowCount(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            int xret = ((const x_QDirModel*)this)->QDirModel::rowCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QDirModel*)this)->rowCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_13(Smoke::Stack x) {
        // int columnCount(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            int xret = ((const x_QDirModel*)this)->QDirModel::columnCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QDirModel*)this)->columnCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_14(Smoke::Stack x) {
        // QVariant data(const QModelIndex&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            QVariant xret = ((const x_QDirModel*)this)->QDirModel::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_QDirModel*)this)->data(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_15(Smoke::Stack x) {
        // bool setData(const QModelIndex&, const QVariant&, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            bool xret = this->QDirModel::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_16(Smoke::Stack x) {
        // QVariant headerData(int, Qt::Orientation, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            QVariant xret = ((const x_QDirModel*)this)->QDirModel::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_QDirModel*)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_17(Smoke::Stack x) {
        // bool hasChildren(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            bool xret = ((const x_QDirModel*)this)->QDirModel::hasChildren(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QDirModel*)this)->hasChildren(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_18(Smoke::Stack x) {
        // QFlags<Qt::ItemFlag> flags(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            QFlags<Qt::ItemFlag> xret = ((const x_QDirModel*)this)->QDirModel::flags(*(const QModelIndex*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::ItemFlag> xret = ((const x_QDirModel*)this)->flags(*(const QModelIndex*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        }
    }
    void x_19(Smoke::Stack x) {
        // void sort(int, Qt::SortOrder)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            this->QDirModel::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_20(Smoke::Stack x) {
        // QStringList mimeTypes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            QStringList xret = ((const x_QDirModel*)this)->QDirModel::mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_QDirModel*)this)->mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_21(Smoke::Stack x) {
        // QMimeData* mimeData(const QList<QModelIndex>&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            QMimeData* xret = ((const x_QDirModel*)this)->QDirModel::mimeData(*(const QList<QModelIndex>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QMimeData* xret = ((const x_QDirModel*)this)->mimeData(*(const QList<QModelIndex>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // bool dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            bool xret = this->QDirModel::dropMimeData((const QMimeData*)x[1].s_class,(Qt::DropAction)x[2].s_enum,(int)x[3].s_int,(int)x[4].s_int,*(const QModelIndex*)x[5].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->dropMimeData((const QMimeData*)x[1].s_class,(Qt::DropAction)x[2].s_enum,(int)x[3].s_int,(int)x[4].s_int,*(const QModelIndex*)x[5].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_23(Smoke::Stack x) {
        // QFlags<Qt::DropAction> supportedDropActions() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDirModel*>(this))) {
            QFlags<Qt::DropAction> xret = ((const x_QDirModel*)this)->QDirModel::supportedDropActions();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::DropAction> xret = ((const x_QDirModel*)this)->supportedDropActions();
            x[0].s_uint = (uint)xret;
        }
    }
    void x_24(Smoke::Stack x) {
        // void setIconProvider(QFileIconProvider*)
        this->QDirModel::setIconProvider((QFileIconProvider*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QFileIconProvider* iconProvider() const
        QFileIconProvider* xret = ((const x_QDirModel*)this)->QDirModel::iconProvider();
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // void setNameFilters(const QStringList&)
        this->QDirModel::setNameFilters(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // QStringList nameFilters() const
        QStringList xret = ((const x_QDirModel*)this)->QDirModel::nameFilters();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_28(Smoke::Stack x) {
        // void setFilter(QFlags<QDir::Filter>)
        this->QDirModel::setFilter((QFlags<QDir::Filter>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // QFlags<QDir::Filter> filter() const
        QFlags<QDir::Filter> xret = ((const x_QDirModel*)this)->QDirModel::filter();
        x[0].s_uint = (uint)xret;
    }
    void x_30(Smoke::Stack x) {
        // void setSorting(QFlags<QDir::SortFlag>)
        this->QDirModel::setSorting((QFlags<QDir::SortFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // QFlags<QDir::SortFlag> sorting() const
        QFlags<QDir::SortFlag> xret = ((const x_QDirModel*)this)->QDirModel::sorting();
        x[0].s_uint = (uint)xret;
    }
    void x_32(Smoke::Stack x) {
        // void setResolveSymlinks(bool)
        this->QDirModel::setResolveSymlinks((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // bool resolveSymlinks() const
        bool xret = ((const x_QDirModel*)this)->QDirModel::resolveSymlinks();
        x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) {
        // void setReadOnly(bool)
        this->QDirModel::setReadOnly((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // bool isReadOnly() const
        bool xret = ((const x_QDirModel*)this)->QDirModel::isReadOnly();
        x[0].s_bool = xret;
    }
    void x_36(Smoke::Stack x) {
        // void setLazyChildCount(bool)
        this->QDirModel::setLazyChildCount((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // bool lazyChildCount() const
        bool xret = ((const x_QDirModel*)this)->QDirModel::lazyChildCount();
        x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
        // QModelIndex index(const QString&, int) const
        QModelIndex xret = ((const x_QDirModel*)this)->QDirModel::index(*(const QString*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_39(Smoke::Stack x) {
        // bool isDir(const QModelIndex&) const
        bool xret = ((const x_QDirModel*)this)->QDirModel::isDir(*(const QModelIndex*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_40(Smoke::Stack x) {
        // QModelIndex mkdir(const QModelIndex&, const QString&)
        QModelIndex xret = this->QDirModel::mkdir(*(const QModelIndex*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_41(Smoke::Stack x) {
        // bool rmdir(const QModelIndex&)
        bool xret = this->QDirModel::rmdir(*(const QModelIndex*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
        // bool remove(const QModelIndex&)
        bool xret = this->QDirModel::remove(*(const QModelIndex*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_43(Smoke::Stack x) {
        // QString filePath(const QModelIndex&) const
        QString xret = ((const x_QDirModel*)this)->QDirModel::filePath(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_44(Smoke::Stack x) {
        // QString fileName(const QModelIndex&) const
        QString xret = ((const x_QDirModel*)this)->QDirModel::fileName(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_45(Smoke::Stack x) {
        // QIcon fileIcon(const QModelIndex&) const
        QIcon xret = ((const x_QDirModel*)this)->QDirModel::fileIcon(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_46(Smoke::Stack x) {
        // QFileInfo fileInfo(const QModelIndex&) const
        QFileInfo xret = ((const x_QDirModel*)this)->QDirModel::fileInfo(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QFileInfo(xret);
    }
    void x_47(Smoke::Stack x) {
        // QObject* parent() const
        QObject* xret = ((const x_QDirModel*)this)->QDirModel::parent();
        x[0].s_class = (void*)xret;
    }
    void x_48(Smoke::Stack x) {
        // void refresh(const QModelIndex&)
        this->QDirModel::refresh(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_49(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDirModel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_50(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDirModel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_51(Smoke::Stack x) {
        // QDirModel* QDirModel(const QStringList&, QFlags<QDir::Filter>, QFlags<QDir::SortFlag>)
        x_QDirModel* xret = new x_QDirModel(*(const QStringList*)x[1].s_class,(QFlags<QDir::Filter>)x[2].s_uint,(QFlags<QDir::SortFlag>)x[3].s_uint,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_52(Smoke::Stack x) {
        // QDirModel* QDirModel()
        x_QDirModel* xret = new x_QDirModel((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_53(Smoke::Stack x) {
        // QModelIndex index(int, int) const
        QModelIndex xret = ((const x_QDirModel*)this)->QDirModel::index((int)x[1].s_int,(int)x[2].s_int,(const QModelIndex&)QModelIndex());
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_54(Smoke::Stack x) {
        // int rowCount() const
        int xret = ((const x_QDirModel*)this)->QDirModel::rowCount((const QModelIndex&)QModelIndex());
        x[0].s_int = xret;
    }
    void x_55(Smoke::Stack x) {
        // int columnCount() const
        int xret = ((const x_QDirModel*)this)->QDirModel::columnCount((const QModelIndex&)QModelIndex());
        x[0].s_int = xret;
    }
    void x_56(Smoke::Stack x) {
        // QVariant data(const QModelIndex&) const
        QVariant xret = ((const x_QDirModel*)this)->QDirModel::data(*(const QModelIndex*)x[1].s_class,(int)Qt::DisplayRole);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_57(Smoke::Stack x) {
        // bool setData(const QModelIndex&, const QVariant&)
        bool xret = this->QDirModel::setData(*(const QModelIndex*)x[1].s_class,*(const QVariant*)x[2].s_class,(int)Qt::EditRole);
        x[0].s_bool = xret;
    }
    void x_58(Smoke::Stack x) {
        // QVariant headerData(int, Qt::Orientation) const
        QVariant xret = ((const x_QDirModel*)this)->QDirModel::headerData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,(int)Qt::DisplayRole);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_59(Smoke::Stack x) {
        // bool hasChildren() const
        bool xret = ((const x_QDirModel*)this)->QDirModel::hasChildren((const QModelIndex&)QModelIndex());
        x[0].s_bool = xret;
    }
    void x_60(Smoke::Stack x) {
        // void sort(int)
        this->QDirModel::sort((int)x[1].s_int,(Qt::SortOrder)Qt::AscendingOrder);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // QModelIndex index(const QString&) const
        QModelIndex xret = ((const x_QDirModel*)this)->QDirModel::index(*(const QString*)x[1].s_class,(int)0);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_62(Smoke::Stack x) {
        // void refresh()
        this->QDirModel::refresh((const QModelIndex&)QModelIndex());
        (void)x; // noop (for compiler warning)
    }
    static void x_63(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDirModel::staticMetaObject;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QDirModel::FileIconRole;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QDirModel::FilePathRole;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QDirModel::FileNameRole;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2673, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDirModel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2674, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDirModel::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(2679, (void*)this, x)) return (int)x[0].s_int;
        return this->QDirModel::qt_metacall(x1, x2, x3);
    }
    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;
        if (this->_binding->callMethod(2682, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDirModel::index(x1, x2, x3);
    }
    virtual QModelIndex parent(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2683, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDirModel::parent(x1);
    }
    virtual int rowCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2684, (void*)this, x)) return (int)x[0].s_int;
        return this->QDirModel::rowCount(x1);
    }
    virtual int columnCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2685, (void*)this, x)) return (int)x[0].s_int;
        return this->QDirModel::columnCount(x1);
    }
    virtual bool hasChildren(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2689, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDirModel::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(2686, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDirModel::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(2687, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDirModel::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(2688, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDirModel::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(106, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::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(107, (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->QAbstractItemModel::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(108, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::setItemData(x1, x2);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2692, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDirModel::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QModelIndex>& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2693, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QDirModel::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(2694, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDirModel::dropMimeData(x1, x2, x3, x4, x5);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2695, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QDirModel::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(116, (void*)this, x)) return;
        this->QAbstractItemModel::fetchMore(x1);
    }
    virtual bool canFetchMore(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(117, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::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(2690, (void*)this, x)) return (QFlags<Qt::ItemFlag>)x[0].s_uint;
        return this->QDirModel::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(2691, (void*)this, x)) return;
        this->QDirModel::sort(x1, x2);
    }
    virtual QModelIndex buddy(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(118, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::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(120, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::span(x1);
    }
    virtual bool submit() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(121, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::submit();
    }
    virtual void revert() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(122, (void*)this, x)) return;
        this->QAbstractItemModel::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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 160: //QDirModel::Roles
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDirModel::Roles;
                    break;
                case Smoke::EnumDelete:
                    delete (QDirModel::Roles*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDirModel::Roles*)xdata = (QDirModel::Roles)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDirModel::Roles*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDirModel() { this->_binding->deleted(87, (void*)this); }
};
void xenum_QDirModel(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDirModel::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDirModel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDirModel *xself = (x_QDirModel*)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_QDirModel::x_3(args);	break;
        case 4: x_QDirModel::x_4(args);	break;
        case 5: x_QDirModel::x_5(args);	break;
        case 6: x_QDirModel::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDirModel::x_8(args);	break;
        case 9: x_QDirModel::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: x_QDirModel::x_49(args);	break;
        case 50: x_QDirModel::x_50(args);	break;
        case 51: x_QDirModel::x_51(args);	break;
        case 52: x_QDirModel::x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: x_QDirModel::x_63(args);	break;
        case 64: x_QDirModel::x_64(args);	break;
        case 65: x_QDirModel::x_65(args);	break;
        case 66: x_QDirModel::x_66(args);	break;
        case 67: delete (QDirModel*)xself;	break;
    }
}
class x_QDockWidget : public QDockWidget, 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<QDockWidget*>(this))) {
            const QMetaObject* xret = ((const x_QDockWidget*)this)->QDockWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDockWidget*)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<QDockWidget*>(this))) {
            void* xret = this->QDockWidget::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 = QDockWidget::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 = QDockWidget::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 = QDockWidget::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 = QDockWidget::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<QDockWidget*>(this))) {
            int xret = this->QDockWidget::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) {
        // QDockWidget* QDockWidget(const QString&, QWidget*, QFlags<Qt::WindowType>)
        x_QDockWidget* xret = new x_QDockWidget(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDockWidget(const QString& x1, QWidget* x2, QFlags<Qt::WindowType> x3) : QDockWidget(x1, x2, x3) {}
    static void x_9(Smoke::Stack x) {
        // QDockWidget* QDockWidget(QWidget*, QFlags<Qt::WindowType>)
        x_QDockWidget* xret = new x_QDockWidget((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDockWidget(QWidget* x1, QFlags<Qt::WindowType> x2) : QDockWidget(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // QWidget* widget() const
        QWidget* xret = ((const x_QDockWidget*)this)->QDockWidget::widget();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setWidget(QWidget*)
        this->QDockWidget::setWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setFeatures(QFlags<QDockWidget::DockWidgetFeature>)
        this->QDockWidget::setFeatures((QFlags<QDockWidget::DockWidgetFeature>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QFlags<QDockWidget::DockWidgetFeature> features() const
        QFlags<QDockWidget::DockWidgetFeature> xret = ((const x_QDockWidget*)this)->QDockWidget::features();
        x[0].s_uint = (uint)xret;
    }
    void x_14(Smoke::Stack x) {
        // void setFloating(bool)
        this->QDockWidget::setFloating((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool isFloating() const
        bool xret = ((const x_QDockWidget*)this)->QDockWidget::isFloating();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setAllowedAreas(QFlags<Qt::DockWidgetArea>)
        this->QDockWidget::setAllowedAreas((QFlags<Qt::DockWidgetArea>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QFlags<Qt::DockWidgetArea> allowedAreas() const
        QFlags<Qt::DockWidgetArea> xret = ((const x_QDockWidget*)this)->QDockWidget::allowedAreas();
        x[0].s_uint = (uint)xret;
    }
    void x_18(Smoke::Stack x) {
        // void setTitleBarWidget(QWidget*)
        this->QDockWidget::setTitleBarWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QWidget* titleBarWidget() const
        QWidget* xret = ((const x_QDockWidget*)this)->QDockWidget::titleBarWidget();
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // bool isAreaAllowed(Qt::DockWidgetArea) const
        bool xret = ((const x_QDockWidget*)this)->QDockWidget::isAreaAllowed((Qt::DockWidgetArea)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // QAction* toggleViewAction() const
        QAction* xret = ((const x_QDockWidget*)this)->QDockWidget::toggleViewAction();
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // void featuresChanged(QDockWidget::DockWidgetFeatures)
        this->QDockWidget::featuresChanged((QDockWidget::DockWidgetFeatures)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void topLevelChanged(bool)
        this->QDockWidget::topLevelChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void allowedAreasChanged(Qt::DockWidgetAreas)
        this->QDockWidget::allowedAreasChanged((Qt::DockWidgetAreas)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void visibilityChanged(bool)
        this->QDockWidget::visibilityChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void dockLocationChanged(Qt::DockWidgetArea)
        this->QDockWidget::dockLocationChanged((Qt::DockWidgetArea)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDockWidget*>(this))) {
            this->QDockWidget::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_28(Smoke::Stack x) {
        // void closeEvent(QCloseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDockWidget*>(this))) {
            this->QDockWidget::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_29(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDockWidget*>(this))) {
            this->QDockWidget::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_30(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDockWidget*>(this))) {
            bool xret = this->QDockWidget::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_31(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionDockWidget*) const
        ((const x_QDockWidget*)this)->QDockWidget::initStyleOption((QStyleOptionDockWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_32(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDockWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDockWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // QDockWidget* QDockWidget(const QString&)
        x_QDockWidget* xret = new x_QDockWidget(*(const QString*)x[1].s_class,(QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_35(Smoke::Stack x) {
        // QDockWidget* QDockWidget(const QString&, QWidget*)
        x_QDockWidget* xret = new x_QDockWidget(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_36(Smoke::Stack x) {
        // QDockWidget* QDockWidget()
        x_QDockWidget* xret = new x_QDockWidget((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_37(Smoke::Stack x) {
        // QDockWidget* QDockWidget(QWidget*)
        x_QDockWidget* xret = new x_QDockWidget((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_38(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDockWidget::staticMetaObject;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)QDockWidget::DockWidgetClosable;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QDockWidget::DockWidgetMovable;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QDockWidget::DockWidgetFloatable;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QDockWidget::DockWidgetVerticalTitleBar;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QDockWidget::DockWidgetFeatureMask;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)QDockWidget::AllDockWidgetFeatures;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QDockWidget::NoDockWidgetFeatures;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QDockWidget::Reserved;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2740, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDockWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2741, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDockWidget::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(2746, (void*)this, x)) return (int)x[0].s_int;
        return this->QDockWidget::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15563, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15564, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15617, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15618, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15620, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15622, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2768, (void*)this, x)) return;
        this->QDockWidget::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(2767, (void*)this, x)) return;
        this->QDockWidget::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(2766, (void*)this, x)) return;
        this->QDockWidget::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(2769, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDockWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 162: //QDockWidget::DockWidgetFeature
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDockWidget::DockWidgetFeature;
                    break;
                case Smoke::EnumDelete:
                    delete (QDockWidget::DockWidgetFeature*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDockWidget::DockWidgetFeature*)xdata = (QDockWidget::DockWidgetFeature)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDockWidget::DockWidgetFeature*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDockWidget() { this->_binding->deleted(88, (void*)this); }
};
void xenum_QDockWidget(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDockWidget::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDockWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDockWidget *xself = (x_QDockWidget*)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_QDockWidget::x_3(args);	break;
        case 4: x_QDockWidget::x_4(args);	break;
        case 5: x_QDockWidget::x_5(args);	break;
        case 6: x_QDockWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDockWidget::x_8(args);	break;
        case 9: x_QDockWidget::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: x_QDockWidget::x_32(args);	break;
        case 33: x_QDockWidget::x_33(args);	break;
        case 34: x_QDockWidget::x_34(args);	break;
        case 35: x_QDockWidget::x_35(args);	break;
        case 36: x_QDockWidget::x_36(args);	break;
        case 37: x_QDockWidget::x_37(args);	break;
        case 38: x_QDockWidget::x_38(args);	break;
        case 39: x_QDockWidget::x_39(args);	break;
        case 40: x_QDockWidget::x_40(args);	break;
        case 41: x_QDockWidget::x_41(args);	break;
        case 42: x_QDockWidget::x_42(args);	break;
        case 43: x_QDockWidget::x_43(args);	break;
        case 44: x_QDockWidget::x_44(args);	break;
        case 45: x_QDockWidget::x_45(args);	break;
        case 46: x_QDockWidget::x_46(args);	break;
        case 47: delete (QDockWidget*)xself;	break;
    }
}
class x_QDoubleSpinBox : public QDoubleSpinBox, 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<QDoubleSpinBox*>(this))) {
            const QMetaObject* xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDoubleSpinBox*)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<QDoubleSpinBox*>(this))) {
            void* xret = this->QDoubleSpinBox::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 = QDoubleSpinBox::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 = QDoubleSpinBox::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 = QDoubleSpinBox::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 = QDoubleSpinBox::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<QDoubleSpinBox*>(this))) {
            int xret = this->QDoubleSpinBox::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) {
        // QDoubleSpinBox* QDoubleSpinBox(QWidget*)
        x_QDoubleSpinBox* xret = new x_QDoubleSpinBox((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDoubleSpinBox(QWidget* x1) : QDoubleSpinBox(x1) {}
    void x_9(Smoke::Stack x) {
        // double value() const
        double xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::value();
        x[0].s_double = xret;
    }
    void x_10(Smoke::Stack x) {
        // QString prefix() const
        QString xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::prefix();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setPrefix(const QString&)
        this->QDoubleSpinBox::setPrefix(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString suffix() const
        QString xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::suffix();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setSuffix(const QString&)
        this->QDoubleSpinBox::setSuffix(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QString cleanText() const
        QString xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::cleanText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // double singleStep() const
        double xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::singleStep();
        x[0].s_double = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setSingleStep(double)
        this->QDoubleSpinBox::setSingleStep((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // double minimum() const
        double xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::minimum();
        x[0].s_double = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setMinimum(double)
        this->QDoubleSpinBox::setMinimum((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // double maximum() const
        double xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::maximum();
        x[0].s_double = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setMaximum(double)
        this->QDoubleSpinBox::setMaximum((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setRange(double, double)
        this->QDoubleSpinBox::setRange((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // int decimals() const
        int xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::decimals();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setDecimals(int)
        this->QDoubleSpinBox::setDecimals((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // virtual QValidator::State validate(QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDoubleSpinBox*>(this))) {
            QValidator::State xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        } else {
            QValidator::State xret = ((const x_QDoubleSpinBox*)this)->validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual double valueFromText(const QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDoubleSpinBox*>(this))) {
            double xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::valueFromText(*(const QString*)x[1].s_class);
            x[0].s_double = xret;
        } else {
            double xret = ((const x_QDoubleSpinBox*)this)->valueFromText(*(const QString*)x[1].s_class);
            x[0].s_double = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual QString textFromValue(double) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDoubleSpinBox*>(this))) {
            QString xret = ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::textFromValue((double)x[1].s_double);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_QDoubleSpinBox*)this)->textFromValue((double)x[1].s_double);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void fixup(QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDoubleSpinBox*>(this))) {
            ((const x_QDoubleSpinBox*)this)->QDoubleSpinBox::fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QDoubleSpinBox*)this)->fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // void setValue(double)
        this->QDoubleSpinBox::setValue((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void valueChanged(double)
        this->QDoubleSpinBox::valueChanged((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void valueChanged(const QString&)
        this->QDoubleSpinBox::valueChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDoubleSpinBox::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 = QDoubleSpinBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // QDoubleSpinBox* QDoubleSpinBox()
        x_QDoubleSpinBox* xret = new x_QDoubleSpinBox((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_34(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDoubleSpinBox::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2787, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDoubleSpinBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2788, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDoubleSpinBox::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(2793, (void*)this, x)) return (int)x[0].s_int;
        return this->QDoubleSpinBox::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(2810, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->QDoubleSpinBox::validate(x1, x2);
    }
    virtual double valueFromText(const QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2811, (void*)this, x)) return (double)x[0].s_double;
        return this->QDoubleSpinBox::valueFromText(x1);
    }
    virtual QString textFromValue(double x1) const {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(2812, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDoubleSpinBox::textFromValue(x1);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2813, (void*)this, x)) return;
        this->QDoubleSpinBox::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);
    }
    ~x_QDoubleSpinBox() { this->_binding->deleted(89, (void*)this); }
};
void xcall_QDoubleSpinBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDoubleSpinBox *xself = (x_QDoubleSpinBox*)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_QDoubleSpinBox::x_3(args);	break;
        case 4: x_QDoubleSpinBox::x_4(args);	break;
        case 5: x_QDoubleSpinBox::x_5(args);	break;
        case 6: x_QDoubleSpinBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDoubleSpinBox::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_QDoubleSpinBox::x_31(args);	break;
        case 32: x_QDoubleSpinBox::x_32(args);	break;
        case 33: x_QDoubleSpinBox::x_33(args);	break;
        case 34: x_QDoubleSpinBox::x_34(args);	break;
        case 35: delete (QDoubleSpinBox*)xself;	break;
    }
}
class x_QDoubleValidator : public QDoubleValidator, 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<QDoubleValidator*>(this))) {
            const QMetaObject* xret = ((const x_QDoubleValidator*)this)->QDoubleValidator::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDoubleValidator*)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<QDoubleValidator*>(this))) {
            void* xret = this->QDoubleValidator::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 = QDoubleValidator::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 = QDoubleValidator::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 = QDoubleValidator::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 = QDoubleValidator::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<QDoubleValidator*>(this))) {
            int xret = this->QDoubleValidator::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) {
        // QDoubleValidator* QDoubleValidator(QObject*)
        x_QDoubleValidator* xret = new x_QDoubleValidator((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDoubleValidator(QObject* x1) : QDoubleValidator(x1) {}
    static void x_9(Smoke::Stack x) {
        // QDoubleValidator* QDoubleValidator(double, double, int, QObject*)
        x_QDoubleValidator* xret = new x_QDoubleValidator((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDoubleValidator(double x1, double x2, int x3, QObject* x4) : QDoubleValidator(x1, x2, x3, x4) {}
    void x_10(Smoke::Stack x) {
        // QValidator::State validate(QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDoubleValidator*>(this))) {
            QValidator::State xret = ((const x_QDoubleValidator*)this)->QDoubleValidator::validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        } else {
            QValidator::State xret = ((const x_QDoubleValidator*)this)->validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // virtual void setRange(double, double, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDoubleValidator*>(this))) {
            this->QDoubleValidator::setRange((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->setRange((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // void setBottom(double)
        this->QDoubleValidator::setBottom((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setTop(double)
        this->QDoubleValidator::setTop((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setDecimals(int)
        this->QDoubleValidator::setDecimals((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setNotation(QDoubleValidator::Notation)
        this->QDoubleValidator::setNotation((QDoubleValidator::Notation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // double bottom() const
        double xret = ((const x_QDoubleValidator*)this)->QDoubleValidator::bottom();
        x[0].s_double = xret;
    }
    void x_17(Smoke::Stack x) {
        // double top() const
        double xret = ((const x_QDoubleValidator*)this)->QDoubleValidator::top();
        x[0].s_double = xret;
    }
    void x_18(Smoke::Stack x) {
        // int decimals() const
        int xret = ((const x_QDoubleValidator*)this)->QDoubleValidator::decimals();
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // QDoubleValidator::Notation notation() const
        QDoubleValidator::Notation xret = ((const x_QDoubleValidator*)this)->QDoubleValidator::notation();
        x[0].s_enum = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDoubleValidator::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDoubleValidator::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // QDoubleValidator* QDoubleValidator()
        x_QDoubleValidator* xret = new x_QDoubleValidator((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // QDoubleValidator* QDoubleValidator(double, double, int)
        x_QDoubleValidator* xret = new x_QDoubleValidator((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void setRange(double, double)
        this->QDoubleValidator::setRange((double)x[1].s_double,(double)x[2].s_double,(int)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDoubleValidator::staticMetaObject;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QDoubleValidator::StandardNotation;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QDoubleValidator::ScientificNotation;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2822, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDoubleValidator::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2823, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDoubleValidator::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(2828, (void*)this, x)) return (int)x[0].s_int;
        return this->QDoubleValidator::qt_metacall(x1, x2, x3);
    }
    virtual void setRange(double x1, double x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_double = x1;
        x[2].s_double = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(2832, (void*)this, x)) return;
        this->QDoubleValidator::setRange(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(2831, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->QDoubleValidator::validate(x1, x2);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15217, (void*)this, x)) return;
        this->QValidator::fixup(x1);
    }
    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 166: //QDoubleValidator::Notation
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDoubleValidator::Notation;
                    break;
                case Smoke::EnumDelete:
                    delete (QDoubleValidator::Notation*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDoubleValidator::Notation*)xdata = (QDoubleValidator::Notation)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDoubleValidator::Notation*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDoubleValidator() { this->_binding->deleted(90, (void*)this); }
};
void xenum_QDoubleValidator(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDoubleValidator::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDoubleValidator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDoubleValidator *xself = (x_QDoubleValidator*)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_QDoubleValidator::x_3(args);	break;
        case 4: x_QDoubleValidator::x_4(args);	break;
        case 5: x_QDoubleValidator::x_5(args);	break;
        case 6: x_QDoubleValidator::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDoubleValidator::x_8(args);	break;
        case 9: x_QDoubleValidator::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: x_QDoubleValidator::x_20(args);	break;
        case 21: x_QDoubleValidator::x_21(args);	break;
        case 22: x_QDoubleValidator::x_22(args);	break;
        case 23: x_QDoubleValidator::x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: x_QDoubleValidator::x_25(args);	break;
        case 26: x_QDoubleValidator::x_26(args);	break;
        case 27: x_QDoubleValidator::x_27(args);	break;
        case 28: delete (QDoubleValidator*)xself;	break;
    }
}
class x_QDrag : public QDrag, 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<QDrag*>(this))) {
            const QMetaObject* xret = ((const x_QDrag*)this)->QDrag::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDrag*)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<QDrag*>(this))) {
            void* xret = this->QDrag::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 = QDrag::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 = QDrag::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 = QDrag::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 = QDrag::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<QDrag*>(this))) {
            int xret = this->QDrag::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) {
        // QDrag* QDrag(QWidget*)
        x_QDrag* xret = new x_QDrag((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDrag(QWidget* x1) : QDrag(x1) {}
    void x_9(Smoke::Stack x) {
        // void setMimeData(QMimeData*)
        this->QDrag::setMimeData((QMimeData*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QMimeData* mimeData() const
        QMimeData* xret = ((const x_QDrag*)this)->QDrag::mimeData();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setPixmap(const QPixmap&)
        this->QDrag::setPixmap(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QPixmap pixmap() const
        QPixmap xret = ((const x_QDrag*)this)->QDrag::pixmap();
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setHotSpot(const QPoint&)
        this->QDrag::setHotSpot(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QPoint hotSpot() const
        QPoint xret = ((const x_QDrag*)this)->QDrag::hotSpot();
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_15(Smoke::Stack x) {
        // QWidget* source() const
        QWidget* xret = ((const x_QDrag*)this)->QDrag::source();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // QWidget* target() const
        QWidget* xret = ((const x_QDrag*)this)->QDrag::target();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // Qt::DropAction start(QFlags<Qt::DropAction>)
        Qt::DropAction xret = this->QDrag::start((QFlags<Qt::DropAction>)x[1].s_uint);
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // Qt::DropAction exec(QFlags<Qt::DropAction>)
        Qt::DropAction xret = this->QDrag::exec((QFlags<Qt::DropAction>)x[1].s_uint);
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // Qt::DropAction exec(QFlags<Qt::DropAction>, Qt::DropAction)
        Qt::DropAction xret = this->QDrag::exec((QFlags<Qt::DropAction>)x[1].s_uint,(Qt::DropAction)x[2].s_enum);
        x[0].s_enum = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setDragCursor(const QPixmap&, Qt::DropAction)
        this->QDrag::setDragCursor(*(const QPixmap*)x[1].s_class,(Qt::DropAction)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void actionChanged(Qt::DropAction)
        this->QDrag::actionChanged((Qt::DropAction)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void targetChanged(QWidget*)
        this->QDrag::targetChanged((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDrag::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDrag::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_25(Smoke::Stack x) {
        // Qt::DropAction start()
        Qt::DropAction xret = this->QDrag::start((QFlags<Qt::DropAction>)Qt::CopyAction);
        x[0].s_enum = xret;
    }
    void x_26(Smoke::Stack x) {
        // Qt::DropAction exec()
        Qt::DropAction xret = this->QDrag::exec((QFlags<Qt::DropAction>)Qt::MoveAction);
        x[0].s_enum = xret;
    }
    static void x_27(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDrag::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2850, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDrag::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2851, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDrag::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(2856, (void*)this, x)) return (int)x[0].s_int;
        return this->QDrag::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8374, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QDrag() { this->_binding->deleted(91, (void*)this); }
};
void xcall_QDrag(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDrag *xself = (x_QDrag*)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_QDrag::x_3(args);	break;
        case 4: x_QDrag::x_4(args);	break;
        case 5: x_QDrag::x_5(args);	break;
        case 6: x_QDrag::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDrag::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: x_QDrag::x_23(args);	break;
        case 24: x_QDrag::x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: x_QDrag::x_27(args);	break;
        case 28: delete (QDrag*)xself;	break;
    }
}
class x_QDragEnterEvent : public QDragEnterEvent, 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) {
        // QDragEnterEvent* QDragEnterEvent(const QPoint&, QFlags<Qt::DropAction>, const QMimeData*, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>)
        x_QDragEnterEvent* xret = new x_QDragEnterEvent(*(const QPoint*)x[1].s_class,(QFlags<Qt::DropAction>)x[2].s_uint,(const QMimeData*)x[3].s_class,(QFlags<Qt::MouseButton>)x[4].s_uint,(QFlags<Qt::KeyboardModifier>)x[5].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDragEnterEvent(const QPoint& x1, QFlags<Qt::DropAction> x2, const QMimeData* x3, QFlags<Qt::MouseButton> x4, QFlags<Qt::KeyboardModifier> x5) : QDragEnterEvent(x1, x2, x3, x4, x5) {}
    static void x_2(Smoke::Stack x) {
        // QDragEnterEvent* QDragEnterEvent(const QDragEnterEvent&)
        x_QDragEnterEvent* xret = new x_QDragEnterEvent(*(const QDragEnterEvent*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDragEnterEvent(const QDragEnterEvent& x1) : QDragEnterEvent(x1) {}
    virtual const char* format(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2912, (void*)this, x)) return (const char*)x[0].s_class;
        return this->QDropEvent::format(x1);
    }
    virtual bool provides(const char* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2914, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDropEvent::provides(x1);
    }
    virtual QByteArray encodedData(const char* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2913, (void*)this, x)) {
            QByteArray* xptr = (QByteArray*)x[0].s_class;
            QByteArray xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDropEvent::encodedData(x1);
    }
    ~x_QDragEnterEvent() { this->_binding->deleted(92, (void*)this); }
};
void xcall_QDragEnterEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDragEnterEvent *xself = (x_QDragEnterEvent*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDragEnterEvent::x_1(args);	break;
        case 2: x_QDragEnterEvent::x_2(args);	break;
        case 3: delete (QDragEnterEvent*)xself;	break;
    }
}
class x_QDragLeaveEvent : public QDragLeaveEvent, 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) {
        // QDragLeaveEvent* QDragLeaveEvent()
        x_QDragLeaveEvent* xret = new x_QDragLeaveEvent();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDragLeaveEvent() : QDragLeaveEvent() {}
    static void x_2(Smoke::Stack x) {
        // QDragLeaveEvent* QDragLeaveEvent(const QDragLeaveEvent&)
        x_QDragLeaveEvent* xret = new x_QDragLeaveEvent(*(const QDragLeaveEvent*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDragLeaveEvent(const QDragLeaveEvent& x1) : QDragLeaveEvent(x1) {}
    ~x_QDragLeaveEvent() { this->_binding->deleted(93, (void*)this); }
};
void xcall_QDragLeaveEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDragLeaveEvent *xself = (x_QDragLeaveEvent*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDragLeaveEvent::x_1(args);	break;
        case 2: x_QDragLeaveEvent::x_2(args);	break;
        case 3: delete (QDragLeaveEvent*)xself;	break;
    }
}
class x_QDragMoveEvent : public QDragMoveEvent, 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) {
        // QDragMoveEvent* QDragMoveEvent(const QPoint&, QFlags<Qt::DropAction>, const QMimeData*, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>, QEvent::Type)
        x_QDragMoveEvent* xret = new x_QDragMoveEvent(*(const QPoint*)x[1].s_class,(QFlags<Qt::DropAction>)x[2].s_uint,(const QMimeData*)x[3].s_class,(QFlags<Qt::MouseButton>)x[4].s_uint,(QFlags<Qt::KeyboardModifier>)x[5].s_uint,(QEvent::Type)x[6].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDragMoveEvent(const QPoint& x1, QFlags<Qt::DropAction> x2, const QMimeData* x3, QFlags<Qt::MouseButton> x4, QFlags<Qt::KeyboardModifier> x5, QEvent::Type x6) : QDragMoveEvent(x1, x2, x3, x4, x5, x6) {}
    void x_2(Smoke::Stack x) {
        // QRect answerRect() const
        QRect xret = ((const x_QDragMoveEvent*)this)->QDragMoveEvent::answerRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_3(Smoke::Stack x) {
        // void accept()
        this->QDragMoveEvent::accept();
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // void ignore()
        this->QDragMoveEvent::ignore();
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // void accept(const QRect&)
        this->QDragMoveEvent::accept(*(const QRect*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // void ignore(const QRect&)
        this->QDragMoveEvent::ignore(*(const QRect*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_7(Smoke::Stack x) {
        // QDragMoveEvent* QDragMoveEvent(const QDragMoveEvent&)
        x_QDragMoveEvent* xret = new x_QDragMoveEvent(*(const QDragMoveEvent*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDragMoveEvent(const QDragMoveEvent& x1) : QDragMoveEvent(x1) {}
    static void x_8(Smoke::Stack x) {
        // QDragMoveEvent* QDragMoveEvent(const QPoint&, QFlags<Qt::DropAction>, const QMimeData*, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>)
        x_QDragMoveEvent* xret = new x_QDragMoveEvent(*(const QPoint*)x[1].s_class,(QFlags<Qt::DropAction>)x[2].s_uint,(const QMimeData*)x[3].s_class,(QFlags<Qt::MouseButton>)x[4].s_uint,(QFlags<Qt::KeyboardModifier>)x[5].s_uint,(QEvent::Type)DragMove);
        x[0].s_class = (void*)xret;
    }
    void x_9(Smoke::Stack x) {
        // QRect rect
        x[0].s_class = (void*)&this->QDragMoveEvent::rect;
    }
    void x_10(Smoke::Stack x) {
        // QRect rect=
        this->QDragMoveEvent::rect = *(const QRect*)x[1].s_class;
    }
    virtual const char* format(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2912, (void*)this, x)) return (const char*)x[0].s_class;
        return this->QDropEvent::format(x1);
    }
    virtual bool provides(const char* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2914, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDropEvent::provides(x1);
    }
    virtual QByteArray encodedData(const char* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2913, (void*)this, x)) {
            QByteArray* xptr = (QByteArray*)x[0].s_class;
            QByteArray xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDropEvent::encodedData(x1);
    }
    ~x_QDragMoveEvent() { this->_binding->deleted(94, (void*)this); }
};
void xcall_QDragMoveEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDragMoveEvent *xself = (x_QDragMoveEvent*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDragMoveEvent::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: x_QDragMoveEvent::x_7(args);	break;
        case 8: x_QDragMoveEvent::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: delete (QDragMoveEvent*)xself;	break;
    }
}
class x_QDragResponseEvent : public QDragResponseEvent, 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) {
        // QDragResponseEvent* QDragResponseEvent(bool)
        x_QDragResponseEvent* xret = new x_QDragResponseEvent((bool)x[1].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDragResponseEvent(bool x1) : QDragResponseEvent(x1) {}
    void x_2(Smoke::Stack x) {
        // bool dragAccepted() const
        bool xret = ((const x_QDragResponseEvent*)this)->QDragResponseEvent::dragAccepted();
        x[0].s_bool = xret;
    }
    static void x_3(Smoke::Stack x) {
        // QDragResponseEvent* QDragResponseEvent(const QDragResponseEvent&)
        x_QDragResponseEvent* xret = new x_QDragResponseEvent(*(const QDragResponseEvent*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDragResponseEvent(const QDragResponseEvent& x1) : QDragResponseEvent(x1) {}
    void x_4(Smoke::Stack x) {
        // bool a
        x[0].s_bool = this->QDragResponseEvent::a;
    }
    void x_5(Smoke::Stack x) {
        // bool a=
        this->QDragResponseEvent::a = (bool)x[1].s_bool;
    }
    ~x_QDragResponseEvent() { this->_binding->deleted(95, (void*)this); }
};
void xcall_QDragResponseEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDragResponseEvent *xself = (x_QDragResponseEvent*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDragResponseEvent::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QDragResponseEvent::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: delete (QDragResponseEvent*)xself;	break;
    }
}

}
