//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_QwtSimpleCompassRose : public QwtSimpleCompassRose, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QwtSimpleCompassRose* QwtSimpleCompassRose(int, int)
        x_QwtSimpleCompassRose* xret = new x_QwtSimpleCompassRose((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSimpleCompassRose(int x1, int x2) : QwtSimpleCompassRose(x1, x2) {}
    void x_2(Smoke::Stack x) {
        // void setWidth(double)
        this->QwtSimpleCompassRose::setWidth((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_3(Smoke::Stack x) {
        // double width() const
        double xret = ((const x_QwtSimpleCompassRose*)this)->QwtSimpleCompassRose::width();
        x[0].s_double = xret;
    }
    void x_4(Smoke::Stack x) {
        // void setNumThorns(int)
        this->QwtSimpleCompassRose::setNumThorns((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // int numThorns() const
        int xret = ((const x_QwtSimpleCompassRose*)this)->QwtSimpleCompassRose::numThorns();
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // void setNumThornLevels(int)
        this->QwtSimpleCompassRose::setNumThornLevels((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // int numThornLevels() const
        int xret = ((const x_QwtSimpleCompassRose*)this)->QwtSimpleCompassRose::numThornLevels();
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // void setShrinkFactor(double)
        this->QwtSimpleCompassRose::setShrinkFactor((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // double shrinkFactor() const
        double xret = ((const x_QwtSimpleCompassRose*)this)->QwtSimpleCompassRose::shrinkFactor();
        x[0].s_double = xret;
    }
    void x_10(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QPoint&, int, double, QPalette::ColorGroup) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSimpleCompassRose*>(this))) {
            ((const x_QwtSimpleCompassRose*)this)->QwtSimpleCompassRose::draw((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,(int)x[3].s_int,(double)x[4].s_double,(QPalette::ColorGroup)x[5].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtSimpleCompassRose*)this)->draw((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,(int)x[3].s_int,(double)x[4].s_double,(QPalette::ColorGroup)x[5].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_11(Smoke::Stack x) {
        // static void drawRose(QPainter*, const QPalette&, const QPoint&, int, double, double, int, int, double)
        QwtSimpleCompassRose::drawRose((QPainter*)x[1].s_class,*(const QPalette*)x[2].s_class,*(const QPoint*)x[3].s_class,(int)x[4].s_int,(double)x[5].s_double,(double)x[6].s_double,(int)x[7].s_int,(int)x[8].s_int,(double)x[9].s_double);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // QwtSimpleCompassRose* QwtSimpleCompassRose(const QwtSimpleCompassRose&)
        x_QwtSimpleCompassRose* xret = new x_QwtSimpleCompassRose(*(const QwtSimpleCompassRose*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSimpleCompassRose(const QwtSimpleCompassRose& x1) : QwtSimpleCompassRose(x1) {}
    static void x_13(Smoke::Stack x) {
        // QwtSimpleCompassRose* QwtSimpleCompassRose()
        x_QwtSimpleCompassRose* xret = new x_QwtSimpleCompassRose((int)8,(int)-1);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // QwtSimpleCompassRose* QwtSimpleCompassRose(int)
        x_QwtSimpleCompassRose* xret = new x_QwtSimpleCompassRose((int)x[1].s_int,(int)-1);
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // void draw(QPainter*, const QPoint&, int, double) const
        ((const x_QwtSimpleCompassRose*)this)->QwtSimpleCompassRose::draw((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,(int)x[3].s_int,(double)x[4].s_double,(QPalette::ColorGroup)QPalette::Active);
        (void)x; // noop (for compiler warning)
    }
    virtual void draw(QPainter* x1, const QPoint& x2, int x3, double x4, QPalette::ColorGroup x5) const {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        x[4].s_double = x4;
        x[5].s_enum = x5;
        if (this->_binding->callMethod(1873, (void*)this, x)) return;
        this->QwtSimpleCompassRose::draw(x1, x2, x3, x4, x5);
    }
    virtual void setPalette(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(316, (void*)this, x)) return;
        this->QwtCompassRose::setPalette(x1);
    }
    ~x_QwtSimpleCompassRose() { this->_binding->deleted(133, (void*)this); }
};
void xcall_QwtSimpleCompassRose(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtSimpleCompassRose *xself = (x_QwtSimpleCompassRose*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtSimpleCompassRose::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: x_QwtSimpleCompassRose::x_11(args);	break;
        case 12: x_QwtSimpleCompassRose::x_12(args);	break;
        case 13: x_QwtSimpleCompassRose::x_13(args);	break;
        case 14: x_QwtSimpleCompassRose::x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: delete (QwtSimpleCompassRose*)xself;	break;
    }
}
class x_QwtSlider : public QwtSlider, 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<QwtSlider*>(this))) {
            const QMetaObject* xret = ((const x_QwtSlider*)this)->QwtSlider::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtSlider*)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<QwtSlider*>(this))) {
            void* xret = this->QwtSlider::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 = QwtSlider::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 = QwtSlider::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 = QwtSlider::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 = QwtSlider::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<QwtSlider*>(this))) {
            int xret = this->QwtSlider::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) {
        // QwtSlider* QwtSlider(QWidget*, Qt::Orientation, QwtSlider::ScalePos, QwtSlider::BGSTYLE)
        x_QwtSlider* xret = new x_QwtSlider((QWidget*)x[1].s_class,(Qt::Orientation)x[2].s_enum,(QwtSlider::ScalePos)x[3].s_enum,(QwtSlider::BGSTYLE)x[4].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSlider(QWidget* x1, Qt::Orientation x2, QwtSlider::ScalePos x3, QwtSlider::BGSTYLE x4) : QwtSlider(x1, x2, x3, x4) {}
    void x_9(Smoke::Stack x) {
        // virtual void setOrientation(Qt::Orientation)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::setOrientation((Qt::Orientation)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->setOrientation((Qt::Orientation)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // void setBgStyle(QwtSlider::BGSTYLE)
        this->QwtSlider::setBgStyle((QwtSlider::BGSTYLE)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QwtSlider::BGSTYLE bgStyle() const
        QwtSlider::BGSTYLE xret = ((const x_QwtSlider*)this)->QwtSlider::bgStyle();
        x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setScalePosition(QwtSlider::ScalePos)
        this->QwtSlider::setScalePosition((QwtSlider::ScalePos)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QwtSlider::ScalePos scalePosition() const
        QwtSlider::ScalePos xret = ((const x_QwtSlider*)this)->QwtSlider::scalePosition();
        x[0].s_enum = xret;
    }
    void x_14(Smoke::Stack x) {
        // int thumbLength() const
        int xret = ((const x_QwtSlider*)this)->QwtSlider::thumbLength();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // int thumbWidth() const
        int xret = ((const x_QwtSlider*)this)->QwtSlider::thumbWidth();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // int borderWidth() const
        int xret = ((const x_QwtSlider*)this)->QwtSlider::borderWidth();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setThumbLength(int)
        this->QwtSlider::setThumbLength((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setThumbWidth(int)
        this->QwtSlider::setThumbWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setBorderWidth(int)
        this->QwtSlider::setBorderWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setMargins(int, int)
        this->QwtSlider::setMargins((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            QSize xret = ((const x_QwtSlider*)this)->QwtSlider::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtSlider*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            QSize xret = ((const x_QwtSlider*)this)->QwtSlider::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtSlider*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_23(Smoke::Stack x) {
        // void setScaleDraw(QwtScaleDraw*)
        this->QwtSlider::setScaleDraw((QwtScaleDraw*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // const QwtScaleDraw* scaleDraw() const
        const QwtScaleDraw* xret = ((const x_QwtSlider*)this)->QwtSlider::scaleDraw();
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // virtual double getValue(const QPoint&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            double xret = this->QwtSlider::getValue(*(const QPoint*)x[1].s_class);
            x[0].s_double = xret;
        } else {
            double xret = this->getValue(*(const QPoint*)x[1].s_class);
            x[0].s_double = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual void getScrollMode(const QPoint&, int&, int&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::getScrollMode(*(const QPoint*)x[1].s_class,*(int*)x[2].s_class,*(int*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->getScrollMode(*(const QPoint*)x[1].s_class,*(int*)x[2].s_class,*(int*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // void draw(QPainter*, const QRect&)
        this->QwtSlider::draw((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // virtual void drawSlider(QPainter*, const QRect&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::drawSlider((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawSlider((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // virtual void drawThumb(QPainter*, const QRect&, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::drawThumb((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawThumb((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_30(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_31(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // virtual void valueChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::valueChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->valueChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // virtual void rangeChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::rangeChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->rangeChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // virtual void scaleChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::scaleChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->scaleChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_35(Smoke::Stack x) {
        // virtual void fontChange(const QFont&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSlider*>(this))) {
            this->QwtSlider::fontChange(*(const QFont*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->fontChange(*(const QFont*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_36(Smoke::Stack x) {
        // void layoutSlider(bool)
        this->QwtSlider::layoutSlider((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // int xyPosition(double) const
        int xret = ((const x_QwtSlider*)this)->QwtSlider::xyPosition((double)x[1].s_double);
        x[0].s_int = xret;
    }
    void x_38(Smoke::Stack x) {
        // QwtScaleDraw* scaleDraw()
        QwtScaleDraw* xret = this->QwtSlider::scaleDraw();
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtSlider::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtSlider::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_41(Smoke::Stack x) {
        // QwtSlider* QwtSlider(QWidget*)
        x_QwtSlider* xret = new x_QwtSlider((QWidget*)x[1].s_class,(Qt::Orientation)Qt::Horizontal,(QwtSlider::ScalePos)QwtSlider::NoScale,(QwtSlider::BGSTYLE)QwtSlider::BgTrough);
        x[0].s_class = (void*)xret;
    }
    static void x_42(Smoke::Stack x) {
        // QwtSlider* QwtSlider(QWidget*, Qt::Orientation)
        x_QwtSlider* xret = new x_QwtSlider((QWidget*)x[1].s_class,(Qt::Orientation)x[2].s_enum,(QwtSlider::ScalePos)QwtSlider::NoScale,(QwtSlider::BGSTYLE)QwtSlider::BgTrough);
        x[0].s_class = (void*)xret;
    }
    static void x_43(Smoke::Stack x) {
        // QwtSlider* QwtSlider(QWidget*, Qt::Orientation, QwtSlider::ScalePos)
        x_QwtSlider* xret = new x_QwtSlider((QWidget*)x[1].s_class,(Qt::Orientation)x[2].s_enum,(QwtSlider::ScalePos)x[3].s_enum,(QwtSlider::BGSTYLE)QwtSlider::BgTrough);
        x[0].s_class = (void*)xret;
    }
    void x_44(Smoke::Stack x) {
        // void layoutSlider()
        this->QwtSlider::layoutSlider((bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_45(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtSlider::staticMetaObject;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSlider::NoScale;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSlider::LeftScale;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSlider::RightScale;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSlider::TopScale;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSlider::BottomScale;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSlider::BgTrough;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSlider::BgSlot;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSlider::BgBoth;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1880, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtSlider::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1881, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtSlider::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(1886, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtSlider::qt_metacall(x1, x2, x3);
    }
    virtual void setOrientation(Qt::Orientation x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(1888, (void*)this, x)) return;
        this->QwtSlider::setOrientation(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1900, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtSlider::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1901, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtSlider::minimumSizeHint();
    }
    virtual double getValue(const QPoint& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1904, (void*)this, x)) return (double)x[0].s_double;
        return this->QwtSlider::getValue(x1);
    }
    virtual void getScrollMode(const QPoint& x1, int& x2, int& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(1905, (void*)this, x)) return;
        this->QwtSlider::getScrollMode(x1, x2, x3);
    }
    virtual void drawSlider(QPainter* x1, const QRect& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1907, (void*)this, x)) return;
        this->QwtSlider::drawSlider(x1, x2);
    }
    virtual void drawThumb(QPainter* x1, const QRect& x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(1908, (void*)this, x)) return;
        this->QwtSlider::drawThumb(x1, x2, x3);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1909, (void*)this, x)) return;
        this->QwtSlider::resizeEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1910, (void*)this, x)) return;
        this->QwtSlider::paintEvent(x1);
    }
    virtual void valueChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1911, (void*)this, x)) return;
        this->QwtSlider::valueChange();
    }
    virtual void rangeChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1912, (void*)this, x)) return;
        this->QwtSlider::rangeChange();
    }
    virtual void scaleChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1913, (void*)this, x)) return;
        this->QwtSlider::scaleChange();
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1914, (void*)this, x)) return;
        this->QwtSlider::fontChange(x1);
    }
    virtual void setMass(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(153, (void*)this, x)) return;
        this->QwtAbstractSlider::setMass(x1);
    }
    virtual double mass() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(154, (void*)this, x)) return (double)x[0].s_double;
        return this->QwtAbstractSlider::mass();
    }
    virtual void setValue(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(160, (void*)this, x)) return;
        this->QwtAbstractSlider::setValue(x1);
    }
    virtual void fitValue(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(161, (void*)this, x)) return;
        this->QwtAbstractSlider::fitValue(x1);
    }
    virtual void incValue(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(162, (void*)this, x)) return;
        this->QwtAbstractSlider::incValue(x1);
    }
    virtual void setReadOnly(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(163, (void*)this, x)) return;
        this->QwtAbstractSlider::setReadOnly(x1);
    }
    virtual void setPosition(const QPoint& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(168, (void*)this, x)) return;
        this->QwtAbstractSlider::setPosition(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(170, (void*)this, x)) return;
        this->QwtAbstractSlider::timerEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(171, (void*)this, x)) return;
        this->QwtAbstractSlider::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(172, (void*)this, x)) return;
        this->QwtAbstractSlider::mouseReleaseEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(173, (void*)this, x)) return;
        this->QwtAbstractSlider::mouseMoveEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(174, (void*)this, x)) return;
        this->QwtAbstractSlider::keyPressEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(175, (void*)this, x)) return;
        this->QwtAbstractSlider::wheelEvent(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 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 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 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 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 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 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(33, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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);
    }
    virtual void incPages(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(542, (void*)this, x)) return;
        this->QwtDoubleRange::incPages(x1);
    }
    virtual void stepChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(548, (void*)this, x)) return;
        this->QwtDoubleRange::stepChange();
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 293: //QwtSlider::ScalePos
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtSlider::ScalePos;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtSlider::ScalePos*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtSlider::ScalePos*)xdata = (QwtSlider::ScalePos)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtSlider::ScalePos*)xdata;
                    break;
            }
            break;
        case 292: //QwtSlider::BGSTYLE
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtSlider::BGSTYLE;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtSlider::BGSTYLE*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtSlider::BGSTYLE*)xdata = (QwtSlider::BGSTYLE)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtSlider::BGSTYLE*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtSlider() { this->_binding->deleted(134, (void*)this); }
};
void xenum_QwtSlider(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtSlider::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtSlider(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtSlider *xself = (x_QwtSlider*)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_QwtSlider::x_3(args);	break;
        case 4: x_QwtSlider::x_4(args);	break;
        case 5: x_QwtSlider::x_5(args);	break;
        case 6: x_QwtSlider::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtSlider::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: x_QwtSlider::x_39(args);	break;
        case 40: x_QwtSlider::x_40(args);	break;
        case 41: x_QwtSlider::x_41(args);	break;
        case 42: x_QwtSlider::x_42(args);	break;
        case 43: x_QwtSlider::x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: x_QwtSlider::x_45(args);	break;
        case 46: x_QwtSlider::x_46(args);	break;
        case 47: x_QwtSlider::x_47(args);	break;
        case 48: x_QwtSlider::x_48(args);	break;
        case 49: x_QwtSlider::x_49(args);	break;
        case 50: x_QwtSlider::x_50(args);	break;
        case 51: x_QwtSlider::x_51(args);	break;
        case 52: x_QwtSlider::x_52(args);	break;
        case 53: x_QwtSlider::x_53(args);	break;
        case 54: delete (QwtSlider*)xself;	break;
    }
}
class x_QwtSpline : public QwtSpline {
    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) {
        // QwtSpline* QwtSpline()
        x_QwtSpline* xret = new x_QwtSpline();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSpline() : QwtSpline() {}
    static void x_2(Smoke::Stack x) {
        // QwtSpline* QwtSpline(const QwtSpline&)
        x_QwtSpline* xret = new x_QwtSpline(*(const QwtSpline*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSpline(const QwtSpline& x1) : QwtSpline(x1) {}
    void x_3(Smoke::Stack x) {
        // QwtSpline& operator=(const QwtSpline&)
        QwtSpline& xret = this->QwtSpline::operator=(*(const QwtSpline*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // void setSplineType(QwtSpline::SplineType)
        this->QwtSpline::setSplineType((QwtSpline::SplineType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // QwtSpline::SplineType splineType() const
        QwtSpline::SplineType xret = ((const x_QwtSpline*)this)->QwtSpline::splineType();
        x[0].s_enum = xret;
    }
    void x_6(Smoke::Stack x) {
        // bool setPoints(const QPolygonF&)
        bool xret = this->QwtSpline::setPoints(*(const QPolygonF*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // QPolygonF points() const
        QPolygonF xret = ((const x_QwtSpline*)this)->QwtSpline::points();
        x[0].s_class = (void*)new QPolygonF(xret);
    }
    void x_8(Smoke::Stack x) {
        // void reset()
        this->QwtSpline::reset();
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QwtSpline*)this)->QwtSpline::isValid();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // double value(double) const
        double xret = ((const x_QwtSpline*)this)->QwtSpline::value((double)x[1].s_double);
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // const QVector<double>& coefficientsA() const
        const QVector<double>& xret = ((const x_QwtSpline*)this)->QwtSpline::coefficientsA();
        x[0].s_class = (void*)&xret;
    }
    void x_12(Smoke::Stack x) {
        // const QVector<double>& coefficientsB() const
        const QVector<double>& xret = ((const x_QwtSpline*)this)->QwtSpline::coefficientsB();
        x[0].s_class = (void*)&xret;
    }
    void x_13(Smoke::Stack x) {
        // const QVector<double>& coefficientsC() const
        const QVector<double>& xret = ((const x_QwtSpline*)this)->QwtSpline::coefficientsC();
        x[0].s_class = (void*)&xret;
    }
    void x_14(Smoke::Stack x) {
        // bool buildNaturalSpline(const QPolygonF&)
        bool xret = this->QwtSpline::buildNaturalSpline(*(const QPolygonF*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool buildPeriodicSpline(const QPolygonF&)
        bool xret = this->QwtSpline::buildPeriodicSpline(*(const QPolygonF*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSpline::Natural;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSpline::Periodic;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 296: //QwtSpline::SplineType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtSpline::SplineType;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtSpline::SplineType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtSpline::SplineType*)xdata = (QwtSpline::SplineType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtSpline::SplineType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtSpline() { this->_binding->deleted(135, (void*)this); }
};
void xenum_QwtSpline(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtSpline::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtSpline(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtSpline *xself = (x_QwtSpline*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtSpline::x_1(args);	break;
        case 2: x_QwtSpline::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_QwtSpline::x_16(args);	break;
        case 17: x_QwtSpline::x_17(args);	break;
        case 18: delete (QwtSpline*)xself;	break;
    }
}
class x_QwtSplineCurveFitter : public QwtSplineCurveFitter, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QwtSplineCurveFitter* QwtSplineCurveFitter()
        x_QwtSplineCurveFitter* xret = new x_QwtSplineCurveFitter();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSplineCurveFitter() : QwtSplineCurveFitter() {}
    void x_2(Smoke::Stack x) {
        // void setFitMode(QwtSplineCurveFitter::FitMode)
        this->QwtSplineCurveFitter::setFitMode((QwtSplineCurveFitter::FitMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_3(Smoke::Stack x) {
        // QwtSplineCurveFitter::FitMode fitMode() const
        QwtSplineCurveFitter::FitMode xret = ((const x_QwtSplineCurveFitter*)this)->QwtSplineCurveFitter::fitMode();
        x[0].s_enum = xret;
    }
    void x_4(Smoke::Stack x) {
        // void setSpline(const QwtSpline&)
        this->QwtSplineCurveFitter::setSpline(*(const QwtSpline*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // const QwtSpline& spline() const
        const QwtSpline& xret = ((const x_QwtSplineCurveFitter*)this)->QwtSplineCurveFitter::spline();
        x[0].s_class = (void*)&xret;
    }
    void x_6(Smoke::Stack x) {
        // QwtSpline& spline()
        QwtSpline& xret = this->QwtSplineCurveFitter::spline();
        x[0].s_class = (void*)&xret;
    }
    void x_7(Smoke::Stack x) {
        // void setSplineSize(int)
        this->QwtSplineCurveFitter::setSplineSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // int splineSize() const
        int xret = ((const x_QwtSplineCurveFitter*)this)->QwtSplineCurveFitter::splineSize();
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // virtual QPolygonF fitCurve(const QPolygonF&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSplineCurveFitter*>(this))) {
            QPolygonF xret = ((const x_QwtSplineCurveFitter*)this)->QwtSplineCurveFitter::fitCurve(*(const QPolygonF*)x[1].s_class);
            x[0].s_class = (void*)new QPolygonF(xret);
        } else {
            QPolygonF xret = ((const x_QwtSplineCurveFitter*)this)->fitCurve(*(const QPolygonF*)x[1].s_class);
            x[0].s_class = (void*)new QPolygonF(xret);
        }
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSplineCurveFitter::Auto;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSplineCurveFitter::Spline;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSplineCurveFitter::ParametricSpline;
    }
    virtual QPolygonF fitCurve(const QPolygonF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1960, (void*)this, x)) {
            QPolygonF* xptr = (QPolygonF*)x[0].s_class;
            QPolygonF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtSplineCurveFitter::fitCurve(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 298: //QwtSplineCurveFitter::FitMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtSplineCurveFitter::FitMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtSplineCurveFitter::FitMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtSplineCurveFitter::FitMode*)xdata = (QwtSplineCurveFitter::FitMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtSplineCurveFitter::FitMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtSplineCurveFitter() { this->_binding->deleted(136, (void*)this); }
};
void xenum_QwtSplineCurveFitter(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtSplineCurveFitter::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtSplineCurveFitter(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtSplineCurveFitter *xself = (x_QwtSplineCurveFitter*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtSplineCurveFitter::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_QwtSplineCurveFitter::x_10(args);	break;
        case 11: x_QwtSplineCurveFitter::x_11(args);	break;
        case 12: x_QwtSplineCurveFitter::x_12(args);	break;
        case 13: delete (QwtSplineCurveFitter*)xself;	break;
    }
}
class x_QwtSymbol : public QwtSymbol, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QwtSymbol* QwtSymbol()
        x_QwtSymbol* xret = new x_QwtSymbol();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSymbol() : QwtSymbol() {}
    static void x_2(Smoke::Stack x) {
        // QwtSymbol* QwtSymbol(QwtSymbol::Style, const QBrush&, const QPen&, const QSize&)
        x_QwtSymbol* xret = new x_QwtSymbol((QwtSymbol::Style)x[1].s_enum,*(const QBrush*)x[2].s_class,*(const QPen*)x[3].s_class,*(const QSize*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSymbol(QwtSymbol::Style x1, const QBrush& x2, const QPen& x3, const QSize& x4) : QwtSymbol(x1, x2, x3, x4) {}
    void x_3(Smoke::Stack x) {
        // bool operator!=(const QwtSymbol&) const
        bool xret = ((const x_QwtSymbol*)this)->QwtSymbol::operator!=(*(const QwtSymbol*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // virtual bool operator==(const QwtSymbol&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSymbol*>(this))) {
            bool xret = ((const x_QwtSymbol*)this)->QwtSymbol::operator==(*(const QwtSymbol*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QwtSymbol*)this)->operator==(*(const QwtSymbol*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_5(Smoke::Stack x) {
        // virtual QwtSymbol* clone() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSymbol*>(this))) {
            QwtSymbol* xret = ((const x_QwtSymbol*)this)->QwtSymbol::clone();
            x[0].s_class = (void*)xret;
        } else {
            QwtSymbol* xret = ((const x_QwtSymbol*)this)->clone();
            x[0].s_class = (void*)xret;
        }
    }
    void x_6(Smoke::Stack x) {
        // void setSize(const QSize&)
        this->QwtSymbol::setSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // void setSize(int, int)
        this->QwtSymbol::setSize((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // void setBrush(const QBrush&)
        this->QwtSymbol::setBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void setPen(const QPen&)
        this->QwtSymbol::setPen(*(const QPen*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void setStyle(QwtSymbol::Style)
        this->QwtSymbol::setStyle((QwtSymbol::Style)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // const QBrush& brush() const
        const QBrush& xret = ((const x_QwtSymbol*)this)->QwtSymbol::brush();
        x[0].s_class = (void*)&xret;
    }
    void x_12(Smoke::Stack x) {
        // const QPen& pen() const
        const QPen& xret = ((const x_QwtSymbol*)this)->QwtSymbol::pen();
        x[0].s_class = (void*)&xret;
    }
    void x_13(Smoke::Stack x) {
        // const QSize& size() const
        const QSize& xret = ((const x_QwtSymbol*)this)->QwtSymbol::size();
        x[0].s_class = (void*)&xret;
    }
    void x_14(Smoke::Stack x) {
        // QwtSymbol::Style style() const
        QwtSymbol::Style xret = ((const x_QwtSymbol*)this)->QwtSymbol::style();
        x[0].s_enum = xret;
    }
    void x_15(Smoke::Stack x) {
        // void draw(QPainter*, const QPoint&) const
        ((const x_QwtSymbol*)this)->QwtSymbol::draw((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void draw(QPainter*, int, int) const
        ((const x_QwtSymbol*)this)->QwtSymbol::draw((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QRect&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtSymbol*>(this))) {
            ((const x_QwtSymbol*)this)->QwtSymbol::draw((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtSymbol*)this)->draw((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_18(Smoke::Stack x) {
        // QwtSymbol* QwtSymbol(const QwtSymbol&)
        x_QwtSymbol* xret = new x_QwtSymbol(*(const QwtSymbol*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtSymbol(const QwtSymbol& x1) : QwtSymbol(x1) {}
    void x_19(Smoke::Stack x) {
        // void setSize(int)
        this->QwtSymbol::setSize((int)x[1].s_int,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::NoSymbol;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::Ellipse;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::Rect;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::Diamond;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::Triangle;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::DTriangle;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::UTriangle;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::LTriangle;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::RTriangle;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::Cross;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::XCross;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::HLine;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::VLine;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::Star1;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::Star2;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::Hexagon;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QwtSymbol::StyleCnt;
    }
    virtual bool operator==(const QwtSymbol& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1968, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtSymbol::operator==(x1);
    }
    virtual QwtSymbol* clone() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1969, (void*)this, x)) return (QwtSymbol*)x[0].s_class;
        return this->QwtSymbol::clone();
    }
    virtual void draw(QPainter* x1, const QRect& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1981, (void*)this, x)) return;
        this->QwtSymbol::draw(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 300: //QwtSymbol::Style
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtSymbol::Style;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtSymbol::Style*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtSymbol::Style*)xdata = (QwtSymbol::Style)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtSymbol::Style*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtSymbol() { this->_binding->deleted(137, (void*)this); }
};
void xenum_QwtSymbol(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtSymbol::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtSymbol(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtSymbol *xself = (x_QwtSymbol*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtSymbol::x_1(args);	break;
        case 2: x_QwtSymbol::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: x_QwtSymbol::x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: x_QwtSymbol::x_20(args);	break;
        case 21: x_QwtSymbol::x_21(args);	break;
        case 22: x_QwtSymbol::x_22(args);	break;
        case 23: x_QwtSymbol::x_23(args);	break;
        case 24: x_QwtSymbol::x_24(args);	break;
        case 25: x_QwtSymbol::x_25(args);	break;
        case 26: x_QwtSymbol::x_26(args);	break;
        case 27: x_QwtSymbol::x_27(args);	break;
        case 28: x_QwtSymbol::x_28(args);	break;
        case 29: x_QwtSymbol::x_29(args);	break;
        case 30: x_QwtSymbol::x_30(args);	break;
        case 31: x_QwtSymbol::x_31(args);	break;
        case 32: x_QwtSymbol::x_32(args);	break;
        case 33: x_QwtSymbol::x_33(args);	break;
        case 34: x_QwtSymbol::x_34(args);	break;
        case 35: x_QwtSymbol::x_35(args);	break;
        case 36: x_QwtSymbol::x_36(args);	break;
        case 37: delete (QwtSymbol*)xself;	break;
    }
}
class x_QwtText : public QwtText {
    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) {
        // QwtText* QwtText(const QString&, QwtText::TextFormat)
        x_QwtText* xret = new x_QwtText(*(const QString*)x[1].s_class,(QwtText::TextFormat)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtText(const QString& x1, QwtText::TextFormat x2) : QwtText(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // QwtText* QwtText(const QwtText&)
        x_QwtText* xret = new x_QwtText(*(const QwtText*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtText(const QwtText& x1) : QwtText(x1) {}
    void x_3(Smoke::Stack x) {
        // QwtText& operator=(const QwtText&)
        QwtText& xret = this->QwtText::operator=(*(const QwtText*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // int operator==(const QwtText&) const
        int xret = ((const x_QwtText*)this)->QwtText::operator==(*(const QwtText*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_5(Smoke::Stack x) {
        // int operator!=(const QwtText&) const
        int xret = ((const x_QwtText*)this)->QwtText::operator!=(*(const QwtText*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // void setText(const QString&, QwtText::TextFormat)
        this->QwtText::setText(*(const QString*)x[1].s_class,(QwtText::TextFormat)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QwtText*)this)->QwtText::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_QwtText*)this)->QwtText::isNull();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_QwtText*)this)->QwtText::isEmpty();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setFont(const QFont&)
        this->QwtText::setFont(*(const QFont*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QFont font() const
        QFont xret = ((const x_QwtText*)this)->QwtText::font();
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_12(Smoke::Stack x) {
        // QFont usedFont(const QFont&) const
        QFont xret = ((const x_QwtText*)this)->QwtText::usedFont(*(const QFont*)x[1].s_class);
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setRenderFlags(int)
        this->QwtText::setRenderFlags((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int renderFlags() const
        int xret = ((const x_QwtText*)this)->QwtText::renderFlags();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setColor(const QColor&)
        this->QwtText::setColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QColor color() const
        QColor xret = ((const x_QwtText*)this)->QwtText::color();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_17(Smoke::Stack x) {
        // QColor usedColor(const QColor&) const
        QColor xret = ((const x_QwtText*)this)->QwtText::usedColor(*(const QColor*)x[1].s_class);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setBackgroundPen(const QPen&)
        this->QwtText::setBackgroundPen(*(const QPen*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QPen backgroundPen() const
        QPen xret = ((const x_QwtText*)this)->QwtText::backgroundPen();
        x[0].s_class = (void*)new QPen(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setBackgroundBrush(const QBrush&)
        this->QwtText::setBackgroundBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QBrush backgroundBrush() const
        QBrush xret = ((const x_QwtText*)this)->QwtText::backgroundBrush();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_22(Smoke::Stack x) {
        // void setPaintAttribute(QwtText::PaintAttribute, bool)
        this->QwtText::setPaintAttribute((QwtText::PaintAttribute)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // bool testPaintAttribute(QwtText::PaintAttribute) const
        bool xret = ((const x_QwtText*)this)->QwtText::testPaintAttribute((QwtText::PaintAttribute)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // void setLayoutAttribute(QwtText::LayoutAttribute, bool)
        this->QwtText::setLayoutAttribute((QwtText::LayoutAttribute)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // bool testLayoutAttribute(QwtText::LayoutAttribute) const
        bool xret = ((const x_QwtText*)this)->QwtText::testLayoutAttribute((QwtText::LayoutAttribute)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // int heightForWidth(int, const QFont&) const
        int xret = ((const x_QwtText*)this)->QwtText::heightForWidth((int)x[1].s_int,*(const QFont*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_27(Smoke::Stack x) {
        // QSize textSize(const QFont&) const
        QSize xret = ((const x_QwtText*)this)->QwtText::textSize(*(const QFont*)x[1].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_28(Smoke::Stack x) {
        // void draw(QPainter*, const QRect&) const
        ((const x_QwtText*)this)->QwtText::draw((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_29(Smoke::Stack x) {
        // static const QwtTextEngine* textEngine(const QString&, QwtText::TextFormat)
        const QwtTextEngine* xret = QwtText::textEngine(*(const QString*)x[1].s_class,(QwtText::TextFormat)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // static const QwtTextEngine* textEngine(QwtText::TextFormat)
        const QwtTextEngine* xret = QwtText::textEngine((QwtText::TextFormat)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static void setTextEngine(QwtText::TextFormat, QwtTextEngine*)
        QwtText::setTextEngine((QwtText::TextFormat)x[1].s_enum,(QwtTextEngine*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_32(Smoke::Stack x) {
        // QwtText* QwtText()
        x_QwtText* xret = new x_QwtText((const QString&)QString::null,(QwtText::TextFormat)QwtText::AutoText);
        x[0].s_class = (void*)xret;
    }
    static void x_33(Smoke::Stack x) {
        // QwtText* QwtText(const QString&)
        x_QwtText* xret = new x_QwtText(*(const QString*)x[1].s_class,(QwtText::TextFormat)QwtText::AutoText);
        x[0].s_class = (void*)xret;
    }
    void x_34(Smoke::Stack x) {
        // void setText(const QString&)
        this->QwtText::setText(*(const QString*)x[1].s_class,(QwtText::TextFormat)QwtText::AutoText);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setPaintAttribute(QwtText::PaintAttribute)
        this->QwtText::setPaintAttribute((QwtText::PaintAttribute)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void setLayoutAttribute(QwtText::LayoutAttribute)
        this->QwtText::setLayoutAttribute((QwtText::LayoutAttribute)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // int heightForWidth(int) const
        int xret = ((const x_QwtText*)this)->QwtText::heightForWidth((int)x[1].s_int,(const QFont&)QFont());
        x[0].s_int = xret;
    }
    void x_38(Smoke::Stack x) {
        // QSize textSize() const
        QSize xret = ((const x_QwtText*)this)->QwtText::textSize((const QFont&)QFont());
        x[0].s_class = (void*)new QSize(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static const QwtTextEngine* textEngine(const QString&)
        const QwtTextEngine* xret = QwtText::textEngine(*(const QString*)x[1].s_class,(QwtText::TextFormat)QwtText::AutoText);
        x[0].s_class = (void*)xret;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::AutoText;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::PlainText;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::RichText;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::MathMLText;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::TeXText;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::OtherFormat;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::PaintUsingTextFont;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::PaintUsingTextColor;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::PaintBackground;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)QwtText::MinimumLayout;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 306: //QwtText::TextFormat
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtText::TextFormat;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtText::TextFormat*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtText::TextFormat*)xdata = (QwtText::TextFormat)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtText::TextFormat*)xdata;
                    break;
            }
            break;
        case 305: //QwtText::PaintAttribute
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtText::PaintAttribute;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtText::PaintAttribute*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtText::PaintAttribute*)xdata = (QwtText::PaintAttribute)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtText::PaintAttribute*)xdata;
                    break;
            }
            break;
        case 304: //QwtText::LayoutAttribute
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtText::LayoutAttribute;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtText::LayoutAttribute*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtText::LayoutAttribute*)xdata = (QwtText::LayoutAttribute)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtText::LayoutAttribute*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtText() { this->_binding->deleted(138, (void*)this); }
};
void xenum_QwtText(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtText::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtText(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtText *xself = (x_QwtText*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtText::x_1(args);	break;
        case 2: x_QwtText::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: x_QwtText::x_29(args);	break;
        case 30: x_QwtText::x_30(args);	break;
        case 31: x_QwtText::x_31(args);	break;
        case 32: x_QwtText::x_32(args);	break;
        case 33: x_QwtText::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: x_QwtText::x_39(args);	break;
        case 40: x_QwtText::x_40(args);	break;
        case 41: x_QwtText::x_41(args);	break;
        case 42: x_QwtText::x_42(args);	break;
        case 43: x_QwtText::x_43(args);	break;
        case 44: x_QwtText::x_44(args);	break;
        case 45: x_QwtText::x_45(args);	break;
        case 46: x_QwtText::x_46(args);	break;
        case 47: x_QwtText::x_47(args);	break;
        case 48: x_QwtText::x_48(args);	break;
        case 49: x_QwtText::x_49(args);	break;
        case 50: delete (QwtText*)xself;	break;
    }
}
class x_QwtTextEngine : public QwtTextEngine, 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 int heightForWidth(const QFont&, int, const QString&, int) const = 0
        int xret = ((const x_QwtTextEngine*)this)->heightForWidth(*(const QFont*)x[1].s_class,(int)x[2].s_int,*(const QString*)x[3].s_class,(int)x[4].s_int);
        x[0].s_int = xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual QSize textSize(const QFont&, int, const QString&) const = 0
        QSize xret = ((const x_QwtTextEngine*)this)->textSize(*(const QFont*)x[1].s_class,(int)x[2].s_int,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_3(Smoke::Stack x) {
        // virtual bool mightRender(const QString&) const = 0
        bool xret = ((const x_QwtTextEngine*)this)->mightRender(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // virtual void textMargins(const QFont&, const QString&, int&, int&, int&, int&) const = 0
        ((const x_QwtTextEngine*)this)->textMargins(*(const QFont*)x[1].s_class,*(const QString*)x[2].s_class,*(int*)x[3].s_class,*(int*)x[4].s_class,*(int*)x[5].s_class,*(int*)x[6].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QRect&, int, const QString&) const = 0
        ((const x_QwtTextEngine*)this)->draw((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_6(Smoke::Stack x) {
        // QwtTextEngine* QwtTextEngine()
        x_QwtTextEngine* xret = new x_QwtTextEngine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtTextEngine() : QwtTextEngine() {}
    static void x_7(Smoke::Stack x) {
        // QwtTextEngine* QwtTextEngine(const QwtTextEngine&)
        x_QwtTextEngine* xret = new x_QwtTextEngine(*(const QwtTextEngine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtTextEngine(const QwtTextEngine& x1) : QwtTextEngine(x1) {}
    virtual int heightForWidth(const QFont& x1, int x2, const QString& x3, int x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        this->_binding->callMethod(2052, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual QSize textSize(const QFont& x1, int x2, const QString& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        this->_binding->callMethod(2053, (void*)this, x, true /*pure virtual*/);
        QSize* xptr = (QSize*)x[0].s_class;
        QSize xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual bool mightRender(const QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(2054, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual void textMargins(const QFont& x1, const QString& x2, int& x3, int& x4, int& x5, int& x6) const {
        Smoke::StackItem x[7];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        x[5].s_class = (void*)&x5;
        x[6].s_class = (void*)&x6;
        this->_binding->callMethod(2055, (void*)this, x, true /*pure virtual*/);
    }
    virtual void draw(QPainter* x1, const QRect& x2, int x3, const QString& x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        x[4].s_class = (void*)&x4;
        this->_binding->callMethod(2056, (void*)this, x, true /*pure virtual*/);
    }
    ~x_QwtTextEngine() { this->_binding->deleted(139, (void*)this); }
};
void xcall_QwtTextEngine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtTextEngine *xself = (x_QwtTextEngine*)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_QwtTextEngine::x_6(args);	break;
        case 7: x_QwtTextEngine::x_7(args);	break;
        case 8: delete (QwtTextEngine*)xself;	break;
    }
}
class x_QwtTextLabel : public QwtTextLabel, 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<QwtTextLabel*>(this))) {
            const QMetaObject* xret = ((const x_QwtTextLabel*)this)->QwtTextLabel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtTextLabel*)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<QwtTextLabel*>(this))) {
            void* xret = this->QwtTextLabel::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 = QwtTextLabel::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 = QwtTextLabel::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 = QwtTextLabel::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 = QwtTextLabel::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<QwtTextLabel*>(this))) {
            int xret = this->QwtTextLabel::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) {
        // QwtTextLabel* QwtTextLabel(QWidget*)
        x_QwtTextLabel* xret = new x_QwtTextLabel((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtTextLabel(QWidget* x1) : QwtTextLabel(x1) {}
    static void x_9(Smoke::Stack x) {
        // QwtTextLabel* QwtTextLabel(const QwtText&, QWidget*)
        x_QwtTextLabel* xret = new x_QwtTextLabel(*(const QwtText*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtTextLabel(const QwtText& x1, QWidget* x2) : QwtTextLabel(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void setText(const QString&, QwtText::TextFormat)
        this->QwtTextLabel::setText(*(const QString*)x[1].s_class,(QwtText::TextFormat)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // virtual void setText(const QwtText&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtTextLabel*>(this))) {
            this->QwtTextLabel::setText(*(const QwtText*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setText(*(const QwtText*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // void clear()
        this->QwtTextLabel::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // const QwtText& text() const
        const QwtText& xret = ((const x_QwtTextLabel*)this)->QwtTextLabel::text();
        x[0].s_class = (void*)&xret;
    }
    void x_14(Smoke::Stack x) {
        // int indent() const
        int xret = ((const x_QwtTextLabel*)this)->QwtTextLabel::indent();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setIndent(int)
        this->QwtTextLabel::setIndent((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // int margin() const
        int xret = ((const x_QwtTextLabel*)this)->QwtTextLabel::margin();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setMargin(int)
        this->QwtTextLabel::setMargin((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtTextLabel*>(this))) {
            QSize xret = ((const x_QwtTextLabel*)this)->QwtTextLabel::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtTextLabel*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_19(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtTextLabel*>(this))) {
            QSize xret = ((const x_QwtTextLabel*)this)->QwtTextLabel::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtTextLabel*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual int heightForWidth(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtTextLabel*>(this))) {
            int xret = ((const x_QwtTextLabel*)this)->QwtTextLabel::heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QwtTextLabel*)this)->heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_21(Smoke::Stack x) {
        // QRect textRect() const
        QRect xret = ((const x_QwtTextLabel*)this)->QwtTextLabel::textRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_22(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtTextLabel*>(this))) {
            this->QwtTextLabel::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void drawContents(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtTextLabel*>(this))) {
            this->QwtTextLabel::drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void drawText(QPainter*, const QRect&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtTextLabel*>(this))) {
            this->QwtTextLabel::drawText((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawText((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_25(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtTextLabel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_26(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtTextLabel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // QwtTextLabel* QwtTextLabel()
        x_QwtTextLabel* xret = new x_QwtTextLabel((QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    static void x_28(Smoke::Stack x) {
        // QwtTextLabel* QwtTextLabel(const QwtText&)
        x_QwtTextLabel* xret = new x_QwtTextLabel(*(const QwtText*)x[1].s_class,(QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // void setText(const QString&)
        this->QwtTextLabel::setText(*(const QString*)x[1].s_class,(QwtText::TextFormat)QwtText::AutoText);
        (void)x; // noop (for compiler warning)
    }
    static void x_30(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtTextLabel::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2060, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtTextLabel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2061, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtTextLabel::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(2066, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtTextLabel::qt_metacall(x1, x2, x3);
    }
    virtual void setText(const QwtText& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2070, (void*)this, x)) return;
        this->QwtTextLabel::setText(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2077, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtTextLabel::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2078, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtTextLabel::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(2079, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtTextLabel::heightForWidth(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2081, (void*)this, x)) return;
        this->QwtTextLabel::paintEvent(x1);
    }
    virtual void drawContents(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2082, (void*)this, x)) return;
        this->QwtTextLabel::drawContents(x1);
    }
    virtual void drawText(QPainter* x1, const QRect& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(2083, (void*)this, x)) return;
        this->QwtTextLabel::drawText(x1, x2);
    }
    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 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(13, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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(11, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFrame::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(33, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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_QwtTextLabel() { this->_binding->deleted(140, (void*)this); }
};
void xcall_QwtTextLabel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtTextLabel *xself = (x_QwtTextLabel*)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_QwtTextLabel::x_3(args);	break;
        case 4: x_QwtTextLabel::x_4(args);	break;
        case 5: x_QwtTextLabel::x_5(args);	break;
        case 6: x_QwtTextLabel::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtTextLabel::x_8(args);	break;
        case 9: x_QwtTextLabel::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: x_QwtTextLabel::x_25(args);	break;
        case 26: x_QwtTextLabel::x_26(args);	break;
        case 27: x_QwtTextLabel::x_27(args);	break;
        case 28: x_QwtTextLabel::x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_QwtTextLabel::x_30(args);	break;
        case 31: delete (QwtTextLabel*)xself;	break;
    }
}
class x_QwtThermo : public QwtThermo, 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<QwtThermo*>(this))) {
            const QMetaObject* xret = ((const x_QwtThermo*)this)->QwtThermo::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtThermo*)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<QwtThermo*>(this))) {
            void* xret = this->QwtThermo::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 = QwtThermo::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 = QwtThermo::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 = QwtThermo::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 = QwtThermo::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<QwtThermo*>(this))) {
            int xret = this->QwtThermo::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) {
        // QwtThermo* QwtThermo(QWidget*)
        x_QwtThermo* xret = new x_QwtThermo((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtThermo(QWidget* x1) : QwtThermo(x1) {}
    void x_9(Smoke::Stack x) {
        // void setOrientation(Qt::Orientation, QwtThermo::ScalePos)
        this->QwtThermo::setOrientation((Qt::Orientation)x[1].s_enum,(QwtThermo::ScalePos)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void setScalePosition(QwtThermo::ScalePos)
        this->QwtThermo::setScalePosition((QwtThermo::ScalePos)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QwtThermo::ScalePos scalePosition() const
        QwtThermo::ScalePos xret = ((const x_QwtThermo*)this)->QwtThermo::scalePosition();
        x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setBorderWidth(int)
        this->QwtThermo::setBorderWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // int borderWidth() const
        int xret = ((const x_QwtThermo*)this)->QwtThermo::borderWidth();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setFillBrush(const QBrush&)
        this->QwtThermo::setFillBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // const QBrush& fillBrush() const
        const QBrush& xret = ((const x_QwtThermo*)this)->QwtThermo::fillBrush();
        x[0].s_class = (void*)&xret;
    }
    void x_16(Smoke::Stack x) {
        // void setFillColor(const QColor&)
        this->QwtThermo::setFillColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // const QColor& fillColor() const
        const QColor& xret = ((const x_QwtThermo*)this)->QwtThermo::fillColor();
        x[0].s_class = (void*)&xret;
    }
    void x_18(Smoke::Stack x) {
        // void setAlarmBrush(const QBrush&)
        this->QwtThermo::setAlarmBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // const QBrush& alarmBrush() const
        const QBrush& xret = ((const x_QwtThermo*)this)->QwtThermo::alarmBrush();
        x[0].s_class = (void*)&xret;
    }
    void x_20(Smoke::Stack x) {
        // void setAlarmColor(const QColor&)
        this->QwtThermo::setAlarmColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // const QColor& alarmColor() const
        const QColor& xret = ((const x_QwtThermo*)this)->QwtThermo::alarmColor();
        x[0].s_class = (void*)&xret;
    }
    void x_22(Smoke::Stack x) {
        // void setAlarmLevel(double)
        this->QwtThermo::setAlarmLevel((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // double alarmLevel() const
        double xret = ((const x_QwtThermo*)this)->QwtThermo::alarmLevel();
        x[0].s_double = xret;
    }
    void x_24(Smoke::Stack x) {
        // void setAlarmEnabled(bool)
        this->QwtThermo::setAlarmEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // bool alarmEnabled() const
        bool xret = ((const x_QwtThermo*)this)->QwtThermo::alarmEnabled();
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setPipeWidth(int)
        this->QwtThermo::setPipeWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // int pipeWidth() const
        int xret = ((const x_QwtThermo*)this)->QwtThermo::pipeWidth();
        x[0].s_int = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setMaxValue(double)
        this->QwtThermo::setMaxValue((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // double maxValue() const
        double xret = ((const x_QwtThermo*)this)->QwtThermo::maxValue();
        x[0].s_double = xret;
    }
    void x_30(Smoke::Stack x) {
        // void setMinValue(double)
        this->QwtThermo::setMinValue((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // double minValue() const
        double xret = ((const x_QwtThermo*)this)->QwtThermo::minValue();
        x[0].s_double = xret;
    }
    void x_32(Smoke::Stack x) {
        // double value() const
        double xret = ((const x_QwtThermo*)this)->QwtThermo::value();
        x[0].s_double = xret;
    }
    void x_33(Smoke::Stack x) {
        // void setRange(double, double, bool)
        this->QwtThermo::setRange((double)x[1].s_double,(double)x[2].s_double,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setMargin(int)
        this->QwtThermo::setMargin((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtThermo*>(this))) {
            QSize xret = ((const x_QwtThermo*)this)->QwtThermo::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtThermo*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_36(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtThermo*>(this))) {
            QSize xret = ((const x_QwtThermo*)this)->QwtThermo::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtThermo*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_37(Smoke::Stack x) {
        // void setScaleDraw(QwtScaleDraw*)
        this->QwtThermo::setScaleDraw((QwtScaleDraw*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // const QwtScaleDraw* scaleDraw() const
        const QwtScaleDraw* xret = ((const x_QwtThermo*)this)->QwtThermo::scaleDraw();
        x[0].s_class = (void*)xret;
    }
    void x_39(Smoke::Stack x) {
        // void setValue(double)
        this->QwtThermo::setValue((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void draw(QPainter*, const QRect&)
        this->QwtThermo::draw((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void drawThermo(QPainter*)
        this->QwtThermo::drawThermo((QPainter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void layoutThermo(bool)
        this->QwtThermo::layoutThermo((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // virtual void scaleChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtThermo*>(this))) {
            this->QwtThermo::scaleChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->scaleChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // virtual void fontChange(const QFont&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtThermo*>(this))) {
            this->QwtThermo::fontChange(*(const QFont*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->fontChange(*(const QFont*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtThermo*>(this))) {
            this->QwtThermo::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtThermo*>(this))) {
            this->QwtThermo::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // QwtScaleDraw* scaleDraw()
        QwtScaleDraw* xret = this->QwtThermo::scaleDraw();
        x[0].s_class = (void*)xret;
    }
    static void x_48(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtThermo::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_49(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtThermo::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_50(Smoke::Stack x) {
        // QwtThermo* QwtThermo()
        x_QwtThermo* xret = new x_QwtThermo((QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    void x_51(Smoke::Stack x) {
        // void setRange(double, double)
        this->QwtThermo::setRange((double)x[1].s_double,(double)x[2].s_double,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void layoutThermo()
        this->QwtThermo::layoutThermo((bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_53(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtThermo::staticMetaObject;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)QwtThermo::NoScale;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QwtThermo::LeftScale;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QwtThermo::RightScale;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QwtThermo::TopScale;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QwtThermo::BottomScale;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2091, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtThermo::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2092, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtThermo::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(2097, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtThermo::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2125, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtThermo::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2126, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtThermo::minimumSizeHint();
    }
    virtual void scaleChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2133, (void*)this, x)) return;
        this->QwtThermo::scaleChange();
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2134, (void*)this, x)) return;
        this->QwtThermo::fontChange(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2135, (void*)this, x)) return;
        this->QwtThermo::paintEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2136, (void*)this, x)) return;
        this->QwtThermo::resizeEvent(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 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 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 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 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(33, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 310: //QwtThermo::ScalePos
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtThermo::ScalePos;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtThermo::ScalePos*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtThermo::ScalePos*)xdata = (QwtThermo::ScalePos)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtThermo::ScalePos*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtThermo() { this->_binding->deleted(141, (void*)this); }
};
void xenum_QwtThermo(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtThermo::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtThermo(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtThermo *xself = (x_QwtThermo*)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_QwtThermo::x_3(args);	break;
        case 4: x_QwtThermo::x_4(args);	break;
        case 5: x_QwtThermo::x_5(args);	break;
        case 6: x_QwtThermo::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtThermo::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: x_QwtThermo::x_48(args);	break;
        case 49: x_QwtThermo::x_49(args);	break;
        case 50: x_QwtThermo::x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: x_QwtThermo::x_53(args);	break;
        case 54: x_QwtThermo::x_54(args);	break;
        case 55: x_QwtThermo::x_55(args);	break;
        case 56: x_QwtThermo::x_56(args);	break;
        case 57: x_QwtThermo::x_57(args);	break;
        case 58: x_QwtThermo::x_58(args);	break;
        case 59: delete (QwtThermo*)xself;	break;
    }
}
class x_QwtWheel : public QwtWheel, 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<QwtWheel*>(this))) {
            const QMetaObject* xret = ((const x_QwtWheel*)this)->QwtWheel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtWheel*)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<QwtWheel*>(this))) {
            void* xret = this->QwtWheel::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 = QwtWheel::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 = QwtWheel::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 = QwtWheel::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 = QwtWheel::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<QwtWheel*>(this))) {
            int xret = this->QwtWheel::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) {
        // QwtWheel* QwtWheel(QWidget*)
        x_QwtWheel* xret = new x_QwtWheel((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtWheel(QWidget* x1) : QwtWheel(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void setOrientation(Qt::Orientation)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            this->QwtWheel::setOrientation((Qt::Orientation)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->setOrientation((Qt::Orientation)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // double totalAngle() const
        double xret = ((const x_QwtWheel*)this)->QwtWheel::totalAngle();
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // double viewAngle() const
        double xret = ((const x_QwtWheel*)this)->QwtWheel::viewAngle();
        x[0].s_double = xret;
    }
    void x_12(Smoke::Stack x) {
        // int tickCnt() const
        int xret = ((const x_QwtWheel*)this)->QwtWheel::tickCnt();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // int internalBorder() const
        int xret = ((const x_QwtWheel*)this)->QwtWheel::internalBorder();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // double mass() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            double xret = ((const x_QwtWheel*)this)->QwtWheel::mass();
            x[0].s_double = xret;
        } else {
            double xret = ((const x_QwtWheel*)this)->mass();
            x[0].s_double = xret;
        }
    }
    void x_15(Smoke::Stack x) {
        // void setTotalAngle(double)
        this->QwtWheel::setTotalAngle((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setTickCnt(int)
        this->QwtWheel::setTickCnt((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setViewAngle(double)
        this->QwtWheel::setViewAngle((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setInternalBorder(int)
        this->QwtWheel::setInternalBorder((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setMass(double)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            this->QwtWheel::setMass((double)x[1].s_double);
            (void)x; // noop (for compiler warning)
        } else {
            this->setMass((double)x[1].s_double);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // void setWheelWidth(int)
        this->QwtWheel::setWheelWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            QSize xret = ((const x_QwtWheel*)this)->QwtWheel::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtWheel*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            QSize xret = ((const x_QwtWheel*)this)->QwtWheel::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtWheel*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            this->QwtWheel::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            this->QwtWheel::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // void layoutWheel(bool)
        this->QwtWheel::layoutWheel((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void draw(QPainter*, const QRect&)
        this->QwtWheel::draw((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void drawWheel(QPainter*, const QRect&)
        this->QwtWheel::drawWheel((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void drawWheelBackground(QPainter*, const QRect&)
        this->QwtWheel::drawWheelBackground((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setColorArray()
        this->QwtWheel::setColorArray();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // virtual void valueChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            this->QwtWheel::valueChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->valueChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_31(Smoke::Stack x) {
        // virtual void paletteChange(const QPalette&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            this->QwtWheel::paletteChange(*(const QPalette*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paletteChange(*(const QPalette*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // virtual double getValue(const QPoint&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            double xret = this->QwtWheel::getValue(*(const QPoint*)x[1].s_class);
            x[0].s_double = xret;
        } else {
            double xret = this->getValue(*(const QPoint*)x[1].s_class);
            x[0].s_double = xret;
        }
    }
    void x_33(Smoke::Stack x) {
        // virtual void getScrollMode(const QPoint&, int&, int&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtWheel*>(this))) {
            this->QwtWheel::getScrollMode(*(const QPoint*)x[1].s_class,*(int*)x[2].s_class,*(int*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->getScrollMode(*(const QPoint*)x[1].s_class,*(int*)x[2].s_class,*(int*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_34(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtWheel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_35(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtWheel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // QwtWheel* QwtWheel()
        x_QwtWheel* xret = new x_QwtWheel((QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    void x_37(Smoke::Stack x) {
        // void layoutWheel()
        this->QwtWheel::layoutWheel((bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_38(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtWheel::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2150, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtWheel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2151, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtWheel::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(2156, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtWheel::qt_metacall(x1, x2, x3);
    }
    virtual void setOrientation(Qt::Orientation x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(2158, (void*)this, x)) return;
        this->QwtWheel::setOrientation(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2170, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtWheel::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2171, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtWheel::minimumSizeHint();
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2172, (void*)this, x)) return;
        this->QwtWheel::resizeEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2173, (void*)this, x)) return;
        this->QwtWheel::paintEvent(x1);
    }
    virtual void valueChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2179, (void*)this, x)) return;
        this->QwtWheel::valueChange();
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2180, (void*)this, x)) return;
        this->QwtWheel::paletteChange(x1);
    }
    virtual double getValue(const QPoint& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2181, (void*)this, x)) return (double)x[0].s_double;
        return this->QwtWheel::getValue(x1);
    }
    virtual void getScrollMode(const QPoint& x1, int& x2, int& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(2182, (void*)this, x)) return;
        this->QwtWheel::getScrollMode(x1, x2, x3);
    }
    virtual void setMass(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(2168, (void*)this, x)) return;
        this->QwtWheel::setMass(x1);
    }
    virtual double mass() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2163, (void*)this, x)) return (double)x[0].s_double;
        return this->QwtWheel::mass();
    }
    virtual void setValue(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(160, (void*)this, x)) return;
        this->QwtAbstractSlider::setValue(x1);
    }
    virtual void fitValue(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(161, (void*)this, x)) return;
        this->QwtAbstractSlider::fitValue(x1);
    }
    virtual void incValue(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(162, (void*)this, x)) return;
        this->QwtAbstractSlider::incValue(x1);
    }
    virtual void setReadOnly(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(163, (void*)this, x)) return;
        this->QwtAbstractSlider::setReadOnly(x1);
    }
    virtual void setPosition(const QPoint& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(168, (void*)this, x)) return;
        this->QwtAbstractSlider::setPosition(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(170, (void*)this, x)) return;
        this->QwtAbstractSlider::timerEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(171, (void*)this, x)) return;
        this->QwtAbstractSlider::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(172, (void*)this, x)) return;
        this->QwtAbstractSlider::mouseReleaseEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(173, (void*)this, x)) return;
        this->QwtAbstractSlider::mouseMoveEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(174, (void*)this, x)) return;
        this->QwtAbstractSlider::keyPressEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(175, (void*)this, x)) return;
        this->QwtAbstractSlider::wheelEvent(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 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 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 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 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 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 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(33, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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);
    }
    virtual void incPages(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(542, (void*)this, x)) return;
        this->QwtDoubleRange::incPages(x1);
    }
    virtual void stepChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(548, (void*)this, x)) return;
        this->QwtDoubleRange::stepChange();
    }
    virtual void rangeChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(549, (void*)this, x)) return;
        this->QwtDoubleRange::rangeChange();
    }
    ~x_QwtWheel() { this->_binding->deleted(142, (void*)this); }
};
void xcall_QwtWheel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtWheel *xself = (x_QwtWheel*)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_QwtWheel::x_3(args);	break;
        case 4: x_QwtWheel::x_4(args);	break;
        case 5: x_QwtWheel::x_5(args);	break;
        case 6: x_QwtWheel::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtWheel::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: x_QwtWheel::x_34(args);	break;
        case 35: x_QwtWheel::x_35(args);	break;
        case 36: x_QwtWheel::x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: x_QwtWheel::x_38(args);	break;
        case 39: delete (QwtWheel*)xself;	break;
    }
}
class x_QGlobalSpace {
    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 double qwtSqr(const double)
        double xret = qwtSqr((const double)x[1].s_double);
        x[0].s_double = xret;
    }
    static void x_2(Smoke::Stack x) {
        // static int qwtSign(double)
        int xret = qwtSign((double)x[1].s_double);
        x[0].s_int = xret;
    }
    static void x_3(Smoke::Stack x) {
        // static double qwtGetMax(const double*, int)
        double xret = qwtGetMax((const double*)x[1].s_class,(int)x[2].s_int);
        x[0].s_double = xret;
    }
    static void x_4(Smoke::Stack x) {
        // static double qwtRound(double)
        double xret = qwtRound((double)x[1].s_double);
        x[0].s_double = xret;
    }
    static void x_5(Smoke::Stack x) {
        // static QPoint qwtDegree2Pos(const QPoint&, double, double)
        QPoint xret = qwtDegree2Pos(*(const QPoint*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double);
        x[0].s_class = (void*)new QPoint(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QPointF qwtDegree2Pos(const QPointF&, double, double)
        QPointF xret = qwtDegree2Pos(*(const QPointF*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double);
        x[0].s_class = (void*)new QPointF(xret);
    }
    static void x_7(Smoke::Stack x) {
        // static QPointF qwtPolar2Pos(const QPointF&, double, double)
        QPointF xret = qwtPolar2Pos(*(const QPointF*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double);
        x[0].s_class = (void*)new QPointF(xret);
    }
    static void x_8(Smoke::Stack x) {
        // static QPoint qwtPolar2Pos(const QPoint&, double, double)
        QPoint xret = qwtPolar2Pos(*(const QPoint*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double);
        x[0].s_class = (void*)new QPoint(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static double qwtGetMin(const double*, int)
        double xret = qwtGetMin((const double*)x[1].s_class,(int)x[2].s_int);
        x[0].s_double = xret;
    }
    ~x_QGlobalSpace() { this->_binding->deleted(18, (void*)this); }
};
void xcall_QGlobalSpace(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGlobalSpace *xself = (x_QGlobalSpace*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGlobalSpace::x_1(args);	break;
        case 2: x_QGlobalSpace::x_2(args);	break;
        case 3: x_QGlobalSpace::x_3(args);	break;
        case 4: x_QGlobalSpace::x_4(args);	break;
        case 5: x_QGlobalSpace::x_5(args);	break;
        case 6: x_QGlobalSpace::x_6(args);	break;
        case 7: x_QGlobalSpace::x_7(args);	break;
        case 8: x_QGlobalSpace::x_8(args);	break;
        case 9: x_QGlobalSpace::x_9(args);	break;
    }
}

}
