//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_QPictureIO : public QPictureIO {
    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) {
        // QPictureIO* QPictureIO()
        x_QPictureIO* xret = new x_QPictureIO();
        x[0].s_class = (void*)xret;
    }
    explicit x_QPictureIO() : QPictureIO() {}
    static void x_2(Smoke::Stack x) {
        // QPictureIO* QPictureIO(QIODevice*, const char*)
        x_QPictureIO* xret = new x_QPictureIO((QIODevice*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPictureIO(QIODevice* x1, const char* x2) : QPictureIO(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // QPictureIO* QPictureIO(const QString&, const char*)
        x_QPictureIO* xret = new x_QPictureIO(*(const QString*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPictureIO(const QString& x1, const char* x2) : QPictureIO(x1, x2) {}
    void x_4(Smoke::Stack x) {
        // const QPicture& picture() const
        const QPicture& xret = ((const x_QPictureIO*)this)->QPictureIO::picture();
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // int status() const
        int xret = ((const x_QPictureIO*)this)->QPictureIO::status();
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // const char* format() const
        const char* xret = ((const x_QPictureIO*)this)->QPictureIO::format();
        x[0].s_class = (void*)xret;
    }
    void x_7(Smoke::Stack x) {
        // QIODevice* ioDevice() const
        QIODevice* xret = ((const x_QPictureIO*)this)->QPictureIO::ioDevice();
        x[0].s_class = (void*)xret;
    }
    void x_8(Smoke::Stack x) {
        // QString fileName() const
        QString xret = ((const x_QPictureIO*)this)->QPictureIO::fileName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // int quality() const
        int xret = ((const x_QPictureIO*)this)->QPictureIO::quality();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // QString description() const
        QString xret = ((const x_QPictureIO*)this)->QPictureIO::description();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // const char* parameters() const
        const char* xret = ((const x_QPictureIO*)this)->QPictureIO::parameters();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // float gamma() const
        float xret = ((const x_QPictureIO*)this)->QPictureIO::gamma();
        x[0].s_float = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setPicture(const QPicture&)
        this->QPictureIO::setPicture(*(const QPicture*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setStatus(int)
        this->QPictureIO::setStatus((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setFormat(const char*)
        this->QPictureIO::setFormat((const char*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setIODevice(QIODevice*)
        this->QPictureIO::setIODevice((QIODevice*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setFileName(const QString&)
        this->QPictureIO::setFileName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setQuality(int)
        this->QPictureIO::setQuality((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setDescription(const QString&)
        this->QPictureIO::setDescription(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setParameters(const char*)
        this->QPictureIO::setParameters((const char*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setGamma(float)
        this->QPictureIO::setGamma((float)x[1].s_float);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool read()
        bool xret = this->QPictureIO::read();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // bool write()
        bool xret = this->QPictureIO::write();
        x[0].s_bool = xret;
    }
    static void x_24(Smoke::Stack x) {
        // static QByteArray pictureFormat(const QString&)
        QByteArray xret = QPictureIO::pictureFormat(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static QByteArray pictureFormat(QIODevice*)
        QByteArray xret = QPictureIO::pictureFormat((QIODevice*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_26(Smoke::Stack x) {
        // static QList<QByteArray> inputFormats()
        QList<QByteArray> xret = QPictureIO::inputFormats();
        x[0].s_class = (void*)new QList<QByteArray>(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QList<QByteArray> outputFormats()
        QList<QByteArray> xret = QPictureIO::outputFormats();
        x[0].s_class = (void*)new QList<QByteArray>(xret);
    }
    static void x_28(Smoke::Stack x) {
        // static void defineIOHandler(const char*, const char*, const char*, void(*)(QPictureIO*), void(*)(QPictureIO*))
        QPictureIO::defineIOHandler((const char*)x[1].s_class,(const char*)x[2].s_class,(const char*)x[3].s_class,(void(*)(QPictureIO*))x[4].s_class,(void(*)(QPictureIO*))x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    ~x_QPictureIO() { this->_binding->deleted(260, (void*)this); }
};
void xcall_QPictureIO(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPictureIO *xself = (x_QPictureIO*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QPictureIO::x_1(args);	break;
        case 2: x_QPictureIO::x_2(args);	break;
        case 3: x_QPictureIO::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_QPictureIO::x_24(args);	break;
        case 25: x_QPictureIO::x_25(args);	break;
        case 26: x_QPictureIO::x_26(args);	break;
        case 27: x_QPictureIO::x_27(args);	break;
        case 28: x_QPictureIO::x_28(args);	break;
        case 29: delete (QPictureIO*)xself;	break;
    }
}
class x_QPinchGesture : public QPinchGesture, 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<QPinchGesture*>(this))) {
            const QMetaObject* xret = ((const x_QPinchGesture*)this)->QPinchGesture::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QPinchGesture*)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<QPinchGesture*>(this))) {
            void* xret = this->QPinchGesture::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 = QPinchGesture::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 = QPinchGesture::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 = QPinchGesture::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 = QPinchGesture::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<QPinchGesture*>(this))) {
            int xret = this->QPinchGesture::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) {
        // QPinchGesture* QPinchGesture(QObject*)
        x_QPinchGesture* xret = new x_QPinchGesture((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPinchGesture(QObject* x1) : QPinchGesture(x1) {}
    void x_9(Smoke::Stack x) {
        // QFlags<QPinchGesture::ChangeFlag> totalChangeFlags() const
        QFlags<QPinchGesture::ChangeFlag> xret = ((const x_QPinchGesture*)this)->QPinchGesture::totalChangeFlags();
        x[0].s_uint = (uint)xret;
    }
    void x_10(Smoke::Stack x) {
        // void setTotalChangeFlags(QFlags<QPinchGesture::ChangeFlag>)
        this->QPinchGesture::setTotalChangeFlags((QFlags<QPinchGesture::ChangeFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QFlags<QPinchGesture::ChangeFlag> changeFlags() const
        QFlags<QPinchGesture::ChangeFlag> xret = ((const x_QPinchGesture*)this)->QPinchGesture::changeFlags();
        x[0].s_uint = (uint)xret;
    }
    void x_12(Smoke::Stack x) {
        // void setChangeFlags(QFlags<QPinchGesture::ChangeFlag>)
        this->QPinchGesture::setChangeFlags((QFlags<QPinchGesture::ChangeFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QPointF startCenterPoint() const
        QPointF xret = ((const x_QPinchGesture*)this)->QPinchGesture::startCenterPoint();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_14(Smoke::Stack x) {
        // QPointF lastCenterPoint() const
        QPointF xret = ((const x_QPinchGesture*)this)->QPinchGesture::lastCenterPoint();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_15(Smoke::Stack x) {
        // QPointF centerPoint() const
        QPointF xret = ((const x_QPinchGesture*)this)->QPinchGesture::centerPoint();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setStartCenterPoint(const QPointF&)
        this->QPinchGesture::setStartCenterPoint(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setLastCenterPoint(const QPointF&)
        this->QPinchGesture::setLastCenterPoint(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setCenterPoint(const QPointF&)
        this->QPinchGesture::setCenterPoint(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // double totalScaleFactor() const
        double xret = ((const x_QPinchGesture*)this)->QPinchGesture::totalScaleFactor();
        x[0].s_double = xret;
    }
    void x_20(Smoke::Stack x) {
        // double lastScaleFactor() const
        double xret = ((const x_QPinchGesture*)this)->QPinchGesture::lastScaleFactor();
        x[0].s_double = xret;
    }
    void x_21(Smoke::Stack x) {
        // double scaleFactor() const
        double xret = ((const x_QPinchGesture*)this)->QPinchGesture::scaleFactor();
        x[0].s_double = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setTotalScaleFactor(double)
        this->QPinchGesture::setTotalScaleFactor((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setLastScaleFactor(double)
        this->QPinchGesture::setLastScaleFactor((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setScaleFactor(double)
        this->QPinchGesture::setScaleFactor((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // double totalRotationAngle() const
        double xret = ((const x_QPinchGesture*)this)->QPinchGesture::totalRotationAngle();
        x[0].s_double = xret;
    }
    void x_26(Smoke::Stack x) {
        // double lastRotationAngle() const
        double xret = ((const x_QPinchGesture*)this)->QPinchGesture::lastRotationAngle();
        x[0].s_double = xret;
    }
    void x_27(Smoke::Stack x) {
        // double rotationAngle() const
        double xret = ((const x_QPinchGesture*)this)->QPinchGesture::rotationAngle();
        x[0].s_double = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setTotalRotationAngle(double)
        this->QPinchGesture::setTotalRotationAngle((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setLastRotationAngle(double)
        this->QPinchGesture::setLastRotationAngle((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setRotationAngle(double)
        this->QPinchGesture::setRotationAngle((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QPinchGesture::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 = QPinchGesture::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) {
        // QPinchGesture* QPinchGesture()
        x_QPinchGesture* xret = new x_QPinchGesture((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_34(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QPinchGesture::staticMetaObject;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QPinchGesture::ScaleFactorChanged;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QPinchGesture::RotationAngleChanged;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QPinchGesture::CenterPointChanged;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9257, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QPinchGesture::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9258, (void*)this, x)) return (void*)x[0].s_class;
        return this->QPinchGesture::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(9263, (void*)this, x)) return (int)x[0].s_int;
        return this->QPinchGesture::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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 599: //QPinchGesture::ChangeFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPinchGesture::ChangeFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QPinchGesture::ChangeFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPinchGesture::ChangeFlag*)xdata = (QPinchGesture::ChangeFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPinchGesture::ChangeFlag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QPinchGesture() { this->_binding->deleted(262, (void*)this); }
};
void xenum_QPinchGesture(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QPinchGesture::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QPinchGesture(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPinchGesture *xself = (x_QPinchGesture*)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_QPinchGesture::x_3(args);	break;
        case 4: x_QPinchGesture::x_4(args);	break;
        case 5: x_QPinchGesture::x_5(args);	break;
        case 6: x_QPinchGesture::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QPinchGesture::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_QPinchGesture::x_31(args);	break;
        case 32: x_QPinchGesture::x_32(args);	break;
        case 33: x_QPinchGesture::x_33(args);	break;
        case 34: x_QPinchGesture::x_34(args);	break;
        case 35: x_QPinchGesture::x_35(args);	break;
        case 36: x_QPinchGesture::x_36(args);	break;
        case 37: x_QPinchGesture::x_37(args);	break;
        case 38: delete (QPinchGesture*)xself;	break;
    }
}
class x_QPixmap : public QPixmap, 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) {
        // QPixmap* QPixmap()
        x_QPixmap* xret = new x_QPixmap();
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmap() : QPixmap() {}
    static void x_2(Smoke::Stack x) {
        // QPixmap* QPixmap(int, int)
        x_QPixmap* xret = new x_QPixmap((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmap(int x1, int x2) : QPixmap(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // QPixmap* QPixmap(const QSize&)
        x_QPixmap* xret = new x_QPixmap(*(const QSize*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmap(const QSize& x1) : QPixmap(x1) {}
    static void x_4(Smoke::Stack x) {
        // QPixmap* QPixmap(const QString&, const char*, QFlags<Qt::ImageConversionFlag>)
        x_QPixmap* xret = new x_QPixmap(*(const QString*)x[1].s_class,(const char*)x[2].s_class,(QFlags<Qt::ImageConversionFlag>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmap(const QString& x1, const char* x2, QFlags<Qt::ImageConversionFlag> x3) : QPixmap(x1, x2, x3) {}
    static void x_5(Smoke::Stack x) {
        // QPixmap* QPixmap(const char* const *)
        x_QPixmap* xret = new x_QPixmap((const char* const *)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmap(const char* const * x1) : QPixmap(x1) {}
    static void x_6(Smoke::Stack x) {
        // QPixmap* QPixmap(const QPixmap&)
        x_QPixmap* xret = new x_QPixmap(*(const QPixmap*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmap(const QPixmap& x1) : QPixmap(x1) {}
    void x_7(Smoke::Stack x) {
        // QPixmap& operator=(const QPixmap&)
        QPixmap& xret = this->QPixmap::operator=(*(const QPixmap*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_8(Smoke::Stack x) {
        // void swap(QPixmap&)
        this->QPixmap::swap(*(QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QPixmap*)this)->QPixmap::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_10(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_QPixmap*)this)->QPixmap::isNull();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // int devType() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPixmap*>(this))) {
            int xret = ((const x_QPixmap*)this)->QPixmap::devType();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QPixmap*)this)->devType();
            x[0].s_int = xret;
        }
    }
    void x_12(Smoke::Stack x) {
        // int width() const
        int xret = ((const x_QPixmap*)this)->QPixmap::width();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // int height() const
        int xret = ((const x_QPixmap*)this)->QPixmap::height();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // QSize size() const
        QSize xret = ((const x_QPixmap*)this)->QPixmap::size();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_15(Smoke::Stack x) {
        // QRect rect() const
        QRect xret = ((const x_QPixmap*)this)->QPixmap::rect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_16(Smoke::Stack x) {
        // int depth() const
        int xret = ((const x_QPixmap*)this)->QPixmap::depth();
        x[0].s_int = xret;
    }
    static void x_17(Smoke::Stack x) {
        // static int defaultDepth()
        int xret = QPixmap::defaultDepth();
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // void fill(const QColor&)
        this->QPixmap::fill(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void fill(const QWidget*, const QPoint&)
        this->QPixmap::fill((const QWidget*)x[1].s_class,*(const QPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void fill(const QWidget*, int, int)
        this->QPixmap::fill((const QWidget*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QBitmap mask() const
        QBitmap xret = ((const x_QPixmap*)this)->QPixmap::mask();
        x[0].s_class = (void*)new QBitmap(xret);
    }
    void x_22(Smoke::Stack x) {
        // void setMask(const QBitmap&)
        this->QPixmap::setMask(*(const QBitmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QPixmap alphaChannel() const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::alphaChannel();
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_24(Smoke::Stack x) {
        // void setAlphaChannel(const QPixmap&)
        this->QPixmap::setAlphaChannel(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // bool hasAlpha() const
        bool xret = ((const x_QPixmap*)this)->QPixmap::hasAlpha();
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // bool hasAlphaChannel() const
        bool xret = ((const x_QPixmap*)this)->QPixmap::hasAlphaChannel();
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // QBitmap createHeuristicMask(bool) const
        QBitmap xret = ((const x_QPixmap*)this)->QPixmap::createHeuristicMask((bool)x[1].s_bool);
        x[0].s_class = (void*)new QBitmap(xret);
    }
    void x_28(Smoke::Stack x) {
        // QBitmap createMaskFromColor(const QColor&) const
        QBitmap xret = ((const x_QPixmap*)this)->QPixmap::createMaskFromColor(*(const QColor*)x[1].s_class);
        x[0].s_class = (void*)new QBitmap(xret);
    }
    void x_29(Smoke::Stack x) {
        // QBitmap createMaskFromColor(const QColor&, Qt::MaskMode) const
        QBitmap xret = ((const x_QPixmap*)this)->QPixmap::createMaskFromColor(*(const QColor*)x[1].s_class,(Qt::MaskMode)x[2].s_enum);
        x[0].s_class = (void*)new QBitmap(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QPixmap grabWindow(unsigned long, int, int, int, int)
        QPixmap xret = QPixmap::grabWindow((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static QPixmap grabWidget(QWidget*, const QRect&)
        QPixmap xret = QPixmap::grabWidget((QWidget*)x[1].s_class,*(const QRect*)x[2].s_class);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QPixmap grabWidget(QWidget*, int, int, int, int)
        QPixmap xret = QPixmap::grabWidget((QWidget*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_33(Smoke::Stack x) {
        // QPixmap scaled(int, int, Qt::AspectRatioMode, Qt::TransformationMode) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaled((int)x[1].s_int,(int)x[2].s_int,(Qt::AspectRatioMode)x[3].s_enum,(Qt::TransformationMode)x[4].s_enum);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_34(Smoke::Stack x) {
        // QPixmap scaled(const QSize&, Qt::AspectRatioMode, Qt::TransformationMode) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaled(*(const QSize*)x[1].s_class,(Qt::AspectRatioMode)x[2].s_enum,(Qt::TransformationMode)x[3].s_enum);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_35(Smoke::Stack x) {
        // QPixmap scaledToWidth(int, Qt::TransformationMode) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaledToWidth((int)x[1].s_int,(Qt::TransformationMode)x[2].s_enum);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_36(Smoke::Stack x) {
        // QPixmap scaledToHeight(int, Qt::TransformationMode) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaledToHeight((int)x[1].s_int,(Qt::TransformationMode)x[2].s_enum);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_37(Smoke::Stack x) {
        // QPixmap transformed(const QMatrix&, Qt::TransformationMode) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::transformed(*(const QMatrix*)x[1].s_class,(Qt::TransformationMode)x[2].s_enum);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static QMatrix trueMatrix(const QMatrix&, int, int)
        QMatrix xret = QPixmap::trueMatrix(*(const QMatrix*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_class = (void*)new QMatrix(xret);
    }
    void x_39(Smoke::Stack x) {
        // QPixmap transformed(const QTransform&, Qt::TransformationMode) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::transformed(*(const QTransform*)x[1].s_class,(Qt::TransformationMode)x[2].s_enum);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static QTransform trueMatrix(const QTransform&, int, int)
        QTransform xret = QPixmap::trueMatrix(*(const QTransform*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_class = (void*)new QTransform(xret);
    }
    void x_41(Smoke::Stack x) {
        // QImage toImage() const
        QImage xret = ((const x_QPixmap*)this)->QPixmap::toImage();
        x[0].s_class = (void*)new QImage(xret);
    }
    static void x_42(Smoke::Stack x) {
        // static QPixmap fromImage(const QImage&, QFlags<Qt::ImageConversionFlag>)
        QPixmap xret = QPixmap::fromImage(*(const QImage*)x[1].s_class,(QFlags<Qt::ImageConversionFlag>)x[2].s_uint);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_43(Smoke::Stack x) {
        // static QPixmap fromImageReader(QImageReader*, QFlags<Qt::ImageConversionFlag>)
        QPixmap xret = QPixmap::fromImageReader((QImageReader*)x[1].s_class,(QFlags<Qt::ImageConversionFlag>)x[2].s_uint);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_44(Smoke::Stack x) {
        // bool load(const QString&, const char*, QFlags<Qt::ImageConversionFlag>)
        bool xret = this->QPixmap::load(*(const QString*)x[1].s_class,(const char*)x[2].s_class,(QFlags<Qt::ImageConversionFlag>)x[3].s_uint);
        x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
        // bool loadFromData(const unsigned char*, unsigned int, const char*, QFlags<Qt::ImageConversionFlag>)
        bool xret = this->QPixmap::loadFromData((const unsigned char*)x[1].s_class,(unsigned int)x[2].s_uint,(const char*)x[3].s_class,(QFlags<Qt::ImageConversionFlag>)x[4].s_uint);
        x[0].s_bool = xret;
    }
    void x_46(Smoke::Stack x) {
        // bool loadFromData(const QByteArray&, const char*, QFlags<Qt::ImageConversionFlag>)
        bool xret = this->QPixmap::loadFromData(*(const QByteArray*)x[1].s_class,(const char*)x[2].s_class,(QFlags<Qt::ImageConversionFlag>)x[3].s_uint);
        x[0].s_bool = xret;
    }
    void x_47(Smoke::Stack x) {
        // bool save(const QString&, const char*, int) const
        bool xret = ((const x_QPixmap*)this)->QPixmap::save(*(const QString*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) {
        // bool save(QIODevice*, const char*, int) const
        bool xret = ((const x_QPixmap*)this)->QPixmap::save((QIODevice*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_bool = xret;
    }
    void x_49(Smoke::Stack x) {
        // bool convertFromImage(const QImage&, QFlags<Qt::ImageConversionFlag>)
        bool xret = this->QPixmap::convertFromImage(*(const QImage*)x[1].s_class,(QFlags<Qt::ImageConversionFlag>)x[2].s_uint);
        x[0].s_bool = xret;
    }
    void x_50(Smoke::Stack x) {
        // QPixmap copy(int, int, int, int) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::copy((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_51(Smoke::Stack x) {
        // QPixmap copy(const QRect&) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::copy(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_52(Smoke::Stack x) {
        // void scroll(int, int, int, int, int, int, QRegion*)
        this->QPixmap::scroll((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int,(QRegion*)x[7].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // void scroll(int, int, const QRect&, QRegion*)
        this->QPixmap::scroll((int)x[1].s_int,(int)x[2].s_int,*(const QRect*)x[3].s_class,(QRegion*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_54(Smoke::Stack x) {
        // int serialNumber() const
        int xret = ((const x_QPixmap*)this)->QPixmap::serialNumber();
        x[0].s_int = xret;
    }
    void x_55(Smoke::Stack x) {
        // long long cacheKey() const
        long long xret = ((const x_QPixmap*)this)->QPixmap::cacheKey();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_56(Smoke::Stack x) {
        // bool isDetached() const
        bool xret = ((const x_QPixmap*)this)->QPixmap::isDetached();
        x[0].s_bool = xret;
    }
    void x_57(Smoke::Stack x) {
        // void detach()
        this->QPixmap::detach();
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // bool isQBitmap() const
        bool xret = ((const x_QPixmap*)this)->QPixmap::isQBitmap();
        x[0].s_bool = xret;
    }
    static void x_59(Smoke::Stack x) {
        // static QPixmap fromX11Pixmap(unsigned long, QPixmap::ShareMode)
        QPixmap xret = QPixmap::fromX11Pixmap((unsigned long)x[1].s_ulong,(QPixmap::ShareMode)x[2].s_enum);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_60(Smoke::Stack x) {
        // static int x11SetDefaultScreen(int)
        int xret = QPixmap::x11SetDefaultScreen((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_61(Smoke::Stack x) {
        // void x11SetScreen(int)
        this->QPixmap::x11SetScreen((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // const QX11Info& x11Info() const
        const QX11Info& xret = ((const x_QPixmap*)this)->QPixmap::x11Info();
        x[0].s_class = (void*)&xret;
    }
    void x_63(Smoke::Stack x) {
        // unsigned long x11PictureHandle() const
        unsigned long xret = ((const x_QPixmap*)this)->QPixmap::x11PictureHandle();
        x[0].s_ulong = xret;
    }
    void x_64(Smoke::Stack x) {
        // unsigned long handle() const
        unsigned long xret = ((const x_QPixmap*)this)->QPixmap::handle();
        x[0].s_ulong = xret;
    }
    void x_65(Smoke::Stack x) {
        // QPaintEngine* paintEngine() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPixmap*>(this))) {
            QPaintEngine* xret = ((const x_QPixmap*)this)->QPixmap::paintEngine();
            x[0].s_class = (void*)xret;
        } else {
            QPaintEngine* xret = ((const x_QPixmap*)this)->paintEngine();
            x[0].s_class = (void*)xret;
        }
    }
    void x_66(Smoke::Stack x) {
        // bool operator!() const
        bool xret = ((const x_QPixmap*)this)->QPixmap::operator!();
        x[0].s_bool = xret;
    }
    void x_67(Smoke::Stack x) {
        // int metric(QPaintDevice::PaintDeviceMetric) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPixmap*>(this))) {
            int xret = ((const x_QPixmap*)this)->QPixmap::metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QPixmap*)this)->metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
            x[0].s_int = xret;
        }
    }
    static void x_68(Smoke::Stack x) {
        // QPixmap* QPixmap(const QString&)
        x_QPixmap* xret = new x_QPixmap(*(const QString*)x[1].s_class,(const char*)0,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_class = (void*)xret;
    }
    static void x_69(Smoke::Stack x) {
        // QPixmap* QPixmap(const QString&, const char*)
        x_QPixmap* xret = new x_QPixmap(*(const QString*)x[1].s_class,(const char*)x[2].s_class,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_class = (void*)xret;
    }
    void x_70(Smoke::Stack x) {
        // void fill()
        this->QPixmap::fill((const QColor&)Qt::white);
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // QBitmap createHeuristicMask() const
        QBitmap xret = ((const x_QPixmap*)this)->QPixmap::createHeuristicMask((bool)true);
        x[0].s_class = (void*)new QBitmap(xret);
    }
    static void x_72(Smoke::Stack x) {
        // static QPixmap grabWindow(unsigned long)
        QPixmap xret = QPixmap::grabWindow((unsigned long)x[1].s_ulong,(int)0,(int)0,(int)-1,(int)-1);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_73(Smoke::Stack x) {
        // static QPixmap grabWindow(unsigned long, int)
        QPixmap xret = QPixmap::grabWindow((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)0,(int)-1,(int)-1);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_74(Smoke::Stack x) {
        // static QPixmap grabWindow(unsigned long, int, int)
        QPixmap xret = QPixmap::grabWindow((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)x[3].s_int,(int)-1,(int)-1);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_75(Smoke::Stack x) {
        // static QPixmap grabWindow(unsigned long, int, int, int)
        QPixmap xret = QPixmap::grabWindow((unsigned long)x[1].s_ulong,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)-1);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_76(Smoke::Stack x) {
        // static QPixmap grabWidget(QWidget*)
        QPixmap xret = QPixmap::grabWidget((QWidget*)x[1].s_class,(int)0,(int)0,(int)-1,(int)-1);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_77(Smoke::Stack x) {
        // static QPixmap grabWidget(QWidget*, int)
        QPixmap xret = QPixmap::grabWidget((QWidget*)x[1].s_class,(int)x[2].s_int,(int)0,(int)-1,(int)-1);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_78(Smoke::Stack x) {
        // static QPixmap grabWidget(QWidget*, int, int)
        QPixmap xret = QPixmap::grabWidget((QWidget*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)-1,(int)-1);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_79(Smoke::Stack x) {
        // static QPixmap grabWidget(QWidget*, int, int, int)
        QPixmap xret = QPixmap::grabWidget((QWidget*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)-1);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_80(Smoke::Stack x) {
        // QPixmap scaled(int, int) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaled((int)x[1].s_int,(int)x[2].s_int,(Qt::AspectRatioMode)Qt::IgnoreAspectRatio,(Qt::TransformationMode)Qt::FastTransformation);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_81(Smoke::Stack x) {
        // QPixmap scaled(int, int, Qt::AspectRatioMode) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaled((int)x[1].s_int,(int)x[2].s_int,(Qt::AspectRatioMode)x[3].s_enum,(Qt::TransformationMode)Qt::FastTransformation);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_82(Smoke::Stack x) {
        // QPixmap scaled(const QSize&) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaled(*(const QSize*)x[1].s_class,(Qt::AspectRatioMode)Qt::IgnoreAspectRatio,(Qt::TransformationMode)Qt::FastTransformation);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_83(Smoke::Stack x) {
        // QPixmap scaled(const QSize&, Qt::AspectRatioMode) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaled(*(const QSize*)x[1].s_class,(Qt::AspectRatioMode)x[2].s_enum,(Qt::TransformationMode)Qt::FastTransformation);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_84(Smoke::Stack x) {
        // QPixmap scaledToWidth(int) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaledToWidth((int)x[1].s_int,(Qt::TransformationMode)Qt::FastTransformation);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_85(Smoke::Stack x) {
        // QPixmap scaledToHeight(int) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::scaledToHeight((int)x[1].s_int,(Qt::TransformationMode)Qt::FastTransformation);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_86(Smoke::Stack x) {
        // QPixmap transformed(const QMatrix&) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::transformed(*(const QMatrix*)x[1].s_class,(Qt::TransformationMode)Qt::FastTransformation);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_87(Smoke::Stack x) {
        // QPixmap transformed(const QTransform&) const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::transformed(*(const QTransform*)x[1].s_class,(Qt::TransformationMode)Qt::FastTransformation);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_88(Smoke::Stack x) {
        // static QPixmap fromImage(const QImage&)
        QPixmap xret = QPixmap::fromImage(*(const QImage*)x[1].s_class,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_89(Smoke::Stack x) {
        // static QPixmap fromImageReader(QImageReader*)
        QPixmap xret = QPixmap::fromImageReader((QImageReader*)x[1].s_class,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_90(Smoke::Stack x) {
        // bool load(const QString&)
        bool xret = this->QPixmap::load(*(const QString*)x[1].s_class,(const char*)0,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_bool = xret;
    }
    void x_91(Smoke::Stack x) {
        // bool load(const QString&, const char*)
        bool xret = this->QPixmap::load(*(const QString*)x[1].s_class,(const char*)x[2].s_class,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_bool = xret;
    }
    void x_92(Smoke::Stack x) {
        // bool loadFromData(const unsigned char*, unsigned int)
        bool xret = this->QPixmap::loadFromData((const unsigned char*)x[1].s_class,(unsigned int)x[2].s_uint,(const char*)0,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_bool = xret;
    }
    void x_93(Smoke::Stack x) {
        // bool loadFromData(const unsigned char*, unsigned int, const char*)
        bool xret = this->QPixmap::loadFromData((const unsigned char*)x[1].s_class,(unsigned int)x[2].s_uint,(const char*)x[3].s_class,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_bool = xret;
    }
    void x_94(Smoke::Stack x) {
        // bool loadFromData(const QByteArray&)
        bool xret = this->QPixmap::loadFromData(*(const QByteArray*)x[1].s_class,(const char*)0,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_bool = xret;
    }
    void x_95(Smoke::Stack x) {
        // bool loadFromData(const QByteArray&, const char*)
        bool xret = this->QPixmap::loadFromData(*(const QByteArray*)x[1].s_class,(const char*)x[2].s_class,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_bool = xret;
    }
    void x_96(Smoke::Stack x) {
        // bool save(const QString&) const
        bool xret = ((const x_QPixmap*)this)->QPixmap::save(*(const QString*)x[1].s_class,(const char*)0,(int)-1);
        x[0].s_bool = xret;
    }
    void x_97(Smoke::Stack x) {
        // bool save(const QString&, const char*) const
        bool xret = ((const x_QPixmap*)this)->QPixmap::save(*(const QString*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
        x[0].s_bool = xret;
    }
    void x_98(Smoke::Stack x) {
        // bool save(QIODevice*) const
        bool xret = ((const x_QPixmap*)this)->QPixmap::save((QIODevice*)x[1].s_class,(const char*)0,(int)-1);
        x[0].s_bool = xret;
    }
    void x_99(Smoke::Stack x) {
        // bool save(QIODevice*, const char*) const
        bool xret = ((const x_QPixmap*)this)->QPixmap::save((QIODevice*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
        x[0].s_bool = xret;
    }
    void x_100(Smoke::Stack x) {
        // bool convertFromImage(const QImage&)
        bool xret = this->QPixmap::convertFromImage(*(const QImage*)x[1].s_class,(QFlags<Qt::ImageConversionFlag>)Qt::AutoColor);
        x[0].s_bool = xret;
    }
    void x_101(Smoke::Stack x) {
        // QPixmap copy() const
        QPixmap xret = ((const x_QPixmap*)this)->QPixmap::copy((const QRect&)QRect());
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_102(Smoke::Stack x) {
        // void scroll(int, int, int, int, int, int)
        this->QPixmap::scroll((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int,(int)x[6].s_int,(QRegion*)0);
        (void)x; // noop (for compiler warning)
    }
    void x_103(Smoke::Stack x) {
        // void scroll(int, int, const QRect&)
        this->QPixmap::scroll((int)x[1].s_int,(int)x[2].s_int,*(const QRect*)x[3].s_class,(QRegion*)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_104(Smoke::Stack x) {
        // static QPixmap fromX11Pixmap(unsigned long)
        QPixmap xret = QPixmap::fromX11Pixmap((unsigned long)x[1].s_ulong,(QPixmap::ShareMode)QPixmap::ImplicitlyShared);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)QPixmap::ImplicitlyShared;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)QPixmap::ExplicitlyShared;
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9305, (void*)this, x)) return (int)x[0].s_int;
        return this->QPixmap::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9359, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QPixmap::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(9361, (void*)this, x)) return (int)x[0].s_int;
        return this->QPixmap::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 603: //QPixmap::ShareMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPixmap::ShareMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QPixmap::ShareMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPixmap::ShareMode*)xdata = (QPixmap::ShareMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPixmap::ShareMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QPixmap() { this->_binding->deleted(263, (void*)this); }
};
void xenum_QPixmap(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QPixmap::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QPixmap(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPixmap *xself = (x_QPixmap*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QPixmap::x_1(args);	break;
        case 2: x_QPixmap::x_2(args);	break;
        case 3: x_QPixmap::x_3(args);	break;
        case 4: x_QPixmap::x_4(args);	break;
        case 5: x_QPixmap::x_5(args);	break;
        case 6: x_QPixmap::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: x_QPixmap::x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_QPixmap::x_30(args);	break;
        case 31: x_QPixmap::x_31(args);	break;
        case 32: x_QPixmap::x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: x_QPixmap::x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: x_QPixmap::x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: x_QPixmap::x_42(args);	break;
        case 43: x_QPixmap::x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: x_QPixmap::x_59(args);	break;
        case 60: x_QPixmap::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: x_QPixmap::x_68(args);	break;
        case 69: x_QPixmap::x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: x_QPixmap::x_72(args);	break;
        case 73: x_QPixmap::x_73(args);	break;
        case 74: x_QPixmap::x_74(args);	break;
        case 75: x_QPixmap::x_75(args);	break;
        case 76: x_QPixmap::x_76(args);	break;
        case 77: x_QPixmap::x_77(args);	break;
        case 78: x_QPixmap::x_78(args);	break;
        case 79: x_QPixmap::x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: x_QPixmap::x_88(args);	break;
        case 89: x_QPixmap::x_89(args);	break;
        case 90: xself->x_90(args);	break;
        case 91: xself->x_91(args);	break;
        case 92: xself->x_92(args);	break;
        case 93: xself->x_93(args);	break;
        case 94: xself->x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: xself->x_96(args);	break;
        case 97: xself->x_97(args);	break;
        case 98: xself->x_98(args);	break;
        case 99: xself->x_99(args);	break;
        case 100: xself->x_100(args);	break;
        case 101: xself->x_101(args);	break;
        case 102: xself->x_102(args);	break;
        case 103: xself->x_103(args);	break;
        case 104: x_QPixmap::x_104(args);	break;
        case 105: x_QPixmap::x_105(args);	break;
        case 106: x_QPixmap::x_106(args);	break;
        case 107: delete (QPixmap*)xself;	break;
    }
}
class x_QPixmapCache : public QPixmapCache {
    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 int cacheLimit()
        int xret = QPixmapCache::cacheLimit();
        x[0].s_int = xret;
    }
    static void x_2(Smoke::Stack x) {
        // static void setCacheLimit(int)
        QPixmapCache::setCacheLimit((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // static QPixmap* find(const QString&)
        QPixmap* xret = QPixmapCache::find(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static bool find(const QString&, QPixmap&)
        bool xret = QPixmapCache::find(*(const QString*)x[1].s_class,*(QPixmap*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_5(Smoke::Stack x) {
        // static bool find(const QString&, QPixmap*)
        bool xret = QPixmapCache::find(*(const QString*)x[1].s_class,(QPixmap*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_6(Smoke::Stack x) {
        // static bool find(const QPixmapCache::Key&, QPixmap*)
        bool xret = QPixmapCache::find(*(const QPixmapCache::Key*)x[1].s_class,(QPixmap*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_7(Smoke::Stack x) {
        // static bool insert(const QString&, const QPixmap&)
        bool xret = QPixmapCache::insert(*(const QString*)x[1].s_class,*(const QPixmap*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static QPixmapCache::Key insert(const QPixmap&)
        QPixmapCache::Key xret = QPixmapCache::insert(*(const QPixmap*)x[1].s_class);
        x[0].s_class = (void*)new QPixmapCache::Key(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static bool replace(const QPixmapCache::Key&, const QPixmap&)
        bool xret = QPixmapCache::replace(*(const QPixmapCache::Key*)x[1].s_class,*(const QPixmap*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_10(Smoke::Stack x) {
        // static void remove(const QString&)
        QPixmapCache::remove(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // static void remove(const QPixmapCache::Key&)
        QPixmapCache::remove(*(const QPixmapCache::Key*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // static void clear()
        QPixmapCache::clear();
        (void)x; // noop (for compiler warning)
    }
    static void x_13(Smoke::Stack x) {
        // QPixmapCache* QPixmapCache()
        x_QPixmapCache* xret = new x_QPixmapCache();
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmapCache() : QPixmapCache() {}
    static void x_14(Smoke::Stack x) {
        // QPixmapCache* QPixmapCache(const QPixmapCache&)
        x_QPixmapCache* xret = new x_QPixmapCache(*(const QPixmapCache*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmapCache(const QPixmapCache& x1) : QPixmapCache(x1) {}
    ~x_QPixmapCache() { this->_binding->deleted(264, (void*)this); }
};
void xcall_QPixmapCache(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPixmapCache *xself = (x_QPixmapCache*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QPixmapCache::x_1(args);	break;
        case 2: x_QPixmapCache::x_2(args);	break;
        case 3: x_QPixmapCache::x_3(args);	break;
        case 4: x_QPixmapCache::x_4(args);	break;
        case 5: x_QPixmapCache::x_5(args);	break;
        case 6: x_QPixmapCache::x_6(args);	break;
        case 7: x_QPixmapCache::x_7(args);	break;
        case 8: x_QPixmapCache::x_8(args);	break;
        case 9: x_QPixmapCache::x_9(args);	break;
        case 10: x_QPixmapCache::x_10(args);	break;
        case 11: x_QPixmapCache::x_11(args);	break;
        case 12: x_QPixmapCache::x_12(args);	break;
        case 13: x_QPixmapCache::x_13(args);	break;
        case 14: x_QPixmapCache::x_14(args);	break;
        case 15: delete (QPixmapCache*)xself;	break;
    }
}
class x_QPixmapCache__Key : public QPixmapCache::Key {
    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) {
        // QPixmapCache::Key* Key()
        x_QPixmapCache__Key* xret = new x_QPixmapCache__Key();
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmapCache__Key() : Key() {}
    static void x_2(Smoke::Stack x) {
        // QPixmapCache::Key* Key(const QPixmapCache::Key&)
        x_QPixmapCache__Key* xret = new x_QPixmapCache__Key(*(const QPixmapCache::Key*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPixmapCache__Key(const QPixmapCache::Key& x1) : Key(x1) {}
    void x_3(Smoke::Stack x) {
        // bool operator==(const QPixmapCache::Key&) const
        bool xret = ((const x_QPixmapCache__Key*)this)->QPixmapCache::Key::operator==(*(const QPixmapCache::Key*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // bool operator!=(const QPixmapCache::Key&) const
        bool xret = ((const x_QPixmapCache__Key*)this)->QPixmapCache::Key::operator!=(*(const QPixmapCache::Key*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // QPixmapCache::Key& operator=(const QPixmapCache::Key&)
        QPixmapCache::Key& xret = this->QPixmapCache::Key::operator=(*(const QPixmapCache::Key*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    ~x_QPixmapCache__Key() { this->_binding->deleted(265, (void*)this); }
};
void xcall_QPixmapCache__Key(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPixmapCache__Key *xself = (x_QPixmapCache__Key*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QPixmapCache__Key::x_1(args);	break;
        case 2: x_QPixmapCache__Key::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: delete (QPixmapCache::Key*)xself;	break;
    }
}
class x_QPlainTextDocumentLayout : public QPlainTextDocumentLayout, 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<QPlainTextDocumentLayout*>(this))) {
            const QMetaObject* xret = ((const x_QPlainTextDocumentLayout*)this)->QPlainTextDocumentLayout::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QPlainTextDocumentLayout*)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<QPlainTextDocumentLayout*>(this))) {
            void* xret = this->QPlainTextDocumentLayout::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 = QPlainTextDocumentLayout::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 = QPlainTextDocumentLayout::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 = QPlainTextDocumentLayout::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 = QPlainTextDocumentLayout::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<QPlainTextDocumentLayout*>(this))) {
            int xret = this->QPlainTextDocumentLayout::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) {
        // QPlainTextDocumentLayout* QPlainTextDocumentLayout(QTextDocument*)
        x_QPlainTextDocumentLayout* xret = new x_QPlainTextDocumentLayout((QTextDocument*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPlainTextDocumentLayout(QTextDocument* x1) : QPlainTextDocumentLayout(x1) {}
    void x_9(Smoke::Stack x) {
        // void draw(QPainter*, const QAbstractTextDocumentLayout::PaintContext&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextDocumentLayout*>(this))) {
            this->QPlainTextDocumentLayout::draw((QPainter*)x[1].s_class,*(const QAbstractTextDocumentLayout::PaintContext*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->draw((QPainter*)x[1].s_class,*(const QAbstractTextDocumentLayout::PaintContext*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // int hitTest(const QPointF&, Qt::HitTestAccuracy) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextDocumentLayout*>(this))) {
            int xret = ((const x_QPlainTextDocumentLayout*)this)->QPlainTextDocumentLayout::hitTest(*(const QPointF*)x[1].s_class,(Qt::HitTestAccuracy)x[2].s_enum);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QPlainTextDocumentLayout*)this)->hitTest(*(const QPointF*)x[1].s_class,(Qt::HitTestAccuracy)x[2].s_enum);
            x[0].s_int = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // int pageCount() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextDocumentLayout*>(this))) {
            int xret = ((const x_QPlainTextDocumentLayout*)this)->QPlainTextDocumentLayout::pageCount();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QPlainTextDocumentLayout*)this)->pageCount();
            x[0].s_int = xret;
        }
    }
    void x_12(Smoke::Stack x) {
        // QSizeF documentSize() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextDocumentLayout*>(this))) {
            QSizeF xret = ((const x_QPlainTextDocumentLayout*)this)->QPlainTextDocumentLayout::documentSize();
            x[0].s_class = (void*)new QSizeF(xret);
        } else {
            QSizeF xret = ((const x_QPlainTextDocumentLayout*)this)->documentSize();
            x[0].s_class = (void*)new QSizeF(xret);
        }
    }
    void x_13(Smoke::Stack x) {
        // QRectF frameBoundingRect(QTextFrame*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextDocumentLayout*>(this))) {
            QRectF xret = ((const x_QPlainTextDocumentLayout*)this)->QPlainTextDocumentLayout::frameBoundingRect((QTextFrame*)x[1].s_class);
            x[0].s_class = (void*)new QRectF(xret);
        } else {
            QRectF xret = ((const x_QPlainTextDocumentLayout*)this)->frameBoundingRect((QTextFrame*)x[1].s_class);
            x[0].s_class = (void*)new QRectF(xret);
        }
    }
    void x_14(Smoke::Stack x) {
        // QRectF blockBoundingRect(const QTextBlock&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextDocumentLayout*>(this))) {
            QRectF xret = ((const x_QPlainTextDocumentLayout*)this)->QPlainTextDocumentLayout::blockBoundingRect(*(const QTextBlock*)x[1].s_class);
            x[0].s_class = (void*)new QRectF(xret);
        } else {
            QRectF xret = ((const x_QPlainTextDocumentLayout*)this)->blockBoundingRect(*(const QTextBlock*)x[1].s_class);
            x[0].s_class = (void*)new QRectF(xret);
        }
    }
    void x_15(Smoke::Stack x) {
        // void ensureBlockLayout(const QTextBlock&) const
        ((const x_QPlainTextDocumentLayout*)this)->QPlainTextDocumentLayout::ensureBlockLayout(*(const QTextBlock*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setCursorWidth(int)
        this->QPlainTextDocumentLayout::setCursorWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // int cursorWidth() const
        int xret = ((const x_QPlainTextDocumentLayout*)this)->QPlainTextDocumentLayout::cursorWidth();
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // void requestUpdate()
        this->QPlainTextDocumentLayout::requestUpdate();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void documentChanged(int, int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextDocumentLayout*>(this))) {
            this->QPlainTextDocumentLayout::documentChanged((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->documentChanged((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QPlainTextDocumentLayout::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 = QPlainTextDocumentLayout::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) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QPlainTextDocumentLayout::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9423, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QPlainTextDocumentLayout::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9424, (void*)this, x)) return (void*)x[0].s_class;
        return this->QPlainTextDocumentLayout::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(9429, (void*)this, x)) return (int)x[0].s_int;
        return this->QPlainTextDocumentLayout::qt_metacall(x1, x2, x3);
    }
    virtual void draw(QPainter* x1, const QAbstractTextDocumentLayout::PaintContext& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(9431, (void*)this, x)) return;
        this->QPlainTextDocumentLayout::draw(x1, x2);
    }
    virtual int hitTest(const QPointF& x1, Qt::HitTestAccuracy x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(9432, (void*)this, x)) return (int)x[0].s_int;
        return this->QPlainTextDocumentLayout::hitTest(x1, x2);
    }
    virtual int pageCount() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9433, (void*)this, x)) return (int)x[0].s_int;
        return this->QPlainTextDocumentLayout::pageCount();
    }
    virtual QSizeF documentSize() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9434, (void*)this, x)) {
            QSizeF* xptr = (QSizeF*)x[0].s_class;
            QSizeF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPlainTextDocumentLayout::documentSize();
    }
    virtual QRectF frameBoundingRect(QTextFrame* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9435, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPlainTextDocumentLayout::frameBoundingRect(x1);
    }
    virtual QRectF blockBoundingRect(const QTextBlock& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(9436, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPlainTextDocumentLayout::blockBoundingRect(x1);
    }
    virtual void documentChanged(int x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(9441, (void*)this, x)) return;
        this->QPlainTextDocumentLayout::documentChanged(x1, x2, x3);
    }
    virtual void resizeInlineObject(QTextInlineObject x1, int x2, const QTextFormat& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)new QTextInlineObject(x1);
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(629, (void*)this, x)) return;
        this->QAbstractTextDocumentLayout::resizeInlineObject(x1, x2, x3);
    }
    virtual void positionInlineObject(QTextInlineObject x1, int x2, const QTextFormat& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)new QTextInlineObject(x1);
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(630, (void*)this, x)) return;
        this->QAbstractTextDocumentLayout::positionInlineObject(x1, x2, x3);
    }
    virtual void drawInlineObject(QPainter* x1, const QRectF& x2, QTextInlineObject x3, int x4, const QTextFormat& x5) {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)new QTextInlineObject(x3);
        x[4].s_int = x4;
        x[5].s_class = (void*)&x5;
        if (this->_binding->callMethod(631, (void*)this, x)) return;
        this->QAbstractTextDocumentLayout::drawInlineObject(x1, x2, x3, x4, x5);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8374, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QPlainTextDocumentLayout() { this->_binding->deleted(266, (void*)this); }
};
void xcall_QPlainTextDocumentLayout(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPlainTextDocumentLayout *xself = (x_QPlainTextDocumentLayout*)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_QPlainTextDocumentLayout::x_3(args);	break;
        case 4: x_QPlainTextDocumentLayout::x_4(args);	break;
        case 5: x_QPlainTextDocumentLayout::x_5(args);	break;
        case 6: x_QPlainTextDocumentLayout::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QPlainTextDocumentLayout::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: x_QPlainTextDocumentLayout::x_20(args);	break;
        case 21: x_QPlainTextDocumentLayout::x_21(args);	break;
        case 22: x_QPlainTextDocumentLayout::x_22(args);	break;
        case 23: delete (QPlainTextDocumentLayout*)xself;	break;
    }
}
class x_QPlainTextEdit : public QPlainTextEdit, 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<QPlainTextEdit*>(this))) {
            const QMetaObject* xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QPlainTextEdit*)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<QPlainTextEdit*>(this))) {
            void* xret = this->QPlainTextEdit::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 = QPlainTextEdit::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 = QPlainTextEdit::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 = QPlainTextEdit::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 = QPlainTextEdit::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<QPlainTextEdit*>(this))) {
            int xret = this->QPlainTextEdit::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) {
        // QPlainTextEdit* QPlainTextEdit(QWidget*)
        x_QPlainTextEdit* xret = new x_QPlainTextEdit((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPlainTextEdit(QWidget* x1) : QPlainTextEdit(x1) {}
    static void x_9(Smoke::Stack x) {
        // QPlainTextEdit* QPlainTextEdit(const QString&, QWidget*)
        x_QPlainTextEdit* xret = new x_QPlainTextEdit(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPlainTextEdit(const QString& x1, QWidget* x2) : QPlainTextEdit(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void setDocument(QTextDocument*)
        this->QPlainTextEdit::setDocument((QTextDocument*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QTextDocument* document() const
        QTextDocument* xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::document();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // void setTextCursor(const QTextCursor&)
        this->QPlainTextEdit::setTextCursor(*(const QTextCursor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QTextCursor textCursor() const
        QTextCursor xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::textCursor();
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_14(Smoke::Stack x) {
        // bool isReadOnly() const
        bool xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::isReadOnly();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setReadOnly(bool)
        this->QPlainTextEdit::setReadOnly((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setTextInteractionFlags(QFlags<Qt::TextInteractionFlag>)
        this->QPlainTextEdit::setTextInteractionFlags((QFlags<Qt::TextInteractionFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QFlags<Qt::TextInteractionFlag> textInteractionFlags() const
        QFlags<Qt::TextInteractionFlag> xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::textInteractionFlags();
        x[0].s_uint = (uint)xret;
    }
    void x_18(Smoke::Stack x) {
        // void mergeCurrentCharFormat(const QTextCharFormat&)
        this->QPlainTextEdit::mergeCurrentCharFormat(*(const QTextCharFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setCurrentCharFormat(const QTextCharFormat&)
        this->QPlainTextEdit::setCurrentCharFormat(*(const QTextCharFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // QTextCharFormat currentCharFormat() const
        QTextCharFormat xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::currentCharFormat();
        x[0].s_class = (void*)new QTextCharFormat(xret);
    }
    void x_21(Smoke::Stack x) {
        // bool tabChangesFocus() const
        bool xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::tabChangesFocus();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setTabChangesFocus(bool)
        this->QPlainTextEdit::setTabChangesFocus((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setDocumentTitle(const QString&)
        this->QPlainTextEdit::setDocumentTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QString documentTitle() const
        QString xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::documentTitle();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_25(Smoke::Stack x) {
        // bool isUndoRedoEnabled() const
        bool xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::isUndoRedoEnabled();
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setUndoRedoEnabled(bool)
        this->QPlainTextEdit::setUndoRedoEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setMaximumBlockCount(int)
        this->QPlainTextEdit::setMaximumBlockCount((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // int maximumBlockCount() const
        int xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::maximumBlockCount();
        x[0].s_int = xret;
    }
    void x_29(Smoke::Stack x) {
        // QPlainTextEdit::LineWrapMode lineWrapMode() const
        QPlainTextEdit::LineWrapMode xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::lineWrapMode();
        x[0].s_enum = xret;
    }
    void x_30(Smoke::Stack x) {
        // void setLineWrapMode(QPlainTextEdit::LineWrapMode)
        this->QPlainTextEdit::setLineWrapMode((QPlainTextEdit::LineWrapMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // QTextOption::WrapMode wordWrapMode() const
        QTextOption::WrapMode xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::wordWrapMode();
        x[0].s_enum = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setWordWrapMode(QTextOption::WrapMode)
        this->QPlainTextEdit::setWordWrapMode((QTextOption::WrapMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setBackgroundVisible(bool)
        this->QPlainTextEdit::setBackgroundVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // bool backgroundVisible() const
        bool xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::backgroundVisible();
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // void setCenterOnScroll(bool)
        this->QPlainTextEdit::setCenterOnScroll((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool centerOnScroll() const
        bool xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::centerOnScroll();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // bool find(const QString&, QFlags<QTextDocument::FindFlag>)
        bool xret = this->QPlainTextEdit::find(*(const QString*)x[1].s_class,(QFlags<QTextDocument::FindFlag>)x[2].s_uint);
        x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
        // QString toPlainText() const
        QString xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::toPlainText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_39(Smoke::Stack x) {
        // void ensureCursorVisible()
        this->QPlainTextEdit::ensureCursorVisible();
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // virtual QVariant loadResource(int, const QUrl&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            QVariant xret = this->QPlainTextEdit::loadResource((int)x[1].s_int,*(const QUrl*)x[2].s_class);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = this->loadResource((int)x[1].s_int,*(const QUrl*)x[2].s_class);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_41(Smoke::Stack x) {
        // QMenu* createStandardContextMenu()
        QMenu* xret = this->QPlainTextEdit::createStandardContextMenu();
        x[0].s_class = (void*)xret;
    }
    void x_42(Smoke::Stack x) {
        // QTextCursor cursorForPosition(const QPoint&) const
        QTextCursor xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::cursorForPosition(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_43(Smoke::Stack x) {
        // QRect cursorRect(const QTextCursor&) const
        QRect xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::cursorRect(*(const QTextCursor*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_44(Smoke::Stack x) {
        // QRect cursorRect() const
        QRect xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::cursorRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_45(Smoke::Stack x) {
        // QString anchorAt(const QPoint&) const
        QString xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::anchorAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_46(Smoke::Stack x) {
        // bool overwriteMode() const
        bool xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::overwriteMode();
        x[0].s_bool = xret;
    }
    void x_47(Smoke::Stack x) {
        // void setOverwriteMode(bool)
        this->QPlainTextEdit::setOverwriteMode((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // int tabStopWidth() const
        int xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::tabStopWidth();
        x[0].s_int = xret;
    }
    void x_49(Smoke::Stack x) {
        // void setTabStopWidth(int)
        this->QPlainTextEdit::setTabStopWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // int cursorWidth() const
        int xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::cursorWidth();
        x[0].s_int = xret;
    }
    void x_51(Smoke::Stack x) {
        // void setCursorWidth(int)
        this->QPlainTextEdit::setCursorWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void setExtraSelections(const QList<QTextEdit::ExtraSelection>&)
        this->QPlainTextEdit::setExtraSelections(*(const QList<QTextEdit::ExtraSelection>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // QList<QTextEdit::ExtraSelection> extraSelections() const
        QList<QTextEdit::ExtraSelection> xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::extraSelections();
        x[0].s_class = (void*)new QList<QTextEdit::ExtraSelection>(xret);
    }
    void x_54(Smoke::Stack x) {
        // void moveCursor(QTextCursor::MoveOperation, QTextCursor::MoveMode)
        this->QPlainTextEdit::moveCursor((QTextCursor::MoveOperation)x[1].s_enum,(QTextCursor::MoveMode)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // bool canPaste() const
        bool xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::canPaste();
        x[0].s_bool = xret;
    }
    void x_56(Smoke::Stack x) {
        // void print(QPrinter*) const
        ((const x_QPlainTextEdit*)this)->QPlainTextEdit::print((QPrinter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // int blockCount() const
        int xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::blockCount();
        x[0].s_int = xret;
    }
    void x_58(Smoke::Stack x) {
        // void setPlainText(const QString&)
        this->QPlainTextEdit::setPlainText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void cut()
        this->QPlainTextEdit::cut();
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void copy()
        this->QPlainTextEdit::copy();
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void paste()
        this->QPlainTextEdit::paste();
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void undo()
        this->QPlainTextEdit::undo();
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void redo()
        this->QPlainTextEdit::redo();
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void clear()
        this->QPlainTextEdit::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // void selectAll()
        this->QPlainTextEdit::selectAll();
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // void insertPlainText(const QString&)
        this->QPlainTextEdit::insertPlainText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void appendPlainText(const QString&)
        this->QPlainTextEdit::appendPlainText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void appendHtml(const QString&)
        this->QPlainTextEdit::appendHtml(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // void centerCursor()
        this->QPlainTextEdit::centerCursor();
        (void)x; // noop (for compiler warning)
    }
    void x_70(Smoke::Stack x) {
        // void textChanged()
        this->QPlainTextEdit::textChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // void undoAvailable(bool)
        this->QPlainTextEdit::undoAvailable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_72(Smoke::Stack x) {
        // void redoAvailable(bool)
        this->QPlainTextEdit::redoAvailable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_73(Smoke::Stack x) {
        // void copyAvailable(bool)
        this->QPlainTextEdit::copyAvailable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // void selectionChanged()
        this->QPlainTextEdit::selectionChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void cursorPositionChanged()
        this->QPlainTextEdit::cursorPositionChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // void updateRequest(const QRect&, int)
        this->QPlainTextEdit::updateRequest(*(const QRect*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_77(Smoke::Stack x) {
        // void blockCountChanged(int)
        this->QPlainTextEdit::blockCountChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_78(Smoke::Stack x) {
        // void modificationChanged(bool)
        this->QPlainTextEdit::modificationChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_79(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            bool xret = this->QPlainTextEdit::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_80(Smoke::Stack x) {
        // virtual void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_81(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_82(Smoke::Stack x) {
        // virtual void keyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_83(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::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_84(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_85(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::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_86(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::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_87(Smoke::Stack x) {
        // virtual void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::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_88(Smoke::Stack x) {
        // virtual void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_89(Smoke::Stack x) {
        // virtual bool focusNextPrevChild(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            bool xret = this->QPlainTextEdit::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_90(Smoke::Stack x) {
        // virtual void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_91(Smoke::Stack x) {
        // virtual void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_92(Smoke::Stack x) {
        // virtual void dragLeaveEvent(QDragLeaveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_93(Smoke::Stack x) {
        // virtual void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_94(Smoke::Stack x) {
        // virtual void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_95(Smoke::Stack x) {
        // virtual void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::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_96(Smoke::Stack x) {
        // virtual void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_97(Smoke::Stack x) {
        // virtual void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::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_98(Smoke::Stack x) {
        // virtual void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::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_99(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::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_100(Smoke::Stack x) {
        // virtual QMimeData* createMimeDataFromSelection() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            QMimeData* xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::createMimeDataFromSelection();
            x[0].s_class = (void*)xret;
        } else {
            QMimeData* xret = ((const x_QPlainTextEdit*)this)->createMimeDataFromSelection();
            x[0].s_class = (void*)xret;
        }
    }
    void x_101(Smoke::Stack x) {
        // virtual bool canInsertFromMimeData(const QMimeData*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            bool xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::canInsertFromMimeData((const QMimeData*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QPlainTextEdit*)this)->canInsertFromMimeData((const QMimeData*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_102(Smoke::Stack x) {
        // virtual void insertFromMimeData(const QMimeData*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::insertFromMimeData((const QMimeData*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->insertFromMimeData((const QMimeData*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_103(Smoke::Stack x) {
        // virtual void inputMethodEvent(QInputMethodEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_104(Smoke::Stack x) {
        // QVariant inputMethodQuery(Qt::InputMethodQuery) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            QVariant xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QPlainTextEdit*)this)->inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_105(Smoke::Stack x) {
        // virtual void scrollContentsBy(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPlainTextEdit*>(this))) {
            this->QPlainTextEdit::scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_106(Smoke::Stack x) {
        // QTextBlock firstVisibleBlock() const
        QTextBlock xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::firstVisibleBlock();
        x[0].s_class = (void*)new QTextBlock(xret);
    }
    void x_107(Smoke::Stack x) {
        // QPointF contentOffset() const
        QPointF xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::contentOffset();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_108(Smoke::Stack x) {
        // QRectF blockBoundingRect(const QTextBlock&) const
        QRectF xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::blockBoundingRect(*(const QTextBlock*)x[1].s_class);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_109(Smoke::Stack x) {
        // QRectF blockBoundingGeometry(const QTextBlock&) const
        QRectF xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::blockBoundingGeometry(*(const QTextBlock*)x[1].s_class);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_110(Smoke::Stack x) {
        // QAbstractTextDocumentLayout::PaintContext getPaintContext() const
        QAbstractTextDocumentLayout::PaintContext xret = ((const x_QPlainTextEdit*)this)->QPlainTextEdit::getPaintContext();
        x[0].s_class = (void*)new QAbstractTextDocumentLayout::PaintContext(xret);
    }
    static void x_111(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QPlainTextEdit::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_112(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QPlainTextEdit::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_113(Smoke::Stack x) {
        // QPlainTextEdit* QPlainTextEdit()
        x_QPlainTextEdit* xret = new x_QPlainTextEdit((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_114(Smoke::Stack x) {
        // QPlainTextEdit* QPlainTextEdit(const QString&)
        x_QPlainTextEdit* xret = new x_QPlainTextEdit(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_115(Smoke::Stack x) {
        // bool find(const QString&)
        bool xret = this->QPlainTextEdit::find(*(const QString*)x[1].s_class,(QFlags<QTextDocument::FindFlag>)0);
        x[0].s_bool = xret;
    }
    void x_116(Smoke::Stack x) {
        // void moveCursor(QTextCursor::MoveOperation)
        this->QPlainTextEdit::moveCursor((QTextCursor::MoveOperation)x[1].s_enum,(QTextCursor::MoveMode)QTextCursor::MoveAnchor);
        (void)x; // noop (for compiler warning)
    }
    static void x_117(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QPlainTextEdit::staticMetaObject;
    }
    static void x_118(Smoke::Stack x) {
        x[0].s_enum = (long)QPlainTextEdit::NoWrap;
    }
    static void x_119(Smoke::Stack x) {
        x[0].s_enum = (long)QPlainTextEdit::WidgetWidth;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9446, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QPlainTextEdit::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9447, (void*)this, x)) return (void*)x[0].s_class;
        return this->QPlainTextEdit::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(9452, (void*)this, x)) return (int)x[0].s_int;
        return this->QPlainTextEdit::qt_metacall(x1, x2, x3);
    }
    virtual QVariant loadResource(int x1, const QUrl& x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(9485, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPlainTextEdit::loadResource(x1, x2);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9524, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QPlainTextEdit::event(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9525, (void*)this, x)) return;
        this->QPlainTextEdit::timerEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9526, (void*)this, x)) return;
        this->QPlainTextEdit::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9527, (void*)this, x)) return;
        this->QPlainTextEdit::keyReleaseEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9528, (void*)this, x)) return;
        this->QPlainTextEdit::resizeEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9529, (void*)this, x)) return;
        this->QPlainTextEdit::paintEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9530, (void*)this, x)) return;
        this->QPlainTextEdit::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9531, (void*)this, x)) return;
        this->QPlainTextEdit::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9532, (void*)this, x)) return;
        this->QPlainTextEdit::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9533, (void*)this, x)) return;
        this->QPlainTextEdit::mouseDoubleClickEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(9534, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QPlainTextEdit::focusNextPrevChild(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9535, (void*)this, x)) return;
        this->QPlainTextEdit::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9536, (void*)this, x)) return;
        this->QPlainTextEdit::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9537, (void*)this, x)) return;
        this->QPlainTextEdit::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9538, (void*)this, x)) return;
        this->QPlainTextEdit::dragMoveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9539, (void*)this, x)) return;
        this->QPlainTextEdit::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9540, (void*)this, x)) return;
        this->QPlainTextEdit::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9541, (void*)this, x)) return;
        this->QPlainTextEdit::focusOutEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9542, (void*)this, x)) return;
        this->QPlainTextEdit::showEvent(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9543, (void*)this, x)) return;
        this->QPlainTextEdit::changeEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9544, (void*)this, x)) return;
        this->QPlainTextEdit::wheelEvent(x1);
    }
    virtual QMimeData* createMimeDataFromSelection() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9545, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QPlainTextEdit::createMimeDataFromSelection();
    }
    virtual bool canInsertFromMimeData(const QMimeData* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9546, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QPlainTextEdit::canInsertFromMimeData(x1);
    }
    virtual void insertFromMimeData(const QMimeData* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9547, (void*)this, x)) return;
        this->QPlainTextEdit::insertFromMimeData(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9548, (void*)this, x)) return;
        this->QPlainTextEdit::inputMethodEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(9550, (void*)this, x)) return;
        this->QPlainTextEdit::scrollContentsBy(x1, x2);
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(445, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractScrollArea::viewportEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(440, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(439, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void 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 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 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 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 QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(9549, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPlainTextEdit::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 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 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 611: //QPlainTextEdit::LineWrapMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPlainTextEdit::LineWrapMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QPlainTextEdit::LineWrapMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPlainTextEdit::LineWrapMode*)xdata = (QPlainTextEdit::LineWrapMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPlainTextEdit::LineWrapMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QPlainTextEdit() { this->_binding->deleted(267, (void*)this); }
};
void xenum_QPlainTextEdit(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QPlainTextEdit::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QPlainTextEdit(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPlainTextEdit *xself = (x_QPlainTextEdit*)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_QPlainTextEdit::x_3(args);	break;
        case 4: x_QPlainTextEdit::x_4(args);	break;
        case 5: x_QPlainTextEdit::x_5(args);	break;
        case 6: x_QPlainTextEdit::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QPlainTextEdit::x_8(args);	break;
        case 9: x_QPlainTextEdit::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: xself->x_88(args);	break;
        case 89: xself->x_89(args);	break;
        case 90: xself->x_90(args);	break;
        case 91: xself->x_91(args);	break;
        case 92: xself->x_92(args);	break;
        case 93: xself->x_93(args);	break;
        case 94: xself->x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: xself->x_96(args);	break;
        case 97: xself->x_97(args);	break;
        case 98: xself->x_98(args);	break;
        case 99: xself->x_99(args);	break;
        case 100: xself->x_100(args);	break;
        case 101: xself->x_101(args);	break;
        case 102: xself->x_102(args);	break;
        case 103: xself->x_103(args);	break;
        case 104: xself->x_104(args);	break;
        case 105: xself->x_105(args);	break;
        case 106: xself->x_106(args);	break;
        case 107: xself->x_107(args);	break;
        case 108: xself->x_108(args);	break;
        case 109: xself->x_109(args);	break;
        case 110: xself->x_110(args);	break;
        case 111: x_QPlainTextEdit::x_111(args);	break;
        case 112: x_QPlainTextEdit::x_112(args);	break;
        case 113: x_QPlainTextEdit::x_113(args);	break;
        case 114: x_QPlainTextEdit::x_114(args);	break;
        case 115: xself->x_115(args);	break;
        case 116: xself->x_116(args);	break;
        case 117: x_QPlainTextEdit::x_117(args);	break;
        case 118: x_QPlainTextEdit::x_118(args);	break;
        case 119: x_QPlainTextEdit::x_119(args);	break;
        case 120: delete (QPlainTextEdit*)xself;	break;
    }
}
class x_QPolygon : public QPolygon {
    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) {
        // QPolygon* QPolygon()
        x_QPolygon* xret = new x_QPolygon();
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygon() : QPolygon() {}
    static void x_2(Smoke::Stack x) {
        // QPolygon* QPolygon(int)
        x_QPolygon* xret = new x_QPolygon((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygon(int x1) : QPolygon(x1) {}
    static void x_3(Smoke::Stack x) {
        // QPolygon* QPolygon(const QPolygon&)
        x_QPolygon* xret = new x_QPolygon(*(const QPolygon*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygon(const QPolygon& x1) : QPolygon(x1) {}
    static void x_4(Smoke::Stack x) {
        // QPolygon* QPolygon(const QVector<QPoint>&)
        x_QPolygon* xret = new x_QPolygon(*(const QVector<QPoint>*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygon(const QVector<QPoint>& x1) : QPolygon(x1) {}
    static void x_5(Smoke::Stack x) {
        // QPolygon* QPolygon(const QRect&, bool)
        x_QPolygon* xret = new x_QPolygon(*(const QRect*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygon(const QRect& x1, bool x2) : QPolygon(x1, x2) {}
    static void x_6(Smoke::Stack x) {
        // QPolygon* QPolygon(int, const int*)
        x_QPolygon* xret = new x_QPolygon((int)x[1].s_int,(const int*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygon(int x1, const int* x2) : QPolygon(x1, x2) {}
    void x_7(Smoke::Stack x) {
        // void swap(QPolygon&)
        this->QPolygon::swap(*(QPolygon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QPolygon*)this)->QPolygon::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_9(Smoke::Stack x) {
        // void translate(int, int)
        this->QPolygon::translate((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void translate(const QPoint&)
        this->QPolygon::translate(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QPolygon translated(int, int) const
        QPolygon xret = ((const x_QPolygon*)this)->QPolygon::translated((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_12(Smoke::Stack x) {
        // QPolygon translated(const QPoint&) const
        QPolygon xret = ((const x_QPolygon*)this)->QPolygon::translated(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_13(Smoke::Stack x) {
        // QRect boundingRect() const
        QRect xret = ((const x_QPolygon*)this)->QPolygon::boundingRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_14(Smoke::Stack x) {
        // void point(int, int*, int*) const
        ((const x_QPolygon*)this)->QPolygon::point((int)x[1].s_int,(int*)x[2].s_class,(int*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QPoint point(int) const
        QPoint xret = ((const x_QPolygon*)this)->QPolygon::point((int)x[1].s_int);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setPoint(int, int, int)
        this->QPolygon::setPoint((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setPoint(int, const QPoint&)
        this->QPolygon::setPoint((int)x[1].s_int,*(const QPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setPoints(int, const int*)
        this->QPolygon::setPoints((int)x[1].s_int,(const int*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void putPoints(int, int, const int*)
        this->QPolygon::putPoints((int)x[1].s_int,(int)x[2].s_int,(const int*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void putPoints(int, int, const QPolygon&, int)
        this->QPolygon::putPoints((int)x[1].s_int,(int)x[2].s_int,*(const QPolygon*)x[3].s_class,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // bool containsPoint(const QPoint&, Qt::FillRule) const
        bool xret = ((const x_QPolygon*)this)->QPolygon::containsPoint(*(const QPoint*)x[1].s_class,(Qt::FillRule)x[2].s_enum);
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // QPolygon united(const QPolygon&) const
        QPolygon xret = ((const x_QPolygon*)this)->QPolygon::united(*(const QPolygon*)x[1].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_23(Smoke::Stack x) {
        // QPolygon intersected(const QPolygon&) const
        QPolygon xret = ((const x_QPolygon*)this)->QPolygon::intersected(*(const QPolygon*)x[1].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_24(Smoke::Stack x) {
        // QPolygon subtracted(const QPolygon&) const
        QPolygon xret = ((const x_QPolygon*)this)->QPolygon::subtracted(*(const QPolygon*)x[1].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    static void x_25(Smoke::Stack x) {
        // QPolygon* QPolygon(const QRect&)
        x_QPolygon* xret = new x_QPolygon(*(const QRect*)x[1].s_class,(bool)false);
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // void putPoints(int, int, const QPolygon&)
        this->QPolygon::putPoints((int)x[1].s_int,(int)x[2].s_int,*(const QPolygon*)x[3].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    ~x_QPolygon() { this->_binding->deleted(270, (void*)this); }
};
void xcall_QPolygon(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPolygon *xself = (x_QPolygon*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QPolygon::x_1(args);	break;
        case 2: x_QPolygon::x_2(args);	break;
        case 3: x_QPolygon::x_3(args);	break;
        case 4: x_QPolygon::x_4(args);	break;
        case 5: x_QPolygon::x_5(args);	break;
        case 6: x_QPolygon::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: x_QPolygon::x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: delete (QPolygon*)xself;	break;
    }
}
class x_QPolygonF : public QPolygonF {
    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) {
        // QPolygonF* QPolygonF()
        x_QPolygonF* xret = new x_QPolygonF();
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygonF() : QPolygonF() {}
    static void x_2(Smoke::Stack x) {
        // QPolygonF* QPolygonF(int)
        x_QPolygonF* xret = new x_QPolygonF((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygonF(int x1) : QPolygonF(x1) {}
    static void x_3(Smoke::Stack x) {
        // QPolygonF* QPolygonF(const QPolygonF&)
        x_QPolygonF* xret = new x_QPolygonF(*(const QPolygonF*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygonF(const QPolygonF& x1) : QPolygonF(x1) {}
    static void x_4(Smoke::Stack x) {
        // QPolygonF* QPolygonF(const QVector<QPointF>&)
        x_QPolygonF* xret = new x_QPolygonF(*(const QVector<QPointF>*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygonF(const QVector<QPointF>& x1) : QPolygonF(x1) {}
    static void x_5(Smoke::Stack x) {
        // QPolygonF* QPolygonF(const QRectF&)
        x_QPolygonF* xret = new x_QPolygonF(*(const QRectF*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygonF(const QRectF& x1) : QPolygonF(x1) {}
    static void x_6(Smoke::Stack x) {
        // QPolygonF* QPolygonF(const QPolygon&)
        x_QPolygonF* xret = new x_QPolygonF(*(const QPolygon*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPolygonF(const QPolygon& x1) : QPolygonF(x1) {}
    void x_7(Smoke::Stack x) {
        // void swap(QPolygonF&)
        this->QPolygonF::swap(*(QPolygonF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // void translate(double, double)
        this->QPolygonF::translate((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void translate(const QPointF&)
        this->QPolygonF::translate(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QPolygonF translated(double, double) const
        QPolygonF xret = ((const x_QPolygonF*)this)->QPolygonF::translated((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)new QPolygonF(xret);
    }
    void x_11(Smoke::Stack x) {
        // QPolygonF translated(const QPointF&) const
        QPolygonF xret = ((const x_QPolygonF*)this)->QPolygonF::translated(*(const QPointF*)x[1].s_class);
        x[0].s_class = (void*)new QPolygonF(xret);
    }
    void x_12(Smoke::Stack x) {
        // QPolygon toPolygon() const
        QPolygon xret = ((const x_QPolygonF*)this)->QPolygonF::toPolygon();
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_13(Smoke::Stack x) {
        // bool isClosed() const
        bool xret = ((const x_QPolygonF*)this)->QPolygonF::isClosed();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // QRectF boundingRect() const
        QRectF xret = ((const x_QPolygonF*)this)->QPolygonF::boundingRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_15(Smoke::Stack x) {
        // bool containsPoint(const QPointF&, Qt::FillRule) const
        bool xret = ((const x_QPolygonF*)this)->QPolygonF::containsPoint(*(const QPointF*)x[1].s_class,(Qt::FillRule)x[2].s_enum);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // QPolygonF united(const QPolygonF&) const
        QPolygonF xret = ((const x_QPolygonF*)this)->QPolygonF::united(*(const QPolygonF*)x[1].s_class);
        x[0].s_class = (void*)new QPolygonF(xret);
    }
    void x_17(Smoke::Stack x) {
        // QPolygonF intersected(const QPolygonF&) const
        QPolygonF xret = ((const x_QPolygonF*)this)->QPolygonF::intersected(*(const QPolygonF*)x[1].s_class);
        x[0].s_class = (void*)new QPolygonF(xret);
    }
    void x_18(Smoke::Stack x) {
        // QPolygonF subtracted(const QPolygonF&) const
        QPolygonF xret = ((const x_QPolygonF*)this)->QPolygonF::subtracted(*(const QPolygonF*)x[1].s_class);
        x[0].s_class = (void*)new QPolygonF(xret);
    }
    ~x_QPolygonF() { this->_binding->deleted(271, (void*)this); }
};
void xcall_QPolygonF(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPolygonF *xself = (x_QPolygonF*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QPolygonF::x_1(args);	break;
        case 2: x_QPolygonF::x_2(args);	break;
        case 3: x_QPolygonF::x_3(args);	break;
        case 4: x_QPolygonF::x_4(args);	break;
        case 5: x_QPolygonF::x_5(args);	break;
        case 6: x_QPolygonF::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: delete (QPolygonF*)xself;	break;
    }
}
class x_QPrintDialog : public QPrintDialog, 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<QPrintDialog*>(this))) {
            const QMetaObject* xret = ((const x_QPrintDialog*)this)->QPrintDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QPrintDialog*)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<QPrintDialog*>(this))) {
            void* xret = this->QPrintDialog::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 = QPrintDialog::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 = QPrintDialog::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 = QPrintDialog::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 = QPrintDialog::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<QPrintDialog*>(this))) {
            int xret = this->QPrintDialog::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) {
        // QPrintDialog* QPrintDialog(QPrinter*, QWidget*)
        x_QPrintDialog* xret = new x_QPrintDialog((QPrinter*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrintDialog(QPrinter* x1, QWidget* x2) : QPrintDialog(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // QPrintDialog* QPrintDialog(QWidget*)
        x_QPrintDialog* xret = new x_QPrintDialog((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrintDialog(QWidget* x1) : QPrintDialog(x1) {}
    void x_10(Smoke::Stack x) {
        // int exec()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrintDialog*>(this))) {
            int xret = this->QPrintDialog::exec();
            x[0].s_int = xret;
        } else {
            int xret = this->exec();
            x[0].s_int = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // virtual void accept()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrintDialog*>(this))) {
            this->QPrintDialog::accept();
            (void)x; // noop (for compiler warning)
        } else {
            this->accept();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // void done(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrintDialog*>(this))) {
            this->QPrintDialog::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_13(Smoke::Stack x) {
        // void setOption(QAbstractPrintDialog::PrintDialogOption, bool)
        this->QPrintDialog::setOption((QAbstractPrintDialog::PrintDialogOption)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool testOption(QAbstractPrintDialog::PrintDialogOption) const
        bool xret = ((const x_QPrintDialog*)this)->QPrintDialog::testOption((QAbstractPrintDialog::PrintDialogOption)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setOptions(QFlags<QAbstractPrintDialog::PrintDialogOption>)
        this->QPrintDialog::setOptions((QFlags<QAbstractPrintDialog::PrintDialogOption>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QFlags<QAbstractPrintDialog::PrintDialogOption> options() const
        QFlags<QAbstractPrintDialog::PrintDialogOption> xret = ((const x_QPrintDialog*)this)->QPrintDialog::options();
        x[0].s_uint = (uint)xret;
    }
    void x_17(Smoke::Stack x) {
        // void setVisible(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrintDialog*>(this))) {
            this->QPrintDialog::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_18(Smoke::Stack x) {
        // void open()
        this->QPrintDialog::open();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void open(QObject*, const char*)
        this->QPrintDialog::open((QObject*)x[1].s_class,(const char*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void accepted()
        this->QPrintDialog::accepted();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void accepted(QPrinter*)
        this->QPrintDialog::accepted((QPrinter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QPrintDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QPrintDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // QPrintDialog* QPrintDialog(QPrinter*)
        x_QPrintDialog* xret = new x_QPrintDialog((QPrinter*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_25(Smoke::Stack x) {
        // QPrintDialog* QPrintDialog()
        x_QPrintDialog* xret = new x_QPrintDialog((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // void setOption(QAbstractPrintDialog::PrintDialogOption)
        this->QPrintDialog::setOption((QAbstractPrintDialog::PrintDialogOption)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_27(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QPrintDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9612, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QPrintDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9613, (void*)this, x)) return (void*)x[0].s_class;
        return this->QPrintDialog::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(9618, (void*)this, x)) return (int)x[0].s_int;
        return this->QPrintDialog::qt_metacall(x1, x2, x3);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9622, (void*)this, x)) return;
        this->QPrintDialog::accept();
    }
    virtual int exec() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9621, (void*)this, x)) return (int)x[0].s_int;
        return this->QPrintDialog::exec();
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(9623, (void*)this, x)) return;
        this->QPrintDialog::done(x1);
    }
    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(9628, (void*)this, x)) return;
        this->QPrintDialog::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2568, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2569, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15617, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15618, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15620, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2583, (void*)this, x)) return;
        this->QDialog::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15628, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2586, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2584, (void*)this, x)) return;
        this->QDialog::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2587, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2585, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15642, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15645, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15652, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15616, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(2588, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QPrintDialog() { this->_binding->deleted(273, (void*)this); }
};
void xcall_QPrintDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPrintDialog *xself = (x_QPrintDialog*)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_QPrintDialog::x_3(args);	break;
        case 4: x_QPrintDialog::x_4(args);	break;
        case 5: x_QPrintDialog::x_5(args);	break;
        case 6: x_QPrintDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QPrintDialog::x_8(args);	break;
        case 9: x_QPrintDialog::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: x_QPrintDialog::x_22(args);	break;
        case 23: x_QPrintDialog::x_23(args);	break;
        case 24: x_QPrintDialog::x_24(args);	break;
        case 25: x_QPrintDialog::x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: x_QPrintDialog::x_27(args);	break;
        case 28: delete (QPrintDialog*)xself;	break;
    }
}
class x_QPrintEngine : public QPrintEngine, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual void setProperty(QPrintEngine::PrintEnginePropertyKey, const QVariant&) = 0
        this->setProperty((QPrintEngine::PrintEnginePropertyKey)x[1].s_enum,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_2(Smoke::Stack x) {
        // virtual QVariant property(QPrintEngine::PrintEnginePropertyKey) const = 0
        QVariant xret = ((const x_QPrintEngine*)this)->property((QPrintEngine::PrintEnginePropertyKey)x[1].s_enum);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_3(Smoke::Stack x) {
        // virtual bool newPage() = 0
        bool xret = this->newPage();
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // virtual bool abort() = 0
        bool xret = this->abort();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // virtual int metric(QPaintDevice::PaintDeviceMetric) const = 0
        int xret = ((const x_QPrintEngine*)this)->metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // virtual QPrinter::PrinterState printerState() const = 0
        QPrinter::PrinterState xret = ((const x_QPrintEngine*)this)->printerState();
        x[0].s_enum = xret;
    }
    static void x_7(Smoke::Stack x) {
        // QPrintEngine* QPrintEngine()
        x_QPrintEngine* xret = new x_QPrintEngine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrintEngine() : QPrintEngine() {}
    static void x_8(Smoke::Stack x) {
        // QPrintEngine* QPrintEngine(const QPrintEngine&)
        x_QPrintEngine* xret = new x_QPrintEngine(*(const QPrintEngine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrintEngine(const QPrintEngine& x1) : QPrintEngine(x1) {}
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_CollateCopies;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_ColorMode;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_Creator;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_DocumentName;
    }
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_FullPage;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_NumberOfCopies;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_Orientation;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_OutputFileName;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PageOrder;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PageRect;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PageSize;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PaperRect;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PaperSource;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PrinterName;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PrinterProgram;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_Resolution;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_SelectionOption;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_SupportedResolutions;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_WindowsPageSize;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_FontEmbedding;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_SuppressSystemPrintStatus;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_Duplex;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PaperSources;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_CustomPaperSize;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PageMargins;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_CopyCount;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_SupportsMultipleCopies;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_PaperSize;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintEngine::PPK_CustomBase;
    }
    virtual void setProperty(QPrintEngine::PrintEnginePropertyKey x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        this->_binding->callMethod(9640, (void*)this, x, true /*pure virtual*/);
    }
    virtual QVariant property(QPrintEngine::PrintEnginePropertyKey x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        this->_binding->callMethod(9641, (void*)this, x, true /*pure virtual*/);
        QVariant* xptr = (QVariant*)x[0].s_class;
        QVariant xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual bool newPage() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(9642, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool abort() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(9643, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        this->_binding->callMethod(9644, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual QPrinter::PrinterState printerState() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(9645, (void*)this, x, true /*pure virtual*/);
        return (QPrinter::PrinterState)x[0].s_enum;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 627: //QPrintEngine::PrintEnginePropertyKey
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrintEngine::PrintEnginePropertyKey;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrintEngine::PrintEnginePropertyKey*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrintEngine::PrintEnginePropertyKey*)xdata = (QPrintEngine::PrintEnginePropertyKey)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrintEngine::PrintEnginePropertyKey*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QPrintEngine() { this->_binding->deleted(274, (void*)this); }
};
void xenum_QPrintEngine(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QPrintEngine::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QPrintEngine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPrintEngine *xself = (x_QPrintEngine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: x_QPrintEngine::x_7(args);	break;
        case 8: x_QPrintEngine::x_8(args);	break;
        case 9: x_QPrintEngine::x_9(args);	break;
        case 10: x_QPrintEngine::x_10(args);	break;
        case 11: x_QPrintEngine::x_11(args);	break;
        case 12: x_QPrintEngine::x_12(args);	break;
        case 13: x_QPrintEngine::x_13(args);	break;
        case 14: x_QPrintEngine::x_14(args);	break;
        case 15: x_QPrintEngine::x_15(args);	break;
        case 16: x_QPrintEngine::x_16(args);	break;
        case 17: x_QPrintEngine::x_17(args);	break;
        case 18: x_QPrintEngine::x_18(args);	break;
        case 19: x_QPrintEngine::x_19(args);	break;
        case 20: x_QPrintEngine::x_20(args);	break;
        case 21: x_QPrintEngine::x_21(args);	break;
        case 22: x_QPrintEngine::x_22(args);	break;
        case 23: x_QPrintEngine::x_23(args);	break;
        case 24: x_QPrintEngine::x_24(args);	break;
        case 25: x_QPrintEngine::x_25(args);	break;
        case 26: x_QPrintEngine::x_26(args);	break;
        case 27: x_QPrintEngine::x_27(args);	break;
        case 28: x_QPrintEngine::x_28(args);	break;
        case 29: x_QPrintEngine::x_29(args);	break;
        case 30: x_QPrintEngine::x_30(args);	break;
        case 31: x_QPrintEngine::x_31(args);	break;
        case 32: x_QPrintEngine::x_32(args);	break;
        case 33: x_QPrintEngine::x_33(args);	break;
        case 34: x_QPrintEngine::x_34(args);	break;
        case 35: x_QPrintEngine::x_35(args);	break;
        case 36: x_QPrintEngine::x_36(args);	break;
        case 37: x_QPrintEngine::x_37(args);	break;
        case 38: delete (QPrintEngine*)xself;	break;
    }
}
class x_QPrintPreviewDialog : public QPrintPreviewDialog, 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<QPrintPreviewDialog*>(this))) {
            const QMetaObject* xret = ((const x_QPrintPreviewDialog*)this)->QPrintPreviewDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QPrintPreviewDialog*)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<QPrintPreviewDialog*>(this))) {
            void* xret = this->QPrintPreviewDialog::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 = QPrintPreviewDialog::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 = QPrintPreviewDialog::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 = QPrintPreviewDialog::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 = QPrintPreviewDialog::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<QPrintPreviewDialog*>(this))) {
            int xret = this->QPrintPreviewDialog::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) {
        // QPrintPreviewDialog* QPrintPreviewDialog(QWidget*, QFlags<Qt::WindowType>)
        x_QPrintPreviewDialog* xret = new x_QPrintPreviewDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrintPreviewDialog(QWidget* x1, QFlags<Qt::WindowType> x2) : QPrintPreviewDialog(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // QPrintPreviewDialog* QPrintPreviewDialog(QPrinter*, QWidget*, QFlags<Qt::WindowType>)
        x_QPrintPreviewDialog* xret = new x_QPrintPreviewDialog((QPrinter*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrintPreviewDialog(QPrinter* x1, QWidget* x2, QFlags<Qt::WindowType> x3) : QPrintPreviewDialog(x1, x2, x3) {}
    void x_10(Smoke::Stack x) {
        // void open()
        this->QPrintPreviewDialog::open();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void open(QObject*, const char*)
        this->QPrintPreviewDialog::open((QObject*)x[1].s_class,(const char*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QPrinter* printer()
        QPrinter* xret = this->QPrintPreviewDialog::printer();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // void setVisible(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrintPreviewDialog*>(this))) {
            this->QPrintPreviewDialog::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_14(Smoke::Stack x) {
        // void done(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrintPreviewDialog*>(this))) {
            this->QPrintPreviewDialog::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_15(Smoke::Stack x) {
        // void paintRequested(QPrinter*)
        this->QPrintPreviewDialog::paintRequested((QPrinter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QPrintPreviewDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QPrintPreviewDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // QPrintPreviewDialog* QPrintPreviewDialog()
        x_QPrintPreviewDialog* xret = new x_QPrintPreviewDialog((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // QPrintPreviewDialog* QPrintPreviewDialog(QWidget*)
        x_QPrintPreviewDialog* xret = new x_QPrintPreviewDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // QPrintPreviewDialog* QPrintPreviewDialog(QPrinter*)
        x_QPrintPreviewDialog* xret = new x_QPrintPreviewDialog((QPrinter*)x[1].s_class,(QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // QPrintPreviewDialog* QPrintPreviewDialog(QPrinter*, QWidget*)
        x_QPrintPreviewDialog* xret = new x_QPrintPreviewDialog((QPrinter*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QPrintPreviewDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9678, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QPrintPreviewDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9679, (void*)this, x)) return (void*)x[0].s_class;
        return this->QPrintPreviewDialog::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(9684, (void*)this, x)) return (int)x[0].s_int;
        return this->QPrintPreviewDialog::qt_metacall(x1, x2, x3);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(9691, (void*)this, x)) return;
        this->QPrintPreviewDialog::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(9690, (void*)this, x)) return;
        this->QPrintPreviewDialog::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2568, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2569, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15617, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15618, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15620, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2583, (void*)this, x)) return;
        this->QDialog::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15623, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15624, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15625, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15628, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2586, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2584, (void*)this, x)) return;
        this->QDialog::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2587, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2585, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15642, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15645, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15652, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15616, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(2588, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QPrintPreviewDialog() { this->_binding->deleted(275, (void*)this); }
};
void xcall_QPrintPreviewDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPrintPreviewDialog *xself = (x_QPrintPreviewDialog*)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_QPrintPreviewDialog::x_3(args);	break;
        case 4: x_QPrintPreviewDialog::x_4(args);	break;
        case 5: x_QPrintPreviewDialog::x_5(args);	break;
        case 6: x_QPrintPreviewDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QPrintPreviewDialog::x_8(args);	break;
        case 9: x_QPrintPreviewDialog::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_QPrintPreviewDialog::x_16(args);	break;
        case 17: x_QPrintPreviewDialog::x_17(args);	break;
        case 18: x_QPrintPreviewDialog::x_18(args);	break;
        case 19: x_QPrintPreviewDialog::x_19(args);	break;
        case 20: x_QPrintPreviewDialog::x_20(args);	break;
        case 21: x_QPrintPreviewDialog::x_21(args);	break;
        case 22: x_QPrintPreviewDialog::x_22(args);	break;
        case 23: delete (QPrintPreviewDialog*)xself;	break;
    }
}
class x_QPrintPreviewWidget : public QPrintPreviewWidget, 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<QPrintPreviewWidget*>(this))) {
            const QMetaObject* xret = ((const x_QPrintPreviewWidget*)this)->QPrintPreviewWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QPrintPreviewWidget*)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<QPrintPreviewWidget*>(this))) {
            void* xret = this->QPrintPreviewWidget::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 = QPrintPreviewWidget::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 = QPrintPreviewWidget::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 = QPrintPreviewWidget::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 = QPrintPreviewWidget::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<QPrintPreviewWidget*>(this))) {
            int xret = this->QPrintPreviewWidget::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) {
        // QPrintPreviewWidget* QPrintPreviewWidget(QPrinter*, QWidget*, QFlags<Qt::WindowType>)
        x_QPrintPreviewWidget* xret = new x_QPrintPreviewWidget((QPrinter*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrintPreviewWidget(QPrinter* x1, QWidget* x2, QFlags<Qt::WindowType> x3) : QPrintPreviewWidget(x1, x2, x3) {}
    static void x_9(Smoke::Stack x) {
        // QPrintPreviewWidget* QPrintPreviewWidget(QWidget*, QFlags<Qt::WindowType>)
        x_QPrintPreviewWidget* xret = new x_QPrintPreviewWidget((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrintPreviewWidget(QWidget* x1, QFlags<Qt::WindowType> x2) : QPrintPreviewWidget(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // double zoomFactor() const
        double xret = ((const x_QPrintPreviewWidget*)this)->QPrintPreviewWidget::zoomFactor();
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // QPrinter::Orientation orientation() const
        QPrinter::Orientation xret = ((const x_QPrintPreviewWidget*)this)->QPrintPreviewWidget::orientation();
        x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
        // QPrintPreviewWidget::ViewMode viewMode() const
        QPrintPreviewWidget::ViewMode xret = ((const x_QPrintPreviewWidget*)this)->QPrintPreviewWidget::viewMode();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // QPrintPreviewWidget::ZoomMode zoomMode() const
        QPrintPreviewWidget::ZoomMode xret = ((const x_QPrintPreviewWidget*)this)->QPrintPreviewWidget::zoomMode();
        x[0].s_enum = xret;
    }
    void x_14(Smoke::Stack x) {
        // int currentPage() const
        int xret = ((const x_QPrintPreviewWidget*)this)->QPrintPreviewWidget::currentPage();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // int numPages() const
        int xret = ((const x_QPrintPreviewWidget*)this)->QPrintPreviewWidget::numPages();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // int pageCount() const
        int xret = ((const x_QPrintPreviewWidget*)this)->QPrintPreviewWidget::pageCount();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setVisible(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrintPreviewWidget*>(this))) {
            this->QPrintPreviewWidget::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_18(Smoke::Stack x) {
        // void print()
        this->QPrintPreviewWidget::print();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void zoomIn(qreal)
        this->QPrintPreviewWidget::zoomIn((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void zoomOut(qreal)
        this->QPrintPreviewWidget::zoomOut((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setZoomFactor(qreal)
        this->QPrintPreviewWidget::setZoomFactor((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setOrientation(QPrinter::Orientation)
        this->QPrintPreviewWidget::setOrientation((QPrinter::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setViewMode(QPrintPreviewWidget::ViewMode)
        this->QPrintPreviewWidget::setViewMode((QPrintPreviewWidget::ViewMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setZoomMode(QPrintPreviewWidget::ZoomMode)
        this->QPrintPreviewWidget::setZoomMode((QPrintPreviewWidget::ZoomMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setCurrentPage(int)
        this->QPrintPreviewWidget::setCurrentPage((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void fitToWidth()
        this->QPrintPreviewWidget::fitToWidth();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void fitInView()
        this->QPrintPreviewWidget::fitInView();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setLandscapeOrientation()
        this->QPrintPreviewWidget::setLandscapeOrientation();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setPortraitOrientation()
        this->QPrintPreviewWidget::setPortraitOrientation();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setSinglePageViewMode()
        this->QPrintPreviewWidget::setSinglePageViewMode();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setFacingPagesViewMode()
        this->QPrintPreviewWidget::setFacingPagesViewMode();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setAllPagesViewMode()
        this->QPrintPreviewWidget::setAllPagesViewMode();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void updatePreview()
        this->QPrintPreviewWidget::updatePreview();
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void paintRequested(QPrinter*)
        this->QPrintPreviewWidget::paintRequested((QPrinter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void previewChanged()
        this->QPrintPreviewWidget::previewChanged();
        (void)x; // noop (for compiler warning)
    }
    static void x_36(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QPrintPreviewWidget::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 = QPrintPreviewWidget::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) {
        // QPrintPreviewWidget* QPrintPreviewWidget(QPrinter*)
        x_QPrintPreviewWidget* xret = new x_QPrintPreviewWidget((QPrinter*)x[1].s_class,(QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // QPrintPreviewWidget* QPrintPreviewWidget(QPrinter*, QWidget*)
        x_QPrintPreviewWidget* xret = new x_QPrintPreviewWidget((QPrinter*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_40(Smoke::Stack x) {
        // QPrintPreviewWidget* QPrintPreviewWidget()
        x_QPrintPreviewWidget* xret = new x_QPrintPreviewWidget((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_41(Smoke::Stack x) {
        // QPrintPreviewWidget* QPrintPreviewWidget(QWidget*)
        x_QPrintPreviewWidget* xret = new x_QPrintPreviewWidget((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    void x_42(Smoke::Stack x) {
        // void zoomIn()
        this->QPrintPreviewWidget::zoomIn((qreal)1.1);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void zoomOut()
        this->QPrintPreviewWidget::zoomOut((qreal)1.1);
        (void)x; // noop (for compiler warning)
    }
    static void x_44(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QPrintPreviewWidget::staticMetaObject;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintPreviewWidget::SinglePageView;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintPreviewWidget::FacingPagesView;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintPreviewWidget::AllPagesView;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintPreviewWidget::CustomZoom;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintPreviewWidget::FitToWidth;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)QPrintPreviewWidget::FitInView;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9701, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QPrintPreviewWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9702, (void*)this, x)) return (void*)x[0].s_class;
        return this->QPrintPreviewWidget::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(9707, (void*)this, x)) return (int)x[0].s_int;
        return this->QPrintPreviewWidget::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(9717, (void*)this, x)) return;
        this->QPrintPreviewWidget::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(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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 630: //QPrintPreviewWidget::ViewMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrintPreviewWidget::ViewMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrintPreviewWidget::ViewMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrintPreviewWidget::ViewMode*)xdata = (QPrintPreviewWidget::ViewMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrintPreviewWidget::ViewMode*)xdata;
                    break;
            }
            break;
        case 631: //QPrintPreviewWidget::ZoomMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrintPreviewWidget::ZoomMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrintPreviewWidget::ZoomMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrintPreviewWidget::ZoomMode*)xdata = (QPrintPreviewWidget::ZoomMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrintPreviewWidget::ZoomMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QPrintPreviewWidget() { this->_binding->deleted(276, (void*)this); }
};
void xenum_QPrintPreviewWidget(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QPrintPreviewWidget::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QPrintPreviewWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPrintPreviewWidget *xself = (x_QPrintPreviewWidget*)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_QPrintPreviewWidget::x_3(args);	break;
        case 4: x_QPrintPreviewWidget::x_4(args);	break;
        case 5: x_QPrintPreviewWidget::x_5(args);	break;
        case 6: x_QPrintPreviewWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QPrintPreviewWidget::x_8(args);	break;
        case 9: x_QPrintPreviewWidget::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_QPrintPreviewWidget::x_36(args);	break;
        case 37: x_QPrintPreviewWidget::x_37(args);	break;
        case 38: x_QPrintPreviewWidget::x_38(args);	break;
        case 39: x_QPrintPreviewWidget::x_39(args);	break;
        case 40: x_QPrintPreviewWidget::x_40(args);	break;
        case 41: x_QPrintPreviewWidget::x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: x_QPrintPreviewWidget::x_44(args);	break;
        case 45: x_QPrintPreviewWidget::x_45(args);	break;
        case 46: x_QPrintPreviewWidget::x_46(args);	break;
        case 47: x_QPrintPreviewWidget::x_47(args);	break;
        case 48: x_QPrintPreviewWidget::x_48(args);	break;
        case 49: x_QPrintPreviewWidget::x_49(args);	break;
        case 50: x_QPrintPreviewWidget::x_50(args);	break;
        case 51: delete (QPrintPreviewWidget*)xself;	break;
    }
}
class x_QPrinter : public QPrinter, 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) {
        // QPrinter* QPrinter(QPrinter::PrinterMode)
        x_QPrinter* xret = new x_QPrinter((QPrinter::PrinterMode)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrinter(QPrinter::PrinterMode x1) : QPrinter(x1) {}
    static void x_2(Smoke::Stack x) {
        // QPrinter* QPrinter(const QPrinterInfo&, QPrinter::PrinterMode)
        x_QPrinter* xret = new x_QPrinter(*(const QPrinterInfo*)x[1].s_class,(QPrinter::PrinterMode)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrinter(const QPrinterInfo& x1, QPrinter::PrinterMode x2) : QPrinter(x1, x2) {}
    void x_3(Smoke::Stack x) {
        // int devType() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrinter*>(this))) {
            int xret = ((const x_QPrinter*)this)->QPrinter::devType();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QPrinter*)this)->devType();
            x[0].s_int = xret;
        }
    }
    void x_4(Smoke::Stack x) {
        // void setOutputFormat(QPrinter::OutputFormat)
        this->QPrinter::setOutputFormat((QPrinter::OutputFormat)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // QPrinter::OutputFormat outputFormat() const
        QPrinter::OutputFormat xret = ((const x_QPrinter*)this)->QPrinter::outputFormat();
        x[0].s_enum = xret;
    }
    void x_6(Smoke::Stack x) {
        // void setPrinterName(const QString&)
        this->QPrinter::setPrinterName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // QString printerName() const
        QString xret = ((const x_QPrinter*)this)->QPrinter::printerName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QPrinter*)this)->QPrinter::isValid();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setOutputFileName(const QString&)
        this->QPrinter::setOutputFileName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString outputFileName() const
        QString xret = ((const x_QPrinter*)this)->QPrinter::outputFileName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setPrintProgram(const QString&)
        this->QPrinter::setPrintProgram(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString printProgram() const
        QString xret = ((const x_QPrinter*)this)->QPrinter::printProgram();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setDocName(const QString&)
        this->QPrinter::setDocName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QString docName() const
        QString xret = ((const x_QPrinter*)this)->QPrinter::docName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setCreator(const QString&)
        this->QPrinter::setCreator(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QString creator() const
        QString xret = ((const x_QPrinter*)this)->QPrinter::creator();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // void setOrientation(QPrinter::Orientation)
        this->QPrinter::setOrientation((QPrinter::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QPrinter::Orientation orientation() const
        QPrinter::Orientation xret = ((const x_QPrinter*)this)->QPrinter::orientation();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setPageSize(QPrinter::PageSize)
        this->QPrinter::setPageSize((QPrinter::PageSize)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // QPrinter::PageSize pageSize() const
        QPrinter::PageSize xret = ((const x_QPrinter*)this)->QPrinter::pageSize();
        x[0].s_enum = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setPaperSize(QPrinter::PageSize)
        this->QPrinter::setPaperSize((QPrinter::PageSize)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QPrinter::PageSize paperSize() const
        QPrinter::PageSize xret = ((const x_QPrinter*)this)->QPrinter::paperSize();
        x[0].s_enum = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setPaperSize(const QSizeF&, QPrinter::Unit)
        this->QPrinter::setPaperSize(*(const QSizeF*)x[1].s_class,(QPrinter::Unit)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QSizeF paperSize(QPrinter::Unit) const
        QSizeF xret = ((const x_QPrinter*)this)->QPrinter::paperSize((QPrinter::Unit)x[1].s_enum);
        x[0].s_class = (void*)new QSizeF(xret);
    }
    void x_25(Smoke::Stack x) {
        // void setPageOrder(QPrinter::PageOrder)
        this->QPrinter::setPageOrder((QPrinter::PageOrder)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QPrinter::PageOrder pageOrder() const
        QPrinter::PageOrder xret = ((const x_QPrinter*)this)->QPrinter::pageOrder();
        x[0].s_enum = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setResolution(int)
        this->QPrinter::setResolution((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // int resolution() const
        int xret = ((const x_QPrinter*)this)->QPrinter::resolution();
        x[0].s_int = xret;
    }
    void x_29(Smoke::Stack x) {
        // void setColorMode(QPrinter::ColorMode)
        this->QPrinter::setColorMode((QPrinter::ColorMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QPrinter::ColorMode colorMode() const
        QPrinter::ColorMode xret = ((const x_QPrinter*)this)->QPrinter::colorMode();
        x[0].s_enum = xret;
    }
    void x_31(Smoke::Stack x) {
        // void setCollateCopies(bool)
        this->QPrinter::setCollateCopies((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // bool collateCopies() const
        bool xret = ((const x_QPrinter*)this)->QPrinter::collateCopies();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // void setFullPage(bool)
        this->QPrinter::setFullPage((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // bool fullPage() const
        bool xret = ((const x_QPrinter*)this)->QPrinter::fullPage();
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // void setNumCopies(int)
        this->QPrinter::setNumCopies((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // int numCopies() const
        int xret = ((const x_QPrinter*)this)->QPrinter::numCopies();
        x[0].s_int = xret;
    }
    void x_37(Smoke::Stack x) {
        // int actualNumCopies() const
        int xret = ((const x_QPrinter*)this)->QPrinter::actualNumCopies();
        x[0].s_int = xret;
    }
    void x_38(Smoke::Stack x) {
        // void setCopyCount(int)
        this->QPrinter::setCopyCount((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // int copyCount() const
        int xret = ((const x_QPrinter*)this)->QPrinter::copyCount();
        x[0].s_int = xret;
    }
    void x_40(Smoke::Stack x) {
        // bool supportsMultipleCopies() const
        bool xret = ((const x_QPrinter*)this)->QPrinter::supportsMultipleCopies();
        x[0].s_bool = xret;
    }
    void x_41(Smoke::Stack x) {
        // void setPaperSource(QPrinter::PaperSource)
        this->QPrinter::setPaperSource((QPrinter::PaperSource)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // QPrinter::PaperSource paperSource() const
        QPrinter::PaperSource xret = ((const x_QPrinter*)this)->QPrinter::paperSource();
        x[0].s_enum = xret;
    }
    void x_43(Smoke::Stack x) {
        // void setDuplex(QPrinter::DuplexMode)
        this->QPrinter::setDuplex((QPrinter::DuplexMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // QPrinter::DuplexMode duplex() const
        QPrinter::DuplexMode xret = ((const x_QPrinter*)this)->QPrinter::duplex();
        x[0].s_enum = xret;
    }
    void x_45(Smoke::Stack x) {
        // QList<int> supportedResolutions() const
        QList<int> xret = ((const x_QPrinter*)this)->QPrinter::supportedResolutions();
        x[0].s_class = (void*)new QList<int>(xret);
    }
    void x_46(Smoke::Stack x) {
        // void setFontEmbeddingEnabled(bool)
        this->QPrinter::setFontEmbeddingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // bool fontEmbeddingEnabled() const
        bool xret = ((const x_QPrinter*)this)->QPrinter::fontEmbeddingEnabled();
        x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) {
        // void setDoubleSidedPrinting(bool)
        this->QPrinter::setDoubleSidedPrinting((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // bool doubleSidedPrinting() const
        bool xret = ((const x_QPrinter*)this)->QPrinter::doubleSidedPrinting();
        x[0].s_bool = xret;
    }
    void x_50(Smoke::Stack x) {
        // QRect paperRect() const
        QRect xret = ((const x_QPrinter*)this)->QPrinter::paperRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_51(Smoke::Stack x) {
        // QRect pageRect() const
        QRect xret = ((const x_QPrinter*)this)->QPrinter::pageRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_52(Smoke::Stack x) {
        // QRectF paperRect(QPrinter::Unit) const
        QRectF xret = ((const x_QPrinter*)this)->QPrinter::paperRect((QPrinter::Unit)x[1].s_enum);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_53(Smoke::Stack x) {
        // QRectF pageRect(QPrinter::Unit) const
        QRectF xret = ((const x_QPrinter*)this)->QPrinter::pageRect((QPrinter::Unit)x[1].s_enum);
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_54(Smoke::Stack x) {
        // QString printerSelectionOption() const
        QString xret = ((const x_QPrinter*)this)->QPrinter::printerSelectionOption();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_55(Smoke::Stack x) {
        // void setPrinterSelectionOption(const QString&)
        this->QPrinter::setPrinterSelectionOption(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // bool newPage()
        bool xret = this->QPrinter::newPage();
        x[0].s_bool = xret;
    }
    void x_57(Smoke::Stack x) {
        // bool abort()
        bool xret = this->QPrinter::abort();
        x[0].s_bool = xret;
    }
    void x_58(Smoke::Stack x) {
        // QPrinter::PrinterState printerState() const
        QPrinter::PrinterState xret = ((const x_QPrinter*)this)->QPrinter::printerState();
        x[0].s_enum = xret;
    }
    void x_59(Smoke::Stack x) {
        // QPaintEngine* paintEngine() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrinter*>(this))) {
            QPaintEngine* xret = ((const x_QPrinter*)this)->QPrinter::paintEngine();
            x[0].s_class = (void*)xret;
        } else {
            QPaintEngine* xret = ((const x_QPrinter*)this)->paintEngine();
            x[0].s_class = (void*)xret;
        }
    }
    void x_60(Smoke::Stack x) {
        // QPrintEngine* printEngine() const
        QPrintEngine* xret = ((const x_QPrinter*)this)->QPrinter::printEngine();
        x[0].s_class = (void*)xret;
    }
    void x_61(Smoke::Stack x) {
        // void setFromTo(int, int)
        this->QPrinter::setFromTo((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // int fromPage() const
        int xret = ((const x_QPrinter*)this)->QPrinter::fromPage();
        x[0].s_int = xret;
    }
    void x_63(Smoke::Stack x) {
        // int toPage() const
        int xret = ((const x_QPrinter*)this)->QPrinter::toPage();
        x[0].s_int = xret;
    }
    void x_64(Smoke::Stack x) {
        // void setPrintRange(QPrinter::PrintRange)
        this->QPrinter::setPrintRange((QPrinter::PrintRange)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // QPrinter::PrintRange printRange() const
        QPrinter::PrintRange xret = ((const x_QPrinter*)this)->QPrinter::printRange();
        x[0].s_enum = xret;
    }
    void x_66(Smoke::Stack x) {
        // void setPageMargins(double, double, double, double, QPrinter::Unit)
        this->QPrinter::setPageMargins((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(QPrinter::Unit)x[5].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void getPageMargins(double*, double*, double*, double*, QPrinter::Unit) const
        ((const x_QPrinter*)this)->QPrinter::getPageMargins((double*)x[1].s_class,(double*)x[2].s_class,(double*)x[3].s_class,(double*)x[4].s_class,(QPrinter::Unit)x[5].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // int metric(QPaintDevice::PaintDeviceMetric) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPrinter*>(this))) {
            int xret = ((const x_QPrinter*)this)->QPrinter::metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QPrinter*)this)->metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
            x[0].s_int = xret;
        }
    }
    void x_69(Smoke::Stack x) {
        // void setEngines(QPrintEngine*, QPaintEngine*)
        this->QPrinter::setEngines((QPrintEngine*)x[1].s_class,(QPaintEngine*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_70(Smoke::Stack x) {
        // QPrinter* QPrinter()
        x_QPrinter* xret = new x_QPrinter((QPrinter::PrinterMode)QPrinter::ScreenResolution);
        x[0].s_class = (void*)xret;
    }
    static void x_71(Smoke::Stack x) {
        // QPrinter* QPrinter(const QPrinterInfo&)
        x_QPrinter* xret = new x_QPrinter(*(const QPrinterInfo*)x[1].s_class,(QPrinter::PrinterMode)QPrinter::ScreenResolution);
        x[0].s_class = (void*)xret;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::ScreenResolution;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::PrinterResolution;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::HighResolution;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Portrait;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Landscape;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A4;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B5;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Letter;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Legal;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Executive;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A0;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A1;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A2;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A3;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A5;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A6;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A7;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A8;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::A9;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B0;
    }
    static void x_92(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B1;
    }
    static void x_93(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B10;
    }
    static void x_94(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B2;
    }
    static void x_95(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B3;
    }
    static void x_96(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B4;
    }
    static void x_97(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B6;
    }
    static void x_98(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B7;
    }
    static void x_99(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B8;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::B9;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::C5E;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Comm10E;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::DLE;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Folio;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Ledger;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Tabloid;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Custom;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::NPageSize;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::NPaperSize;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::FirstPageFirst;
    }
    static void x_111(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::LastPageFirst;
    }
    static void x_112(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::GrayScale;
    }
    static void x_113(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Color;
    }
    static void x_114(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::OnlyOne;
    }
    static void x_115(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Lower;
    }
    static void x_116(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Middle;
    }
    static void x_117(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Manual;
    }
    static void x_118(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Envelope;
    }
    static void x_119(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::EnvelopeManual;
    }
    static void x_120(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Auto;
    }
    static void x_121(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Tractor;
    }
    static void x_122(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::SmallFormat;
    }
    static void x_123(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::LargeFormat;
    }
    static void x_124(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::LargeCapacity;
    }
    static void x_125(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Cassette;
    }
    static void x_126(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::FormSource;
    }
    static void x_127(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::MaxPageSource;
    }
    static void x_128(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Idle;
    }
    static void x_129(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Active;
    }
    static void x_130(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Aborted;
    }
    static void x_131(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Error;
    }
    static void x_132(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::NativeFormat;
    }
    static void x_133(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::PdfFormat;
    }
    static void x_134(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::PostScriptFormat;
    }
    static void x_135(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::AllPages;
    }
    static void x_136(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Selection;
    }
    static void x_137(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::PageRange;
    }
    static void x_138(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::CurrentPage;
    }
    static void x_139(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Millimeter;
    }
    static void x_140(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Point;
    }
    static void x_141(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Inch;
    }
    static void x_142(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Pica;
    }
    static void x_143(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Didot;
    }
    static void x_144(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::Cicero;
    }
    static void x_145(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::DevicePixel;
    }
    static void x_146(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::DuplexNone;
    }
    static void x_147(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::DuplexAuto;
    }
    static void x_148(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::DuplexLongSide;
    }
    static void x_149(Smoke::Stack x) {
        x[0].s_enum = (long)QPrinter::DuplexShortSide;
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9754, (void*)this, x)) return (int)x[0].s_int;
        return this->QPrinter::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9810, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QPrinter::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(9819, (void*)this, x)) return (int)x[0].s_int;
        return this->QPrinter::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 641: //QPrinter::PrinterMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::PrinterMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::PrinterMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::PrinterMode*)xdata = (QPrinter::PrinterMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::PrinterMode*)xdata;
                    break;
            }
            break;
        case 635: //QPrinter::Orientation
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::Orientation;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::Orientation*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::Orientation*)xdata = (QPrinter::Orientation)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::Orientation*)xdata;
                    break;
            }
            break;
        case 638: //QPrinter::PageSize
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::PageSize;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::PageSize*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::PageSize*)xdata = (QPrinter::PageSize)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::PageSize*)xdata;
                    break;
            }
            break;
        case 637: //QPrinter::PageOrder
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::PageOrder;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::PageOrder*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::PageOrder*)xdata = (QPrinter::PageOrder)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::PageOrder*)xdata;
                    break;
            }
            break;
        case 633: //QPrinter::ColorMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::ColorMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::ColorMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::ColorMode*)xdata = (QPrinter::ColorMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::ColorMode*)xdata;
                    break;
            }
            break;
        case 639: //QPrinter::PaperSource
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::PaperSource;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::PaperSource*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::PaperSource*)xdata = (QPrinter::PaperSource)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::PaperSource*)xdata;
                    break;
            }
            break;
        case 642: //QPrinter::PrinterState
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::PrinterState;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::PrinterState*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::PrinterState*)xdata = (QPrinter::PrinterState)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::PrinterState*)xdata;
                    break;
            }
            break;
        case 636: //QPrinter::OutputFormat
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::OutputFormat;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::OutputFormat*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::OutputFormat*)xdata = (QPrinter::OutputFormat)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::OutputFormat*)xdata;
                    break;
            }
            break;
        case 640: //QPrinter::PrintRange
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::PrintRange;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::PrintRange*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::PrintRange*)xdata = (QPrinter::PrintRange)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::PrintRange*)xdata;
                    break;
            }
            break;
        case 643: //QPrinter::Unit
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::Unit;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::Unit*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::Unit*)xdata = (QPrinter::Unit)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::Unit*)xdata;
                    break;
            }
            break;
        case 634: //QPrinter::DuplexMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QPrinter::DuplexMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QPrinter::DuplexMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QPrinter::DuplexMode*)xdata = (QPrinter::DuplexMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QPrinter::DuplexMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QPrinter() { this->_binding->deleted(277, (void*)this); }
};
void xenum_QPrinter(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QPrinter::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QPrinter(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPrinter *xself = (x_QPrinter*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QPrinter::x_1(args);	break;
        case 2: x_QPrinter::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: 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: x_QPrinter::x_70(args);	break;
        case 71: x_QPrinter::x_71(args);	break;
        case 72: x_QPrinter::x_72(args);	break;
        case 73: x_QPrinter::x_73(args);	break;
        case 74: x_QPrinter::x_74(args);	break;
        case 75: x_QPrinter::x_75(args);	break;
        case 76: x_QPrinter::x_76(args);	break;
        case 77: x_QPrinter::x_77(args);	break;
        case 78: x_QPrinter::x_78(args);	break;
        case 79: x_QPrinter::x_79(args);	break;
        case 80: x_QPrinter::x_80(args);	break;
        case 81: x_QPrinter::x_81(args);	break;
        case 82: x_QPrinter::x_82(args);	break;
        case 83: x_QPrinter::x_83(args);	break;
        case 84: x_QPrinter::x_84(args);	break;
        case 85: x_QPrinter::x_85(args);	break;
        case 86: x_QPrinter::x_86(args);	break;
        case 87: x_QPrinter::x_87(args);	break;
        case 88: x_QPrinter::x_88(args);	break;
        case 89: x_QPrinter::x_89(args);	break;
        case 90: x_QPrinter::x_90(args);	break;
        case 91: x_QPrinter::x_91(args);	break;
        case 92: x_QPrinter::x_92(args);	break;
        case 93: x_QPrinter::x_93(args);	break;
        case 94: x_QPrinter::x_94(args);	break;
        case 95: x_QPrinter::x_95(args);	break;
        case 96: x_QPrinter::x_96(args);	break;
        case 97: x_QPrinter::x_97(args);	break;
        case 98: x_QPrinter::x_98(args);	break;
        case 99: x_QPrinter::x_99(args);	break;
        case 100: x_QPrinter::x_100(args);	break;
        case 101: x_QPrinter::x_101(args);	break;
        case 102: x_QPrinter::x_102(args);	break;
        case 103: x_QPrinter::x_103(args);	break;
        case 104: x_QPrinter::x_104(args);	break;
        case 105: x_QPrinter::x_105(args);	break;
        case 106: x_QPrinter::x_106(args);	break;
        case 107: x_QPrinter::x_107(args);	break;
        case 108: x_QPrinter::x_108(args);	break;
        case 109: x_QPrinter::x_109(args);	break;
        case 110: x_QPrinter::x_110(args);	break;
        case 111: x_QPrinter::x_111(args);	break;
        case 112: x_QPrinter::x_112(args);	break;
        case 113: x_QPrinter::x_113(args);	break;
        case 114: x_QPrinter::x_114(args);	break;
        case 115: x_QPrinter::x_115(args);	break;
        case 116: x_QPrinter::x_116(args);	break;
        case 117: x_QPrinter::x_117(args);	break;
        case 118: x_QPrinter::x_118(args);	break;
        case 119: x_QPrinter::x_119(args);	break;
        case 120: x_QPrinter::x_120(args);	break;
        case 121: x_QPrinter::x_121(args);	break;
        case 122: x_QPrinter::x_122(args);	break;
        case 123: x_QPrinter::x_123(args);	break;
        case 124: x_QPrinter::x_124(args);	break;
        case 125: x_QPrinter::x_125(args);	break;
        case 126: x_QPrinter::x_126(args);	break;
        case 127: x_QPrinter::x_127(args);	break;
        case 128: x_QPrinter::x_128(args);	break;
        case 129: x_QPrinter::x_129(args);	break;
        case 130: x_QPrinter::x_130(args);	break;
        case 131: x_QPrinter::x_131(args);	break;
        case 132: x_QPrinter::x_132(args);	break;
        case 133: x_QPrinter::x_133(args);	break;
        case 134: x_QPrinter::x_134(args);	break;
        case 135: x_QPrinter::x_135(args);	break;
        case 136: x_QPrinter::x_136(args);	break;
        case 137: x_QPrinter::x_137(args);	break;
        case 138: x_QPrinter::x_138(args);	break;
        case 139: x_QPrinter::x_139(args);	break;
        case 140: x_QPrinter::x_140(args);	break;
        case 141: x_QPrinter::x_141(args);	break;
        case 142: x_QPrinter::x_142(args);	break;
        case 143: x_QPrinter::x_143(args);	break;
        case 144: x_QPrinter::x_144(args);	break;
        case 145: x_QPrinter::x_145(args);	break;
        case 146: x_QPrinter::x_146(args);	break;
        case 147: x_QPrinter::x_147(args);	break;
        case 148: x_QPrinter::x_148(args);	break;
        case 149: x_QPrinter::x_149(args);	break;
        case 150: delete (QPrinter*)xself;	break;
    }
}
class x_QPrinterInfo : public QPrinterInfo {
    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) {
        // QPrinterInfo* QPrinterInfo()
        x_QPrinterInfo* xret = new x_QPrinterInfo();
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrinterInfo() : QPrinterInfo() {}
    static void x_2(Smoke::Stack x) {
        // QPrinterInfo* QPrinterInfo(const QPrinterInfo&)
        x_QPrinterInfo* xret = new x_QPrinterInfo(*(const QPrinterInfo*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrinterInfo(const QPrinterInfo& x1) : QPrinterInfo(x1) {}
    static void x_3(Smoke::Stack x) {
        // QPrinterInfo* QPrinterInfo(const QPrinter&)
        x_QPrinterInfo* xret = new x_QPrinterInfo(*(const QPrinter*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPrinterInfo(const QPrinter& x1) : QPrinterInfo(x1) {}
    void x_4(Smoke::Stack x) {
        // QPrinterInfo& operator=(const QPrinterInfo&)
        QPrinterInfo& xret = this->QPrinterInfo::operator=(*(const QPrinterInfo*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // QString printerName() const
        QString xret = ((const x_QPrinterInfo*)this)->QPrinterInfo::printerName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_6(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_QPrinterInfo*)this)->QPrinterInfo::isNull();
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool isDefault() const
        bool xret = ((const x_QPrinterInfo*)this)->QPrinterInfo::isDefault();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // QList<QPrinter::PageSize> supportedPaperSizes() const
        QList<QPrinter::PageSize> xret = ((const x_QPrinterInfo*)this)->QPrinterInfo::supportedPaperSizes();
        x[0].s_class = (void*)new QList<QPrinter::PageSize>(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static QList<QPrinterInfo> availablePrinters()
        QList<QPrinterInfo> xret = QPrinterInfo::availablePrinters();
        x[0].s_class = (void*)new QList<QPrinterInfo>(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QPrinterInfo defaultPrinter()
        QPrinterInfo xret = QPrinterInfo::defaultPrinter();
        x[0].s_class = (void*)new QPrinterInfo(xret);
    }
    ~x_QPrinterInfo() { this->_binding->deleted(278, (void*)this); }
};
void xcall_QPrinterInfo(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPrinterInfo *xself = (x_QPrinterInfo*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QPrinterInfo::x_1(args);	break;
        case 2: x_QPrinterInfo::x_2(args);	break;
        case 3: x_QPrinterInfo::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_QPrinterInfo::x_9(args);	break;
        case 10: x_QPrinterInfo::x_10(args);	break;
        case 11: delete (QPrinterInfo*)xself;	break;
    }
}
class x_QProgressBar : public QProgressBar, 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<QProgressBar*>(this))) {
            const QMetaObject* xret = ((const x_QProgressBar*)this)->QProgressBar::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QProgressBar*)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<QProgressBar*>(this))) {
            void* xret = this->QProgressBar::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 = QProgressBar::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 = QProgressBar::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 = QProgressBar::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 = QProgressBar::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<QProgressBar*>(this))) {
            int xret = this->QProgressBar::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) {
        // QProgressBar* QProgressBar(QWidget*)
        x_QProgressBar* xret = new x_QProgressBar((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QProgressBar(QWidget* x1) : QProgressBar(x1) {}
    void x_9(Smoke::Stack x) {
        // int minimum() const
        int xret = ((const x_QProgressBar*)this)->QProgressBar::minimum();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // int maximum() const
        int xret = ((const x_QProgressBar*)this)->QProgressBar::maximum();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // int value() const
        int xret = ((const x_QProgressBar*)this)->QProgressBar::value();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // virtual QString text() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressBar*>(this))) {
            QString xret = ((const x_QProgressBar*)this)->QProgressBar::text();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_QProgressBar*)this)->text();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_13(Smoke::Stack x) {
        // void setTextVisible(bool)
        this->QProgressBar::setTextVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool isTextVisible() const
        bool xret = ((const x_QProgressBar*)this)->QProgressBar::isTextVisible();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_QProgressBar*)this)->QProgressBar::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_16(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->QProgressBar::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressBar*>(this))) {
            QSize xret = ((const x_QProgressBar*)this)->QProgressBar::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QProgressBar*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_18(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressBar*>(this))) {
            QSize xret = ((const x_QProgressBar*)this)->QProgressBar::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QProgressBar*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_19(Smoke::Stack x) {
        // Qt::Orientation orientation() const
        Qt::Orientation xret = ((const x_QProgressBar*)this)->QProgressBar::orientation();
        x[0].s_enum = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setInvertedAppearance(bool)
        this->QProgressBar::setInvertedAppearance((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // bool invertedAppearance()
        bool xret = this->QProgressBar::invertedAppearance();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // bool invertedAppearance() const
        bool xret = ((const x_QProgressBar*)this)->QProgressBar::invertedAppearance();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setTextDirection(QProgressBar::Direction)
        this->QProgressBar::setTextDirection((QProgressBar::Direction)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QProgressBar::Direction textDirection()
        QProgressBar::Direction xret = this->QProgressBar::textDirection();
        x[0].s_enum = xret;
    }
    void x_25(Smoke::Stack x) {
        // QProgressBar::Direction textDirection() const
        QProgressBar::Direction xret = ((const x_QProgressBar*)this)->QProgressBar::textDirection();
        x[0].s_enum = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setFormat(const QString&)
        this->QProgressBar::setFormat(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // QString format() const
        QString xret = ((const x_QProgressBar*)this)->QProgressBar::format();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_28(Smoke::Stack x) {
        // void reset()
        this->QProgressBar::reset();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setRange(int, int)
        this->QProgressBar::setRange((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setMinimum(int)
        this->QProgressBar::setMinimum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setMaximum(int)
        this->QProgressBar::setMaximum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setValue(int)
        this->QProgressBar::setValue((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setOrientation(Qt::Orientation)
        this->QProgressBar::setOrientation((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void valueChanged(int)
        this->QProgressBar::valueChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressBar*>(this))) {
            bool xret = this->QProgressBar::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_36(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressBar*>(this))) {
            this->QProgressBar::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_37(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionProgressBar*) const
        ((const x_QProgressBar*)this)->QProgressBar::initStyleOption((QStyleOptionProgressBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_38(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QProgressBar::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QProgressBar::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_40(Smoke::Stack x) {
        // QProgressBar* QProgressBar()
        x_QProgressBar* xret = new x_QProgressBar((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_41(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QProgressBar::staticMetaObject;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QProgressBar::TopToBottom;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QProgressBar::BottomToTop;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9913, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QProgressBar::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9914, (void*)this, x)) return (void*)x[0].s_class;
        return this->QProgressBar::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(9919, (void*)this, x)) return (int)x[0].s_int;
        return this->QProgressBar::qt_metacall(x1, x2, x3);
    }
    virtual QString text() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9924, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProgressBar::text();
    }
    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(9929, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProgressBar::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9930, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProgressBar::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(9948, (void*)this, x)) return;
        this->QProgressBar::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(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(9947, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProgressBar::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 648: //QProgressBar::Direction
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QProgressBar::Direction;
                    break;
                case Smoke::EnumDelete:
                    delete (QProgressBar::Direction*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QProgressBar::Direction*)xdata = (QProgressBar::Direction)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QProgressBar::Direction*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QProgressBar() { this->_binding->deleted(279, (void*)this); }
};
void xenum_QProgressBar(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QProgressBar::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QProgressBar(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QProgressBar *xself = (x_QProgressBar*)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_QProgressBar::x_3(args);	break;
        case 4: x_QProgressBar::x_4(args);	break;
        case 5: x_QProgressBar::x_5(args);	break;
        case 6: x_QProgressBar::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QProgressBar::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: x_QProgressBar::x_38(args);	break;
        case 39: x_QProgressBar::x_39(args);	break;
        case 40: x_QProgressBar::x_40(args);	break;
        case 41: x_QProgressBar::x_41(args);	break;
        case 42: x_QProgressBar::x_42(args);	break;
        case 43: x_QProgressBar::x_43(args);	break;
        case 44: delete (QProgressBar*)xself;	break;
    }
}
class x_QProgressDialog : public QProgressDialog, 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<QProgressDialog*>(this))) {
            const QMetaObject* xret = ((const x_QProgressDialog*)this)->QProgressDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QProgressDialog*)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<QProgressDialog*>(this))) {
            void* xret = this->QProgressDialog::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 = QProgressDialog::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 = QProgressDialog::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 = QProgressDialog::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 = QProgressDialog::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<QProgressDialog*>(this))) {
            int xret = this->QProgressDialog::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) {
        // QProgressDialog* QProgressDialog(QWidget*, QFlags<Qt::WindowType>)
        x_QProgressDialog* xret = new x_QProgressDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QProgressDialog(QWidget* x1, QFlags<Qt::WindowType> x2) : QProgressDialog(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // QProgressDialog* QProgressDialog(const QString&, const QString&, int, int, QWidget*, QFlags<Qt::WindowType>)
        x_QProgressDialog* xret = new x_QProgressDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,(QWidget*)x[5].s_class,(QFlags<Qt::WindowType>)x[6].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QProgressDialog(const QString& x1, const QString& x2, int x3, int x4, QWidget* x5, QFlags<Qt::WindowType> x6) : QProgressDialog(x1, x2, x3, x4, x5, x6) {}
    void x_10(Smoke::Stack x) {
        // void setLabel(QLabel*)
        this->QProgressDialog::setLabel((QLabel*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setCancelButton(QPushButton*)
        this->QProgressDialog::setCancelButton((QPushButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setBar(QProgressBar*)
        this->QProgressDialog::setBar((QProgressBar*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool wasCanceled() const
        bool xret = ((const x_QProgressDialog*)this)->QProgressDialog::wasCanceled();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // int minimum() const
        int xret = ((const x_QProgressDialog*)this)->QProgressDialog::minimum();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // int maximum() const
        int xret = ((const x_QProgressDialog*)this)->QProgressDialog::maximum();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // int value() const
        int xret = ((const x_QProgressDialog*)this)->QProgressDialog::value();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressDialog*>(this))) {
            QSize xret = ((const x_QProgressDialog*)this)->QProgressDialog::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QProgressDialog*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_18(Smoke::Stack x) {
        // QString labelText() const
        QString xret = ((const x_QProgressDialog*)this)->QProgressDialog::labelText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_19(Smoke::Stack x) {
        // int minimumDuration() const
        int xret = ((const x_QProgressDialog*)this)->QProgressDialog::minimumDuration();
        x[0].s_int = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setAutoReset(bool)
        this->QProgressDialog::setAutoReset((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // bool autoReset() const
        bool xret = ((const x_QProgressDialog*)this)->QProgressDialog::autoReset();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setAutoClose(bool)
        this->QProgressDialog::setAutoClose((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // bool autoClose() const
        bool xret = ((const x_QProgressDialog*)this)->QProgressDialog::autoClose();
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // void open()
        this->QProgressDialog::open();
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void open(QObject*, const char*)
        this->QProgressDialog::open((QObject*)x[1].s_class,(const char*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void cancel()
        this->QProgressDialog::cancel();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void reset()
        this->QProgressDialog::reset();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setMaximum(int)
        this->QProgressDialog::setMaximum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setMinimum(int)
        this->QProgressDialog::setMinimum((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setRange(int, int)
        this->QProgressDialog::setRange((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void setValue(int)
        this->QProgressDialog::setValue((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setLabelText(const QString&)
        this->QProgressDialog::setLabelText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setCancelButtonText(const QString&)
        this->QProgressDialog::setCancelButtonText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setMinimumDuration(int)
        this->QProgressDialog::setMinimumDuration((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void canceled()
        this->QProgressDialog::canceled();
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressDialog*>(this))) {
            this->QProgressDialog::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_37(Smoke::Stack x) {
        // void closeEvent(QCloseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressDialog*>(this))) {
            this->QProgressDialog::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_38(Smoke::Stack x) {
        // void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressDialog*>(this))) {
            this->QProgressDialog::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_39(Smoke::Stack x) {
        // void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProgressDialog*>(this))) {
            this->QProgressDialog::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_40(Smoke::Stack x) {
        // void forceShow()
        this->QProgressDialog::forceShow();
        (void)x; // noop (for compiler warning)
    }
    static void x_41(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QProgressDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_42(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QProgressDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_43(Smoke::Stack x) {
        // QProgressDialog* QProgressDialog()
        x_QProgressDialog* xret = new x_QProgressDialog((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_44(Smoke::Stack x) {
        // QProgressDialog* QProgressDialog(QWidget*)
        x_QProgressDialog* xret = new x_QProgressDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_45(Smoke::Stack x) {
        // QProgressDialog* QProgressDialog(const QString&, const QString&, int, int)
        x_QProgressDialog* xret = new x_QProgressDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,(QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_46(Smoke::Stack x) {
        // QProgressDialog* QProgressDialog(const QString&, const QString&, int, int, QWidget*)
        x_QProgressDialog* xret = new x_QProgressDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,(QWidget*)x[5].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_47(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QProgressDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(9957, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QProgressDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9958, (void*)this, x)) return (void*)x[0].s_class;
        return this->QProgressDialog::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(9963, (void*)this, x)) return (int)x[0].s_int;
        return this->QProgressDialog::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(9973, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProgressDialog::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(9992, (void*)this, x)) return;
        this->QProgressDialog::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(9993, (void*)this, x)) return;
        this->QProgressDialog::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(9995, (void*)this, x)) return;
        this->QProgressDialog::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(9994, (void*)this, x)) return;
        this->QProgressDialog::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15645, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15652, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15616, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(2588, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QProgressDialog() { this->_binding->deleted(280, (void*)this); }
};
void xcall_QProgressDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QProgressDialog *xself = (x_QProgressDialog*)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_QProgressDialog::x_3(args);	break;
        case 4: x_QProgressDialog::x_4(args);	break;
        case 5: x_QProgressDialog::x_5(args);	break;
        case 6: x_QProgressDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QProgressDialog::x_8(args);	break;
        case 9: x_QProgressDialog::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: x_QProgressDialog::x_41(args);	break;
        case 42: x_QProgressDialog::x_42(args);	break;
        case 43: x_QProgressDialog::x_43(args);	break;
        case 44: x_QProgressDialog::x_44(args);	break;
        case 45: x_QProgressDialog::x_45(args);	break;
        case 46: x_QProgressDialog::x_46(args);	break;
        case 47: x_QProgressDialog::x_47(args);	break;
        case 48: delete (QProgressDialog*)xself;	break;
    }
}
class x_QProxyModel : public QProxyModel, 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<QProxyModel*>(this))) {
            const QMetaObject* xret = ((const x_QProxyModel*)this)->QProxyModel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QProxyModel*)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<QProxyModel*>(this))) {
            void* xret = this->QProxyModel::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 = QProxyModel::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 = QProxyModel::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 = QProxyModel::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 = QProxyModel::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<QProxyModel*>(this))) {
            int xret = this->QProxyModel::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) {
        // QProxyModel* QProxyModel(QObject*)
        x_QProxyModel* xret = new x_QProxyModel((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QProxyModel(QObject* x1) : QProxyModel(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void setModel(QAbstractItemModel*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            this->QProxyModel::setModel((QAbstractItemModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setModel((QAbstractItemModel*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // QAbstractItemModel* model() const
        QAbstractItemModel* xret = ((const x_QProxyModel*)this)->QProxyModel::model();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // QModelIndex index(int, int, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            QModelIndex xret = ((const x_QProxyModel*)this)->QProxyModel::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_QProxyModel*)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_12(Smoke::Stack x) {
        // QModelIndex parent(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            QModelIndex xret = ((const x_QProxyModel*)this)->QProxyModel::parent(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = ((const x_QProxyModel*)this)->parent(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_13(Smoke::Stack x) {
        // int rowCount(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            int xret = ((const x_QProxyModel*)this)->QProxyModel::rowCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QProxyModel*)this)->rowCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_14(Smoke::Stack x) {
        // int columnCount(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            int xret = ((const x_QProxyModel*)this)->QProxyModel::columnCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QProxyModel*)this)->columnCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_15(Smoke::Stack x) {
        // bool hasChildren(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            bool xret = ((const x_QProxyModel*)this)->QProxyModel::hasChildren(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QProxyModel*)this)->hasChildren(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_16(Smoke::Stack x) {
        // QVariant data(const QModelIndex&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            QVariant xret = ((const x_QProxyModel*)this)->QProxyModel::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_QProxyModel*)this)->data(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_17(Smoke::Stack x) {
        // bool setData(const QModelIndex&, const QVariant&, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            bool xret = this->QProxyModel::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_18(Smoke::Stack x) {
        // QVariant headerData(int, Qt::Orientation, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            QVariant xret = ((const x_QProxyModel*)this)->QProxyModel::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_QProxyModel*)this)->headerData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,(int)x[3].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_19(Smoke::Stack x) {
        // bool setHeaderData(int, Qt::Orientation, const QVariant&, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            bool xret = this->QProxyModel::setHeaderData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,*(const QVariant*)x[3].s_class,(int)x[4].s_int);
            x[0].s_bool = xret;
        } else {
            bool xret = this->setHeaderData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,*(const QVariant*)x[3].s_class,(int)x[4].s_int);
            x[0].s_bool = xret;
        }
    }
    void x_20(Smoke::Stack x) {
        // QStringList mimeTypes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            QStringList xret = ((const x_QProxyModel*)this)->QProxyModel::mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_QProxyModel*)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<QProxyModel*>(this))) {
            QMimeData* xret = ((const x_QProxyModel*)this)->QProxyModel::mimeData(*(const QList<QModelIndex>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QMimeData* xret = ((const x_QProxyModel*)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<QProxyModel*>(this))) {
            bool xret = this->QProxyModel::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<QProxyModel*>(this))) {
            QFlags<Qt::DropAction> xret = ((const x_QProxyModel*)this)->QProxyModel::supportedDropActions();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::DropAction> xret = ((const x_QProxyModel*)this)->supportedDropActions();
            x[0].s_uint = (uint)xret;
        }
    }
    void x_24(Smoke::Stack x) {
        // bool insertRows(int, int, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            bool xret = this->QProxyModel::insertRows((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->insertRows((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_25(Smoke::Stack x) {
        // bool insertColumns(int, int, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            bool xret = this->QProxyModel::insertColumns((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->insertColumns((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // void fetchMore(const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            this->QProxyModel::fetchMore(*(const QModelIndex*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->fetchMore(*(const QModelIndex*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // QFlags<Qt::ItemFlag> flags(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            QFlags<Qt::ItemFlag> xret = ((const x_QProxyModel*)this)->QProxyModel::flags(*(const QModelIndex*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::ItemFlag> xret = ((const x_QProxyModel*)this)->flags(*(const QModelIndex*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        }
    }
    void x_28(Smoke::Stack x) {
        // void sort(int, Qt::SortOrder)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            this->QProxyModel::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_29(Smoke::Stack x) {
        // QList<QModelIndex> match(const QModelIndex&, int, const QVariant&, int, QFlags<Qt::MatchFlag>) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            QList<QModelIndex> xret = ((const x_QProxyModel*)this)->QProxyModel::match(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,*(const QVariant*)x[3].s_class,(int)x[4].s_int,(QFlags<Qt::MatchFlag>)x[5].s_uint);
            x[0].s_class = (void*)new QList<QModelIndex>(xret);
        } else {
            QList<QModelIndex> xret = ((const x_QProxyModel*)this)->match(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,*(const QVariant*)x[3].s_class,(int)x[4].s_int,(QFlags<Qt::MatchFlag>)x[5].s_uint);
            x[0].s_class = (void*)new QList<QModelIndex>(xret);
        }
    }
    void x_30(Smoke::Stack x) {
        // QSize span(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            QSize xret = ((const x_QProxyModel*)this)->QProxyModel::span(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QProxyModel*)this)->span(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_31(Smoke::Stack x) {
        // bool submit()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            bool xret = this->QProxyModel::submit();
            x[0].s_bool = xret;
        } else {
            bool xret = this->submit();
            x[0].s_bool = xret;
        }
    }
    void x_32(Smoke::Stack x) {
        // void revert()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyModel*>(this))) {
            this->QProxyModel::revert();
            (void)x; // noop (for compiler warning)
        } else {
            this->revert();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // QObject* parent() const
        QObject* xret = ((const x_QProxyModel*)this)->QProxyModel::parent();
        x[0].s_class = (void*)xret;
    }
    void x_34(Smoke::Stack x) {
        // QModelIndex setProxyModel(const QModelIndex&) const
        QModelIndex xret = ((const x_QProxyModel*)this)->QProxyModel::setProxyModel(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_35(Smoke::Stack x) {
        // QModelIndex setSourceModel(const QModelIndex&) const
        QModelIndex xret = ((const x_QProxyModel*)this)->QProxyModel::setSourceModel(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_36(Smoke::Stack x) {
        // void connectToModel(const QAbstractItemModel*) const
        ((const x_QProxyModel*)this)->QProxyModel::connectToModel((const QAbstractItemModel*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void disconnectFromModel(const QAbstractItemModel*) const
        ((const x_QProxyModel*)this)->QProxyModel::disconnectFromModel((const QAbstractItemModel*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_38(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QProxyModel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QProxyModel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_40(Smoke::Stack x) {
        // QProxyModel* QProxyModel()
        x_QProxyModel* xret = new x_QProxyModel((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_41(Smoke::Stack x) {
        // QModelIndex index(int, int) const
        QModelIndex xret = ((const x_QProxyModel*)this)->QProxyModel::index((int)x[1].s_int,(int)x[2].s_int,(const QModelIndex&)QModelIndex());
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_42(Smoke::Stack x) {
        // int rowCount() const
        int xret = ((const x_QProxyModel*)this)->QProxyModel::rowCount((const QModelIndex&)QModelIndex());
        x[0].s_int = xret;
    }
    void x_43(Smoke::Stack x) {
        // int columnCount() const
        int xret = ((const x_QProxyModel*)this)->QProxyModel::columnCount((const QModelIndex&)QModelIndex());
        x[0].s_int = xret;
    }
    void x_44(Smoke::Stack x) {
        // bool hasChildren() const
        bool xret = ((const x_QProxyModel*)this)->QProxyModel::hasChildren((const QModelIndex&)QModelIndex());
        x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
        // QVariant data(const QModelIndex&) const
        QVariant xret = ((const x_QProxyModel*)this)->QProxyModel::data(*(const QModelIndex*)x[1].s_class,(int)Qt::DisplayRole);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_46(Smoke::Stack x) {
        // bool setData(const QModelIndex&, const QVariant&)
        bool xret = this->QProxyModel::setData(*(const QModelIndex*)x[1].s_class,*(const QVariant*)x[2].s_class,(int)Qt::EditRole);
        x[0].s_bool = xret;
    }
    void x_47(Smoke::Stack x) {
        // QVariant headerData(int, Qt::Orientation) const
        QVariant xret = ((const x_QProxyModel*)this)->QProxyModel::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_48(Smoke::Stack x) {
        // bool setHeaderData(int, Qt::Orientation, const QVariant&)
        bool xret = this->QProxyModel::setHeaderData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,*(const QVariant*)x[3].s_class,(int)Qt::EditRole);
        x[0].s_bool = xret;
    }
    void x_49(Smoke::Stack x) {
        // bool insertRows(int, int)
        bool xret = this->QProxyModel::insertRows((int)x[1].s_int,(int)x[2].s_int,(const QModelIndex&)QModelIndex());
        x[0].s_bool = xret;
    }
    void x_50(Smoke::Stack x) {
        // bool insertColumns(int, int)
        bool xret = this->QProxyModel::insertColumns((int)x[1].s_int,(int)x[2].s_int,(const QModelIndex&)QModelIndex());
        x[0].s_bool = xret;
    }
    void x_51(Smoke::Stack x) {
        // void sort(int)
        this->QProxyModel::sort((int)x[1].s_int,(Qt::SortOrder)Qt::AscendingOrder);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // QList<QModelIndex> match(const QModelIndex&, int, const QVariant&) const
        QList<QModelIndex> xret = ((const x_QProxyModel*)this)->QProxyModel::match(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,*(const QVariant*)x[3].s_class,(int)1,(QFlags<Qt::MatchFlag>)Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap));
        x[0].s_class = (void*)new QList<QModelIndex>(xret);
    }
    void x_53(Smoke::Stack x) {
        // QList<QModelIndex> match(const QModelIndex&, int, const QVariant&, int) const
        QList<QModelIndex> xret = ((const x_QProxyModel*)this)->QProxyModel::match(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int,*(const QVariant*)x[3].s_class,(int)x[4].s_int,(QFlags<Qt::MatchFlag>)Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap));
        x[0].s_class = (void*)new QList<QModelIndex>(xret);
    }
    static void x_54(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QProxyModel::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10005, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QProxyModel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10006, (void*)this, x)) return (void*)x[0].s_class;
        return this->QProxyModel::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(10011, (void*)this, x)) return (int)x[0].s_int;
        return this->QProxyModel::qt_metacall(x1, x2, x3);
    }
    virtual void setModel(QAbstractItemModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10013, (void*)this, x)) return;
        this->QProxyModel::setModel(x1);
    }
    virtual QModelIndex index(int x1, int x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(10015, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyModel::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(10016, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyModel::parent(x1);
    }
    virtual int rowCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(10017, (void*)this, x)) return (int)x[0].s_int;
        return this->QProxyModel::rowCount(x1);
    }
    virtual int columnCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(10018, (void*)this, x)) return (int)x[0].s_int;
        return this->QProxyModel::columnCount(x1);
    }
    virtual bool hasChildren(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(10019, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProxyModel::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(10020, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyModel::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(10021, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProxyModel::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(10022, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyModel::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(10023, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProxyModel::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(10024, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyModel::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QModelIndex>& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(10025, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QProxyModel::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(10026, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProxyModel::dropMimeData(x1, x2, x3, x4, x5);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10027, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QProxyModel::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(10028, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProxyModel::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(10029, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProxyModel::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(10030, (void*)this, x)) return;
        this->QProxyModel::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(10031, (void*)this, x)) return (QFlags<Qt::ItemFlag>)x[0].s_uint;
        return this->QProxyModel::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(10032, (void*)this, x)) return;
        this->QProxyModel::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(10033, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyModel::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(10034, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyModel::span(x1);
    }
    virtual bool submit() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10035, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProxyModel::submit();
    }
    virtual void revert() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10036, (void*)this, x)) return;
        this->QProxyModel::revert();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8374, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8376, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QProxyModel() { this->_binding->deleted(281, (void*)this); }
};
void xcall_QProxyModel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QProxyModel *xself = (x_QProxyModel*)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_QProxyModel::x_3(args);	break;
        case 4: x_QProxyModel::x_4(args);	break;
        case 5: x_QProxyModel::x_5(args);	break;
        case 6: x_QProxyModel::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QProxyModel::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: x_QProxyModel::x_38(args);	break;
        case 39: x_QProxyModel::x_39(args);	break;
        case 40: x_QProxyModel::x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: x_QProxyModel::x_54(args);	break;
        case 55: delete (QProxyModel*)xself;	break;
    }
}
class x_QProxyStyle : public QProxyStyle, 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<QProxyStyle*>(this))) {
            const QMetaObject* xret = ((const x_QProxyStyle*)this)->QProxyStyle::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QProxyStyle*)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<QProxyStyle*>(this))) {
            void* xret = this->QProxyStyle::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 = QProxyStyle::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 = QProxyStyle::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 = QProxyStyle::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 = QProxyStyle::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<QProxyStyle*>(this))) {
            int xret = this->QProxyStyle::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) {
        // QProxyStyle* QProxyStyle(QStyle*)
        x_QProxyStyle* xret = new x_QProxyStyle((QStyle*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QProxyStyle(QStyle* x1) : QProxyStyle(x1) {}
    void x_9(Smoke::Stack x) {
        // QStyle* baseStyle() const
        QStyle* xret = ((const x_QProxyStyle*)this)->QProxyStyle::baseStyle();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // void setBaseStyle(QStyle*)
        this->QProxyStyle::setBaseStyle((QStyle*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void drawPrimitive(QStyle::PrimitiveElement, const QStyleOption*, QPainter*, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            ((const x_QProxyStyle*)this)->QProxyStyle::drawPrimitive((QStyle::PrimitiveElement)x[1].s_enum,(const QStyleOption*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QProxyStyle*)this)->drawPrimitive((QStyle::PrimitiveElement)x[1].s_enum,(const QStyleOption*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // void drawControl(QStyle::ControlElement, const QStyleOption*, QPainter*, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            ((const x_QProxyStyle*)this)->QProxyStyle::drawControl((QStyle::ControlElement)x[1].s_enum,(const QStyleOption*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QProxyStyle*)this)->drawControl((QStyle::ControlElement)x[1].s_enum,(const QStyleOption*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // void drawComplexControl(QStyle::ComplexControl, const QStyleOptionComplex*, QPainter*, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            ((const x_QProxyStyle*)this)->QProxyStyle::drawComplexControl((QStyle::ComplexControl)x[1].s_enum,(const QStyleOptionComplex*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QProxyStyle*)this)->drawComplexControl((QStyle::ComplexControl)x[1].s_enum,(const QStyleOptionComplex*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // void drawItemText(QPainter*, const QRect&, int, const QPalette&, bool, const QString&, QPalette::ColorRole) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            ((const x_QProxyStyle*)this)->QProxyStyle::drawItemText((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QPalette*)x[4].s_class,(bool)x[5].s_bool,*(const QString*)x[6].s_class,(QPalette::ColorRole)x[7].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QProxyStyle*)this)->drawItemText((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QPalette*)x[4].s_class,(bool)x[5].s_bool,*(const QString*)x[6].s_class,(QPalette::ColorRole)x[7].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual void drawItemPixmap(QPainter*, const QRect&, int, const QPixmap&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            ((const x_QProxyStyle*)this)->QProxyStyle::drawItemPixmap((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QPixmap*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QProxyStyle*)this)->drawItemPixmap((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QPixmap*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // QSize sizeFromContents(QStyle::ContentsType, const QStyleOption*, const QSize&, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QSize xret = ((const x_QProxyStyle*)this)->QProxyStyle::sizeFromContents((QStyle::ContentsType)x[1].s_enum,(const QStyleOption*)x[2].s_class,*(const QSize*)x[3].s_class,(const QWidget*)x[4].s_class);
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QProxyStyle*)this)->sizeFromContents((QStyle::ContentsType)x[1].s_enum,(const QStyleOption*)x[2].s_class,*(const QSize*)x[3].s_class,(const QWidget*)x[4].s_class);
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_17(Smoke::Stack x) {
        // QRect subElementRect(QStyle::SubElement, const QStyleOption*, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QRect xret = ((const x_QProxyStyle*)this)->QProxyStyle::subElementRect((QStyle::SubElement)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class);
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QProxyStyle*)this)->subElementRect((QStyle::SubElement)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class);
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_18(Smoke::Stack x) {
        // QRect subControlRect(QStyle::ComplexControl, const QStyleOptionComplex*, QStyle::SubControl, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QRect xret = ((const x_QProxyStyle*)this)->QProxyStyle::subControlRect((QStyle::ComplexControl)x[1].s_enum,(const QStyleOptionComplex*)x[2].s_class,(QStyle::SubControl)x[3].s_enum,(const QWidget*)x[4].s_class);
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QProxyStyle*)this)->subControlRect((QStyle::ComplexControl)x[1].s_enum,(const QStyleOptionComplex*)x[2].s_class,(QStyle::SubControl)x[3].s_enum,(const QWidget*)x[4].s_class);
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_19(Smoke::Stack x) {
        // QRect itemTextRect(const QFontMetrics&, const QRect&, int, bool, const QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QRect xret = ((const x_QProxyStyle*)this)->QProxyStyle::itemTextRect(*(const QFontMetrics*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,(bool)x[4].s_bool,*(const QString*)x[5].s_class);
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QProxyStyle*)this)->itemTextRect(*(const QFontMetrics*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,(bool)x[4].s_bool,*(const QString*)x[5].s_class);
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_20(Smoke::Stack x) {
        // QRect itemPixmapRect(const QRect&, int, const QPixmap&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QRect xret = ((const x_QProxyStyle*)this)->QProxyStyle::itemPixmapRect(*(const QRect*)x[1].s_class,(int)x[2].s_int,*(const QPixmap*)x[3].s_class);
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QProxyStyle*)this)->itemPixmapRect(*(const QRect*)x[1].s_class,(int)x[2].s_int,*(const QPixmap*)x[3].s_class);
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_21(Smoke::Stack x) {
        // QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl, const QStyleOptionComplex*, const QPoint&, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QStyle::SubControl xret = ((const x_QProxyStyle*)this)->QProxyStyle::hitTestComplexControl((QStyle::ComplexControl)x[1].s_enum,(const QStyleOptionComplex*)x[2].s_class,*(const QPoint*)x[3].s_class,(const QWidget*)x[4].s_class);
            x[0].s_enum = xret;
        } else {
            QStyle::SubControl xret = ((const x_QProxyStyle*)this)->hitTestComplexControl((QStyle::ComplexControl)x[1].s_enum,(const QStyleOptionComplex*)x[2].s_class,*(const QPoint*)x[3].s_class,(const QWidget*)x[4].s_class);
            x[0].s_enum = xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // int styleHint(QStyle::StyleHint, const QStyleOption*, const QWidget*, QStyleHintReturn*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            int xret = ((const x_QProxyStyle*)this)->QProxyStyle::styleHint((QStyle::StyleHint)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class,(QStyleHintReturn*)x[4].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QProxyStyle*)this)->styleHint((QStyle::StyleHint)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class,(QStyleHintReturn*)x[4].s_class);
            x[0].s_int = xret;
        }
    }
    void x_23(Smoke::Stack x) {
        // int pixelMetric(QStyle::PixelMetric, const QStyleOption*, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            int xret = ((const x_QProxyStyle*)this)->QProxyStyle::pixelMetric((QStyle::PixelMetric)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QProxyStyle*)this)->pixelMetric((QStyle::PixelMetric)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    void x_24(Smoke::Stack x) {
        // QPixmap standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QPixmap xret = ((const x_QProxyStyle*)this)->QProxyStyle::standardPixmap((QStyle::StandardPixmap)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class);
            x[0].s_class = (void*)new QPixmap(xret);
        } else {
            QPixmap xret = ((const x_QProxyStyle*)this)->standardPixmap((QStyle::StandardPixmap)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class);
            x[0].s_class = (void*)new QPixmap(xret);
        }
    }
    void x_25(Smoke::Stack x) {
        // QPixmap generatedIconPixmap(QIcon::Mode, const QPixmap&, const QStyleOption*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QPixmap xret = ((const x_QProxyStyle*)this)->QProxyStyle::generatedIconPixmap((QIcon::Mode)x[1].s_enum,*(const QPixmap*)x[2].s_class,(const QStyleOption*)x[3].s_class);
            x[0].s_class = (void*)new QPixmap(xret);
        } else {
            QPixmap xret = ((const x_QProxyStyle*)this)->generatedIconPixmap((QIcon::Mode)x[1].s_enum,*(const QPixmap*)x[2].s_class,(const QStyleOption*)x[3].s_class);
            x[0].s_class = (void*)new QPixmap(xret);
        }
    }
    void x_26(Smoke::Stack x) {
        // QPalette standardPalette() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            QPalette xret = ((const x_QProxyStyle*)this)->QProxyStyle::standardPalette();
            x[0].s_class = (void*)new QPalette(xret);
        } else {
            QPalette xret = ((const x_QProxyStyle*)this)->standardPalette();
            x[0].s_class = (void*)new QPalette(xret);
        }
    }
    void x_27(Smoke::Stack x) {
        // void polish(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            this->QProxyStyle::polish((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->polish((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // void polish(QPalette&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            this->QProxyStyle::polish(*(QPalette*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->polish(*(QPalette*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // void polish(QApplication*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            this->QProxyStyle::polish((QApplication*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->polish((QApplication*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_30(Smoke::Stack x) {
        // void unpolish(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            this->QProxyStyle::unpolish((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->unpolish((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_31(Smoke::Stack x) {
        // void unpolish(QApplication*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            this->QProxyStyle::unpolish((QApplication*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->unpolish((QApplication*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QProxyStyle*>(this))) {
            bool xret = this->QProxyStyle::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_33(Smoke::Stack x) {
        // QIcon standardIconImplementation(QStyle::StandardPixmap, const QStyleOption*, const QWidget*) const
        QIcon xret = ((const x_QProxyStyle*)this)->QProxyStyle::standardIconImplementation((QStyle::StandardPixmap)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class);
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_34(Smoke::Stack x) {
        // int layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption*, const QWidget*) const
        int xret = ((const x_QProxyStyle*)this)->QProxyStyle::layoutSpacingImplementation((QSizePolicy::ControlType)x[1].s_enum,(QSizePolicy::ControlType)x[2].s_enum,(Qt::Orientation)x[3].s_enum,(const QStyleOption*)x[4].s_class,(const QWidget*)x[5].s_class);
        x[0].s_int = xret;
    }
    static void x_35(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QProxyStyle::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QProxyStyle::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // QProxyStyle* QProxyStyle()
        x_QProxyStyle* xret = new x_QProxyStyle((QStyle*)0);
        x[0].s_class = (void*)xret;
    }
    void x_38(Smoke::Stack x) {
        // void drawPrimitive(QStyle::PrimitiveElement, const QStyleOption*, QPainter*) const
        ((const x_QProxyStyle*)this)->QProxyStyle::drawPrimitive((QStyle::PrimitiveElement)x[1].s_enum,(const QStyleOption*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)0);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void drawControl(QStyle::ControlElement, const QStyleOption*, QPainter*) const
        ((const x_QProxyStyle*)this)->QProxyStyle::drawControl((QStyle::ControlElement)x[1].s_enum,(const QStyleOption*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)0);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void drawComplexControl(QStyle::ComplexControl, const QStyleOptionComplex*, QPainter*) const
        ((const x_QProxyStyle*)this)->QProxyStyle::drawComplexControl((QStyle::ComplexControl)x[1].s_enum,(const QStyleOptionComplex*)x[2].s_class,(QPainter*)x[3].s_class,(const QWidget*)0);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void drawItemText(QPainter*, const QRect&, int, const QPalette&, bool, const QString&) const
        ((const x_QProxyStyle*)this)->QProxyStyle::drawItemText((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QPalette*)x[4].s_class,(bool)x[5].s_bool,*(const QString*)x[6].s_class,(QPalette::ColorRole)QPalette::NoRole);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl, const QStyleOptionComplex*, const QPoint&) const
        QStyle::SubControl xret = ((const x_QProxyStyle*)this)->QProxyStyle::hitTestComplexControl((QStyle::ComplexControl)x[1].s_enum,(const QStyleOptionComplex*)x[2].s_class,*(const QPoint*)x[3].s_class,(const QWidget*)0);
        x[0].s_enum = xret;
    }
    void x_43(Smoke::Stack x) {
        // int styleHint(QStyle::StyleHint) const
        int xret = ((const x_QProxyStyle*)this)->QProxyStyle::styleHint((QStyle::StyleHint)x[1].s_enum,(const QStyleOption*)0,(const QWidget*)0,(QStyleHintReturn*)0);
        x[0].s_int = xret;
    }
    void x_44(Smoke::Stack x) {
        // int styleHint(QStyle::StyleHint, const QStyleOption*) const
        int xret = ((const x_QProxyStyle*)this)->QProxyStyle::styleHint((QStyle::StyleHint)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)0,(QStyleHintReturn*)0);
        x[0].s_int = xret;
    }
    void x_45(Smoke::Stack x) {
        // int styleHint(QStyle::StyleHint, const QStyleOption*, const QWidget*) const
        int xret = ((const x_QProxyStyle*)this)->QProxyStyle::styleHint((QStyle::StyleHint)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)x[3].s_class,(QStyleHintReturn*)0);
        x[0].s_int = xret;
    }
    void x_46(Smoke::Stack x) {
        // int pixelMetric(QStyle::PixelMetric) const
        int xret = ((const x_QProxyStyle*)this)->QProxyStyle::pixelMetric((QStyle::PixelMetric)x[1].s_enum,(const QStyleOption*)0,(const QWidget*)0);
        x[0].s_int = xret;
    }
    void x_47(Smoke::Stack x) {
        // int pixelMetric(QStyle::PixelMetric, const QStyleOption*) const
        int xret = ((const x_QProxyStyle*)this)->QProxyStyle::pixelMetric((QStyle::PixelMetric)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)0);
        x[0].s_int = xret;
    }
    void x_48(Smoke::Stack x) {
        // QPixmap standardPixmap(QStyle::StandardPixmap, const QStyleOption*) const
        QPixmap xret = ((const x_QProxyStyle*)this)->QProxyStyle::standardPixmap((QStyle::StandardPixmap)x[1].s_enum,(const QStyleOption*)x[2].s_class,(const QWidget*)0);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_49(Smoke::Stack x) {
        // int layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation) const
        int xret = ((const x_QProxyStyle*)this)->QProxyStyle::layoutSpacingImplementation((QSizePolicy::ControlType)x[1].s_enum,(QSizePolicy::ControlType)x[2].s_enum,(Qt::Orientation)x[3].s_enum,(const QStyleOption*)0,(const QWidget*)0);
        x[0].s_int = xret;
    }
    void x_50(Smoke::Stack x) {
        // int layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption*) const
        int xret = ((const x_QProxyStyle*)this)->QProxyStyle::layoutSpacingImplementation((QSizePolicy::ControlType)x[1].s_enum,(QSizePolicy::ControlType)x[2].s_enum,(Qt::Orientation)x[3].s_enum,(const QStyleOption*)x[4].s_class,(const QWidget*)0);
        x[0].s_int = xret;
    }
    static void x_51(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QProxyStyle::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10060, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QProxyStyle::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10061, (void*)this, x)) return (void*)x[0].s_class;
        return this->QProxyStyle::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(10066, (void*)this, x)) return (int)x[0].s_int;
        return this->QProxyStyle::qt_metacall(x1, x2, x3);
    }
    virtual void drawItemPixmap(QPainter* x1, const QRect& x2, int x3, const QPixmap& x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(10074, (void*)this, x)) return;
        this->QProxyStyle::drawItemPixmap(x1, x2, x3, x4);
    }
    virtual void polish(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10086, (void*)this, x)) return;
        this->QProxyStyle::polish(x1);
    }
    virtual void unpolish(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10089, (void*)this, x)) return;
        this->QProxyStyle::unpolish(x1);
    }
    virtual void polish(QApplication* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10088, (void*)this, x)) return;
        this->QProxyStyle::polish(x1);
    }
    virtual void unpolish(QApplication* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10090, (void*)this, x)) return;
        this->QProxyStyle::unpolish(x1);
    }
    virtual void polish(QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(10087, (void*)this, x)) return;
        this->QProxyStyle::polish(x1);
    }
    virtual QRect itemTextRect(const QFontMetrics& x1, const QRect& x2, int x3, bool x4, const QString& x5) const {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        x[4].s_bool = x4;
        x[5].s_class = (void*)&x5;
        if (this->_binding->callMethod(10078, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyStyle::itemTextRect(x1, x2, x3, x4, x5);
    }
    virtual QRect itemPixmapRect(const QRect& x1, int x2, const QPixmap& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(10079, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyStyle::itemPixmapRect(x1, x2, x3);
    }
    virtual void drawItemText(QPainter* x1, const QRect& x2, int x3, const QPalette& x4, bool x5, const QString& x6, QPalette::ColorRole x7) const {
        Smoke::StackItem x[8];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        x[4].s_class = (void*)&x4;
        x[5].s_bool = x5;
        x[6].s_class = (void*)&x6;
        x[7].s_enum = x7;
        if (this->_binding->callMethod(10073, (void*)this, x)) return;
        this->QProxyStyle::drawItemText(x1, x2, x3, x4, x5, x6, x7);
    }
    virtual QPalette standardPalette() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10085, (void*)this, x)) {
            QPalette* xptr = (QPalette*)x[0].s_class;
            QPalette xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyStyle::standardPalette();
    }
    virtual void drawPrimitive(QStyle::PrimitiveElement x1, const QStyleOption* x2, QPainter* x3, const QWidget* x4) const {
        Smoke::StackItem x[5];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(10070, (void*)this, x)) return;
        this->QProxyStyle::drawPrimitive(x1, x2, x3, x4);
    }
    virtual void drawControl(QStyle::ControlElement x1, const QStyleOption* x2, QPainter* x3, const QWidget* x4) const {
        Smoke::StackItem x[5];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(10071, (void*)this, x)) return;
        this->QProxyStyle::drawControl(x1, x2, x3, x4);
    }
    virtual QRect subElementRect(QStyle::SubElement x1, const QStyleOption* x2, const QWidget* x3) const {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(10076, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyStyle::subElementRect(x1, x2, x3);
    }
    virtual void drawComplexControl(QStyle::ComplexControl x1, const QStyleOptionComplex* x2, QPainter* x3, const QWidget* x4) const {
        Smoke::StackItem x[5];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(10072, (void*)this, x)) return;
        this->QProxyStyle::drawComplexControl(x1, x2, x3, x4);
    }
    virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl x1, const QStyleOptionComplex* x2, const QPoint& x3, const QWidget* x4) const {
        Smoke::StackItem x[5];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(10080, (void*)this, x)) return (QStyle::SubControl)x[0].s_enum;
        return this->QProxyStyle::hitTestComplexControl(x1, x2, x3, x4);
    }
    virtual QRect subControlRect(QStyle::ComplexControl x1, const QStyleOptionComplex* x2, QStyle::SubControl x3, const QWidget* x4) const {
        Smoke::StackItem x[5];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_enum = x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(10077, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyStyle::subControlRect(x1, x2, x3, x4);
    }
    virtual int pixelMetric(QStyle::PixelMetric x1, const QStyleOption* x2, const QWidget* x3) const {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(10082, (void*)this, x)) return (int)x[0].s_int;
        return this->QProxyStyle::pixelMetric(x1, x2, x3);
    }
    virtual QSize sizeFromContents(QStyle::ContentsType x1, const QStyleOption* x2, const QSize& x3, const QWidget* x4) const {
        Smoke::StackItem x[5];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(10075, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyStyle::sizeFromContents(x1, x2, x3, x4);
    }
    virtual int styleHint(QStyle::StyleHint x1, const QStyleOption* x2, const QWidget* x3, QStyleHintReturn* x4) const {
        Smoke::StackItem x[5];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(10081, (void*)this, x)) return (int)x[0].s_int;
        return this->QProxyStyle::styleHint(x1, x2, x3, x4);
    }
    virtual QPixmap standardPixmap(QStyle::StandardPixmap x1, const QStyleOption* x2, const QWidget* x3) const {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(10083, (void*)this, x)) {
            QPixmap* xptr = (QPixmap*)x[0].s_class;
            QPixmap xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyStyle::standardPixmap(x1, x2, x3);
    }
    virtual QPixmap generatedIconPixmap(QIcon::Mode x1, const QPixmap& x2, const QStyleOption* x3) const {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(10084, (void*)this, x)) {
            QPixmap* xptr = (QPixmap*)x[0].s_class;
            QPixmap xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProxyStyle::generatedIconPixmap(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10091, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProxyStyle::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_QProxyStyle() { this->_binding->deleted(282, (void*)this); }
};
void xcall_QProxyStyle(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QProxyStyle *xself = (x_QProxyStyle*)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_QProxyStyle::x_3(args);	break;
        case 4: x_QProxyStyle::x_4(args);	break;
        case 5: x_QProxyStyle::x_5(args);	break;
        case 6: x_QProxyStyle::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QProxyStyle::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: x_QProxyStyle::x_35(args);	break;
        case 36: x_QProxyStyle::x_36(args);	break;
        case 37: x_QProxyStyle::x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: x_QProxyStyle::x_51(args);	break;
        case 52: delete (QProxyStyle*)xself;	break;
    }
}
class x_QPushButton : public QPushButton, 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<QPushButton*>(this))) {
            const QMetaObject* xret = ((const x_QPushButton*)this)->QPushButton::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QPushButton*)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<QPushButton*>(this))) {
            void* xret = this->QPushButton::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 = QPushButton::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 = QPushButton::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 = QPushButton::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 = QPushButton::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<QPushButton*>(this))) {
            int xret = this->QPushButton::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) {
        // QPushButton* QPushButton(QWidget*)
        x_QPushButton* xret = new x_QPushButton((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPushButton(QWidget* x1) : QPushButton(x1) {}
    static void x_9(Smoke::Stack x) {
        // QPushButton* QPushButton(const QString&, QWidget*)
        x_QPushButton* xret = new x_QPushButton(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPushButton(const QString& x1, QWidget* x2) : QPushButton(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // QPushButton* QPushButton(const QIcon&, const QString&, QWidget*)
        x_QPushButton* xret = new x_QPushButton(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QPushButton(const QIcon& x1, const QString& x2, QWidget* x3) : QPushButton(x1, x2, x3) {}
    void x_11(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPushButton*>(this))) {
            QSize xret = ((const x_QPushButton*)this)->QPushButton::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QPushButton*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_12(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPushButton*>(this))) {
            QSize xret = ((const x_QPushButton*)this)->QPushButton::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QPushButton*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_13(Smoke::Stack x) {
        // bool autoDefault() const
        bool xret = ((const x_QPushButton*)this)->QPushButton::autoDefault();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setAutoDefault(bool)
        this->QPushButton::setAutoDefault((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool isDefault() const
        bool xret = ((const x_QPushButton*)this)->QPushButton::isDefault();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setDefault(bool)
        this->QPushButton::setDefault((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setMenu(QMenu*)
        this->QPushButton::setMenu((QMenu*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QMenu* menu() const
        QMenu* xret = ((const x_QPushButton*)this)->QPushButton::menu();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void setFlat(bool)
        this->QPushButton::setFlat((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool isFlat() const
        bool xret = ((const x_QPushButton*)this)->QPushButton::isFlat();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void showMenu()
        this->QPushButton::showMenu();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPushButton*>(this))) {
            bool xret = this->QPushButton::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_23(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPushButton*>(this))) {
            this->QPushButton::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_24(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPushButton*>(this))) {
            this->QPushButton::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_25(Smoke::Stack x) {
        // void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPushButton*>(this))) {
            this->QPushButton::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_26(Smoke::Stack x) {
        // void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QPushButton*>(this))) {
            this->QPushButton::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // void initStyleOption(QStyleOptionButton*) const
        ((const x_QPushButton*)this)->QPushButton::initStyleOption((QStyleOptionButton*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QPushButton::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QPushButton::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // QPushButton* QPushButton()
        x_QPushButton* xret = new x_QPushButton((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // QPushButton* QPushButton(const QString&)
        x_QPushButton* xret = new x_QPushButton(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_32(Smoke::Stack x) {
        // QPushButton* QPushButton(const QIcon&, const QString&)
        x_QPushButton* xret = new x_QPushButton(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_33(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QPushButton::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10112, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QPushButton::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10113, (void*)this, x)) return (void*)x[0].s_class;
        return this->QPushButton::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(10118, (void*)this, x)) return (int)x[0].s_int;
        return this->QPushButton::qt_metacall(x1, x2, x3);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10134, (void*)this, x)) return;
        this->QPushButton::paintEvent(x1);
    }
    virtual bool hitButton(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(40, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractButton::hitButton(x1);
    }
    virtual void checkStateSet() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(41, (void*)this, x)) return;
        this->QAbstractButton::checkStateSet();
    }
    virtual void nextCheckState() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(42, (void*)this, x)) return;
        this->QAbstractButton::nextCheckState();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10122, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPushButton::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10123, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPushButton::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(46, (void*)this, x)) return;
        this->QAbstractButton::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(47, (void*)this, x)) return;
        this->QAbstractButton::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15619, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(48, (void*)this, x)) return;
        this->QAbstractButton::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15621, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10135, (void*)this, x)) return;
        this->QPushButton::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(45, (void*)this, x)) return;
        this->QAbstractButton::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10136, (void*)this, x)) return;
        this->QPushButton::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10137, (void*)this, x)) return;
        this->QPushButton::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15630, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15632, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15635, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15636, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15637, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15638, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15639, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(51, (void*)this, x)) return;
        this->QAbstractButton::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15644, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15645, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15652, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15656, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15657, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15658, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(10133, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QPushButton::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(52, (void*)this, x)) return;
        this->QAbstractButton::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8378, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8379, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QPushButton() { this->_binding->deleted(283, (void*)this); }
};
void xcall_QPushButton(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QPushButton *xself = (x_QPushButton*)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_QPushButton::x_3(args);	break;
        case 4: x_QPushButton::x_4(args);	break;
        case 5: x_QPushButton::x_5(args);	break;
        case 6: x_QPushButton::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QPushButton::x_8(args);	break;
        case 9: x_QPushButton::x_9(args);	break;
        case 10: x_QPushButton::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: x_QPushButton::x_28(args);	break;
        case 29: x_QPushButton::x_29(args);	break;
        case 30: x_QPushButton::x_30(args);	break;
        case 31: x_QPushButton::x_31(args);	break;
        case 32: x_QPushButton::x_32(args);	break;
        case 33: x_QPushButton::x_33(args);	break;
        case 34: delete (QPushButton*)xself;	break;
    }
}

}
