//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_QwtData : public QwtData, 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) {
        // QwtData* QwtData()
        x_QwtData* xret = new x_QwtData();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtData() : QwtData() {}
    void x_2(Smoke::Stack x) {
        // virtual QwtData* copy() const = 0
        QwtData* xret = ((const x_QwtData*)this)->copy();
        x[0].s_class = (void*)xret;
    }
    void x_3(Smoke::Stack x) {
        // virtual size_t size() const = 0
        size_t xret = ((const x_QwtData*)this)->size();
        x[0].s_ulong = xret;
    }
    void x_4(Smoke::Stack x) {
        // virtual double x(size_t) const = 0
        double xret = ((const x_QwtData*)this)->x((size_t)x[1].s_ulong);
        x[0].s_double = xret;
    }
    void x_5(Smoke::Stack x) {
        // virtual double y(size_t) const = 0
        double xret = ((const x_QwtData*)this)->y((size_t)x[1].s_ulong);
        x[0].s_double = xret;
    }
    void x_6(Smoke::Stack x) {
        // virtual QRectF boundingRect() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtData*>(this))) {
            QRectF xret = ((const x_QwtData*)this)->QwtData::boundingRect();
            x[0].s_class = (void*)new QRectF(xret);
        } else {
            QRectF xret = ((const x_QwtData*)this)->boundingRect();
            x[0].s_class = (void*)new QRectF(xret);
        }
    }
    static void x_7(Smoke::Stack x) {
        // QwtData* QwtData(const QwtData&)
        x_QwtData* xret = new x_QwtData(*(const QwtData*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtData(const QwtData& x1) : QwtData(x1) {}
    virtual QwtData* copy() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(383, (void*)this, x, true /*pure virtual*/);
        return (QwtData*)x[0].s_class;
    }
    virtual size_t size() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(384, (void*)this, x, true /*pure virtual*/);
        return (size_t)x[0].s_ulong;
    }
    virtual double x(size_t x1) const {
        Smoke::StackItem x[2];
        x[1].s_ulong = x1;
        this->_binding->callMethod(385, (void*)this, x, true /*pure virtual*/);
        return (double)x[0].s_double;
    }
    virtual double y(size_t x1) const {
        Smoke::StackItem x[2];
        x[1].s_ulong = x1;
        this->_binding->callMethod(386, (void*)this, x, true /*pure virtual*/);
        return (double)x[0].s_double;
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(387, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtData::boundingRect();
    }
    ~x_QwtData() { this->_binding->deleted(75, (void*)this); }
};
void xcall_QwtData(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtData *xself = (x_QwtData*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtData::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: x_QwtData::x_7(args);	break;
        case 8: delete (QwtData*)xself;	break;
    }
}
class x_QwtDial : public QwtDial, 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<QwtDial*>(this))) {
            const QMetaObject* xret = ((const x_QwtDial*)this)->QwtDial::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtDial*)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<QwtDial*>(this))) {
            void* xret = this->QwtDial::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 = QwtDial::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 = QwtDial::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 = QwtDial::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 = QwtDial::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<QwtDial*>(this))) {
            int xret = this->QwtDial::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) {
        // QwtDial* QwtDial(QWidget*)
        x_QwtDial* xret = new x_QwtDial((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDial(QWidget* x1) : QwtDial(x1) {}
    void x_9(Smoke::Stack x) {
        // void setFrameShadow(QwtDial::Shadow)
        this->QwtDial::setFrameShadow((QwtDial::Shadow)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QwtDial::Shadow frameShadow() const
        QwtDial::Shadow xret = ((const x_QwtDial*)this)->QwtDial::frameShadow();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool hasVisibleBackground() const
        bool xret = ((const x_QwtDial*)this)->QwtDial::hasVisibleBackground();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void showBackground(bool)
        this->QwtDial::showBackground((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setLineWidth(int)
        this->QwtDial::setLineWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int lineWidth() const
        int xret = ((const x_QwtDial*)this)->QwtDial::lineWidth();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setMode(QwtDial::Mode)
        this->QwtDial::setMode((QwtDial::Mode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QwtDial::Mode mode() const
        QwtDial::Mode xret = ((const x_QwtDial*)this)->QwtDial::mode();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // virtual void setWrapping(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::setWrapping((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setWrapping((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_18(Smoke::Stack x) {
        // bool wrapping() const
        bool xret = ((const x_QwtDial*)this)->QwtDial::wrapping();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // virtual void setScale(int, int, double)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::setScale((int)x[1].s_int,(int)x[2].s_int,(double)x[3].s_double);
            (void)x; // noop (for compiler warning)
        } else {
            this->setScale((int)x[1].s_int,(int)x[2].s_int,(double)x[3].s_double);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // void setScaleArc(double, double)
        this->QwtDial::setScaleArc((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setScaleOptions(int)
        this->QwtDial::setScaleOptions((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setScaleTicks(int, int, int, int)
        this->QwtDial::setScaleTicks((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // double minScaleArc() const
        double xret = ((const x_QwtDial*)this)->QwtDial::minScaleArc();
        x[0].s_double = xret;
    }
    void x_24(Smoke::Stack x) {
        // double maxScaleArc() const
        double xret = ((const x_QwtDial*)this)->QwtDial::maxScaleArc();
        x[0].s_double = xret;
    }
    void x_25(Smoke::Stack x) {
        // virtual void setOrigin(double)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::setOrigin((double)x[1].s_double);
            (void)x; // noop (for compiler warning)
        } else {
            this->setOrigin((double)x[1].s_double);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // double origin() const
        double xret = ((const x_QwtDial*)this)->QwtDial::origin();
        x[0].s_double = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setDirection(QwtDial::Direction)
        this->QwtDial::setDirection((QwtDial::Direction)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QwtDial::Direction direction() const
        QwtDial::Direction xret = ((const x_QwtDial*)this)->QwtDial::direction();
        x[0].s_enum = xret;
    }
    void x_29(Smoke::Stack x) {
        // virtual void setNeedle(QwtDialNeedle*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::setNeedle((QwtDialNeedle*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setNeedle((QwtDialNeedle*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_30(Smoke::Stack x) {
        // const QwtDialNeedle* needle() const
        const QwtDialNeedle* xret = ((const x_QwtDial*)this)->QwtDial::needle();
        x[0].s_class = (void*)xret;
    }
    void x_31(Smoke::Stack x) {
        // QwtDialNeedle* needle()
        QwtDialNeedle* xret = this->QwtDial::needle();
        x[0].s_class = (void*)xret;
    }
    void x_32(Smoke::Stack x) {
        // QRect boundingRect() const
        QRect xret = ((const x_QwtDial*)this)->QwtDial::boundingRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_33(Smoke::Stack x) {
        // QRect contentsRect() const
        QRect xret = ((const x_QwtDial*)this)->QwtDial::contentsRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_34(Smoke::Stack x) {
        // virtual QRect scaleContentsRect() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            QRect xret = ((const x_QwtDial*)this)->QwtDial::scaleContentsRect();
            x[0].s_class = (void*)new QRect(xret);
        } else {
            QRect xret = ((const x_QwtDial*)this)->scaleContentsRect();
            x[0].s_class = (void*)new QRect(xret);
        }
    }
    void x_35(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            QSize xret = ((const x_QwtDial*)this)->QwtDial::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtDial*)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<QwtDial*>(this))) {
            QSize xret = ((const x_QwtDial*)this)->QwtDial::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtDial*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_37(Smoke::Stack x) {
        // virtual void setScaleDraw(QwtDialScaleDraw*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::setScaleDraw((QwtDialScaleDraw*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setScaleDraw((QwtDialScaleDraw*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_38(Smoke::Stack x) {
        // QwtDialScaleDraw* scaleDraw()
        QwtDialScaleDraw* xret = this->QwtDial::scaleDraw();
        x[0].s_class = (void*)xret;
    }
    void x_39(Smoke::Stack x) {
        // const QwtDialScaleDraw* scaleDraw() const
        const QwtDialScaleDraw* xret = ((const x_QwtDial*)this)->QwtDial::scaleDraw();
        x[0].s_class = (void*)xret;
    }
    void x_40(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::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_41(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_42(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // virtual void updateMask()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::updateMask();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateMask();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // virtual void drawFrame(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::drawFrame((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawFrame((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // virtual void drawContents(QPainter*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            ((const x_QwtDial*)this)->QwtDial::drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtDial*)this)->drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // virtual void drawFocusIndicator(QPainter*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            ((const x_QwtDial*)this)->QwtDial::drawFocusIndicator((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtDial*)this)->drawFocusIndicator((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // virtual void drawScale(QPainter*, const QPoint&, int, double, double, double) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            ((const x_QwtDial*)this)->QwtDial::drawScale((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,(int)x[3].s_int,(double)x[4].s_double,(double)x[5].s_double,(double)x[6].s_double);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtDial*)this)->drawScale((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,(int)x[3].s_int,(double)x[4].s_double,(double)x[5].s_double,(double)x[6].s_double);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // virtual void drawScaleContents(QPainter*, const QPoint&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            ((const x_QwtDial*)this)->QwtDial::drawScaleContents((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtDial*)this)->drawScaleContents((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,(int)x[3].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // virtual void drawNeedle(QPainter*, const QPoint&, int, double, QPalette::ColorGroup) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            ((const x_QwtDial*)this)->QwtDial::drawNeedle((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_QwtDial*)this)->drawNeedle((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)
        }
    }
    void x_50(Smoke::Stack x) {
        // virtual QwtText scaleLabel(double) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            QwtText xret = ((const x_QwtDial*)this)->QwtDial::scaleLabel((double)x[1].s_double);
            x[0].s_class = (void*)new QwtText(xret);
        } else {
            QwtText xret = ((const x_QwtDial*)this)->scaleLabel((double)x[1].s_double);
            x[0].s_class = (void*)new QwtText(xret);
        }
    }
    void x_51(Smoke::Stack x) {
        // void updateScale()
        this->QwtDial::updateScale();
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // virtual void rangeChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::rangeChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->rangeChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_53(Smoke::Stack x) {
        // virtual void valueChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::valueChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->valueChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // virtual double getValue(const QPoint&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            double xret = this->QwtDial::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_55(Smoke::Stack x) {
        // virtual void getScrollMode(const QPoint&, int&, int&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDial*>(this))) {
            this->QwtDial::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_56(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtDial::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_57(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtDial::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_58(Smoke::Stack x) {
        // QwtDial* QwtDial()
        x_QwtDial* xret = new x_QwtDial((QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    void x_59(Smoke::Stack x) {
        // void setScale(int, int)
        this->QwtDial::setScale((int)x[1].s_int,(int)x[2].s_int,(double)0.0);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void setScaleTicks(int, int, int)
        this->QwtDial::setScaleTicks((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,(int)1);
        (void)x; // noop (for compiler warning)
    }
    static void x_61(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtDial::staticMetaObject;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::Plain;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::Raised;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::Sunken;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::ScaleBackbone;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::ScaleTicks;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::ScaleLabel;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::RotateNeedle;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::RotateScale;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::Clockwise;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDial::CounterClockwise;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(390, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtDial::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(391, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtDial::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(396, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtDial::qt_metacall(x1, x2, x3);
    }
    virtual void setWrapping(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(406, (void*)this, x)) return;
        this->QwtDial::setWrapping(x1);
    }
    virtual void setScale(int x1, int x2, double x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_double = x3;
        if (this->_binding->callMethod(408, (void*)this, x)) return;
        this->QwtDial::setScale(x1, x2, x3);
    }
    virtual void setOrigin(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(414, (void*)this, x)) return;
        this->QwtDial::setOrigin(x1);
    }
    virtual void setNeedle(QwtDialNeedle* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(418, (void*)this, x)) return;
        this->QwtDial::setNeedle(x1);
    }
    virtual QRect scaleContentsRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(423, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtDial::scaleContentsRect();
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(424, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtDial::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(425, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtDial::minimumSizeHint();
    }
    virtual void setScaleDraw(QwtDialScaleDraw* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(426, (void*)this, x)) return;
        this->QwtDial::setScaleDraw(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(429, (void*)this, x)) return;
        this->QwtDial::paintEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(430, (void*)this, x)) return;
        this->QwtDial::resizeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(431, (void*)this, x)) return;
        this->QwtDial::keyPressEvent(x1);
    }
    virtual void updateMask() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(432, (void*)this, x)) return;
        this->QwtDial::updateMask();
    }
    virtual void drawFrame(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(433, (void*)this, x)) return;
        this->QwtDial::drawFrame(x1);
    }
    virtual void drawContents(QPainter* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(434, (void*)this, x)) return;
        this->QwtDial::drawContents(x1);
    }
    virtual void drawFocusIndicator(QPainter* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(435, (void*)this, x)) return;
        this->QwtDial::drawFocusIndicator(x1);
    }
    virtual void drawScale(QPainter* x1, const QPoint& x2, int x3, double x4, double x5, double x6) const {
        Smoke::StackItem x[7];
        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_double = x5;
        x[6].s_double = x6;
        if (this->_binding->callMethod(436, (void*)this, x)) return;
        this->QwtDial::drawScale(x1, x2, x3, x4, x5, x6);
    }
    virtual void drawScaleContents(QPainter* x1, const QPoint& x2, int x3) const {
        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(437, (void*)this, x)) return;
        this->QwtDial::drawScaleContents(x1, x2, x3);
    }
    virtual void drawNeedle(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(438, (void*)this, x)) return;
        this->QwtDial::drawNeedle(x1, x2, x3, x4, x5);
    }
    virtual QwtText scaleLabel(double x1) const {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(439, (void*)this, x)) {
            QwtText* xptr = (QwtText*)x[0].s_class;
            QwtText xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtDial::scaleLabel(x1);
    }
    virtual void rangeChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(441, (void*)this, x)) return;
        this->QwtDial::rangeChange();
    }
    virtual void valueChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(442, (void*)this, x)) return;
        this->QwtDial::valueChange();
    }
    virtual double getValue(const QPoint& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(443, (void*)this, x)) return (double)x[0].s_double;
        return this->QwtDial::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(444, (void*)this, x)) return;
        this->QwtDial::getScrollMode(x1, x2, x3);
    }
    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 setOrientation(Qt::Orientation x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(155, (void*)this, x)) return;
        this->QwtAbstractSlider::setOrientation(x1);
    }
    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 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 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();
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 183: //QwtDial::Shadow
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtDial::Shadow;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtDial::Shadow*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtDial::Shadow*)xdata = (QwtDial::Shadow)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtDial::Shadow*)xdata;
                    break;
            }
            break;
        case 182: //QwtDial::ScaleOptions
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtDial::ScaleOptions;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtDial::ScaleOptions*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtDial::ScaleOptions*)xdata = (QwtDial::ScaleOptions)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtDial::ScaleOptions*)xdata;
                    break;
            }
            break;
        case 181: //QwtDial::Mode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtDial::Mode;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtDial::Mode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtDial::Mode*)xdata = (QwtDial::Mode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtDial::Mode*)xdata;
                    break;
            }
            break;
        case 180: //QwtDial::Direction
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtDial::Direction;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtDial::Direction*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtDial::Direction*)xdata = (QwtDial::Direction)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtDial::Direction*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtDial() { this->_binding->deleted(76, (void*)this); }
};
void xenum_QwtDial(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtDial::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtDial(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtDial *xself = (x_QwtDial*)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_QwtDial::x_3(args);	break;
        case 4: x_QwtDial::x_4(args);	break;
        case 5: x_QwtDial::x_5(args);	break;
        case 6: x_QwtDial::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtDial::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: x_QwtDial::x_56(args);	break;
        case 57: x_QwtDial::x_57(args);	break;
        case 58: x_QwtDial::x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: x_QwtDial::x_61(args);	break;
        case 62: x_QwtDial::x_62(args);	break;
        case 63: x_QwtDial::x_63(args);	break;
        case 64: x_QwtDial::x_64(args);	break;
        case 65: x_QwtDial::x_65(args);	break;
        case 66: x_QwtDial::x_66(args);	break;
        case 67: x_QwtDial::x_67(args);	break;
        case 68: x_QwtDial::x_68(args);	break;
        case 69: x_QwtDial::x_69(args);	break;
        case 70: x_QwtDial::x_70(args);	break;
        case 71: x_QwtDial::x_71(args);	break;
        case 72: delete (QwtDial*)xself;	break;
    }
}
class x_QwtDialNeedle : public QwtDialNeedle, 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) {
        // QwtDialNeedle* QwtDialNeedle()
        x_QwtDialNeedle* xret = new x_QwtDialNeedle();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDialNeedle() : QwtDialNeedle() {}
    void x_2(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QPoint&, int, double, QPalette::ColorGroup) const = 0
        ((const x_QwtDialNeedle*)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)
    }
    void x_3(Smoke::Stack x) {
        // virtual void setPalette(const QPalette&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDialNeedle*>(this))) {
            this->QwtDialNeedle::setPalette(*(const QPalette*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setPalette(*(const QPalette*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_4(Smoke::Stack x) {
        // const QPalette& palette() const
        const QPalette& xret = ((const x_QwtDialNeedle*)this)->QwtDialNeedle::palette();
        x[0].s_class = (void*)&xret;
    }
    static void x_5(Smoke::Stack x) {
        // static void drawKnob(QPainter*, const QPoint&, int, const QBrush&, bool)
        QwtDialNeedle::drawKnob((QPainter*)x[1].s_class,*(const QPoint*)x[2].s_class,(int)x[3].s_int,*(const QBrush*)x[4].s_class,(bool)x[5].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_6(Smoke::Stack x) {
        // QwtDialNeedle* QwtDialNeedle(const QwtDialNeedle&)
        x_QwtDialNeedle* xret = new x_QwtDialNeedle(*(const QwtDialNeedle*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDialNeedle(const QwtDialNeedle& x1) : QwtDialNeedle(x1) {}
    void x_7(Smoke::Stack x) {
        // void draw(QPainter*, const QPoint&, int, double) const
        ((const x_QwtDialNeedle*)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)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;
        this->_binding->callMethod(463, (void*)this, x, true /*pure virtual*/);
    }
    virtual void setPalette(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(464, (void*)this, x)) return;
        this->QwtDialNeedle::setPalette(x1);
    }
    ~x_QwtDialNeedle() { this->_binding->deleted(77, (void*)this); }
};
void xcall_QwtDialNeedle(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtDialNeedle *xself = (x_QwtDialNeedle*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtDialNeedle::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: x_QwtDialNeedle::x_5(args);	break;
        case 6: x_QwtDialNeedle::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: delete (QwtDialNeedle*)xself;	break;
    }
}
class x_QwtDialScaleDraw : public QwtDialScaleDraw, 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) {
        // QwtDialScaleDraw* QwtDialScaleDraw(QwtDial*)
        x_QwtDialScaleDraw* xret = new x_QwtDialScaleDraw((QwtDial*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDialScaleDraw(QwtDial* x1) : QwtDialScaleDraw(x1) {}
    void x_2(Smoke::Stack x) {
        // virtual QwtText label(double) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDialScaleDraw*>(this))) {
            QwtText xret = ((const x_QwtDialScaleDraw*)this)->QwtDialScaleDraw::label((double)x[1].s_double);
            x[0].s_class = (void*)new QwtText(xret);
        } else {
            QwtText xret = ((const x_QwtDialScaleDraw*)this)->label((double)x[1].s_double);
            x[0].s_class = (void*)new QwtText(xret);
        }
    }
    void x_3(Smoke::Stack x) {
        // void setPenWidth(unsigned int)
        this->QwtDialScaleDraw::setPenWidth((unsigned int)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // unsigned int penWidth() const
        unsigned int xret = ((const x_QwtDialScaleDraw*)this)->QwtDialScaleDraw::penWidth();
        x[0].s_uint = xret;
    }
    static void x_5(Smoke::Stack x) {
        // QwtDialScaleDraw* QwtDialScaleDraw(const QwtDialScaleDraw&)
        x_QwtDialScaleDraw* xret = new x_QwtDialScaleDraw(*(const QwtDialScaleDraw*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDialScaleDraw(const QwtDialScaleDraw& x1) : QwtDialScaleDraw(x1) {}
    virtual QwtText label(double x1) const {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(471, (void*)this, x)) {
            QwtText* xptr = (QwtText*)x[0].s_class;
            QwtText xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtDialScaleDraw::label(x1);
    }
    virtual int extent(const QPen& x1, const QFont& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1677, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtRoundScaleDraw::extent(x1, x2);
    }
    virtual void drawTick(QPainter* x1, double x2, int x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_double = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(1678, (void*)this, x)) return;
        this->QwtRoundScaleDraw::drawTick(x1, x2, x3);
    }
    virtual void drawBackbone(QPainter* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1679, (void*)this, x)) return;
        this->QwtRoundScaleDraw::drawBackbone(x1);
    }
    virtual void drawLabel(QPainter* x1, double x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_double = x2;
        if (this->_binding->callMethod(1680, (void*)this, x)) return;
        this->QwtRoundScaleDraw::drawLabel(x1, x2);
    }
    virtual void draw(QPainter* x1, const QPalette& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(126, (void*)this, x)) return;
        this->QwtAbstractScaleDraw::draw(x1, x2);
    }
    ~x_QwtDialScaleDraw() { this->_binding->deleted(78, (void*)this); }
};
void xcall_QwtDialScaleDraw(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtDialScaleDraw *xself = (x_QwtDialScaleDraw*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtDialScaleDraw::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: x_QwtDialScaleDraw::x_5(args);	break;
        case 6: delete (QwtDialScaleDraw*)xself;	break;
    }
}
class x_QwtDialSimpleNeedle : public QwtDialSimpleNeedle, 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) {
        // QwtDialSimpleNeedle* QwtDialSimpleNeedle(QwtDialSimpleNeedle::Style, bool, const QColor&, const QColor&)
        x_QwtDialSimpleNeedle* xret = new x_QwtDialSimpleNeedle((QwtDialSimpleNeedle::Style)x[1].s_enum,(bool)x[2].s_bool,*(const QColor*)x[3].s_class,*(const QColor*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDialSimpleNeedle(QwtDialSimpleNeedle::Style x1, bool x2, const QColor& x3, const QColor& x4) : QwtDialSimpleNeedle(x1, x2, x3, x4) {}
    void x_2(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QPoint&, int, double, QPalette::ColorGroup) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDialSimpleNeedle*>(this))) {
            ((const x_QwtDialSimpleNeedle*)this)->QwtDialSimpleNeedle::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_QwtDialSimpleNeedle*)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_3(Smoke::Stack x) {
        // static void drawArrowNeedle(QPainter*, const QPalette&, QPalette::ColorGroup, const QPoint&, int, int, double, bool)
        QwtDialSimpleNeedle::drawArrowNeedle((QPainter*)x[1].s_class,*(const QPalette*)x[2].s_class,(QPalette::ColorGroup)x[3].s_enum,*(const QPoint*)x[4].s_class,(int)x[5].s_int,(int)x[6].s_int,(double)x[7].s_double,(bool)x[8].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_4(Smoke::Stack x) {
        // static void drawRayNeedle(QPainter*, const QPalette&, QPalette::ColorGroup, const QPoint&, int, int, double, bool)
        QwtDialSimpleNeedle::drawRayNeedle((QPainter*)x[1].s_class,*(const QPalette*)x[2].s_class,(QPalette::ColorGroup)x[3].s_enum,*(const QPoint*)x[4].s_class,(int)x[5].s_int,(int)x[6].s_int,(double)x[7].s_double,(bool)x[8].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // void setWidth(int)
        this->QwtDialSimpleNeedle::setWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // int width() const
        int xret = ((const x_QwtDialSimpleNeedle*)this)->QwtDialSimpleNeedle::width();
        x[0].s_int = xret;
    }
    static void x_7(Smoke::Stack x) {
        // QwtDialSimpleNeedle* QwtDialSimpleNeedle(const QwtDialSimpleNeedle&)
        x_QwtDialSimpleNeedle* xret = new x_QwtDialSimpleNeedle(*(const QwtDialSimpleNeedle*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDialSimpleNeedle(const QwtDialSimpleNeedle& x1) : QwtDialSimpleNeedle(x1) {}
    static void x_8(Smoke::Stack x) {
        // QwtDialSimpleNeedle* QwtDialSimpleNeedle(QwtDialSimpleNeedle::Style)
        x_QwtDialSimpleNeedle* xret = new x_QwtDialSimpleNeedle((QwtDialSimpleNeedle::Style)x[1].s_enum,(bool)true,(const QColor&)Qt::gray,(const QColor&)Qt::darkGray);
        x[0].s_class = (void*)xret;
    }
    static void x_9(Smoke::Stack x) {
        // QwtDialSimpleNeedle* QwtDialSimpleNeedle(QwtDialSimpleNeedle::Style, bool)
        x_QwtDialSimpleNeedle* xret = new x_QwtDialSimpleNeedle((QwtDialSimpleNeedle::Style)x[1].s_enum,(bool)x[2].s_bool,(const QColor&)Qt::gray,(const QColor&)Qt::darkGray);
        x[0].s_class = (void*)xret;
    }
    static void x_10(Smoke::Stack x) {
        // QwtDialSimpleNeedle* QwtDialSimpleNeedle(QwtDialSimpleNeedle::Style, bool, const QColor&)
        x_QwtDialSimpleNeedle* xret = new x_QwtDialSimpleNeedle((QwtDialSimpleNeedle::Style)x[1].s_enum,(bool)x[2].s_bool,*(const QColor*)x[3].s_class,(const QColor&)Qt::darkGray);
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void draw(QPainter*, const QPoint&, int, double) const
        ((const x_QwtDialSimpleNeedle*)this)->QwtDialSimpleNeedle::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)
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDialSimpleNeedle::Arrow;
    }
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDialSimpleNeedle::Ray;
    }
    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(477, (void*)this, x)) return;
        this->QwtDialSimpleNeedle::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(464, (void*)this, x)) return;
        this->QwtDialNeedle::setPalette(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 187: //QwtDialSimpleNeedle::Style
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtDialSimpleNeedle::Style;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtDialSimpleNeedle::Style*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtDialSimpleNeedle::Style*)xdata = (QwtDialSimpleNeedle::Style)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtDialSimpleNeedle::Style*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtDialSimpleNeedle() { this->_binding->deleted(79, (void*)this); }
};
void xenum_QwtDialSimpleNeedle(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtDialSimpleNeedle::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtDialSimpleNeedle(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtDialSimpleNeedle *xself = (x_QwtDialSimpleNeedle*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtDialSimpleNeedle::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QwtDialSimpleNeedle::x_3(args);	break;
        case 4: x_QwtDialSimpleNeedle::x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: x_QwtDialSimpleNeedle::x_7(args);	break;
        case 8: x_QwtDialSimpleNeedle::x_8(args);	break;
        case 9: x_QwtDialSimpleNeedle::x_9(args);	break;
        case 10: x_QwtDialSimpleNeedle::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: x_QwtDialSimpleNeedle::x_12(args);	break;
        case 13: x_QwtDialSimpleNeedle::x_13(args);	break;
        case 14: delete (QwtDialSimpleNeedle*)xself;	break;
    }
}
class x_QwtDoubleInterval : public QwtDoubleInterval {
    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) {
        // QwtDoubleInterval* QwtDoubleInterval()
        x_QwtDoubleInterval* xret = new x_QwtDoubleInterval();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDoubleInterval() : QwtDoubleInterval() {}
    static void x_2(Smoke::Stack x) {
        // QwtDoubleInterval* QwtDoubleInterval(double, double, int)
        x_QwtDoubleInterval* xret = new x_QwtDoubleInterval((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDoubleInterval(double x1, double x2, int x3) : QwtDoubleInterval(x1, x2, x3) {}
    void x_3(Smoke::Stack x) {
        // void setInterval(double, double, int)
        this->QwtDoubleInterval::setInterval((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // QwtDoubleInterval normalized() const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::normalized();
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_5(Smoke::Stack x) {
        // QwtDoubleInterval inverted() const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::inverted();
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_6(Smoke::Stack x) {
        // QwtDoubleInterval limited(double, double) const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::limited((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_7(Smoke::Stack x) {
        // int operator==(const QwtDoubleInterval&) const
        int xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::operator==(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // int operator!=(const QwtDoubleInterval&) const
        int xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::operator!=(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setBorderFlags(int)
        this->QwtDoubleInterval::setBorderFlags((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // int borderFlags() const
        int xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::borderFlags();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // double minValue() const
        double xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::minValue();
        x[0].s_double = xret;
    }
    void x_12(Smoke::Stack x) {
        // double maxValue() const
        double xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::maxValue();
        x[0].s_double = xret;
    }
    void x_13(Smoke::Stack x) {
        // double width() const
        double xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::width();
        x[0].s_double = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setMinValue(double)
        this->QwtDoubleInterval::setMinValue((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setMaxValue(double)
        this->QwtDoubleInterval::setMaxValue((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // bool contains(double) const
        bool xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::contains((double)x[1].s_double);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // bool intersects(const QwtDoubleInterval&) const
        bool xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::intersects(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // QwtDoubleInterval intersect(const QwtDoubleInterval&) const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::intersect(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_19(Smoke::Stack x) {
        // QwtDoubleInterval unite(const QwtDoubleInterval&) const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::unite(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_20(Smoke::Stack x) {
        // QwtDoubleInterval operator|(const QwtDoubleInterval&) const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::operator|(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_21(Smoke::Stack x) {
        // QwtDoubleInterval operator&(const QwtDoubleInterval&) const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::operator&(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_22(Smoke::Stack x) {
        // QwtDoubleInterval& operator|=(const QwtDoubleInterval&)
        QwtDoubleInterval& xret = this->QwtDoubleInterval::operator|=(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_23(Smoke::Stack x) {
        // QwtDoubleInterval& operator&=(const QwtDoubleInterval&)
        QwtDoubleInterval& xret = this->QwtDoubleInterval::operator&=(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_24(Smoke::Stack x) {
        // QwtDoubleInterval extend(double) const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::extend((double)x[1].s_double);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_25(Smoke::Stack x) {
        // QwtDoubleInterval operator|(double) const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::operator|((double)x[1].s_double);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    void x_26(Smoke::Stack x) {
        // QwtDoubleInterval& operator|=(double)
        QwtDoubleInterval& xret = this->QwtDoubleInterval::operator|=((double)x[1].s_double);
        x[0].s_class = (void*)&xret;
    }
    void x_27(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::isValid();
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::isNull();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // void invalidate()
        this->QwtDoubleInterval::invalidate();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QwtDoubleInterval symmetrize(double) const
        QwtDoubleInterval xret = ((const x_QwtDoubleInterval*)this)->QwtDoubleInterval::symmetrize((double)x[1].s_double);
        x[0].s_class = (void*)new QwtDoubleInterval(xret);
    }
    static void x_31(Smoke::Stack x) {
        // QwtDoubleInterval* QwtDoubleInterval(const QwtDoubleInterval&)
        x_QwtDoubleInterval* xret = new x_QwtDoubleInterval(*(const QwtDoubleInterval*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDoubleInterval(const QwtDoubleInterval& x1) : QwtDoubleInterval(x1) {}
    static void x_32(Smoke::Stack x) {
        // QwtDoubleInterval* QwtDoubleInterval(double, double)
        x_QwtDoubleInterval* xret = new x_QwtDoubleInterval((double)x[1].s_double,(double)x[2].s_double,(int)QwtDoubleInterval::IncludeBorders);
        x[0].s_class = (void*)xret;
    }
    void x_33(Smoke::Stack x) {
        // void setInterval(double, double)
        this->QwtDoubleInterval::setInterval((double)x[1].s_double,(double)x[2].s_double,(int)QwtDoubleInterval::IncludeBorders);
        (void)x; // noop (for compiler warning)
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDoubleInterval::IncludeBorders;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDoubleInterval::ExcludeMinimum;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDoubleInterval::ExcludeMaximum;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QwtDoubleInterval::ExcludeBorders;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 191: //QwtDoubleInterval::BorderMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtDoubleInterval::BorderMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtDoubleInterval::BorderMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtDoubleInterval::BorderMode*)xdata = (QwtDoubleInterval::BorderMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtDoubleInterval::BorderMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtDoubleInterval() { this->_binding->deleted(80, (void*)this); }
};
void xenum_QwtDoubleInterval(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtDoubleInterval::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtDoubleInterval(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtDoubleInterval *xself = (x_QwtDoubleInterval*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtDoubleInterval::x_1(args);	break;
        case 2: x_QwtDoubleInterval::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: x_QwtDoubleInterval::x_31(args);	break;
        case 32: x_QwtDoubleInterval::x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: x_QwtDoubleInterval::x_34(args);	break;
        case 35: x_QwtDoubleInterval::x_35(args);	break;
        case 36: x_QwtDoubleInterval::x_36(args);	break;
        case 37: x_QwtDoubleInterval::x_37(args);	break;
        case 38: delete (QwtDoubleInterval*)xself;	break;
    }
}
class x_QwtDoubleRange : public QwtDoubleRange, 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) {
        // QwtDoubleRange* QwtDoubleRange()
        x_QwtDoubleRange* xret = new x_QwtDoubleRange();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDoubleRange() : QwtDoubleRange() {}
    void x_2(Smoke::Stack x) {
        // void setRange(double, double, double, int)
        this->QwtDoubleRange::setRange((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_3(Smoke::Stack x) {
        // void setValid(bool)
        this->QwtDoubleRange::setValid((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::isValid();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // virtual void setValue(double)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDoubleRange*>(this))) {
            this->QwtDoubleRange::setValue((double)x[1].s_double);
            (void)x; // noop (for compiler warning)
        } else {
            this->setValue((double)x[1].s_double);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_6(Smoke::Stack x) {
        // double value() const
        double xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::value();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setPeriodic(bool)
        this->QwtDoubleRange::setPeriodic((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // bool periodic() const
        bool xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::periodic();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setStep(double)
        this->QwtDoubleRange::setStep((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // double step() const
        double xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::step();
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // double maxValue() const
        double xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::maxValue();
        x[0].s_double = xret;
    }
    void x_12(Smoke::Stack x) {
        // double minValue() const
        double xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::minValue();
        x[0].s_double = xret;
    }
    void x_13(Smoke::Stack x) {
        // int pageSize() const
        int xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::pageSize();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // virtual void incValue(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDoubleRange*>(this))) {
            this->QwtDoubleRange::incValue((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->incValue((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual void incPages(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDoubleRange*>(this))) {
            this->QwtDoubleRange::incPages((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->incPages((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // virtual void fitValue(double)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDoubleRange*>(this))) {
            this->QwtDoubleRange::fitValue((double)x[1].s_double);
            (void)x; // noop (for compiler warning)
        } else {
            this->fitValue((double)x[1].s_double);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_17(Smoke::Stack x) {
        // double exactValue() const
        double xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::exactValue();
        x[0].s_double = xret;
    }
    void x_18(Smoke::Stack x) {
        // double exactPrevValue() const
        double xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::exactPrevValue();
        x[0].s_double = xret;
    }
    void x_19(Smoke::Stack x) {
        // double prevValue() const
        double xret = ((const x_QwtDoubleRange*)this)->QwtDoubleRange::prevValue();
        x[0].s_double = xret;
    }
    void x_20(Smoke::Stack x) {
        // virtual void valueChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDoubleRange*>(this))) {
            this->QwtDoubleRange::valueChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->valueChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual void stepChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDoubleRange*>(this))) {
            this->QwtDoubleRange::stepChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->stepChange();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual void rangeChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDoubleRange*>(this))) {
            this->QwtDoubleRange::rangeChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->rangeChange();
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_23(Smoke::Stack x) {
        // QwtDoubleRange* QwtDoubleRange(const QwtDoubleRange&)
        x_QwtDoubleRange* xret = new x_QwtDoubleRange(*(const QwtDoubleRange*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDoubleRange(const QwtDoubleRange& x1) : QwtDoubleRange(x1) {}
    void x_24(Smoke::Stack x) {
        // void setRange(double, double)
        this->QwtDoubleRange::setRange((double)x[1].s_double,(double)x[2].s_double,(double)0.0,(int)1);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setRange(double, double, double)
        this->QwtDoubleRange::setRange((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(int)1);
        (void)x; // noop (for compiler warning)
    }
    virtual void setValue(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(532, (void*)this, x)) return;
        this->QwtDoubleRange::setValue(x1);
    }
    virtual void incValue(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(541, (void*)this, x)) return;
        this->QwtDoubleRange::incValue(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 fitValue(double x1) {
        Smoke::StackItem x[2];
        x[1].s_double = x1;
        if (this->_binding->callMethod(543, (void*)this, x)) return;
        this->QwtDoubleRange::fitValue(x1);
    }
    virtual void valueChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(547, (void*)this, x)) return;
        this->QwtDoubleRange::valueChange();
    }
    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_QwtDoubleRange() { this->_binding->deleted(81, (void*)this); }
};
void xcall_QwtDoubleRange(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtDoubleRange *xself = (x_QwtDoubleRange*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtDoubleRange::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: x_QwtDoubleRange::x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: delete (QwtDoubleRange*)xself;	break;
    }
}
class x_QwtDynGridLayout : public QwtDynGridLayout, 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<QwtDynGridLayout*>(this))) {
            const QMetaObject* xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtDynGridLayout*)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<QwtDynGridLayout*>(this))) {
            void* xret = this->QwtDynGridLayout::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 = QwtDynGridLayout::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 = QwtDynGridLayout::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 = QwtDynGridLayout::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 = QwtDynGridLayout::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<QwtDynGridLayout*>(this))) {
            int xret = this->QwtDynGridLayout::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) {
        // QwtDynGridLayout* QwtDynGridLayout(QWidget*, int, int)
        x_QwtDynGridLayout* xret = new x_QwtDynGridLayout((QWidget*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDynGridLayout(QWidget* x1, int x2, int x3) : QwtDynGridLayout(x1, x2, x3) {}
    static void x_9(Smoke::Stack x) {
        // QwtDynGridLayout* QwtDynGridLayout(int)
        x_QwtDynGridLayout* xret = new x_QwtDynGridLayout((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtDynGridLayout(int x1) : QwtDynGridLayout(x1) {}
    void x_10(Smoke::Stack x) {
        // virtual void invalidate()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            this->QwtDynGridLayout::invalidate();
            (void)x; // noop (for compiler warning)
        } else {
            this->invalidate();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // void setMaxCols(unsigned int)
        this->QwtDynGridLayout::setMaxCols((unsigned int)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // unsigned int maxCols() const
        unsigned int xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::maxCols();
        x[0].s_uint = xret;
    }
    void x_13(Smoke::Stack x) {
        // unsigned int numRows() const
        unsigned int xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::numRows();
        x[0].s_uint = xret;
    }
    void x_14(Smoke::Stack x) {
        // unsigned int numCols() const
        unsigned int xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::numCols();
        x[0].s_uint = xret;
    }
    void x_15(Smoke::Stack x) {
        // virtual void addItem(QLayoutItem*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            this->QwtDynGridLayout::addItem((QLayoutItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->addItem((QLayoutItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // virtual QLayoutItem* itemAt(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            QLayoutItem* xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::itemAt((int)x[1].s_int);
            x[0].s_class = (void*)xret;
        } else {
            QLayoutItem* xret = ((const x_QwtDynGridLayout*)this)->itemAt((int)x[1].s_int);
            x[0].s_class = (void*)xret;
        }
    }
    void x_17(Smoke::Stack x) {
        // virtual QLayoutItem* takeAt(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            QLayoutItem* xret = this->QwtDynGridLayout::takeAt((int)x[1].s_int);
            x[0].s_class = (void*)xret;
        } else {
            QLayoutItem* xret = this->takeAt((int)x[1].s_int);
            x[0].s_class = (void*)xret;
        }
    }
    void x_18(Smoke::Stack x) {
        // virtual int count() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            int xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::count();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QwtDynGridLayout*)this)->count();
            x[0].s_int = xret;
        }
    }
    void x_19(Smoke::Stack x) {
        // void setExpandingDirections(QFlags<Qt::Orientation>)
        this->QwtDynGridLayout::setExpandingDirections((QFlags<Qt::Orientation>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // virtual QFlags<Qt::Orientation> expandingDirections() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            QFlags<Qt::Orientation> xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::expandingDirections();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::Orientation> xret = ((const x_QwtDynGridLayout*)this)->expandingDirections();
            x[0].s_uint = (uint)xret;
        }
    }
    void x_21(Smoke::Stack x) {
        // QList<QRect> layoutItems(const QRect&, unsigned int) const
        QList<QRect> xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::layoutItems(*(const QRect*)x[1].s_class,(unsigned int)x[2].s_uint);
        x[0].s_class = (void*)new QList<QRect>(xret);
    }
    void x_22(Smoke::Stack x) {
        // virtual int maxItemWidth() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            int xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::maxItemWidth();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QwtDynGridLayout*)this)->maxItemWidth();
            x[0].s_int = xret;
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void setGeometry(const QRect&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            this->QwtDynGridLayout::setGeometry(*(const QRect*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setGeometry(*(const QRect*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual bool hasHeightForWidth() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            bool xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::hasHeightForWidth();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QwtDynGridLayout*)this)->hasHeightForWidth();
            x[0].s_bool = xret;
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual int heightForWidth(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            int xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QwtDynGridLayout*)this)->heightForWidth((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            QSize xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtDynGridLayout*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual bool isEmpty() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            bool xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::isEmpty();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QwtDynGridLayout*)this)->isEmpty();
            x[0].s_bool = xret;
        }
    }
    void x_28(Smoke::Stack x) {
        // unsigned int itemCount() const
        unsigned int xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::itemCount();
        x[0].s_uint = xret;
    }
    void x_29(Smoke::Stack x) {
        // virtual unsigned int columnsForWidth(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtDynGridLayout*>(this))) {
            unsigned int xret = ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::columnsForWidth((int)x[1].s_int);
            x[0].s_uint = xret;
        } else {
            unsigned int xret = ((const x_QwtDynGridLayout*)this)->columnsForWidth((int)x[1].s_int);
            x[0].s_uint = xret;
        }
    }
    void x_30(Smoke::Stack x) {
        // void layoutGrid(unsigned int, QVector<int>&, QVector<int>&) const
        ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::layoutGrid((unsigned int)x[1].s_uint,*(QVector<int>*)x[2].s_class,*(QVector<int>*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void stretchGrid(const QRect&, unsigned int, QVector<int>&, QVector<int>&) const
        ((const x_QwtDynGridLayout*)this)->QwtDynGridLayout::stretchGrid(*(const QRect*)x[1].s_class,(unsigned int)x[2].s_uint,*(QVector<int>*)x[3].s_class,*(QVector<int>*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_32(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtDynGridLayout::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtDynGridLayout::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // QwtDynGridLayout* QwtDynGridLayout(QWidget*)
        x_QwtDynGridLayout* xret = new x_QwtDynGridLayout((QWidget*)x[1].s_class,(int)0,(int)-1);
        x[0].s_class = (void*)xret;
    }
    static void x_35(Smoke::Stack x) {
        // QwtDynGridLayout* QwtDynGridLayout(QWidget*, int)
        x_QwtDynGridLayout* xret = new x_QwtDynGridLayout((QWidget*)x[1].s_class,(int)x[2].s_int,(int)-1);
        x[0].s_class = (void*)xret;
    }
    static void x_36(Smoke::Stack x) {
        // QwtDynGridLayout* QwtDynGridLayout()
        x_QwtDynGridLayout* xret = new x_QwtDynGridLayout((int)-1);
        x[0].s_class = (void*)xret;
    }
    static void x_37(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtDynGridLayout::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(554, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtDynGridLayout::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(555, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtDynGridLayout::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(560, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtDynGridLayout::qt_metacall(x1, x2, x3);
    }
    virtual void invalidate() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(563, (void*)this, x)) return;
        this->QwtDynGridLayout::invalidate();
    }
    virtual void addItem(QLayoutItem* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(568, (void*)this, x)) return;
        this->QwtDynGridLayout::addItem(x1);
    }
    virtual QLayoutItem* itemAt(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(569, (void*)this, x)) return (QLayoutItem*)x[0].s_class;
        return this->QwtDynGridLayout::itemAt(x1);
    }
    virtual QLayoutItem* takeAt(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(570, (void*)this, x)) return (QLayoutItem*)x[0].s_class;
        return this->QwtDynGridLayout::takeAt(x1);
    }
    virtual int count() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(571, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtDynGridLayout::count();
    }
    virtual QFlags<Qt::Orientation> expandingDirections() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(573, (void*)this, x)) return (QFlags<Qt::Orientation>)x[0].s_uint;
        return this->QwtDynGridLayout::expandingDirections();
    }
    virtual int maxItemWidth() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(575, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtDynGridLayout::maxItemWidth();
    }
    virtual void setGeometry(const QRect& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(576, (void*)this, x)) return;
        this->QwtDynGridLayout::setGeometry(x1);
    }
    virtual bool hasHeightForWidth() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(577, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtDynGridLayout::hasHeightForWidth();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(578, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtDynGridLayout::heightForWidth(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(579, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtDynGridLayout::sizeHint();
    }
    virtual bool isEmpty() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(580, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtDynGridLayout::isEmpty();
    }
    virtual unsigned int columnsForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(582, (void*)this, x)) return (unsigned int)x[0].s_uint;
        return this->QwtDynGridLayout::columnsForWidth(x1);
    }
    virtual int indexOf(QWidget* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(26, (void*)this, x)) return (int)x[0].s_int;
        return this->QLayout::indexOf(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(32, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual 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(28, (void*)this, x)) return;
        this->QLayout::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 QSize minimumSize() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(24, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLayout::minimumSize();
    }
    virtual QSize maximumSize() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(25, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLayout::maximumSize();
    }
    virtual QRect geometry() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(23, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QLayout::geometry();
    }
    virtual int minimumHeightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(29, (void*)this, x)) return (int)x[0].s_int;
        return this->QLayoutItem::minimumHeightForWidth(x1);
    }
    virtual QWidget* widget() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(30, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->QLayoutItem::widget();
    }
    virtual QLayout* layout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(27, (void*)this, x)) return (QLayout*)x[0].s_class;
        return this->QLayout::layout();
    }
    virtual QSpacerItem* spacerItem() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(31, (void*)this, x)) return (QSpacerItem*)x[0].s_class;
        return this->QLayoutItem::spacerItem();
    }
    ~x_QwtDynGridLayout() { this->_binding->deleted(82, (void*)this); }
};
void xcall_QwtDynGridLayout(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtDynGridLayout *xself = (x_QwtDynGridLayout*)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_QwtDynGridLayout::x_3(args);	break;
        case 4: x_QwtDynGridLayout::x_4(args);	break;
        case 5: x_QwtDynGridLayout::x_5(args);	break;
        case 6: x_QwtDynGridLayout::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtDynGridLayout::x_8(args);	break;
        case 9: x_QwtDynGridLayout::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: x_QwtDynGridLayout::x_32(args);	break;
        case 33: x_QwtDynGridLayout::x_33(args);	break;
        case 34: x_QwtDynGridLayout::x_34(args);	break;
        case 35: x_QwtDynGridLayout::x_35(args);	break;
        case 36: x_QwtDynGridLayout::x_36(args);	break;
        case 37: x_QwtDynGridLayout::x_37(args);	break;
        case 38: delete (QwtDynGridLayout*)xself;	break;
    }
}

}
