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

#include <smoke.h>
#include <qwt_smoke.h>

class __internal_SmokeClass {};

namespace __smokeqwt {

class x_QwtLog10ScaleEngine : public QwtLog10ScaleEngine, 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 autoScale(int, double&, double&, double&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtLog10ScaleEngine*>(this))) {
            ((const x_QwtLog10ScaleEngine*)this)->QwtLog10ScaleEngine::autoScale((int)x[1].s_int,*(double*)x[2].s_class,*(double*)x[3].s_class,*(double*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtLog10ScaleEngine*)this)->autoScale((int)x[1].s_int,*(double*)x[2].s_class,*(double*)x[3].s_class,*(double*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual QwtScaleDiv divideScale(double, double, int, int, double) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtLog10ScaleEngine*>(this))) {
            QwtScaleDiv xret = ((const x_QwtLog10ScaleEngine*)this)->QwtLog10ScaleEngine::divideScale((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int,(int)x[4].s_int,(double)x[5].s_double);
            x[0].s_class = (void*)new QwtScaleDiv(xret);
        } else {
            QwtScaleDiv xret = ((const x_QwtLog10ScaleEngine*)this)->divideScale((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int,(int)x[4].s_int,(double)x[5].s_double);
            x[0].s_class = (void*)new QwtScaleDiv(xret);
        }
    }
    void x_3(Smoke::Stack x) {
        // virtual QwtScaleTransformation* transformation() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtLog10ScaleEngine*>(this))) {
            QwtScaleTransformation* xret = ((const x_QwtLog10ScaleEngine*)this)->QwtLog10ScaleEngine::transformation();
            x[0].s_class = (void*)xret;
        } else {
            QwtScaleTransformation* xret = ((const x_QwtLog10ScaleEngine*)this)->transformation();
            x[0].s_class = (void*)xret;
        }
    }
    void x_4(Smoke::Stack x) {
        // QwtDoubleInterval log10(const QwtDoubleInterval&) const
        QwtDoubleInterval xret = ((const x_QwtLog10ScaleEngine*)this)->QwtLog10ScaleEngine::log10(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_5(Smoke::Stack x) {
        // QwtDoubleInterval pow10(const QwtDoubleInterval&) const
        QwtDoubleInterval xret = ((const x_QwtLog10ScaleEngine*)this)->QwtLog10ScaleEngine::pow10(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    static void x_6(Smoke::Stack x) {
        // QwtLog10ScaleEngine* QwtLog10ScaleEngine()
        x_QwtLog10ScaleEngine* xret = new x_QwtLog10ScaleEngine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtLog10ScaleEngine() : QwtLog10ScaleEngine() {}
    static void x_7(Smoke::Stack x) {
        // QwtLog10ScaleEngine* QwtLog10ScaleEngine(const QwtLog10ScaleEngine&)
        x_QwtLog10ScaleEngine* xret = new x_QwtLog10ScaleEngine(*(const QwtLog10ScaleEngine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtLog10ScaleEngine(const QwtLog10ScaleEngine& x1) : QwtLog10ScaleEngine(x1) {}
    void x_8(Smoke::Stack x) {
        // QwtScaleDiv divideScale(double, double, int, int) const
        QwtScaleDiv xret = ((const x_QwtLog10ScaleEngine*)this)->QwtLog10ScaleEngine::divideScale((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int,(int)x[4].s_int,(double)0.0);
        x[0].s_class = (void*)new QwtScaleDiv(xret);
    }
    virtual void autoScale(int x1, double& x2, double& x3, double& x4) const {
        Smoke::StackItem x[5];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(793, (void*)this, x)) return;
        this->QwtLog10ScaleEngine::autoScale(x1, x2, x3, x4);
    }
    virtual QwtScaleDiv divideScale(double x1, double x2, int x3, int x4, double x5) const {
        Smoke::StackItem x[6];
        x[1].s_double = x1;
        x[2].s_double = x2;
        x[3].s_int = x3;
        x[4].s_int = x4;
        x[5].s_double = x5;
        if (this->_binding->callMethod(794, (void*)this, x)) {
            QwtScaleDiv* xptr = (QwtScaleDiv*)x[0].s_class;
            QwtScaleDiv xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtLog10ScaleEngine::divideScale(x1, x2, x3, x4, x5);
    }
    virtual QwtScaleTransformation* transformation() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(795, (void*)this, x)) return (QwtScaleTransformation*)x[0].s_class;
        return this->QwtLog10ScaleEngine::transformation();
    }
    ~x_QwtLog10ScaleEngine() { this->_binding->deleted(93, (void*)this); }
};
void xcall_QwtLog10ScaleEngine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtLog10ScaleEngine *xself = (x_QwtLog10ScaleEngine*)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: x_QwtLog10ScaleEngine::x_6(args);	break;
        case 7: x_QwtLog10ScaleEngine::x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: delete (QwtLog10ScaleEngine*)xself;	break;
    }
}
class x_QwtMagnifier : public QwtMagnifier, 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<QwtMagnifier*>(this))) {
            const QMetaObject* xret = ((const x_QwtMagnifier*)this)->QwtMagnifier::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtMagnifier*)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<QwtMagnifier*>(this))) {
            void* xret = this->QwtMagnifier::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 = QwtMagnifier::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 = QwtMagnifier::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 = QwtMagnifier::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 = QwtMagnifier::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<QwtMagnifier*>(this))) {
            int xret = this->QwtMagnifier::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) {
        // QwtMagnifier* QwtMagnifier(QWidget*)
        x_QwtMagnifier* xret = new x_QwtMagnifier((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtMagnifier(QWidget* x1) : QwtMagnifier(x1) {}
    void x_9(Smoke::Stack x) {
        // QWidget* parentWidget()
        QWidget* xret = this->QwtMagnifier::parentWidget();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // const QWidget* parentWidget() const
        const QWidget* xret = ((const x_QwtMagnifier*)this)->QwtMagnifier::parentWidget();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setEnabled(bool)
        this->QwtMagnifier::setEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool isEnabled() const
        bool xret = ((const x_QwtMagnifier*)this)->QwtMagnifier::isEnabled();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setMouseFactor(double)
        this->QwtMagnifier::setMouseFactor((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // double mouseFactor() const
        double xret = ((const x_QwtMagnifier*)this)->QwtMagnifier::mouseFactor();
        x[0].s_double = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setMouseButton(int, int)
        this->QwtMagnifier::setMouseButton((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void getMouseButton(int&, int&) const
        ((const x_QwtMagnifier*)this)->QwtMagnifier::getMouseButton(*(int*)x[1].s_class,*(int*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setWheelFactor(double)
        this->QwtMagnifier::setWheelFactor((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // double wheelFactor() const
        double xret = ((const x_QwtMagnifier*)this)->QwtMagnifier::wheelFactor();
        x[0].s_double = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setWheelButtonState(int)
        this->QwtMagnifier::setWheelButtonState((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // int wheelButtonState() const
        int xret = ((const x_QwtMagnifier*)this)->QwtMagnifier::wheelButtonState();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setKeyFactor(double)
        this->QwtMagnifier::setKeyFactor((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // double keyFactor() const
        double xret = ((const x_QwtMagnifier*)this)->QwtMagnifier::keyFactor();
        x[0].s_double = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setZoomInKey(int, int)
        this->QwtMagnifier::setZoomInKey((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void getZoomInKey(int&, int&) const
        ((const x_QwtMagnifier*)this)->QwtMagnifier::getZoomInKey(*(int*)x[1].s_class,*(int*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setZoomOutKey(int, int)
        this->QwtMagnifier::setZoomOutKey((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void getZoomOutKey(int&, int&) const
        ((const x_QwtMagnifier*)this)->QwtMagnifier::getZoomOutKey(*(int*)x[1].s_class,*(int*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtMagnifier*>(this))) {
            bool xret = this->QwtMagnifier::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual void rescale(double) = 0
        this->rescale((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // virtual void widgetMousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtMagnifier*>(this))) {
            this->QwtMagnifier::widgetMousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_30(Smoke::Stack x) {
        // virtual void widgetMouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtMagnifier*>(this))) {
            this->QwtMagnifier::widgetMouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_31(Smoke::Stack x) {
        // virtual void widgetMouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtMagnifier*>(this))) {
            this->QwtMagnifier::widgetMouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // virtual void widgetWheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtMagnifier*>(this))) {
            this->QwtMagnifier::widgetWheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetWheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // virtual void widgetKeyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtMagnifier*>(this))) {
            this->QwtMagnifier::widgetKeyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetKeyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // virtual void widgetKeyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtMagnifier*>(this))) {
            this->QwtMagnifier::widgetKeyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetKeyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_35(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtMagnifier::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 = QwtMagnifier::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_37(Smoke::Stack x) {
        // void setMouseButton(int)
        this->QwtMagnifier::setMouseButton((int)x[1].s_int,(int)Qt::NoButton);
        (void)x; // noop (for compiler warning)
    }
    static void x_38(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtMagnifier::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(802, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtMagnifier::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(803, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtMagnifier::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(808, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtMagnifier::qt_metacall(x1, x2, x3);
    }
    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(828, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtMagnifier::eventFilter(x1, x2);
    }
    virtual void rescale(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        this->_binding->callMethod(829, (void*)this, x, true /*pure virtual*/);
    }
    virtual void widgetMousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(830, (void*)this, x)) return;
        this->QwtMagnifier::widgetMousePressEvent(x1);
    }
    virtual void widgetMouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(831, (void*)this, x)) return;
        this->QwtMagnifier::widgetMouseReleaseEvent(x1);
    }
    virtual void widgetMouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(832, (void*)this, x)) return;
        this->QwtMagnifier::widgetMouseMoveEvent(x1);
    }
    virtual void widgetWheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(833, (void*)this, x)) return;
        this->QwtMagnifier::widgetWheelEvent(x1);
    }
    virtual void widgetKeyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(834, (void*)this, x)) return;
        this->QwtMagnifier::widgetKeyPressEvent(x1);
    }
    virtual void widgetKeyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(835, (void*)this, x)) return;
        this->QwtMagnifier::widgetKeyReleaseEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(32, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(34, (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(35, (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(36, (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(37, (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(38, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QwtMagnifier() { this->_binding->deleted(94, (void*)this); }
};
void xcall_QwtMagnifier(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtMagnifier *xself = (x_QwtMagnifier*)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_QwtMagnifier::x_3(args);	break;
        case 4: x_QwtMagnifier::x_4(args);	break;
        case 5: x_QwtMagnifier::x_5(args);	break;
        case 6: x_QwtMagnifier::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtMagnifier::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_QwtMagnifier::x_35(args);	break;
        case 36: x_QwtMagnifier::x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: x_QwtMagnifier::x_38(args);	break;
        case 39: delete (QwtMagnifier*)xself;	break;
    }
}
class x_QwtMetricsMap : public QwtMetricsMap {
    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) {
        // QwtMetricsMap* QwtMetricsMap()
        x_QwtMetricsMap* xret = new x_QwtMetricsMap();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtMetricsMap() : QwtMetricsMap() {}
    void x_2(Smoke::Stack x) {
        // bool isIdentity() const
        bool xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::isIdentity();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // void setMetrics(const QPaintDevice*, const QPaintDevice*)
        this->QwtMetricsMap::setMetrics((const QPaintDevice*)x[1].s_class,(const QPaintDevice*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // int layoutToDeviceX(int) const
        int xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDeviceX((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_5(Smoke::Stack x) {
        // int deviceToLayoutX(int) const
        int xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayoutX((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // int screenToLayoutX(int) const
        int xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::screenToLayoutX((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_7(Smoke::Stack x) {
        // int layoutToScreenX(int) const
        int xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToScreenX((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // int layoutToDeviceY(int) const
        int xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDeviceY((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // int deviceToLayoutY(int) const
        int xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayoutY((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // int screenToLayoutY(int) const
        int xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::screenToLayoutY((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // int layoutToScreenY(int) const
        int xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToScreenY((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // QPoint layoutToDevice(const QPoint&, const QPainter*) const
        QPoint xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDevice(*(const QPoint*)x[1].s_class,(const QPainter*)x[2].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_13(Smoke::Stack x) {
        // QPoint deviceToLayout(const QPoint&, const QPainter*) const
        QPoint xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayout(*(const QPoint*)x[1].s_class,(const QPainter*)x[2].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_14(Smoke::Stack x) {
        // QPoint screenToLayout(const QPoint&) const
        QPoint xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::screenToLayout(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_15(Smoke::Stack x) {
        // QPoint layoutToScreen(const QPoint&) const
        QPoint xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToScreen(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_16(Smoke::Stack x) {
        // QSize layoutToDevice(const QSize&) const
        QSize xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDevice(*(const QSize*)x[1].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_17(Smoke::Stack x) {
        // QSize deviceToLayout(const QSize&) const
        QSize xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayout(*(const QSize*)x[1].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_18(Smoke::Stack x) {
        // QSize screenToLayout(const QSize&) const
        QSize xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::screenToLayout(*(const QSize*)x[1].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_19(Smoke::Stack x) {
        // QSize layoutToScreen(const QSize&) const
        QSize xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToScreen(*(const QSize*)x[1].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_20(Smoke::Stack x) {
        // QRect layoutToDevice(const QRect&, const QPainter*) const
        QRect xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDevice(*(const QRect*)x[1].s_class,(const QPainter*)x[2].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_21(Smoke::Stack x) {
        // QRect deviceToLayout(const QRect&, const QPainter*) const
        QRect xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayout(*(const QRect*)x[1].s_class,(const QPainter*)x[2].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_22(Smoke::Stack x) {
        // QRect screenToLayout(const QRect&) const
        QRect xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::screenToLayout(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_23(Smoke::Stack x) {
        // QRect layoutToScreen(const QRect&) const
        QRect xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToScreen(*(const QRect*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_24(Smoke::Stack x) {
        // QPolygon layoutToDevice(const QPolygon&, const QPainter*) const
        QPolygon xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDevice(*(const QPolygon*)x[1].s_class,(const QPainter*)x[2].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_25(Smoke::Stack x) {
        // QPolygon deviceToLayout(const QPolygon&, const QPainter*) const
        QPolygon xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayout(*(const QPolygon*)x[1].s_class,(const QPainter*)x[2].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    static void x_26(Smoke::Stack x) {
        // static QPolygon translate(const QMatrix&, const QPolygon&)
        QPolygon xret = QwtMetricsMap::translate(*(const QMatrix*)x[1].s_class,*(const QPolygon*)x[2].s_class);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QRect translate(const QMatrix&, const QRect&)
        QRect xret = QwtMetricsMap::translate(*(const QMatrix*)x[1].s_class,*(const QRect*)x[2].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    static void x_28(Smoke::Stack x) {
        // QwtMetricsMap* QwtMetricsMap(const QwtMetricsMap&)
        x_QwtMetricsMap* xret = new x_QwtMetricsMap(*(const QwtMetricsMap*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtMetricsMap(const QwtMetricsMap& x1) : QwtMetricsMap(x1) {}
    void x_29(Smoke::Stack x) {
        // QPoint layoutToDevice(const QPoint&) const
        QPoint xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDevice(*(const QPoint*)x[1].s_class,(const QPainter*)NULL);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_30(Smoke::Stack x) {
        // QPoint deviceToLayout(const QPoint&) const
        QPoint xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayout(*(const QPoint*)x[1].s_class,(const QPainter*)NULL);
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_31(Smoke::Stack x) {
        // QRect layoutToDevice(const QRect&) const
        QRect xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDevice(*(const QRect*)x[1].s_class,(const QPainter*)NULL);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_32(Smoke::Stack x) {
        // QRect deviceToLayout(const QRect&) const
        QRect xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayout(*(const QRect*)x[1].s_class,(const QPainter*)NULL);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_33(Smoke::Stack x) {
        // QPolygon layoutToDevice(const QPolygon&) const
        QPolygon xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::layoutToDevice(*(const QPolygon*)x[1].s_class,(const QPainter*)NULL);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    void x_34(Smoke::Stack x) {
        // QPolygon deviceToLayout(const QPolygon&) const
        QPolygon xret = ((const x_QwtMetricsMap*)this)->QwtMetricsMap::deviceToLayout(*(const QPolygon*)x[1].s_class,(const QPainter*)NULL);
        x[0].s_class = (void*)new QPolygon(xret);
    }
    ~x_QwtMetricsMap() { this->_binding->deleted(95, (void*)this); }
};
void xcall_QwtMetricsMap(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtMetricsMap *xself = (x_QwtMetricsMap*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtMetricsMap::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: x_QwtMetricsMap::x_26(args);	break;
        case 27: x_QwtMetricsMap::x_27(args);	break;
        case 28: x_QwtMetricsMap::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: delete (QwtMetricsMap*)xself;	break;
    }
}
class x_QwtPainter : public QwtPainter {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // static void setMetricsMap(const QPaintDevice*, const QPaintDevice*)
        QwtPainter::setMetricsMap((const QPaintDevice*)x[1].s_class,(const QPaintDevice*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_2(Smoke::Stack x) {
        // static void setMetricsMap(const QwtMetricsMap&)
        QwtPainter::setMetricsMap(*(const QwtMetricsMap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // static void resetMetricsMap()
        QwtPainter::resetMetricsMap();
        (void)x; // noop (for compiler warning)
    }
    static void x_4(Smoke::Stack x) {
        // static const QwtMetricsMap& metricsMap()
        const QwtMetricsMap& xret = QwtPainter::metricsMap();
        x[0].s_class = (void*)&xret;
    }
    static void x_5(Smoke::Stack x) {
        // static void setDeviceClipping(bool)
        QwtPainter::setDeviceClipping((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_6(Smoke::Stack x) {
        // static bool deviceClipping()
        bool xret = QwtPainter::deviceClipping();
        x[0].s_bool = xret;
    }
    static void x_7(Smoke::Stack x) {
        // static const QRect& deviceClipRect()
        const QRect& xret = QwtPainter::deviceClipRect();
        x[0].s_class = (void*)&xret;
    }
    static void x_8(Smoke::Stack x) {
        // static void setClipRect(QPainter*, const QRect&)
        QwtPainter::setClipRect((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_9(Smoke::Stack x) {
        // static void drawText(QPainter*, int, int, const QString&)
        QwtPainter::drawText((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,*(const QString*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static void drawText(QPainter*, const QPoint&, const QString&)
        QwtPainter::drawText((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // static void drawText(QPainter*, int, int, int, int, int, const QString&)
        QwtPainter::drawText((QPainter*)x[1].s_class,(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,*(const QString*)x[7].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // static void drawText(QPainter*, const QRect&, int, const QString&)
        QwtPainter::drawText((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QString*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_13(Smoke::Stack x) {
        // static void drawSimpleRichText(QPainter*, const QRect&, int, QTextDocument&)
        QwtPainter::drawSimpleRichText((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(QTextDocument*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
        // static void drawRect(QPainter*, int, int, int, int)
        QwtPainter::drawRect((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_15(Smoke::Stack x) {
        // static void drawRect(QPainter*, const QRect&)
        QwtPainter::drawRect((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static void fillRect(QPainter*, const QRect&, const QBrush&)
        QwtPainter::fillRect((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,*(const QBrush*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_17(Smoke::Stack x) {
        // static void drawEllipse(QPainter*, const QRect&)
        QwtPainter::drawEllipse((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static void drawPie(QPainter*, const QRect&, int, int)
        QwtPainter::drawPie((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_19(Smoke::Stack x) {
        // static void drawLine(QPainter*, int, int, int, int)
        QwtPainter::drawLine((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_20(Smoke::Stack x) {
        // static void drawLine(QPainter*, const QPoint&, const QPoint&)
        QwtPainter::drawLine((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,*(const QPoint*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // static void drawPolygon(QPainter*, const QPolygon&)
        QwtPainter::drawPolygon((QPainter*)x[1].s_class,*(const QPolygon*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static void drawPolyline(QPainter*, const QPolygon&)
        QwtPainter::drawPolyline((QPainter*)x[1].s_class,*(const QPolygon*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static void drawPoint(QPainter*, int, int)
        QwtPainter::drawPoint((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_24(Smoke::Stack x) {
        // static void drawRoundFrame(QPainter*, const QRect&, int, const QPalette&, bool)
        QwtPainter::drawRoundFrame((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);
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static void drawFocusRect(QPainter*, QWidget*)
        QwtPainter::drawFocusRect((QPainter*)x[1].s_class,(QWidget*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_26(Smoke::Stack x) {
        // static void drawFocusRect(QPainter*, QWidget*, const QRect&)
        QwtPainter::drawFocusRect((QPainter*)x[1].s_class,(QWidget*)x[2].s_class,*(const QRect*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_27(Smoke::Stack x) {
        // static void drawColorBar(QPainter*, const QwtColorMap&, const QwtDoubleInterval&, const QwtScaleMap&, Qt::Orientation, const QRect&)
        QwtPainter::drawColorBar((QPainter*)x[1].s_class,*(const QwtColorMap*)x[2].s_class,*(const QwtDoubleInterval*)x[3].s_class,*(const QwtScaleMap*)x[4].s_class,(Qt::Orientation)x[5].s_enum,*(const QRect*)x[6].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // static QPen scaledPen(const QPen&)
        QPen xret = QwtPainter::scaledPen(*(const QPen*)x[1].s_class);
        x[0].s_class = (void*)new QPen(xret);
    }
    static void x_29(Smoke::Stack x) {
        // QwtPainter* QwtPainter()
        x_QwtPainter* xret = new x_QwtPainter();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPainter() : QwtPainter() {}
    static void x_30(Smoke::Stack x) {
        // QwtPainter* QwtPainter(const QwtPainter&)
        x_QwtPainter* xret = new x_QwtPainter(*(const QwtPainter*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPainter(const QwtPainter& x1) : QwtPainter(x1) {}
    ~x_QwtPainter() { this->_binding->deleted(96, (void*)this); }
};
void xcall_QwtPainter(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPainter *xself = (x_QwtPainter*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtPainter::x_1(args);	break;
        case 2: x_QwtPainter::x_2(args);	break;
        case 3: x_QwtPainter::x_3(args);	break;
        case 4: x_QwtPainter::x_4(args);	break;
        case 5: x_QwtPainter::x_5(args);	break;
        case 6: x_QwtPainter::x_6(args);	break;
        case 7: x_QwtPainter::x_7(args);	break;
        case 8: x_QwtPainter::x_8(args);	break;
        case 9: x_QwtPainter::x_9(args);	break;
        case 10: x_QwtPainter::x_10(args);	break;
        case 11: x_QwtPainter::x_11(args);	break;
        case 12: x_QwtPainter::x_12(args);	break;
        case 13: x_QwtPainter::x_13(args);	break;
        case 14: x_QwtPainter::x_14(args);	break;
        case 15: x_QwtPainter::x_15(args);	break;
        case 16: x_QwtPainter::x_16(args);	break;
        case 17: x_QwtPainter::x_17(args);	break;
        case 18: x_QwtPainter::x_18(args);	break;
        case 19: x_QwtPainter::x_19(args);	break;
        case 20: x_QwtPainter::x_20(args);	break;
        case 21: x_QwtPainter::x_21(args);	break;
        case 22: x_QwtPainter::x_22(args);	break;
        case 23: x_QwtPainter::x_23(args);	break;
        case 24: x_QwtPainter::x_24(args);	break;
        case 25: x_QwtPainter::x_25(args);	break;
        case 26: x_QwtPainter::x_26(args);	break;
        case 27: x_QwtPainter::x_27(args);	break;
        case 28: x_QwtPainter::x_28(args);	break;
        case 29: x_QwtPainter::x_29(args);	break;
        case 30: x_QwtPainter::x_30(args);	break;
        case 31: delete (QwtPainter*)xself;	break;
    }
}
class x_QwtPanner : public QwtPanner, 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<QwtPanner*>(this))) {
            const QMetaObject* xret = ((const x_QwtPanner*)this)->QwtPanner::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtPanner*)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<QwtPanner*>(this))) {
            void* xret = this->QwtPanner::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 = QwtPanner::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 = QwtPanner::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 = QwtPanner::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 = QwtPanner::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<QwtPanner*>(this))) {
            int xret = this->QwtPanner::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) {
        // QwtPanner* QwtPanner(QWidget*)
        x_QwtPanner* xret = new x_QwtPanner((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPanner(QWidget* x1) : QwtPanner(x1) {}
    void x_9(Smoke::Stack x) {
        // void setEnabled(bool)
        this->QwtPanner::setEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isEnabled() const
        bool xret = ((const x_QwtPanner*)this)->QwtPanner::isEnabled();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setMouseButton(int, int)
        this->QwtPanner::setMouseButton((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void getMouseButton(int&, int&) const
        ((const x_QwtPanner*)this)->QwtPanner::getMouseButton(*(int*)x[1].s_class,*(int*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setAbortKey(int, int)
        this->QwtPanner::setAbortKey((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void getAbortKey(int&, int&) const
        ((const x_QwtPanner*)this)->QwtPanner::getAbortKey(*(int*)x[1].s_class,*(int*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setCursor(const QCursor&)
        this->QwtPanner::setCursor(*(const QCursor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // const QCursor cursor() const
        const QCursor xret = ((const x_QwtPanner*)this)->QwtPanner::cursor();
        x[0].s_class = (void*)new const QCursor(xret);
    }
    void x_17(Smoke::Stack x) {
        // void setOrientations(QFlags<Qt::Orientation>)
        this->QwtPanner::setOrientations((QFlags<Qt::Orientation>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QFlags<Qt::Orientation> orientations() const
        QFlags<Qt::Orientation> xret = ((const x_QwtPanner*)this)->QwtPanner::orientations();
        x[0].s_uint = (uint)xret;
    }
    void x_19(Smoke::Stack x) {
        // bool isOrientationEnabled(Qt::Orientation) const
        bool xret = ((const x_QwtPanner*)this)->QwtPanner::isOrientationEnabled((Qt::Orientation)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPanner*>(this))) {
            bool xret = this->QwtPanner::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_21(Smoke::Stack x) {
        // void panned(int, int)
        this->QwtPanner::panned((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void moved(int, int)
        this->QwtPanner::moved((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // virtual void widgetMousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPanner*>(this))) {
            this->QwtPanner::widgetMousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void widgetMouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPanner*>(this))) {
            this->QwtPanner::widgetMouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual void widgetMouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPanner*>(this))) {
            this->QwtPanner::widgetMouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual void widgetKeyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPanner*>(this))) {
            this->QwtPanner::widgetKeyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetKeyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void widgetKeyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPanner*>(this))) {
            this->QwtPanner::widgetKeyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetKeyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPanner*>(this))) {
            this->QwtPanner::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_29(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtPanner::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtPanner::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_31(Smoke::Stack x) {
        // void setMouseButton(int)
        this->QwtPanner::setMouseButton((int)x[1].s_int,(int)Qt::NoButton);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setAbortKey(int)
        this->QwtPanner::setAbortKey((int)x[1].s_int,(int)Qt::NoButton);
        (void)x; // noop (for compiler warning)
    }
    static void x_33(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtPanner::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(907, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtPanner::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(908, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtPanner::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(913, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtPanner::qt_metacall(x1, x2, x3);
    }
    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(926, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtPanner::eventFilter(x1, x2);
    }
    virtual void widgetMousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(929, (void*)this, x)) return;
        this->QwtPanner::widgetMousePressEvent(x1);
    }
    virtual void widgetMouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(930, (void*)this, x)) return;
        this->QwtPanner::widgetMouseReleaseEvent(x1);
    }
    virtual void widgetMouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(931, (void*)this, x)) return;
        this->QwtPanner::widgetMouseMoveEvent(x1);
    }
    virtual void widgetKeyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(932, (void*)this, x)) return;
        this->QwtPanner::widgetKeyPressEvent(x1);
    }
    virtual void widgetKeyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(933, (void*)this, x)) return;
        this->QwtPanner::widgetKeyReleaseEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(934, (void*)this, x)) return;
        this->QwtPanner::paintEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(46, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(47, (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(48, (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(49, (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(52, (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(53, (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(54, (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(55, (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(56, (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(57, (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(58, (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(59, (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(60, (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(61, (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(62, (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(64, (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(65, (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(66, (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(67, (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(68, (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(69, (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(70, (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(71, (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(72, (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(73, (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(74, (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(75, (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(76, (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(77, (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(79, (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(80, (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(81, (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(82, (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(83, (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(84, (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(85, (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(86, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(87, (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(51, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(34, (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(35, (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(36, (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(37, (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(38, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(45, (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(50, (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(78, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QwtPanner() { this->_binding->deleted(97, (void*)this); }
};
void xcall_QwtPanner(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPanner *xself = (x_QwtPanner*)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_QwtPanner::x_3(args);	break;
        case 4: x_QwtPanner::x_4(args);	break;
        case 5: x_QwtPanner::x_5(args);	break;
        case 6: x_QwtPanner::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtPanner::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: x_QwtPanner::x_29(args);	break;
        case 30: x_QwtPanner::x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: x_QwtPanner::x_33(args);	break;
        case 34: delete (QwtPanner*)xself;	break;
    }
}
class x_QwtPicker : public QwtPicker, 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<QwtPicker*>(this))) {
            const QMetaObject* xret = ((const x_QwtPicker*)this)->QwtPicker::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtPicker*)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<QwtPicker*>(this))) {
            void* xret = this->QwtPicker::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 = QwtPicker::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 = QwtPicker::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 = QwtPicker::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 = QwtPicker::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<QwtPicker*>(this))) {
            int xret = this->QwtPicker::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) {
        // QwtPicker* QwtPicker(QWidget*)
        x_QwtPicker* xret = new x_QwtPicker((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPicker(QWidget* x1) : QwtPicker(x1) {}
    static void x_9(Smoke::Stack x) {
        // QwtPicker* QwtPicker(int, QwtPicker::RubberBand, QwtPicker::DisplayMode, QWidget*)
        x_QwtPicker* xret = new x_QwtPicker((int)x[1].s_int,(QwtPicker::RubberBand)x[2].s_enum,(QwtPicker::DisplayMode)x[3].s_enum,(QWidget*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPicker(int x1, QwtPicker::RubberBand x2, QwtPicker::DisplayMode x3, QWidget* x4) : QwtPicker(x1, x2, x3, x4) {}
    void x_10(Smoke::Stack x) {
        // virtual void setSelectionFlags(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::setSelectionFlags((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSelectionFlags((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // int selectionFlags() const
        int xret = ((const x_QwtPicker*)this)->QwtPicker::selectionFlags();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // virtual void setRubberBand(QwtPicker::RubberBand)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::setRubberBand((QwtPicker::RubberBand)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->setRubberBand((QwtPicker::RubberBand)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // QwtPicker::RubberBand rubberBand() const
        QwtPicker::RubberBand xret = ((const x_QwtPicker*)this)->QwtPicker::rubberBand();
        x[0].s_enum = xret;
    }
    void x_14(Smoke::Stack x) {
        // virtual void setTrackerMode(QwtPicker::DisplayMode)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::setTrackerMode((QwtPicker::DisplayMode)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->setTrackerMode((QwtPicker::DisplayMode)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // QwtPicker::DisplayMode trackerMode() const
        QwtPicker::DisplayMode xret = ((const x_QwtPicker*)this)->QwtPicker::trackerMode();
        x[0].s_enum = xret;
    }
    void x_16(Smoke::Stack x) {
        // virtual void setResizeMode(QwtPicker::ResizeMode)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::setResizeMode((QwtPicker::ResizeMode)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->setResizeMode((QwtPicker::ResizeMode)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_17(Smoke::Stack x) {
        // QwtPicker::ResizeMode resizeMode() const
        QwtPicker::ResizeMode xret = ((const x_QwtPicker*)this)->QwtPicker::resizeMode();
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // virtual void setRubberBandPen(const QPen&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::setRubberBandPen(*(const QPen*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setRubberBandPen(*(const QPen*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // QPen rubberBandPen() const
        QPen xret = ((const x_QwtPicker*)this)->QwtPicker::rubberBandPen();
        x[0].s_class = (void*)new QPen(xret);
    }
    void x_20(Smoke::Stack x) {
        // virtual void setTrackerPen(const QPen&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::setTrackerPen(*(const QPen*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setTrackerPen(*(const QPen*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // QPen trackerPen() const
        QPen xret = ((const x_QwtPicker*)this)->QwtPicker::trackerPen();
        x[0].s_class = (void*)new QPen(xret);
    }
    void x_22(Smoke::Stack x) {
        // virtual void setTrackerFont(const QFont&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::setTrackerFont(*(const QFont*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setTrackerFont(*(const QFont*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // QFont trackerFont() const
        QFont xret = ((const x_QwtPicker*)this)->QwtPicker::trackerFont();
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_24(Smoke::Stack x) {
        // bool isEnabled() const
        bool xret = ((const x_QwtPicker*)this)->QwtPicker::isEnabled();
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // virtual void setEnabled(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::setEnabled((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setEnabled((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // bool isActive() const
        bool xret = ((const x_QwtPicker*)this)->QwtPicker::isActive();
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            bool xret = this->QwtPicker::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_28(Smoke::Stack x) {
        // QWidget* parentWidget()
        QWidget* xret = this->QwtPicker::parentWidget();
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // const QWidget* parentWidget() const
        const QWidget* xret = ((const x_QwtPicker*)this)->QwtPicker::parentWidget();
        x[0].s_class = (void*)xret;
    }
    void x_30(Smoke::Stack x) {
        // virtual QRect pickRect() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            QRect xret = ((const x_QwtPicker*)this)->QwtPicker::pickRect();
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QwtPicker*)this)->pickRect();
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_31(Smoke::Stack x) {
        // const QPolygon& selection() const
        const QPolygon& xret = ((const x_QwtPicker*)this)->QwtPicker::selection();
        x[0].s_class = (void*)&xret;
    }
    void x_32(Smoke::Stack x) {
        // virtual void drawRubberBand(QPainter*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            ((const x_QwtPicker*)this)->QwtPicker::drawRubberBand((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPicker*)this)->drawRubberBand((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // virtual void drawTracker(QPainter*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            ((const x_QwtPicker*)this)->QwtPicker::drawTracker((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPicker*)this)->drawTracker((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // virtual QwtText trackerText(const QPoint&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            QwtText xret = ((const x_QwtPicker*)this)->QwtPicker::trackerText(*(const QPoint*)x[1].s_class);
            x[0].s_class = (void*)new QwtText(xret);
        } else {
            QwtText xret = ((const x_QwtPicker*)this)->trackerText(*(const QPoint*)x[1].s_class);
            x[0].s_class = (void*)new QwtText(xret);
        }
    }
    void x_35(Smoke::Stack x) {
        // QPoint trackerPosition() const
        QPoint xret = ((const x_QwtPicker*)this)->QwtPicker::trackerPosition();
        x[0].s_class = (void*)new QPoint(xret);
    }
    void x_36(Smoke::Stack x) {
        // QRect trackerRect(const QFont&) const
        QRect xret = ((const x_QwtPicker*)this)->QwtPicker::trackerRect(*(const QFont*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_37(Smoke::Stack x) {
        // void selected(const QwtPolygon&)
        this->QwtPicker::selected(*(const QwtPolygon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void appended(const QPoint&)
        this->QwtPicker::appended(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void moved(const QPoint&)
        this->QwtPicker::moved(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void changed(const QwtPolygon&)
        this->QwtPicker::changed(*(const QwtPolygon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // virtual bool accept(QPolygon&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            bool xret = ((const x_QwtPicker*)this)->QwtPicker::accept(*(QPolygon*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QwtPicker*)this)->accept(*(QPolygon*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_42(Smoke::Stack x) {
        // virtual void transition(const QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::transition((const QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->transition((const QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // virtual void begin()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::begin();
            (void)x; // noop (for compiler warning)
        } else {
            this->begin();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // virtual void append(const QPoint&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::append(*(const QPoint*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->append(*(const QPoint*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // virtual void move(const QPoint&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::move(*(const QPoint*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->move(*(const QPoint*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // virtual bool end(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            bool xret = this->QwtPicker::end((bool)x[1].s_bool);
            x[0].s_bool = xret;
        } else {
            bool xret = this->end((bool)x[1].s_bool);
            x[0].s_bool = xret;
        }
    }
    void x_47(Smoke::Stack x) {
        // virtual void reset()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::reset();
            (void)x; // noop (for compiler warning)
        } else {
            this->reset();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // virtual void widgetMousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::widgetMousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // virtual void widgetMouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::widgetMouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // virtual void widgetMouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::widgetMouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_51(Smoke::Stack x) {
        // virtual void widgetMouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::widgetMouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetMouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_52(Smoke::Stack x) {
        // virtual void widgetWheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::widgetWheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetWheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_53(Smoke::Stack x) {
        // virtual void widgetKeyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::widgetKeyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetKeyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // virtual void widgetKeyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::widgetKeyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetKeyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // virtual void widgetLeaveEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::widgetLeaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->widgetLeaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_56(Smoke::Stack x) {
        // virtual void stretchSelection(const QSize&, const QSize&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::stretchSelection(*(const QSize*)x[1].s_class,*(const QSize*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->stretchSelection(*(const QSize*)x[1].s_class,*(const QSize*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_57(Smoke::Stack x) {
        // virtual QwtPickerMachine* stateMachine(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            QwtPickerMachine* xret = ((const x_QwtPicker*)this)->QwtPicker::stateMachine((int)x[1].s_int);
            x[0].s_class = (void*)xret;
        } else {
            QwtPickerMachine* xret = ((const x_QwtPicker*)this)->stateMachine((int)x[1].s_int);
            x[0].s_class = (void*)xret;
        }
    }
    void x_58(Smoke::Stack x) {
        // virtual void updateDisplay()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPicker*>(this))) {
            this->QwtPicker::updateDisplay();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateDisplay();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_59(Smoke::Stack x) {
        // const QWidget* rubberBandWidget() const
        const QWidget* xret = ((const x_QwtPicker*)this)->QwtPicker::rubberBandWidget();
        x[0].s_class = (void*)xret;
    }
    void x_60(Smoke::Stack x) {
        // const QWidget* trackerWidget() const
        const QWidget* xret = ((const x_QwtPicker*)this)->QwtPicker::trackerWidget();
        x[0].s_class = (void*)xret;
    }
    static void x_61(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtPicker::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_62(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtPicker::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_63(Smoke::Stack x) {
        // bool end()
        bool xret = this->QwtPicker::end((bool)true);
        x[0].s_bool = xret;
    }
    static void x_64(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtPicker::staticMetaObject;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::NoSelection;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::PointSelection;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::RectSelection;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::PolygonSelection;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::CornerToCorner;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::CenterToCorner;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::CenterToRadius;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::ClickSelection;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::DragSelection;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::NoRubberBand;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::HLineRubberBand;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::VLineRubberBand;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::CrossRubberBand;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::RectRubberBand;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::EllipseRubberBand;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::PolygonRubberBand;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::UserRubberBand;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::AlwaysOff;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::AlwaysOn;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::ActiveOnly;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::Stretch;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPicker::KeepSize;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(941, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtPicker::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(942, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtPicker::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(947, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtPicker::qt_metacall(x1, x2, x3);
    }
    virtual void setSelectionFlags(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(950, (void*)this, x)) return;
        this->QwtPicker::setSelectionFlags(x1);
    }
    virtual void setRubberBand(QwtPicker::RubberBand x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(952, (void*)this, x)) return;
        this->QwtPicker::setRubberBand(x1);
    }
    virtual void setTrackerMode(QwtPicker::DisplayMode x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(954, (void*)this, x)) return;
        this->QwtPicker::setTrackerMode(x1);
    }
    virtual void setResizeMode(QwtPicker::ResizeMode x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(956, (void*)this, x)) return;
        this->QwtPicker::setResizeMode(x1);
    }
    virtual void setRubberBandPen(const QPen& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(958, (void*)this, x)) return;
        this->QwtPicker::setRubberBandPen(x1);
    }
    virtual void setTrackerPen(const QPen& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(960, (void*)this, x)) return;
        this->QwtPicker::setTrackerPen(x1);
    }
    virtual void setTrackerFont(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(962, (void*)this, x)) return;
        this->QwtPicker::setTrackerFont(x1);
    }
    virtual void setEnabled(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(965, (void*)this, x)) return;
        this->QwtPicker::setEnabled(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(967, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtPicker::eventFilter(x1, x2);
    }
    virtual QRect pickRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(970, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPicker::pickRect();
    }
    virtual void drawRubberBand(QPainter* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(972, (void*)this, x)) return;
        this->QwtPicker::drawRubberBand(x1);
    }
    virtual void drawTracker(QPainter* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(973, (void*)this, x)) return;
        this->QwtPicker::drawTracker(x1);
    }
    virtual QwtText trackerText(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(974, (void*)this, x)) {
            QwtText* xptr = (QwtText*)x[0].s_class;
            QwtText xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPicker::trackerText(x1);
    }
    virtual bool accept(QPolygon& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(981, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtPicker::accept(x1);
    }
    virtual void transition(const QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(982, (void*)this, x)) return;
        this->QwtPicker::transition(x1);
    }
    virtual void begin() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(983, (void*)this, x)) return;
        this->QwtPicker::begin();
    }
    virtual void append(const QPoint& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(984, (void*)this, x)) return;
        this->QwtPicker::append(x1);
    }
    virtual void move(const QPoint& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(985, (void*)this, x)) return;
        this->QwtPicker::move(x1);
    }
    virtual bool end(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(986, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtPicker::end(x1);
    }
    virtual void reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(987, (void*)this, x)) return;
        this->QwtPicker::reset();
    }
    virtual void widgetMousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(988, (void*)this, x)) return;
        this->QwtPicker::widgetMousePressEvent(x1);
    }
    virtual void widgetMouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(989, (void*)this, x)) return;
        this->QwtPicker::widgetMouseReleaseEvent(x1);
    }
    virtual void widgetMouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(990, (void*)this, x)) return;
        this->QwtPicker::widgetMouseDoubleClickEvent(x1);
    }
    virtual void widgetMouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(991, (void*)this, x)) return;
        this->QwtPicker::widgetMouseMoveEvent(x1);
    }
    virtual void widgetWheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(992, (void*)this, x)) return;
        this->QwtPicker::widgetWheelEvent(x1);
    }
    virtual void widgetKeyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(993, (void*)this, x)) return;
        this->QwtPicker::widgetKeyPressEvent(x1);
    }
    virtual void widgetKeyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(994, (void*)this, x)) return;
        this->QwtPicker::widgetKeyReleaseEvent(x1);
    }
    virtual void widgetLeaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(995, (void*)this, x)) return;
        this->QwtPicker::widgetLeaveEvent(x1);
    }
    virtual void stretchSelection(const QSize& x1, const QSize& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(996, (void*)this, x)) return;
        this->QwtPicker::stretchSelection(x1, x2);
    }
    virtual QwtPickerMachine* stateMachine(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(997, (void*)this, x)) return (QwtPickerMachine*)x[0].s_class;
        return this->QwtPicker::stateMachine(x1);
    }
    virtual void updateDisplay() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(998, (void*)this, x)) return;
        this->QwtPicker::updateDisplay();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(32, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(34, (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(35, (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(36, (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(37, (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(38, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual bool mouseMatch(const QwtEventPattern::MousePattern& x1, const QMouseEvent* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(605, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtEventPattern::mouseMatch(x1, x2);
    }
    virtual bool keyMatch(const QwtEventPattern::KeyPattern& x1, const QKeyEvent* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(606, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtEventPattern::keyMatch(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 225: //QwtPicker::SelectionType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPicker::SelectionType;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPicker::SelectionType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPicker::SelectionType*)xdata = (QwtPicker::SelectionType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPicker::SelectionType*)xdata;
                    break;
            }
            break;
        case 221: //QwtPicker::RectSelectionType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPicker::RectSelectionType;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPicker::RectSelectionType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPicker::RectSelectionType*)xdata = (QwtPicker::RectSelectionType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPicker::RectSelectionType*)xdata;
                    break;
            }
            break;
        case 224: //QwtPicker::SelectionMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPicker::SelectionMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPicker::SelectionMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPicker::SelectionMode*)xdata = (QwtPicker::SelectionMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPicker::SelectionMode*)xdata;
                    break;
            }
            break;
        case 223: //QwtPicker::RubberBand
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPicker::RubberBand;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPicker::RubberBand*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPicker::RubberBand*)xdata = (QwtPicker::RubberBand)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPicker::RubberBand*)xdata;
                    break;
            }
            break;
        case 220: //QwtPicker::DisplayMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPicker::DisplayMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPicker::DisplayMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPicker::DisplayMode*)xdata = (QwtPicker::DisplayMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPicker::DisplayMode*)xdata;
                    break;
            }
            break;
        case 222: //QwtPicker::ResizeMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPicker::ResizeMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPicker::ResizeMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPicker::ResizeMode*)xdata = (QwtPicker::ResizeMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPicker::ResizeMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtPicker() { this->_binding->deleted(98, (void*)this); }
};
void xenum_QwtPicker(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtPicker::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtPicker(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPicker *xself = (x_QwtPicker*)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_QwtPicker::x_3(args);	break;
        case 4: x_QwtPicker::x_4(args);	break;
        case 5: x_QwtPicker::x_5(args);	break;
        case 6: x_QwtPicker::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtPicker::x_8(args);	break;
        case 9: x_QwtPicker::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: x_QwtPicker::x_61(args);	break;
        case 62: x_QwtPicker::x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: x_QwtPicker::x_64(args);	break;
        case 65: x_QwtPicker::x_65(args);	break;
        case 66: x_QwtPicker::x_66(args);	break;
        case 67: x_QwtPicker::x_67(args);	break;
        case 68: x_QwtPicker::x_68(args);	break;
        case 69: x_QwtPicker::x_69(args);	break;
        case 70: x_QwtPicker::x_70(args);	break;
        case 71: x_QwtPicker::x_71(args);	break;
        case 72: x_QwtPicker::x_72(args);	break;
        case 73: x_QwtPicker::x_73(args);	break;
        case 74: x_QwtPicker::x_74(args);	break;
        case 75: x_QwtPicker::x_75(args);	break;
        case 76: x_QwtPicker::x_76(args);	break;
        case 77: x_QwtPicker::x_77(args);	break;
        case 78: x_QwtPicker::x_78(args);	break;
        case 79: x_QwtPicker::x_79(args);	break;
        case 80: x_QwtPicker::x_80(args);	break;
        case 81: x_QwtPicker::x_81(args);	break;
        case 82: x_QwtPicker::x_82(args);	break;
        case 83: x_QwtPicker::x_83(args);	break;
        case 84: x_QwtPicker::x_84(args);	break;
        case 85: x_QwtPicker::x_85(args);	break;
        case 86: x_QwtPicker::x_86(args);	break;
        case 87: delete (QwtPicker*)xself;	break;
    }
}
class x_QwtPickerClickPointMachine : public QwtPickerClickPointMachine, 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 QList<QwtPickerMachine::Command> transition(const QwtEventPattern&, const QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPickerClickPointMachine*>(this))) {
            QList<QwtPickerMachine::Command> xret = this->QwtPickerClickPointMachine::transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        } else {
            QList<QwtPickerMachine::Command> xret = this->transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        }
    }
    static void x_2(Smoke::Stack x) {
        // QwtPickerClickPointMachine* QwtPickerClickPointMachine()
        x_QwtPickerClickPointMachine* xret = new x_QwtPickerClickPointMachine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerClickPointMachine() : QwtPickerClickPointMachine() {}
    static void x_3(Smoke::Stack x) {
        // QwtPickerClickPointMachine* QwtPickerClickPointMachine(const QwtPickerClickPointMachine&)
        x_QwtPickerClickPointMachine* xret = new x_QwtPickerClickPointMachine(*(const QwtPickerClickPointMachine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerClickPointMachine(const QwtPickerClickPointMachine& x1) : QwtPickerClickPointMachine(x1) {}
    virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern& x1, const QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(1028, (void*)this, x)) {
            QList<QwtPickerMachine::Command>* xptr = (QList<QwtPickerMachine::Command>*)x[0].s_class;
            QList<QwtPickerMachine::Command> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPickerClickPointMachine::transition(x1, x2);
    }
    ~x_QwtPickerClickPointMachine() { this->_binding->deleted(99, (void*)this); }
};
void xcall_QwtPickerClickPointMachine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPickerClickPointMachine *xself = (x_QwtPickerClickPointMachine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: x_QwtPickerClickPointMachine::x_2(args);	break;
        case 3: x_QwtPickerClickPointMachine::x_3(args);	break;
        case 4: delete (QwtPickerClickPointMachine*)xself;	break;
    }
}
class x_QwtPickerClickRectMachine : public QwtPickerClickRectMachine, 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 QList<QwtPickerMachine::Command> transition(const QwtEventPattern&, const QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPickerClickRectMachine*>(this))) {
            QList<QwtPickerMachine::Command> xret = this->QwtPickerClickRectMachine::transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        } else {
            QList<QwtPickerMachine::Command> xret = this->transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        }
    }
    static void x_2(Smoke::Stack x) {
        // QwtPickerClickRectMachine* QwtPickerClickRectMachine()
        x_QwtPickerClickRectMachine* xret = new x_QwtPickerClickRectMachine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerClickRectMachine() : QwtPickerClickRectMachine() {}
    static void x_3(Smoke::Stack x) {
        // QwtPickerClickRectMachine* QwtPickerClickRectMachine(const QwtPickerClickRectMachine&)
        x_QwtPickerClickRectMachine* xret = new x_QwtPickerClickRectMachine(*(const QwtPickerClickRectMachine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerClickRectMachine(const QwtPickerClickRectMachine& x1) : QwtPickerClickRectMachine(x1) {}
    virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern& x1, const QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(1032, (void*)this, x)) {
            QList<QwtPickerMachine::Command>* xptr = (QList<QwtPickerMachine::Command>*)x[0].s_class;
            QList<QwtPickerMachine::Command> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPickerClickRectMachine::transition(x1, x2);
    }
    ~x_QwtPickerClickRectMachine() { this->_binding->deleted(100, (void*)this); }
};
void xcall_QwtPickerClickRectMachine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPickerClickRectMachine *xself = (x_QwtPickerClickRectMachine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: x_QwtPickerClickRectMachine::x_2(args);	break;
        case 3: x_QwtPickerClickRectMachine::x_3(args);	break;
        case 4: delete (QwtPickerClickRectMachine*)xself;	break;
    }
}

}
