//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_QwtPickerDragPointMachine : public QwtPickerDragPointMachine, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern&, const QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPickerDragPointMachine*>(this))) {
            QList<QwtPickerMachine::Command> xret = this->QwtPickerDragPointMachine::transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        } else {
            QList<QwtPickerMachine::Command> xret = this->transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        }
    }
    static void x_2(Smoke::Stack x) {
        // QwtPickerDragPointMachine* QwtPickerDragPointMachine()
        x_QwtPickerDragPointMachine* xret = new x_QwtPickerDragPointMachine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerDragPointMachine() : QwtPickerDragPointMachine() {}
    static void x_3(Smoke::Stack x) {
        // QwtPickerDragPointMachine* QwtPickerDragPointMachine(const QwtPickerDragPointMachine&)
        x_QwtPickerDragPointMachine* xret = new x_QwtPickerDragPointMachine(*(const QwtPickerDragPointMachine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerDragPointMachine(const QwtPickerDragPointMachine& x1) : QwtPickerDragPointMachine(x1) {}
    virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern& x1, const QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(1036, (void*)this, x)) {
            QList<QwtPickerMachine::Command>* xptr = (QList<QwtPickerMachine::Command>*)x[0].s_class;
            QList<QwtPickerMachine::Command> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPickerDragPointMachine::transition(x1, x2);
    }
    ~x_QwtPickerDragPointMachine() { this->_binding->deleted(101, (void*)this); }
};
void xcall_QwtPickerDragPointMachine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPickerDragPointMachine *xself = (x_QwtPickerDragPointMachine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: x_QwtPickerDragPointMachine::x_2(args);	break;
        case 3: x_QwtPickerDragPointMachine::x_3(args);	break;
        case 4: delete (QwtPickerDragPointMachine*)xself;	break;
    }
}
class x_QwtPickerDragRectMachine : public QwtPickerDragRectMachine, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern&, const QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPickerDragRectMachine*>(this))) {
            QList<QwtPickerMachine::Command> xret = this->QwtPickerDragRectMachine::transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        } else {
            QList<QwtPickerMachine::Command> xret = this->transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        }
    }
    static void x_2(Smoke::Stack x) {
        // QwtPickerDragRectMachine* QwtPickerDragRectMachine()
        x_QwtPickerDragRectMachine* xret = new x_QwtPickerDragRectMachine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerDragRectMachine() : QwtPickerDragRectMachine() {}
    static void x_3(Smoke::Stack x) {
        // QwtPickerDragRectMachine* QwtPickerDragRectMachine(const QwtPickerDragRectMachine&)
        x_QwtPickerDragRectMachine* xret = new x_QwtPickerDragRectMachine(*(const QwtPickerDragRectMachine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerDragRectMachine(const QwtPickerDragRectMachine& x1) : QwtPickerDragRectMachine(x1) {}
    virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern& x1, const QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(1040, (void*)this, x)) {
            QList<QwtPickerMachine::Command>* xptr = (QList<QwtPickerMachine::Command>*)x[0].s_class;
            QList<QwtPickerMachine::Command> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPickerDragRectMachine::transition(x1, x2);
    }
    ~x_QwtPickerDragRectMachine() { this->_binding->deleted(102, (void*)this); }
};
void xcall_QwtPickerDragRectMachine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPickerDragRectMachine *xself = (x_QwtPickerDragRectMachine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: x_QwtPickerDragRectMachine::x_2(args);	break;
        case 3: x_QwtPickerDragRectMachine::x_3(args);	break;
        case 4: delete (QwtPickerDragRectMachine*)xself;	break;
    }
}
class x_QwtPickerMachine : public QwtPickerMachine, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern&, const QEvent*) = 0
        QList<QwtPickerMachine::Command> xret = this->transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
        x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
    }
    void x_2(Smoke::Stack x) {
        // void reset()
        this->QwtPickerMachine::reset();
        (void)x; // noop (for compiler warning)
    }
    void x_3(Smoke::Stack x) {
        // int state() const
        int xret = ((const x_QwtPickerMachine*)this)->QwtPickerMachine::state();
        x[0].s_int = xret;
    }
    void x_4(Smoke::Stack x) {
        // void setState(int)
        this->QwtPickerMachine::setState((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_5(Smoke::Stack x) {
        // QwtPickerMachine* QwtPickerMachine()
        x_QwtPickerMachine* xret = new x_QwtPickerMachine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerMachine() : QwtPickerMachine() {}
    static void x_6(Smoke::Stack x) {
        // QwtPickerMachine* QwtPickerMachine(const QwtPickerMachine&)
        x_QwtPickerMachine* xret = new x_QwtPickerMachine(*(const QwtPickerMachine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerMachine(const QwtPickerMachine& x1) : QwtPickerMachine(x1) {}
    static void x_7(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPickerMachine::Begin;
    }
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPickerMachine::Append;
    }
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPickerMachine::Move;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPickerMachine::End;
    }
    virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern& x1, const QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        this->_binding->callMethod(1044, (void*)this, x, true /*pure virtual*/);
        QList<QwtPickerMachine::Command>* xptr = (QList<QwtPickerMachine::Command>*)x[0].s_class;
        QList<QwtPickerMachine::Command> xret(*xptr);
        delete xptr;
        return xret;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 231: //QwtPickerMachine::Command
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPickerMachine::Command;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPickerMachine::Command*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPickerMachine::Command*)xdata = (QwtPickerMachine::Command)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPickerMachine::Command*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtPickerMachine() { this->_binding->deleted(103, (void*)this); }
};
void xenum_QwtPickerMachine(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtPickerMachine::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtPickerMachine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPickerMachine *xself = (x_QwtPickerMachine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: x_QwtPickerMachine::x_5(args);	break;
        case 6: x_QwtPickerMachine::x_6(args);	break;
        case 7: x_QwtPickerMachine::x_7(args);	break;
        case 8: x_QwtPickerMachine::x_8(args);	break;
        case 9: x_QwtPickerMachine::x_9(args);	break;
        case 10: x_QwtPickerMachine::x_10(args);	break;
        case 11: delete (QwtPickerMachine*)xself;	break;
    }
}
class x_QwtPickerPolygonMachine : public QwtPickerPolygonMachine, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern&, const QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPickerPolygonMachine*>(this))) {
            QList<QwtPickerMachine::Command> xret = this->QwtPickerPolygonMachine::transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        } else {
            QList<QwtPickerMachine::Command> xret = this->transition(*(const QwtEventPattern*)x[1].s_class,(const QEvent*)x[2].s_class);
            x[0].s_class = (void*)new QList<QwtPickerMachine::Command>(xret);
        }
    }
    static void x_2(Smoke::Stack x) {
        // QwtPickerPolygonMachine* QwtPickerPolygonMachine()
        x_QwtPickerPolygonMachine* xret = new x_QwtPickerPolygonMachine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerPolygonMachine() : QwtPickerPolygonMachine() {}
    static void x_3(Smoke::Stack x) {
        // QwtPickerPolygonMachine* QwtPickerPolygonMachine(const QwtPickerPolygonMachine&)
        x_QwtPickerPolygonMachine* xret = new x_QwtPickerPolygonMachine(*(const QwtPickerPolygonMachine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPickerPolygonMachine(const QwtPickerPolygonMachine& x1) : QwtPickerPolygonMachine(x1) {}
    virtual QList<QwtPickerMachine::Command> transition(const QwtEventPattern& x1, const QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(1055, (void*)this, x)) {
            QList<QwtPickerMachine::Command>* xptr = (QList<QwtPickerMachine::Command>*)x[0].s_class;
            QList<QwtPickerMachine::Command> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPickerPolygonMachine::transition(x1, x2);
    }
    ~x_QwtPickerPolygonMachine() { this->_binding->deleted(104, (void*)this); }
};
void xcall_QwtPickerPolygonMachine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPickerPolygonMachine *xself = (x_QwtPickerPolygonMachine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: x_QwtPickerPolygonMachine::x_2(args);	break;
        case 3: x_QwtPickerPolygonMachine::x_3(args);	break;
        case 4: delete (QwtPickerPolygonMachine*)xself;	break;
    }
}
class x_QwtPlainTextEngine : public QwtPlainTextEngine, 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) {
        // QwtPlainTextEngine* QwtPlainTextEngine()
        x_QwtPlainTextEngine* xret = new x_QwtPlainTextEngine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPlainTextEngine() : QwtPlainTextEngine() {}
    void x_2(Smoke::Stack x) {
        // virtual int heightForWidth(const QFont&, int, const QString&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlainTextEngine*>(this))) {
            int xret = ((const x_QwtPlainTextEngine*)this)->QwtPlainTextEngine::heightForWidth(*(const QFont*)x[1].s_class,(int)x[2].s_int,*(const QString*)x[3].s_class,(int)x[4].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QwtPlainTextEngine*)this)->heightForWidth(*(const QFont*)x[1].s_class,(int)x[2].s_int,*(const QString*)x[3].s_class,(int)x[4].s_int);
            x[0].s_int = xret;
        }
    }
    void x_3(Smoke::Stack x) {
        // virtual QSize textSize(const QFont&, int, const QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlainTextEngine*>(this))) {
            QSize xret = ((const x_QwtPlainTextEngine*)this)->QwtPlainTextEngine::textSize(*(const QFont*)x[1].s_class,(int)x[2].s_int,*(const QString*)x[3].s_class);
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtPlainTextEngine*)this)->textSize(*(const QFont*)x[1].s_class,(int)x[2].s_int,*(const QString*)x[3].s_class);
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_4(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QRect&, int, const QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlainTextEngine*>(this))) {
            ((const x_QwtPlainTextEngine*)this)->QwtPlainTextEngine::draw((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QString*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlainTextEngine*)this)->draw((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int,*(const QString*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_5(Smoke::Stack x) {
        // virtual bool mightRender(const QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlainTextEngine*>(this))) {
            bool xret = ((const x_QwtPlainTextEngine*)this)->QwtPlainTextEngine::mightRender(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QwtPlainTextEngine*)this)->mightRender(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_6(Smoke::Stack x) {
        // virtual void textMargins(const QFont&, const QString&, int&, int&, int&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlainTextEngine*>(this))) {
            ((const x_QwtPlainTextEngine*)this)->QwtPlainTextEngine::textMargins(*(const QFont*)x[1].s_class,*(const QString*)x[2].s_class,*(int*)x[3].s_class,*(int*)x[4].s_class,*(int*)x[5].s_class,*(int*)x[6].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlainTextEngine*)this)->textMargins(*(const QFont*)x[1].s_class,*(const QString*)x[2].s_class,*(int*)x[3].s_class,*(int*)x[4].s_class,*(int*)x[5].s_class,*(int*)x[6].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_7(Smoke::Stack x) {
        // QwtPlainTextEngine* QwtPlainTextEngine(const QwtPlainTextEngine&)
        x_QwtPlainTextEngine* xret = new x_QwtPlainTextEngine(*(const QwtPlainTextEngine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPlainTextEngine(const QwtPlainTextEngine& x1) : QwtPlainTextEngine(x1) {}
    virtual int heightForWidth(const QFont& x1, int x2, const QString& x3, int x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        if (this->_binding->callMethod(1060, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtPlainTextEngine::heightForWidth(x1, x2, x3, x4);
    }
    virtual QSize textSize(const QFont& x1, int x2, const QString& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(1061, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPlainTextEngine::textSize(x1, x2, x3);
    }
    virtual void draw(QPainter* x1, const QRect& x2, int x3, const QString& x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(1062, (void*)this, x)) return;
        this->QwtPlainTextEngine::draw(x1, x2, x3, x4);
    }
    virtual bool mightRender(const QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1063, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtPlainTextEngine::mightRender(x1);
    }
    virtual void textMargins(const QFont& x1, const QString& x2, int& x3, int& x4, int& x5, int& x6) const {
        Smoke::StackItem x[7];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        x[5].s_class = (void*)&x5;
        x[6].s_class = (void*)&x6;
        if (this->_binding->callMethod(1064, (void*)this, x)) return;
        this->QwtPlainTextEngine::textMargins(x1, x2, x3, x4, x5, x6);
    }
    ~x_QwtPlainTextEngine() { this->_binding->deleted(105, (void*)this); }
};
void xcall_QwtPlainTextEngine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPlainTextEngine *xself = (x_QwtPlainTextEngine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtPlainTextEngine::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_QwtPlainTextEngine::x_7(args);	break;
        case 8: delete (QwtPlainTextEngine*)xself;	break;
    }
}
class x_QwtPlot : public QwtPlot, 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<QwtPlot*>(this))) {
            const QMetaObject* xret = ((const x_QwtPlot*)this)->QwtPlot::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtPlot*)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<QwtPlot*>(this))) {
            void* xret = this->QwtPlot::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 = QwtPlot::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 = QwtPlot::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 = QwtPlot::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 = QwtPlot::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<QwtPlot*>(this))) {
            int xret = this->QwtPlot::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) {
        // QwtPlot* QwtPlot(QWidget*)
        x_QwtPlot* xret = new x_QwtPlot((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPlot(QWidget* x1) : QwtPlot(x1) {}
    static void x_9(Smoke::Stack x) {
        // QwtPlot* QwtPlot(const QwtText&, QWidget*)
        x_QwtPlot* xret = new x_QwtPlot(*(const QwtText*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPlot(const QwtText& x1, QWidget* x2) : QwtPlot(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void applyProperties(const QString&)
        this->QwtPlot::applyProperties(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QString grabProperties() const
        QString xret = ((const x_QwtPlot*)this)->QwtPlot::grabProperties();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setAutoReplot(bool)
        this->QwtPlot::setAutoReplot((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool autoReplot() const
        bool xret = ((const x_QwtPlot*)this)->QwtPlot::autoReplot();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void print(QPaintDevice&, const QwtPlotPrintFilter&) const
        ((const x_QwtPlot*)this)->QwtPlot::print(*(QPaintDevice*)x[1].s_class,*(const QwtPlotPrintFilter*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // virtual void print(QPainter*, const QRect&, const QwtPlotPrintFilter&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            ((const x_QwtPlot*)this)->QwtPlot::print((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,*(const QwtPlotPrintFilter*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlot*)this)->print((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,*(const QwtPlotPrintFilter*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // QwtPlotLayout* plotLayout()
        QwtPlotLayout* xret = this->QwtPlot::plotLayout();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // const QwtPlotLayout* plotLayout() const
        const QwtPlotLayout* xret = ((const x_QwtPlot*)this)->QwtPlot::plotLayout();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // void setMargin(int)
        this->QwtPlot::setMargin((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // int margin() const
        int xret = ((const x_QwtPlot*)this)->QwtPlot::margin();
        x[0].s_int = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setTitle(const QString&)
        this->QwtPlot::setTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setTitle(const QwtText&)
        this->QwtPlot::setTitle(*(const QwtText*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QwtText title() const
        QwtText xret = ((const x_QwtPlot*)this)->QwtPlot::title();
        x[0].s_class = (void*)new QwtText(xret);
    }
    void x_23(Smoke::Stack x) {
        // QwtTextLabel* titleLabel()
        QwtTextLabel* xret = this->QwtPlot::titleLabel();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // const QwtTextLabel* titleLabel() const
        const QwtTextLabel* xret = ((const x_QwtPlot*)this)->QwtPlot::titleLabel();
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // QwtPlotCanvas* canvas()
        QwtPlotCanvas* xret = this->QwtPlot::canvas();
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // const QwtPlotCanvas* canvas() const
        const QwtPlotCanvas* xret = ((const x_QwtPlot*)this)->QwtPlot::canvas();
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // void setCanvasBackground(const QColor&)
        this->QwtPlot::setCanvasBackground(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // const QColor& canvasBackground() const
        const QColor& xret = ((const x_QwtPlot*)this)->QwtPlot::canvasBackground();
        x[0].s_class = (void*)&xret;
    }
    void x_29(Smoke::Stack x) {
        // void setCanvasLineWidth(int)
        this->QwtPlot::setCanvasLineWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // int canvasLineWidth() const
        int xret = ((const x_QwtPlot*)this)->QwtPlot::canvasLineWidth();
        x[0].s_int = xret;
    }
    void x_31(Smoke::Stack x) {
        // virtual QwtScaleMap canvasMap(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            QwtScaleMap xret = ((const x_QwtPlot*)this)->QwtPlot::canvasMap((int)x[1].s_int);
            x[0].s_class = (void*)new QwtScaleMap(xret);
        } else {
            QwtScaleMap xret = ((const x_QwtPlot*)this)->canvasMap((int)x[1].s_int);
            x[0].s_class = (void*)new QwtScaleMap(xret);
        }
    }
    void x_32(Smoke::Stack x) {
        // double invTransform(int, int) const
        double xret = ((const x_QwtPlot*)this)->QwtPlot::invTransform((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_double = xret;
    }
    void x_33(Smoke::Stack x) {
        // int transform(int, double) const
        int xret = ((const x_QwtPlot*)this)->QwtPlot::transform((int)x[1].s_int,(double)x[2].s_double);
        x[0].s_int = xret;
    }
    void x_34(Smoke::Stack x) {
        // QwtScaleEngine* axisScaleEngine(int)
        QwtScaleEngine* xret = this->QwtPlot::axisScaleEngine((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_35(Smoke::Stack x) {
        // const QwtScaleEngine* axisScaleEngine(int) const
        const QwtScaleEngine* xret = ((const x_QwtPlot*)this)->QwtPlot::axisScaleEngine((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_36(Smoke::Stack x) {
        // void setAxisScaleEngine(int, QwtScaleEngine*)
        this->QwtPlot::setAxisScaleEngine((int)x[1].s_int,(QwtScaleEngine*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void setAxisAutoScale(int)
        this->QwtPlot::setAxisAutoScale((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // bool axisAutoScale(int) const
        bool xret = ((const x_QwtPlot*)this)->QwtPlot::axisAutoScale((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_39(Smoke::Stack x) {
        // void enableAxis(int, bool)
        this->QwtPlot::enableAxis((int)x[1].s_int,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // bool axisEnabled(int) const
        bool xret = ((const x_QwtPlot*)this)->QwtPlot::axisEnabled((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_41(Smoke::Stack x) {
        // void setAxisFont(int, const QFont&)
        this->QwtPlot::setAxisFont((int)x[1].s_int,*(const QFont*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // QFont axisFont(int) const
        QFont xret = ((const x_QwtPlot*)this)->QwtPlot::axisFont((int)x[1].s_int);
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_43(Smoke::Stack x) {
        // void setAxisScale(int, double, double, double)
        this->QwtPlot::setAxisScale((int)x[1].s_int,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void setAxisScaleDiv(int, const QwtScaleDiv&)
        this->QwtPlot::setAxisScaleDiv((int)x[1].s_int,*(const QwtScaleDiv*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void setAxisScaleDraw(int, QwtScaleDraw*)
        this->QwtPlot::setAxisScaleDraw((int)x[1].s_int,(QwtScaleDraw*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // double axisStepSize(int) const
        double xret = ((const x_QwtPlot*)this)->QwtPlot::axisStepSize((int)x[1].s_int);
        x[0].s_double = xret;
    }
    void x_47(Smoke::Stack x) {
        // const QwtScaleDiv* axisScaleDiv(int) const
        const QwtScaleDiv* xret = ((const x_QwtPlot*)this)->QwtPlot::axisScaleDiv((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_48(Smoke::Stack x) {
        // QwtScaleDiv* axisScaleDiv(int)
        QwtScaleDiv* xret = this->QwtPlot::axisScaleDiv((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_49(Smoke::Stack x) {
        // const QwtScaleDraw* axisScaleDraw(int) const
        const QwtScaleDraw* xret = ((const x_QwtPlot*)this)->QwtPlot::axisScaleDraw((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_50(Smoke::Stack x) {
        // QwtScaleDraw* axisScaleDraw(int)
        QwtScaleDraw* xret = this->QwtPlot::axisScaleDraw((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_51(Smoke::Stack x) {
        // const QwtScaleWidget* axisWidget(int) const
        const QwtScaleWidget* xret = ((const x_QwtPlot*)this)->QwtPlot::axisWidget((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_52(Smoke::Stack x) {
        // QwtScaleWidget* axisWidget(int)
        QwtScaleWidget* xret = this->QwtPlot::axisWidget((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_53(Smoke::Stack x) {
        // void setAxisLabelAlignment(int, QFlags<Qt::AlignmentFlag>)
        this->QwtPlot::setAxisLabelAlignment((int)x[1].s_int,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_54(Smoke::Stack x) {
        // void setAxisLabelRotation(int, double)
        this->QwtPlot::setAxisLabelRotation((int)x[1].s_int,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // void setAxisTitle(int, const QString&)
        this->QwtPlot::setAxisTitle((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void setAxisTitle(int, const QwtText&)
        this->QwtPlot::setAxisTitle((int)x[1].s_int,*(const QwtText*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // QwtText axisTitle(int) const
        QwtText xret = ((const x_QwtPlot*)this)->QwtPlot::axisTitle((int)x[1].s_int);
        x[0].s_class = (void*)new QwtText(xret);
    }
    void x_58(Smoke::Stack x) {
        // void setAxisMaxMinor(int, int)
        this->QwtPlot::setAxisMaxMinor((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // int axisMaxMajor(int) const
        int xret = ((const x_QwtPlot*)this)->QwtPlot::axisMaxMajor((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_60(Smoke::Stack x) {
        // void setAxisMaxMajor(int, int)
        this->QwtPlot::setAxisMaxMajor((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // int axisMaxMinor(int) const
        int xret = ((const x_QwtPlot*)this)->QwtPlot::axisMaxMinor((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_62(Smoke::Stack x) {
        // void insertLegend(QwtLegend*, QwtPlot::LegendPosition, double)
        this->QwtPlot::insertLegend((QwtLegend*)x[1].s_class,(QwtPlot::LegendPosition)x[2].s_enum,(double)x[3].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // QwtLegend* legend()
        QwtLegend* xret = this->QwtPlot::legend();
        x[0].s_class = (void*)xret;
    }
    void x_64(Smoke::Stack x) {
        // const QwtLegend* legend() const
        const QwtLegend* xret = ((const x_QwtPlot*)this)->QwtPlot::legend();
        x[0].s_class = (void*)xret;
    }
    void x_65(Smoke::Stack x) {
        // virtual void polish()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::polish();
            (void)x; // noop (for compiler warning)
        } else {
            this->polish();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_66(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            QSize xret = ((const x_QwtPlot*)this)->QwtPlot::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtPlot*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_67(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            QSize xret = ((const x_QwtPlot*)this)->QwtPlot::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QwtPlot*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_68(Smoke::Stack x) {
        // virtual void updateLayout()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::updateLayout();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateLayout();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_69(Smoke::Stack x) {
        // virtual void drawCanvas(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::drawCanvas((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawCanvas((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_70(Smoke::Stack x) {
        // void updateAxes()
        this->QwtPlot::updateAxes();
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            bool xret = this->QwtPlot::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_72(Smoke::Stack x) {
        // void legendClicked(QwtPlotItem*)
        this->QwtPlot::legendClicked((QwtPlotItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_73(Smoke::Stack x) {
        // void legendChecked(QwtPlotItem*, bool)
        this->QwtPlot::legendChecked((QwtPlotItem*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // virtual void clear()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::clear();
            (void)x; // noop (for compiler warning)
        } else {
            this->clear();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_75(Smoke::Stack x) {
        // virtual void replot()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::replot();
            (void)x; // noop (for compiler warning)
        } else {
            this->replot();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_76(Smoke::Stack x) {
        // void autoRefresh()
        this->QwtPlot::autoRefresh();
        (void)x; // noop (for compiler warning)
    }
    void x_77(Smoke::Stack x) {
        // virtual void legendItemClicked()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::legendItemClicked();
            (void)x; // noop (for compiler warning)
        } else {
            this->legendItemClicked();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_78(Smoke::Stack x) {
        // virtual void legendItemChecked(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::legendItemChecked((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->legendItemChecked((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_79(Smoke::Stack x) {
        // static bool axisValid(int)
        bool xret = QwtPlot::axisValid((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_80(Smoke::Stack x) {
        // virtual void drawItems(QPainter*, const QRect&, const QwtScaleMap*, const QwtPlotPrintFilter&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            ((const x_QwtPlot*)this)->QwtPlot::drawItems((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(const QwtScaleMap*)x[3].s_class,*(const QwtPlotPrintFilter*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlot*)this)->drawItems((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(const QwtScaleMap*)x[3].s_class,*(const QwtPlotPrintFilter*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_81(Smoke::Stack x) {
        // virtual void updateTabOrder()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::updateTabOrder();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateTabOrder();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_82(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            this->QwtPlot::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_83(Smoke::Stack x) {
        // virtual void printLegendItem(QPainter*, const QWidget*, const QRect&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            ((const x_QwtPlot*)this)->QwtPlot::printLegendItem((QPainter*)x[1].s_class,(const QWidget*)x[2].s_class,*(const QRect*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlot*)this)->printLegendItem((QPainter*)x[1].s_class,(const QWidget*)x[2].s_class,*(const QRect*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_84(Smoke::Stack x) {
        // virtual void printTitle(QPainter*, const QRect&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            ((const x_QwtPlot*)this)->QwtPlot::printTitle((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlot*)this)->printTitle((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_85(Smoke::Stack x) {
        // virtual void printScale(QPainter*, int, int, int, int, const QRect&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            ((const x_QwtPlot*)this)->QwtPlot::printScale((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int,*(const QRect*)x[6].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlot*)this)->printScale((QPainter*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int,*(const QRect*)x[6].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_86(Smoke::Stack x) {
        // virtual void printCanvas(QPainter*, const QRect&, const QRect&, const QwtScaleMap*, const QwtPlotPrintFilter&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            ((const x_QwtPlot*)this)->QwtPlot::printCanvas((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,*(const QRect*)x[3].s_class,(const QwtScaleMap*)x[4].s_class,*(const QwtPlotPrintFilter*)x[5].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlot*)this)->printCanvas((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,*(const QRect*)x[3].s_class,(const QwtScaleMap*)x[4].s_class,*(const QwtPlotPrintFilter*)x[5].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_87(Smoke::Stack x) {
        // virtual void printLegend(QPainter*, const QRect&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlot*>(this))) {
            ((const x_QwtPlot*)this)->QwtPlot::printLegend((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlot*)this)->printLegend((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_88(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtPlot::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_89(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtPlot::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_90(Smoke::Stack x) {
        // QwtPlot* QwtPlot()
        x_QwtPlot* xret = new x_QwtPlot((QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    static void x_91(Smoke::Stack x) {
        // QwtPlot* QwtPlot(const QwtText&)
        x_QwtPlot* xret = new x_QwtPlot(*(const QwtText*)x[1].s_class,(QWidget*)NULL);
        x[0].s_class = (void*)xret;
    }
    void x_92(Smoke::Stack x) {
        // void setAutoReplot()
        this->QwtPlot::setAutoReplot((bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_93(Smoke::Stack x) {
        // void print(QPaintDevice&) const
        ((const x_QwtPlot*)this)->QwtPlot::print(*(QPaintDevice*)x[1].s_class,(const QwtPlotPrintFilter&)QwtPlotPrintFilter());
        (void)x; // noop (for compiler warning)
    }
    void x_94(Smoke::Stack x) {
        // void print(QPainter*, const QRect&) const
        ((const x_QwtPlot*)this)->QwtPlot::print((QPainter*)x[1].s_class,*(const QRect*)x[2].s_class,(const QwtPlotPrintFilter&)QwtPlotPrintFilter());
        (void)x; // noop (for compiler warning)
    }
    void x_95(Smoke::Stack x) {
        // void enableAxis(int)
        this->QwtPlot::enableAxis((int)x[1].s_int,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_96(Smoke::Stack x) {
        // void setAxisScale(int, double, double)
        this->QwtPlot::setAxisScale((int)x[1].s_int,(double)x[2].s_double,(double)x[3].s_double,(double)0);
        (void)x; // noop (for compiler warning)
    }
    void x_97(Smoke::Stack x) {
        // void insertLegend(QwtLegend*)
        this->QwtPlot::insertLegend((QwtLegend*)x[1].s_class,(QwtPlot::LegendPosition)QwtPlot::RightLegend,(double)-1.0);
        (void)x; // noop (for compiler warning)
    }
    void x_98(Smoke::Stack x) {
        // void insertLegend(QwtLegend*, QwtPlot::LegendPosition)
        this->QwtPlot::insertLegend((QwtLegend*)x[1].s_class,(QwtPlot::LegendPosition)x[2].s_enum,(double)-1.0);
        (void)x; // noop (for compiler warning)
    }
    static void x_99(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtPlot::staticMetaObject;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::yLeft;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::yRight;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::xBottom;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::xTop;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::axisCnt;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::LeftLegend;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::RightLegend;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::BottomLegend;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::TopLegend;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlot::ExternalLegend;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1067, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtPlot::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1068, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtPlot::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(1073, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtPlot::qt_metacall(x1, x2, x3);
    }
    virtual void print(QPainter* x1, const QRect& x2, const QwtPlotPrintFilter& x3) const {
        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(1081, (void*)this, x)) return;
        this->QwtPlot::print(x1, x2, x3);
    }
    virtual QwtScaleMap canvasMap(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1097, (void*)this, x)) {
            QwtScaleMap* xptr = (QwtScaleMap*)x[0].s_class;
            QwtScaleMap xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPlot::canvasMap(x1);
    }
    virtual void polish() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1131, (void*)this, x)) return;
        this->QwtPlot::polish();
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1132, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPlot::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1133, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPlot::minimumSizeHint();
    }
    virtual void updateLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1134, (void*)this, x)) return;
        this->QwtPlot::updateLayout();
    }
    virtual void drawCanvas(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1135, (void*)this, x)) return;
        this->QwtPlot::drawCanvas(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1137, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QwtPlot::event(x1);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1140, (void*)this, x)) return;
        this->QwtPlot::clear();
    }
    virtual void replot() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1141, (void*)this, x)) return;
        this->QwtPlot::replot();
    }
    virtual void legendItemClicked() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1143, (void*)this, x)) return;
        this->QwtPlot::legendItemClicked();
    }
    virtual void legendItemChecked(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1144, (void*)this, x)) return;
        this->QwtPlot::legendItemChecked(x1);
    }
    virtual void drawItems(QPainter* x1, const QRect& x2, const QwtScaleMap* x3, const QwtPlotPrintFilter& x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(1146, (void*)this, x)) return;
        this->QwtPlot::drawItems(x1, x2, x3, x4);
    }
    virtual void updateTabOrder() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1147, (void*)this, x)) return;
        this->QwtPlot::updateTabOrder();
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1148, (void*)this, x)) return;
        this->QwtPlot::resizeEvent(x1);
    }
    virtual void printLegendItem(QPainter* x1, const QWidget* x2, const QRect& x3) const {
        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(1149, (void*)this, x)) return;
        this->QwtPlot::printLegendItem(x1, x2, x3);
    }
    virtual void printTitle(QPainter* x1, const QRect& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1150, (void*)this, x)) return;
        this->QwtPlot::printTitle(x1, x2);
    }
    virtual void printScale(QPainter* x1, int x2, int x3, int x4, int x5, const QRect& x6) const {
        Smoke::StackItem x[7];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        x[4].s_int = x4;
        x[5].s_int = x5;
        x[6].s_class = (void*)&x6;
        if (this->_binding->callMethod(1151, (void*)this, x)) return;
        this->QwtPlot::printScale(x1, x2, x3, x4, x5, x6);
    }
    virtual void printCanvas(QPainter* x1, const QRect& x2, const QRect& x3, const QwtScaleMap* x4, const QwtPlotPrintFilter& x5) const {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)x4;
        x[5].s_class = (void*)&x5;
        if (this->_binding->callMethod(1152, (void*)this, x)) return;
        this->QwtPlot::printCanvas(x1, x2, x3, x4, x5);
    }
    virtual void printLegend(QPainter* x1, const QRect& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1153, (void*)this, x)) return;
        this->QwtPlot::printLegend(x1, x2);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(46, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(49, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(52, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(53, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(54, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(55, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(56, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(57, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(58, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(59, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(60, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(61, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(62, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(12, (void*)this, x)) return;
        this->QFrame::paintEvent(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(13, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(79, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(80, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(81, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(82, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(83, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(84, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(85, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(86, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(87, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(33, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(34, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(35, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(36, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(37, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(38, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(45, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(50, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(78, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 235: //QwtPlot::Axis
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPlot::Axis;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPlot::Axis*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPlot::Axis*)xdata = (QwtPlot::Axis)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPlot::Axis*)xdata;
                    break;
            }
            break;
        case 236: //QwtPlot::LegendPosition
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPlot::LegendPosition;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPlot::LegendPosition*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPlot::LegendPosition*)xdata = (QwtPlot::LegendPosition)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPlot::LegendPosition*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtPlot() { this->_binding->deleted(106, (void*)this); }
};
void xenum_QwtPlot(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtPlot::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtPlot(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPlot *xself = (x_QwtPlot*)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_QwtPlot::x_3(args);	break;
        case 4: x_QwtPlot::x_4(args);	break;
        case 5: x_QwtPlot::x_5(args);	break;
        case 6: x_QwtPlot::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtPlot::x_8(args);	break;
        case 9: x_QwtPlot::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: x_QwtPlot::x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: x_QwtPlot::x_88(args);	break;
        case 89: x_QwtPlot::x_89(args);	break;
        case 90: x_QwtPlot::x_90(args);	break;
        case 91: x_QwtPlot::x_91(args);	break;
        case 92: xself->x_92(args);	break;
        case 93: xself->x_93(args);	break;
        case 94: xself->x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: xself->x_96(args);	break;
        case 97: xself->x_97(args);	break;
        case 98: xself->x_98(args);	break;
        case 99: x_QwtPlot::x_99(args);	break;
        case 100: x_QwtPlot::x_100(args);	break;
        case 101: x_QwtPlot::x_101(args);	break;
        case 102: x_QwtPlot::x_102(args);	break;
        case 103: x_QwtPlot::x_103(args);	break;
        case 104: x_QwtPlot::x_104(args);	break;
        case 105: x_QwtPlot::x_105(args);	break;
        case 106: x_QwtPlot::x_106(args);	break;
        case 107: x_QwtPlot::x_107(args);	break;
        case 108: x_QwtPlot::x_108(args);	break;
        case 109: x_QwtPlot::x_109(args);	break;
        case 110: delete (QwtPlot*)xself;	break;
    }
}
class x_QwtPlotCanvas : public QwtPlotCanvas, 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<QwtPlotCanvas*>(this))) {
            const QMetaObject* xret = ((const x_QwtPlotCanvas*)this)->QwtPlotCanvas::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QwtPlotCanvas*)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<QwtPlotCanvas*>(this))) {
            void* xret = this->QwtPlotCanvas::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 = QwtPlotCanvas::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 = QwtPlotCanvas::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 = QwtPlotCanvas::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 = QwtPlotCanvas::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<QwtPlotCanvas*>(this))) {
            int xret = this->QwtPlotCanvas::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) {
        // QwtPlotCanvas* QwtPlotCanvas(QwtPlot*)
        x_QwtPlotCanvas* xret = new x_QwtPlotCanvas((QwtPlot*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPlotCanvas(QwtPlot* x1) : QwtPlotCanvas(x1) {}
    void x_9(Smoke::Stack x) {
        // QwtPlot* plot()
        QwtPlot* xret = this->QwtPlotCanvas::plot();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // const QwtPlot* plot() const
        const QwtPlot* xret = ((const x_QwtPlotCanvas*)this)->QwtPlotCanvas::plot();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setFocusIndicator(QwtPlotCanvas::FocusIndicator)
        this->QwtPlotCanvas::setFocusIndicator((QwtPlotCanvas::FocusIndicator)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QwtPlotCanvas::FocusIndicator focusIndicator() const
        QwtPlotCanvas::FocusIndicator xret = ((const x_QwtPlotCanvas*)this)->QwtPlotCanvas::focusIndicator();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setPaintAttribute(QwtPlotCanvas::PaintAttribute, bool)
        this->QwtPlotCanvas::setPaintAttribute((QwtPlotCanvas::PaintAttribute)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool testPaintAttribute(QwtPlotCanvas::PaintAttribute) const
        bool xret = ((const x_QwtPlotCanvas*)this)->QwtPlotCanvas::testPaintAttribute((QwtPlotCanvas::PaintAttribute)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // QPixmap* paintCache()
        QPixmap* xret = this->QwtPlotCanvas::paintCache();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // const QPixmap* paintCache() const
        const QPixmap* xret = ((const x_QwtPlotCanvas*)this)->QwtPlotCanvas::paintCache();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // void invalidatePaintCache()
        this->QwtPlotCanvas::invalidatePaintCache();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void replot()
        this->QwtPlotCanvas::replot();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // virtual void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCanvas*>(this))) {
            this->QwtPlotCanvas::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCanvas*>(this))) {
            this->QwtPlotCanvas::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual void drawContents(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCanvas*>(this))) {
            this->QwtPlotCanvas::drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual void drawFocusIndicator(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCanvas*>(this))) {
            this->QwtPlotCanvas::drawFocusIndicator((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawFocusIndicator((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // void drawCanvas(QPainter*)
        this->QwtPlotCanvas::drawCanvas((QPainter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_24(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QwtPlotCanvas::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QwtPlotCanvas::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_26(Smoke::Stack x) {
        // void setPaintAttribute(QwtPlotCanvas::PaintAttribute)
        this->QwtPlotCanvas::setPaintAttribute((QwtPlotCanvas::PaintAttribute)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void drawCanvas()
        this->QwtPlotCanvas::drawCanvas((QPainter*)NULL);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QwtPlotCanvas::staticMetaObject;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCanvas::PaintCached;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCanvas::PaintPacked;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCanvas::NoFocusIndicator;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCanvas::CanvasFocusIndicator;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCanvas::ItemFocusIndicator;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1177, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QwtPlotCanvas::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1178, (void*)this, x)) return (void*)x[0].s_class;
        return this->QwtPlotCanvas::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(1183, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtPlotCanvas::qt_metacall(x1, x2, x3);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1195, (void*)this, x)) return;
        this->QwtPlotCanvas::hideEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1196, (void*)this, x)) return;
        this->QwtPlotCanvas::paintEvent(x1);
    }
    virtual void drawContents(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1197, (void*)this, x)) return;
        this->QwtPlotCanvas::drawContents(x1);
    }
    virtual void drawFocusIndicator(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1198, (void*)this, x)) return;
        this->QwtPlotCanvas::drawFocusIndicator(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(46, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(10, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFrame::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(48, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(49, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(52, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(53, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(54, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(55, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(56, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(57, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(58, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(59, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(60, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(61, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(62, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(64, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(65, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(66, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(67, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(68, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(69, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(70, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(71, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(72, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(73, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(74, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(76, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(79, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(80, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(81, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(82, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(83, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(84, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(85, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(86, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(87, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(11, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFrame::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(33, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(34, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(35, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(36, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(37, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(38, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(45, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(50, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(78, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 239: //QwtPlotCanvas::PaintAttribute
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPlotCanvas::PaintAttribute;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPlotCanvas::PaintAttribute*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPlotCanvas::PaintAttribute*)xdata = (QwtPlotCanvas::PaintAttribute)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPlotCanvas::PaintAttribute*)xdata;
                    break;
            }
            break;
        case 238: //QwtPlotCanvas::FocusIndicator
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPlotCanvas::FocusIndicator;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPlotCanvas::FocusIndicator*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPlotCanvas::FocusIndicator*)xdata = (QwtPlotCanvas::FocusIndicator)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPlotCanvas::FocusIndicator*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtPlotCanvas() { this->_binding->deleted(107, (void*)this); }
};
void xenum_QwtPlotCanvas(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtPlotCanvas::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtPlotCanvas(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPlotCanvas *xself = (x_QwtPlotCanvas*)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_QwtPlotCanvas::x_3(args);	break;
        case 4: x_QwtPlotCanvas::x_4(args);	break;
        case 5: x_QwtPlotCanvas::x_5(args);	break;
        case 6: x_QwtPlotCanvas::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QwtPlotCanvas::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_QwtPlotCanvas::x_24(args);	break;
        case 25: x_QwtPlotCanvas::x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: x_QwtPlotCanvas::x_28(args);	break;
        case 29: x_QwtPlotCanvas::x_29(args);	break;
        case 30: x_QwtPlotCanvas::x_30(args);	break;
        case 31: x_QwtPlotCanvas::x_31(args);	break;
        case 32: x_QwtPlotCanvas::x_32(args);	break;
        case 33: x_QwtPlotCanvas::x_33(args);	break;
        case 34: delete (QwtPlotCanvas*)xself;	break;
    }
}
class x_QwtPlotCurve : public QwtPlotCurve, 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) {
        // QwtPlotCurve* QwtPlotCurve()
        x_QwtPlotCurve* xret = new x_QwtPlotCurve();
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPlotCurve() : QwtPlotCurve() {}
    static void x_2(Smoke::Stack x) {
        // QwtPlotCurve* QwtPlotCurve(const QwtText&)
        x_QwtPlotCurve* xret = new x_QwtPlotCurve(*(const QwtText*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPlotCurve(const QwtText& x1) : QwtPlotCurve(x1) {}
    static void x_3(Smoke::Stack x) {
        // QwtPlotCurve* QwtPlotCurve(const QString&)
        x_QwtPlotCurve* xret = new x_QwtPlotCurve(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QwtPlotCurve(const QString& x1) : QwtPlotCurve(x1) {}
    void x_4(Smoke::Stack x) {
        // virtual int rtti() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCurve*>(this))) {
            int xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::rtti();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QwtPlotCurve*)this)->rtti();
            x[0].s_int = xret;
        }
    }
    void x_5(Smoke::Stack x) {
        // void setCurveType(QwtPlotCurve::CurveType)
        this->QwtPlotCurve::setCurveType((QwtPlotCurve::CurveType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // QwtPlotCurve::CurveType curveType() const
        QwtPlotCurve::CurveType xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::curveType();
        x[0].s_enum = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setPaintAttribute(QwtPlotCurve::PaintAttribute, bool)
        this->QwtPlotCurve::setPaintAttribute((QwtPlotCurve::PaintAttribute)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // bool testPaintAttribute(QwtPlotCurve::PaintAttribute) const
        bool xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::testPaintAttribute((QwtPlotCurve::PaintAttribute)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setRawData(const double*, const double*, int)
        this->QwtPlotCurve::setRawData((const double*)x[1].s_class,(const double*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void setData(const double*, const double*, int)
        this->QwtPlotCurve::setData((const double*)x[1].s_class,(const double*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setData(const QVector<double>&, const QVector<double>&)
        this->QwtPlotCurve::setData(*(const QVector<double>*)x[1].s_class,*(const QVector<double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setData(const QPolygonF&)
        this->QwtPlotCurve::setData(*(const QPolygonF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setData(const QwtData&)
        this->QwtPlotCurve::setData(*(const QwtData*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int closestPoint(const QPoint&, double*) const
        int xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::closestPoint(*(const QPoint*)x[1].s_class,(double*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // QwtData& data()
        QwtData& xret = this->QwtPlotCurve::data();
        x[0].s_class = (void*)&xret;
    }
    void x_16(Smoke::Stack x) {
        // const QwtData& data() const
        const QwtData& xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::data();
        x[0].s_class = (void*)&xret;
    }
    void x_17(Smoke::Stack x) {
        // int dataSize() const
        int xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::dataSize();
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // double x(int) const
        double xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::x((int)x[1].s_int);
        x[0].s_double = xret;
    }
    void x_19(Smoke::Stack x) {
        // double y(int) const
        double xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::y((int)x[1].s_int);
        x[0].s_double = xret;
    }
    void x_20(Smoke::Stack x) {
        // virtual QRectF boundingRect() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCurve*>(this))) {
            QRectF xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::boundingRect();
            x[0].s_class = (void*)new QRectF(xret);
        } else {
            QRectF xret = ((const x_QwtPlotCurve*)this)->boundingRect();
            x[0].s_class = (void*)new QRectF(xret);
        }
    }
    void x_21(Smoke::Stack x) {
        // double minXValue() const
        double xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::minXValue();
        x[0].s_double = xret;
    }
    void x_22(Smoke::Stack x) {
        // double maxXValue() const
        double xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::maxXValue();
        x[0].s_double = xret;
    }
    void x_23(Smoke::Stack x) {
        // double minYValue() const
        double xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::minYValue();
        x[0].s_double = xret;
    }
    void x_24(Smoke::Stack x) {
        // double maxYValue() const
        double xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::maxYValue();
        x[0].s_double = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)
        this->QwtPlotCurve::setCurveAttribute((QwtPlotCurve::CurveAttribute)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // bool testCurveAttribute(QwtPlotCurve::CurveAttribute) const
        bool xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::testCurveAttribute((QwtPlotCurve::CurveAttribute)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setPen(const QPen&)
        this->QwtPlotCurve::setPen(*(const QPen*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // const QPen& pen() const
        const QPen& xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::pen();
        x[0].s_class = (void*)&xret;
    }
    void x_29(Smoke::Stack x) {
        // void setBrush(const QBrush&)
        this->QwtPlotCurve::setBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // const QBrush& brush() const
        const QBrush& xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::brush();
        x[0].s_class = (void*)&xret;
    }
    void x_31(Smoke::Stack x) {
        // void setBaseline(double)
        this->QwtPlotCurve::setBaseline((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // double baseline() const
        double xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::baseline();
        x[0].s_double = xret;
    }
    void x_33(Smoke::Stack x) {
        // void setStyle(QwtPlotCurve::CurveStyle)
        this->QwtPlotCurve::setStyle((QwtPlotCurve::CurveStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // QwtPlotCurve::CurveStyle style() const
        QwtPlotCurve::CurveStyle xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::style();
        x[0].s_enum = xret;
    }
    void x_35(Smoke::Stack x) {
        // void setSymbol(const QwtSymbol&)
        this->QwtPlotCurve::setSymbol(*(const QwtSymbol*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // const QwtSymbol& symbol() const
        const QwtSymbol& xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::symbol();
        x[0].s_class = (void*)&xret;
    }
    void x_37(Smoke::Stack x) {
        // void setCurveFitter(QwtCurveFitter*)
        this->QwtPlotCurve::setCurveFitter((QwtCurveFitter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // QwtCurveFitter* curveFitter() const
        QwtCurveFitter* xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::curveFitter();
        x[0].s_class = (void*)xret;
    }
    void x_39(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QwtScaleMap&, const QwtScaleMap&, const QRect&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCurve*>(this))) {
            ((const x_QwtPlotCurve*)this)->QwtPlotCurve::draw((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,*(const QRect*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlotCurve*)this)->draw((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,*(const QRect*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_40(Smoke::Stack x) {
        // virtual void draw(QPainter*, const QwtScaleMap&, const QwtScaleMap&, int, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCurve*>(this))) {
            ((const x_QwtPlotCurve*)this)->QwtPlotCurve::draw((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlotCurve*)this)->draw((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_41(Smoke::Stack x) {
        // void draw(int, int) const
        ((const x_QwtPlotCurve*)this)->QwtPlotCurve::draw((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // virtual void updateLegend(QwtLegend*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCurve*>(this))) {
            ((const x_QwtPlotCurve*)this)->QwtPlotCurve::updateLegend((QwtLegend*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlotCurve*)this)->updateLegend((QwtLegend*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // void init()
        this->QwtPlotCurve::init();
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // virtual void drawCurve(QPainter*, int, const QwtScaleMap&, const QwtScaleMap&, int, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCurve*>(this))) {
            ((const x_QwtPlotCurve*)this)->QwtPlotCurve::drawCurve((QPainter*)x[1].s_class,(int)x[2].s_int,*(const QwtScaleMap*)x[3].s_class,*(const QwtScaleMap*)x[4].s_class,(int)x[5].s_int,(int)x[6].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlotCurve*)this)->drawCurve((QPainter*)x[1].s_class,(int)x[2].s_int,*(const QwtScaleMap*)x[3].s_class,*(const QwtScaleMap*)x[4].s_class,(int)x[5].s_int,(int)x[6].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // virtual void drawSymbols(QPainter*, const QwtSymbol&, const QwtScaleMap&, const QwtScaleMap&, int, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QwtPlotCurve*>(this))) {
            ((const x_QwtPlotCurve*)this)->QwtPlotCurve::drawSymbols((QPainter*)x[1].s_class,*(const QwtSymbol*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,*(const QwtScaleMap*)x[4].s_class,(int)x[5].s_int,(int)x[6].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QwtPlotCurve*)this)->drawSymbols((QPainter*)x[1].s_class,*(const QwtSymbol*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,*(const QwtScaleMap*)x[4].s_class,(int)x[5].s_int,(int)x[6].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // void drawLines(QPainter*, const QwtScaleMap&, const QwtScaleMap&, int, int) const
        ((const x_QwtPlotCurve*)this)->QwtPlotCurve::drawLines((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void drawSticks(QPainter*, const QwtScaleMap&, const QwtScaleMap&, int, int) const
        ((const x_QwtPlotCurve*)this)->QwtPlotCurve::drawSticks((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void drawDots(QPainter*, const QwtScaleMap&, const QwtScaleMap&, int, int) const
        ((const x_QwtPlotCurve*)this)->QwtPlotCurve::drawDots((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void drawSteps(QPainter*, const QwtScaleMap&, const QwtScaleMap&, int, int) const
        ((const x_QwtPlotCurve*)this)->QwtPlotCurve::drawSteps((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void fillCurve(QPainter*, const QwtScaleMap&, const QwtScaleMap&, QPolygon&) const
        ((const x_QwtPlotCurve*)this)->QwtPlotCurve::fillCurve((QPainter*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(const QwtScaleMap*)x[3].s_class,*(QPolygon*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void closePolyline(const QwtScaleMap&, const QwtScaleMap&, QPolygon&) const
        ((const x_QwtPlotCurve*)this)->QwtPlotCurve::closePolyline(*(const QwtScaleMap*)x[1].s_class,*(const QwtScaleMap*)x[2].s_class,*(QPolygon*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void setPaintAttribute(QwtPlotCurve::PaintAttribute)
        this->QwtPlotCurve::setPaintAttribute((QwtPlotCurve::PaintAttribute)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // int closestPoint(const QPoint&) const
        int xret = ((const x_QwtPlotCurve*)this)->QwtPlotCurve::closestPoint(*(const QPoint*)x[1].s_class,(double*)NULL);
        x[0].s_int = xret;
    }
    void x_54(Smoke::Stack x) {
        // void setCurveAttribute(QwtPlotCurve::CurveAttribute)
        this->QwtPlotCurve::setCurveAttribute((QwtPlotCurve::CurveAttribute)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::Yfx;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::Xfy;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::NoCurve;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::Lines;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::Sticks;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::Steps;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::Dots;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::UserCurve;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::Inverted;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::Fitted;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::PaintFiltered;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QwtPlotCurve::ClipPolygons;
    }
    virtual int rtti() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1214, (void*)this, x)) return (int)x[0].s_int;
        return this->QwtPlotCurve::rtti();
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1230, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QwtPlotCurve::boundingRect();
    }
    virtual void draw(QPainter* x1, const QwtScaleMap& x2, const QwtScaleMap& x3, const QRect& x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(1249, (void*)this, x)) return;
        this->QwtPlotCurve::draw(x1, x2, x3, x4);
    }
    virtual void draw(QPainter* x1, const QwtScaleMap& x2, const QwtScaleMap& x3, int x4, int x5) const {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        x[5].s_int = x5;
        if (this->_binding->callMethod(1250, (void*)this, x)) return;
        this->QwtPlotCurve::draw(x1, x2, x3, x4, x5);
    }
    virtual void updateLegend(QwtLegend* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1252, (void*)this, x)) return;
        this->QwtPlotCurve::updateLegend(x1);
    }
    virtual void drawCurve(QPainter* x1, int x2, const QwtScaleMap& x3, const QwtScaleMap& x4, int x5, int x6) const {
        Smoke::StackItem x[7];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        x[5].s_int = x5;
        x[6].s_int = x6;
        if (this->_binding->callMethod(1254, (void*)this, x)) return;
        this->QwtPlotCurve::drawCurve(x1, x2, x3, x4, x5, x6);
    }
    virtual void drawSymbols(QPainter* x1, const QwtSymbol& x2, const QwtScaleMap& x3, const QwtScaleMap& x4, int x5, int x6) const {
        Smoke::StackItem x[7];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        x[5].s_int = x5;
        x[6].s_int = x6;
        if (this->_binding->callMethod(1255, (void*)this, x)) return;
        this->QwtPlotCurve::drawSymbols(x1, x2, x3, x4, x5, x6);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1325, (void*)this, x)) return;
        this->QwtPlotItem::setVisible(x1);
    }
    virtual void itemChanged() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1332, (void*)this, x)) return;
        this->QwtPlotItem::itemChanged();
    }
    virtual void updateScaleDiv(const QwtScaleDiv& x1, const QwtScaleDiv& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1336, (void*)this, x)) return;
        this->QwtPlotItem::updateScaleDiv(x1, x2);
    }
    virtual QWidget* legendItem() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1337, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->QwtPlotItem::legendItem();
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 243: //QwtPlotCurve::CurveType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPlotCurve::CurveType;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPlotCurve::CurveType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPlotCurve::CurveType*)xdata = (QwtPlotCurve::CurveType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPlotCurve::CurveType*)xdata;
                    break;
            }
            break;
        case 242: //QwtPlotCurve::CurveStyle
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPlotCurve::CurveStyle;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPlotCurve::CurveStyle*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPlotCurve::CurveStyle*)xdata = (QwtPlotCurve::CurveStyle)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPlotCurve::CurveStyle*)xdata;
                    break;
            }
            break;
        case 241: //QwtPlotCurve::CurveAttribute
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPlotCurve::CurveAttribute;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPlotCurve::CurveAttribute*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPlotCurve::CurveAttribute*)xdata = (QwtPlotCurve::CurveAttribute)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPlotCurve::CurveAttribute*)xdata;
                    break;
            }
            break;
        case 244: //QwtPlotCurve::PaintAttribute
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QwtPlotCurve::PaintAttribute;
                    break;
                case Smoke::EnumDelete:
                    delete (QwtPlotCurve::PaintAttribute*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QwtPlotCurve::PaintAttribute*)xdata = (QwtPlotCurve::PaintAttribute)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QwtPlotCurve::PaintAttribute*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QwtPlotCurve() { this->_binding->deleted(108, (void*)this); }
};
void xenum_QwtPlotCurve(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QwtPlotCurve::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QwtPlotCurve(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QwtPlotCurve *xself = (x_QwtPlotCurve*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QwtPlotCurve::x_1(args);	break;
        case 2: x_QwtPlotCurve::x_2(args);	break;
        case 3: x_QwtPlotCurve::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: x_QwtPlotCurve::x_55(args);	break;
        case 56: x_QwtPlotCurve::x_56(args);	break;
        case 57: x_QwtPlotCurve::x_57(args);	break;
        case 58: x_QwtPlotCurve::x_58(args);	break;
        case 59: x_QwtPlotCurve::x_59(args);	break;
        case 60: x_QwtPlotCurve::x_60(args);	break;
        case 61: x_QwtPlotCurve::x_61(args);	break;
        case 62: x_QwtPlotCurve::x_62(args);	break;
        case 63: x_QwtPlotCurve::x_63(args);	break;
        case 64: x_QwtPlotCurve::x_64(args);	break;
        case 65: x_QwtPlotCurve::x_65(args);	break;
        case 66: x_QwtPlotCurve::x_66(args);	break;
        case 67: delete (QwtPlotCurve*)xself;	break;
    }
}

}
