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

#include <smoke.h>
#include <kdeui_smoke.h>

class __internal_SmokeClass {};

namespace __smokekdeui {

class x_KPixmapSequenceWidget : public KPixmapSequenceWidget, 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<KPixmapSequenceWidget*>(this))) {
            const QMetaObject* xret = ((const x_KPixmapSequenceWidget*)this)->KPixmapSequenceWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPixmapSequenceWidget*)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<KPixmapSequenceWidget*>(this))) {
            void* xret = this->KPixmapSequenceWidget::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 = KPixmapSequenceWidget::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 = KPixmapSequenceWidget::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 = KPixmapSequenceWidget::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 = KPixmapSequenceWidget::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<KPixmapSequenceWidget*>(this))) {
            int xret = this->KPixmapSequenceWidget::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) {
        // KPixmapSequenceWidget* KPixmapSequenceWidget(QWidget*)
        x_KPixmapSequenceWidget* xret = new x_KPixmapSequenceWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPixmapSequenceWidget(QWidget* x1) : KPixmapSequenceWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // KPixmapSequence sequence() const
        KPixmapSequence xret = ((const x_KPixmapSequenceWidget*)this)->KPixmapSequenceWidget::sequence();
        x[0].s_class = (void*)new KPixmapSequence(xret);
    }
    void x_10(Smoke::Stack x) {
        // int interval() const
        int xret = ((const x_KPixmapSequenceWidget*)this)->KPixmapSequenceWidget::interval();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPixmapSequenceWidget*>(this))) {
            QSize xret = ((const x_KPixmapSequenceWidget*)this)->KPixmapSequenceWidget::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KPixmapSequenceWidget*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_12(Smoke::Stack x) {
        // void setSequence(const KPixmapSequence&)
        this->KPixmapSequenceWidget::setSequence(*(const KPixmapSequence*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setInterval(int)
        this->KPixmapSequenceWidget::setInterval((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPixmapSequenceWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KPixmapSequenceWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // KPixmapSequenceWidget* KPixmapSequenceWidget()
        x_KPixmapSequenceWidget* xret = new x_KPixmapSequenceWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPixmapSequenceWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4066, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPixmapSequenceWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4067, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPixmapSequenceWidget::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(4072, (void*)this, x)) return (int)x[0].s_int;
        return this->KPixmapSequenceWidget::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4076, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KPixmapSequenceWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7792, (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(7793, (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(7796, (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(7797, (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(7798, (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(7799, (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(7800, (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(7801, (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(7802, (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(7803, (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(7804, (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(7805, (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(7806, (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(7807, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (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(7809, (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(7810, (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(7811, (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(7812, (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(7813, (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(7814, (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(7815, (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(7816, (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(7817, (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(7818, (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(7819, (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(7820, (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(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (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(7824, (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(7825, (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(7826, (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(7827, (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(7828, (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(7829, (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(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (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(7795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (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(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (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(7794, (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(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KPixmapSequenceWidget() { this->_binding->deleted(149, (void*)this); }
};
void xcall_KPixmapSequenceWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPixmapSequenceWidget *xself = (x_KPixmapSequenceWidget*)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_KPixmapSequenceWidget::x_3(args);	break;
        case 4: x_KPixmapSequenceWidget::x_4(args);	break;
        case 5: x_KPixmapSequenceWidget::x_5(args);	break;
        case 6: x_KPixmapSequenceWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KPixmapSequenceWidget::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: x_KPixmapSequenceWidget::x_14(args);	break;
        case 15: x_KPixmapSequenceWidget::x_15(args);	break;
        case 16: x_KPixmapSequenceWidget::x_16(args);	break;
        case 17: x_KPixmapSequenceWidget::x_17(args);	break;
        case 18: delete (KPixmapSequenceWidget*)xself;	break;
    }
}
class x_KPlotAxis : public KPlotAxis {
    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) {
        // KPlotAxis* KPlotAxis(const QString&)
        x_KPlotAxis* xret = new x_KPlotAxis(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPlotAxis(const QString& x1) : KPlotAxis(x1) {}
    void x_2(Smoke::Stack x) {
        // bool isVisible() const
        bool xret = ((const x_KPlotAxis*)this)->KPlotAxis::isVisible();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // void setVisible(bool)
        this->KPlotAxis::setVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // bool areTickLabelsShown() const
        bool xret = ((const x_KPlotAxis*)this)->KPlotAxis::areTickLabelsShown();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // void setTickLabelsShown(bool)
        this->KPlotAxis::setTickLabelsShown((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // void setLabel(const QString&)
        this->KPlotAxis::setLabel(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // QString label() const
        QString xret = ((const x_KPlotAxis*)this)->KPlotAxis::label();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // QString tickLabel(double) const
        QString xret = ((const x_KPlotAxis*)this)->KPlotAxis::tickLabel((double)x[1].s_double);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // void setTickLabelFormat(char, int, int)
        this->KPlotAxis::setTickLabelFormat((char)x[1].s_char,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // int tickLabelWidth() const
        int xret = ((const x_KPlotAxis*)this)->KPlotAxis::tickLabelWidth();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // char tickLabelFormat() const
        char xret = ((const x_KPlotAxis*)this)->KPlotAxis::tickLabelFormat();
        x[0].s_char = xret;
    }
    void x_12(Smoke::Stack x) {
        // int tickLabelPrecision() const
        int xret = ((const x_KPlotAxis*)this)->KPlotAxis::tickLabelPrecision();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setTickMarks(double, double)
        this->KPlotAxis::setTickMarks((double)x[1].s_double,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QList<double> majorTickMarks() const
        QList<double> xret = ((const x_KPlotAxis*)this)->KPlotAxis::majorTickMarks();
        x[0].s_class = (void*)new QList<double>(xret);
    }
    void x_15(Smoke::Stack x) {
        // QList<double> minorTickMarks() const
        QList<double> xret = ((const x_KPlotAxis*)this)->KPlotAxis::minorTickMarks();
        x[0].s_class = (void*)new QList<double>(xret);
    }
    static void x_16(Smoke::Stack x) {
        // KPlotAxis* KPlotAxis()
        x_KPlotAxis* xret = new x_KPlotAxis((const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // void setTickLabelFormat()
        this->KPlotAxis::setTickLabelFormat((char)'g',(int)0,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setTickLabelFormat(char)
        this->KPlotAxis::setTickLabelFormat((char)x[1].s_char,(int)0,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setTickLabelFormat(char, int)
        this->KPlotAxis::setTickLabelFormat((char)x[1].s_char,(int)x[2].s_int,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    ~x_KPlotAxis() { this->_binding->deleted(150, (void*)this); }
};
void xcall_KPlotAxis(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPlotAxis *xself = (x_KPlotAxis*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KPlotAxis::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_KPlotAxis::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: delete (KPlotAxis*)xself;	break;
    }
}
class x_KPlotObject : public KPlotObject {
    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) {
        // KPlotObject* KPlotObject(const QColor&, KPlotObject::PlotType, double, KPlotObject::PointStyle)
        x_KPlotObject* xret = new x_KPlotObject(*(const QColor*)x[1].s_class,(KPlotObject::PlotType)x[2].s_enum,(double)x[3].s_double,(KPlotObject::PointStyle)x[4].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPlotObject(const QColor& x1, KPlotObject::PlotType x2, double x3, KPlotObject::PointStyle x4) : KPlotObject(x1, x2, x3, x4) {}
    void x_2(Smoke::Stack x) {
        // QFlags<KPlotObject::PlotType> plotTypes() const
        QFlags<KPlotObject::PlotType> xret = ((const x_KPlotObject*)this)->KPlotObject::plotTypes();
        x[0].s_uint = (uint)xret;
    }
    void x_3(Smoke::Stack x) {
        // void setShowPoints(bool)
        this->KPlotObject::setShowPoints((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // void setShowLines(bool)
        this->KPlotObject::setShowLines((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // void setShowBars(bool)
        this->KPlotObject::setShowBars((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // double size() const
        double xret = ((const x_KPlotObject*)this)->KPlotObject::size();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setSize(double)
        this->KPlotObject::setSize((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // KPlotObject::PointStyle pointStyle() const
        KPlotObject::PointStyle xret = ((const x_KPlotObject*)this)->KPlotObject::pointStyle();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setPointStyle(KPlotObject::PointStyle)
        this->KPlotObject::setPointStyle((KPlotObject::PointStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // const QPen& pen() const
        const QPen& xret = ((const x_KPlotObject*)this)->KPlotObject::pen();
        x[0].s_class = (void*)&xret;
    }
    void x_11(Smoke::Stack x) {
        // void setPen(const QPen&)
        this->KPlotObject::setPen(*(const QPen*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // const QPen& linePen() const
        const QPen& xret = ((const x_KPlotObject*)this)->KPlotObject::linePen();
        x[0].s_class = (void*)&xret;
    }
    void x_13(Smoke::Stack x) {
        // void setLinePen(const QPen&)
        this->KPlotObject::setLinePen(*(const QPen*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // const QPen& barPen() const
        const QPen& xret = ((const x_KPlotObject*)this)->KPlotObject::barPen();
        x[0].s_class = (void*)&xret;
    }
    void x_15(Smoke::Stack x) {
        // void setBarPen(const QPen&)
        this->KPlotObject::setBarPen(*(const QPen*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // const QPen& labelPen() const
        const QPen& xret = ((const x_KPlotObject*)this)->KPlotObject::labelPen();
        x[0].s_class = (void*)&xret;
    }
    void x_17(Smoke::Stack x) {
        // void setLabelPen(const QPen&)
        this->KPlotObject::setLabelPen(*(const QPen*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // const QBrush brush() const
        const QBrush xret = ((const x_KPlotObject*)this)->KPlotObject::brush();
        x[0].s_class = (void*)new const QBrush(xret);
    }
    void x_19(Smoke::Stack x) {
        // void setBrush(const QBrush&)
        this->KPlotObject::setBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // const QBrush barBrush() const
        const QBrush xret = ((const x_KPlotObject*)this)->KPlotObject::barBrush();
        x[0].s_class = (void*)new const QBrush(xret);
    }
    void x_21(Smoke::Stack x) {
        // void setBarBrush(const QBrush&)
        this->KPlotObject::setBarBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QList<KPlotPoint*> points() const
        QList<KPlotPoint*> xret = ((const x_KPlotObject*)this)->KPlotObject::points();
        x[0].s_class = (void*)new QList<KPlotPoint*>(xret);
    }
    void x_23(Smoke::Stack x) {
        // void addPoint(const QPointF&, const QString&, double)
        this->KPlotObject::addPoint(*(const QPointF*)x[1].s_class,*(const QString*)x[2].s_class,(double)x[3].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void addPoint(KPlotPoint*)
        this->KPlotObject::addPoint((KPlotPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void addPoint(double, double, const QString&, double)
        this->KPlotObject::addPoint((double)x[1].s_double,(double)x[2].s_double,*(const QString*)x[3].s_class,(double)x[4].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void removePoint(int)
        this->KPlotObject::removePoint((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void clearPoints()
        this->KPlotObject::clearPoints();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void draw(QPainter*, KPlotWidget*)
        this->KPlotObject::draw((QPainter*)x[1].s_class,(KPlotWidget*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_29(Smoke::Stack x) {
        // KPlotObject* KPlotObject()
        x_KPlotObject* xret = new x_KPlotObject((const QColor&)Qt::white,(KPlotObject::PlotType)KPlotObject::Points,(double)2,(KPlotObject::PointStyle)KPlotObject::Circle);
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // KPlotObject* KPlotObject(const QColor&)
        x_KPlotObject* xret = new x_KPlotObject(*(const QColor*)x[1].s_class,(KPlotObject::PlotType)KPlotObject::Points,(double)2,(KPlotObject::PointStyle)KPlotObject::Circle);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // KPlotObject* KPlotObject(const QColor&, KPlotObject::PlotType)
        x_KPlotObject* xret = new x_KPlotObject(*(const QColor*)x[1].s_class,(KPlotObject::PlotType)x[2].s_enum,(double)2,(KPlotObject::PointStyle)KPlotObject::Circle);
        x[0].s_class = (void*)xret;
    }
    static void x_32(Smoke::Stack x) {
        // KPlotObject* KPlotObject(const QColor&, KPlotObject::PlotType, double)
        x_KPlotObject* xret = new x_KPlotObject(*(const QColor*)x[1].s_class,(KPlotObject::PlotType)x[2].s_enum,(double)x[3].s_double,(KPlotObject::PointStyle)KPlotObject::Circle);
        x[0].s_class = (void*)xret;
    }
    void x_33(Smoke::Stack x) {
        // void addPoint(const QPointF&)
        this->KPlotObject::addPoint(*(const QPointF*)x[1].s_class,(const QString&)QString(),(double)0.0);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void addPoint(const QPointF&, const QString&)
        this->KPlotObject::addPoint(*(const QPointF*)x[1].s_class,*(const QString*)x[2].s_class,(double)0.0);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void addPoint(double, double)
        this->KPlotObject::addPoint((double)x[1].s_double,(double)x[2].s_double,(const QString&)QString(),(double)0.0);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void addPoint(double, double, const QString&)
        this->KPlotObject::addPoint((double)x[1].s_double,(double)x[2].s_double,*(const QString*)x[3].s_class,(double)0.0);
        (void)x; // noop (for compiler warning)
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::UnknownType;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Points;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Lines;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Bars;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::NoPoints;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Circle;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Letter;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Triangle;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Square;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Pentagon;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Hexagon;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Asterisk;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::Star;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotObject::UnknwonPoint;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 236: //KPlotObject::PlotType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KPlotObject::PlotType;
                    break;
                case Smoke::EnumDelete:
                    delete (KPlotObject::PlotType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KPlotObject::PlotType*)xdata = (KPlotObject::PlotType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KPlotObject::PlotType*)xdata;
                    break;
            }
            break;
        case 237: //KPlotObject::PointStyle
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KPlotObject::PointStyle;
                    break;
                case Smoke::EnumDelete:
                    delete (KPlotObject::PointStyle*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KPlotObject::PointStyle*)xdata = (KPlotObject::PointStyle)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KPlotObject::PointStyle*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KPlotObject() { this->_binding->deleted(151, (void*)this); }
};
void xenum_KPlotObject(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KPlotObject::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KPlotObject(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPlotObject *xself = (x_KPlotObject*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KPlotObject::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: x_KPlotObject::x_29(args);	break;
        case 30: x_KPlotObject::x_30(args);	break;
        case 31: x_KPlotObject::x_31(args);	break;
        case 32: x_KPlotObject::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: x_KPlotObject::x_37(args);	break;
        case 38: x_KPlotObject::x_38(args);	break;
        case 39: x_KPlotObject::x_39(args);	break;
        case 40: x_KPlotObject::x_40(args);	break;
        case 41: x_KPlotObject::x_41(args);	break;
        case 42: x_KPlotObject::x_42(args);	break;
        case 43: x_KPlotObject::x_43(args);	break;
        case 44: x_KPlotObject::x_44(args);	break;
        case 45: x_KPlotObject::x_45(args);	break;
        case 46: x_KPlotObject::x_46(args);	break;
        case 47: x_KPlotObject::x_47(args);	break;
        case 48: x_KPlotObject::x_48(args);	break;
        case 49: x_KPlotObject::x_49(args);	break;
        case 50: x_KPlotObject::x_50(args);	break;
        case 51: delete (KPlotObject*)xself;	break;
    }
}
class x_KPlotPoint : public KPlotPoint {
    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) {
        // KPlotPoint* KPlotPoint()
        x_KPlotPoint* xret = new x_KPlotPoint();
        x[0].s_class = (void*)xret;
    }
    explicit x_KPlotPoint() : KPlotPoint() {}
    static void x_2(Smoke::Stack x) {
        // KPlotPoint* KPlotPoint(double, double, const QString&, double)
        x_KPlotPoint* xret = new x_KPlotPoint((double)x[1].s_double,(double)x[2].s_double,*(const QString*)x[3].s_class,(double)x[4].s_double);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPlotPoint(double x1, double x2, const QString& x3, double x4) : KPlotPoint(x1, x2, x3, x4) {}
    static void x_3(Smoke::Stack x) {
        // KPlotPoint* KPlotPoint(const QPointF&, const QString&, double)
        x_KPlotPoint* xret = new x_KPlotPoint(*(const QPointF*)x[1].s_class,*(const QString*)x[2].s_class,(double)x[3].s_double);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPlotPoint(const QPointF& x1, const QString& x2, double x3) : KPlotPoint(x1, x2, x3) {}
    void x_4(Smoke::Stack x) {
        // QPointF position() const
        QPointF xret = ((const x_KPlotPoint*)this)->KPlotPoint::position();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_5(Smoke::Stack x) {
        // void setPosition(const QPointF&)
        this->KPlotPoint::setPosition(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // double x() const
        double xret = ((const x_KPlotPoint*)this)->KPlotPoint::x();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setX(double)
        this->KPlotPoint::setX((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // double y() const
        double xret = ((const x_KPlotPoint*)this)->KPlotPoint::y();
        x[0].s_double = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setY(double)
        this->KPlotPoint::setY((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString label() const
        QString xret = ((const x_KPlotPoint*)this)->KPlotPoint::label();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setLabel(const QString&)
        this->KPlotPoint::setLabel(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // double barWidth() const
        double xret = ((const x_KPlotPoint*)this)->KPlotPoint::barWidth();
        x[0].s_double = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setBarWidth(double)
        this->KPlotPoint::setBarWidth((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
        // KPlotPoint* KPlotPoint(double, double)
        x_KPlotPoint* xret = new x_KPlotPoint((double)x[1].s_double,(double)x[2].s_double,(const QString&)QString(),(double)0.0);
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // KPlotPoint* KPlotPoint(double, double, const QString&)
        x_KPlotPoint* xret = new x_KPlotPoint((double)x[1].s_double,(double)x[2].s_double,*(const QString*)x[3].s_class,(double)0.0);
        x[0].s_class = (void*)xret;
    }
    static void x_16(Smoke::Stack x) {
        // KPlotPoint* KPlotPoint(const QPointF&)
        x_KPlotPoint* xret = new x_KPlotPoint(*(const QPointF*)x[1].s_class,(const QString&)QString(),(double)0.0);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // KPlotPoint* KPlotPoint(const QPointF&, const QString&)
        x_KPlotPoint* xret = new x_KPlotPoint(*(const QPointF*)x[1].s_class,*(const QString*)x[2].s_class,(double)0.0);
        x[0].s_class = (void*)xret;
    }
    ~x_KPlotPoint() { this->_binding->deleted(152, (void*)this); }
};
void xcall_KPlotPoint(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPlotPoint *xself = (x_KPlotPoint*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KPlotPoint::x_1(args);	break;
        case 2: x_KPlotPoint::x_2(args);	break;
        case 3: x_KPlotPoint::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: x_KPlotPoint::x_14(args);	break;
        case 15: x_KPlotPoint::x_15(args);	break;
        case 16: x_KPlotPoint::x_16(args);	break;
        case 17: x_KPlotPoint::x_17(args);	break;
        case 18: delete (KPlotPoint*)xself;	break;
    }
}
class x_KPlotWidget : public KPlotWidget, 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<KPlotWidget*>(this))) {
            const QMetaObject* xret = ((const x_KPlotWidget*)this)->KPlotWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPlotWidget*)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<KPlotWidget*>(this))) {
            void* xret = this->KPlotWidget::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 = KPlotWidget::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 = KPlotWidget::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 = KPlotWidget::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 = KPlotWidget::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<KPlotWidget*>(this))) {
            int xret = this->KPlotWidget::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) {
        // KPlotWidget* KPlotWidget(QWidget*)
        x_KPlotWidget* xret = new x_KPlotWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPlotWidget(QWidget* x1) : KPlotWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPlotWidget*>(this))) {
            QSize xret = ((const x_KPlotWidget*)this)->KPlotWidget::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KPlotWidget*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPlotWidget*>(this))) {
            QSize xret = ((const x_KPlotWidget*)this)->KPlotWidget::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KPlotWidget*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_11(Smoke::Stack x) {
        // void setLimits(double, double, double, double)
        this->KPlotWidget::setLimits((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setSecondaryLimits(double, double, double, double)
        this->KPlotWidget::setSecondaryLimits((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void clearSecondaryLimits()
        this->KPlotWidget::clearSecondaryLimits();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QRectF dataRect() const
        QRectF xret = ((const x_KPlotWidget*)this)->KPlotWidget::dataRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_15(Smoke::Stack x) {
        // QRectF secondaryDataRect() const
        QRectF xret = ((const x_KPlotWidget*)this)->KPlotWidget::secondaryDataRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_16(Smoke::Stack x) {
        // QRect pixRect() const
        QRect xret = ((const x_KPlotWidget*)this)->KPlotWidget::pixRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_17(Smoke::Stack x) {
        // void addPlotObject(KPlotObject*)
        this->KPlotWidget::addPlotObject((KPlotObject*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void addPlotObjects(const QList<KPlotObject*>&)
        this->KPlotWidget::addPlotObjects(*(const QList<KPlotObject*>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QList<KPlotObject*> plotObjects() const
        QList<KPlotObject*> xret = ((const x_KPlotWidget*)this)->KPlotWidget::plotObjects();
        x[0].s_class = (void*)new QList<KPlotObject*>(xret);
    }
    void x_20(Smoke::Stack x) {
        // void removeAllPlotObjects()
        this->KPlotWidget::removeAllPlotObjects();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void resetPlotMask()
        this->KPlotWidget::resetPlotMask();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void resetPlot()
        this->KPlotWidget::resetPlot();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void replacePlotObject(int, KPlotObject*)
        this->KPlotWidget::replacePlotObject((int)x[1].s_int,(KPlotObject*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QColor backgroundColor() const
        QColor xret = ((const x_KPlotWidget*)this)->KPlotWidget::backgroundColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_25(Smoke::Stack x) {
        // QColor foregroundColor() const
        QColor xret = ((const x_KPlotWidget*)this)->KPlotWidget::foregroundColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_26(Smoke::Stack x) {
        // QColor gridColor() const
        QColor xret = ((const x_KPlotWidget*)this)->KPlotWidget::gridColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_27(Smoke::Stack x) {
        // void setBackgroundColor(const QColor&)
        this->KPlotWidget::setBackgroundColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setForegroundColor(const QColor&)
        this->KPlotWidget::setForegroundColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setGridColor(const QColor&)
        this->KPlotWidget::setGridColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // bool isGridShown() const
        bool xret = ((const x_KPlotWidget*)this)->KPlotWidget::isGridShown();
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // bool isObjectToolTipShown() const
        bool xret = ((const x_KPlotWidget*)this)->KPlotWidget::isObjectToolTipShown();
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // bool antialiasing() const
        bool xret = ((const x_KPlotWidget*)this)->KPlotWidget::antialiasing();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // void setAntialiasing(bool)
        this->KPlotWidget::setAntialiasing((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // int leftPadding() const
        int xret = ((const x_KPlotWidget*)this)->KPlotWidget::leftPadding();
        x[0].s_int = xret;
    }
    void x_35(Smoke::Stack x) {
        // int rightPadding() const
        int xret = ((const x_KPlotWidget*)this)->KPlotWidget::rightPadding();
        x[0].s_int = xret;
    }
    void x_36(Smoke::Stack x) {
        // int topPadding() const
        int xret = ((const x_KPlotWidget*)this)->KPlotWidget::topPadding();
        x[0].s_int = xret;
    }
    void x_37(Smoke::Stack x) {
        // int bottomPadding() const
        int xret = ((const x_KPlotWidget*)this)->KPlotWidget::bottomPadding();
        x[0].s_int = xret;
    }
    void x_38(Smoke::Stack x) {
        // void setLeftPadding(int)
        this->KPlotWidget::setLeftPadding((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void setRightPadding(int)
        this->KPlotWidget::setRightPadding((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void setTopPadding(int)
        this->KPlotWidget::setTopPadding((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void setBottomPadding(int)
        this->KPlotWidget::setBottomPadding((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void setDefaultPaddings()
        this->KPlotWidget::setDefaultPaddings();
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // QPointF mapToWidget(const QPointF&) const
        QPointF xret = ((const x_KPlotWidget*)this)->KPlotWidget::mapToWidget(*(const QPointF*)x[1].s_class);
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_44(Smoke::Stack x) {
        // void maskRect(const QRectF&, float)
        this->KPlotWidget::maskRect(*(const QRectF*)x[1].s_class,(float)x[2].s_float);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void maskAlongLine(const QPointF&, const QPointF&, float)
        this->KPlotWidget::maskAlongLine(*(const QPointF*)x[1].s_class,*(const QPointF*)x[2].s_class,(float)x[3].s_float);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void placeLabel(QPainter*, KPlotPoint*)
        this->KPlotWidget::placeLabel((QPainter*)x[1].s_class,(KPlotPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // KPlotAxis* axis(KPlotWidget::Axis)
        KPlotAxis* xret = this->KPlotWidget::axis((KPlotWidget::Axis)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_48(Smoke::Stack x) {
        // const KPlotAxis* axis(KPlotWidget::Axis) const
        const KPlotAxis* xret = ((const x_KPlotWidget*)this)->KPlotWidget::axis((KPlotWidget::Axis)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_49(Smoke::Stack x) {
        // void setShowGrid(bool)
        this->KPlotWidget::setShowGrid((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void setObjectToolTipShown(bool)
        this->KPlotWidget::setObjectToolTipShown((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPlotWidget*>(this))) {
            bool xret = this->KPlotWidget::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_52(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPlotWidget*>(this))) {
            this->KPlotWidget::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_53(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPlotWidget*>(this))) {
            this->KPlotWidget::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_54(Smoke::Stack x) {
        // virtual void drawAxes(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPlotWidget*>(this))) {
            this->KPlotWidget::drawAxes((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawAxes((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // void setPixRect()
        this->KPlotWidget::setPixRect();
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // QList<KPlotPoint*> pointsUnderPoint(const QPoint&) const
        QList<KPlotPoint*> xret = ((const x_KPlotWidget*)this)->KPlotWidget::pointsUnderPoint(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QList<KPlotPoint*>(xret);
    }
    static void x_57(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPlotWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_58(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KPlotWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_59(Smoke::Stack x) {
        // KPlotWidget* KPlotWidget()
        x_KPlotWidget* xret = new x_KPlotWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_60(Smoke::Stack x) {
        // void maskRect(const QRectF&)
        this->KPlotWidget::maskRect(*(const QRectF*)x[1].s_class,(float)1.0);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void maskAlongLine(const QPointF&, const QPointF&)
        this->KPlotWidget::maskAlongLine(*(const QPointF*)x[1].s_class,*(const QPointF*)x[2].s_class,(float)1.0);
        (void)x; // noop (for compiler warning)
    }
    static void x_62(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPlotWidget::staticMetaObject;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotWidget::LeftAxis;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotWidget::BottomAxis;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotWidget::RightAxis;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)KPlotWidget::TopAxis;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4173, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPlotWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4174, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPlotWidget::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(4179, (void*)this, x)) return (int)x[0].s_int;
        return this->KPlotWidget::qt_metacall(x1, x2, x3);
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4181, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KPlotWidget::minimumSizeHint();
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4182, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KPlotWidget::sizeHint();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4223, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KPlotWidget::event(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4224, (void*)this, x)) return;
        this->KPlotWidget::paintEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4225, (void*)this, x)) return;
        this->KPlotWidget::resizeEvent(x1);
    }
    virtual void drawAxes(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4226, (void*)this, x)) return;
        this->KPlotWidget::drawAxes(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (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(7793, (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(7796, (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(7797, (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(7798, (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(7799, (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(7800, (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(7801, (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(7802, (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(7803, (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(7804, (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(7805, (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(7806, (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(7808, (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(7810, (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(7811, (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(7812, (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(7813, (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(7814, (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(7815, (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(7816, (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(7817, (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(7818, (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(7819, (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(7820, (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(7416, (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(7823, (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(7824, (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(7825, (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(7826, (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(7827, (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(7828, (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(7829, (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(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (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(7576, (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(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (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(7794, (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(7822, (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 240: //KPlotWidget::Axis
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KPlotWidget::Axis;
                    break;
                case Smoke::EnumDelete:
                    delete (KPlotWidget::Axis*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KPlotWidget::Axis*)xdata = (KPlotWidget::Axis)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KPlotWidget::Axis*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KPlotWidget() { this->_binding->deleted(153, (void*)this); }
};
void xenum_KPlotWidget(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KPlotWidget::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KPlotWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPlotWidget *xself = (x_KPlotWidget*)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_KPlotWidget::x_3(args);	break;
        case 4: x_KPlotWidget::x_4(args);	break;
        case 5: x_KPlotWidget::x_5(args);	break;
        case 6: x_KPlotWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KPlotWidget::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: x_KPlotWidget::x_57(args);	break;
        case 58: x_KPlotWidget::x_58(args);	break;
        case 59: x_KPlotWidget::x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: x_KPlotWidget::x_62(args);	break;
        case 63: x_KPlotWidget::x_63(args);	break;
        case 64: x_KPlotWidget::x_64(args);	break;
        case 65: x_KPlotWidget::x_65(args);	break;
        case 66: x_KPlotWidget::x_66(args);	break;
        case 67: delete (KPlotWidget*)xself;	break;
    }
}
class x_KPopupFrame : public KPopupFrame, 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<KPopupFrame*>(this))) {
            const QMetaObject* xret = ((const x_KPopupFrame*)this)->KPopupFrame::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPopupFrame*)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<KPopupFrame*>(this))) {
            void* xret = this->KPopupFrame::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 = KPopupFrame::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 = KPopupFrame::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 = KPopupFrame::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 = KPopupFrame::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<KPopupFrame*>(this))) {
            int xret = this->KPopupFrame::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;
        }
    }
    void x_8(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPopupFrame*>(this))) {
            this->KPopupFrame::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_9(Smoke::Stack x) {
        // void close(int)
        this->KPopupFrame::close((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // KPopupFrame* KPopupFrame(QWidget*)
        x_KPopupFrame* xret = new x_KPopupFrame((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPopupFrame(QWidget* x1) : KPopupFrame(x1) {}
    void x_11(Smoke::Stack x) {
        // void setMainWidget(QWidget*)
        this->KPopupFrame::setMainWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPopupFrame*>(this))) {
            this->KPopupFrame::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_13(Smoke::Stack x) {
        // void popup(const QPoint&)
        this->KPopupFrame::popup(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int exec(const QPoint&)
        int xret = this->KPopupFrame::exec(*(const QPoint*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // int exec(int, int)
        int xret = this->KPopupFrame::exec((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // void leaveModality()
        this->KPopupFrame::leaveModality();
        (void)x; // noop (for compiler warning)
    }
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPopupFrame::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KPopupFrame::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // KPopupFrame* KPopupFrame()
        x_KPopupFrame* xret = new x_KPopupFrame((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPopupFrame::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4240, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPopupFrame::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4241, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPopupFrame::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(4246, (void*)this, x)) return (int)x[0].s_int;
        return this->KPopupFrame::qt_metacall(x1, x2, x3);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4247, (void*)this, x)) return;
        this->KPopupFrame::keyPressEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4251, (void*)this, x)) return;
        this->KPopupFrame::resizeEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7413, (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(7792, (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(7793, (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(7796, (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(7797, (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(7798, (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(7799, (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(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (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(7803, (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(7804, (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(7805, (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(7806, (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(7415, (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(7808, (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(7810, (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(7811, (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(7812, (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(7813, (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(7814, (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(7815, (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(7816, (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(7817, (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(7818, (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(7819, (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(7820, (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(7416, (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(7823, (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(7824, (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(7825, (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(7826, (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(7827, (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(7828, (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(7829, (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(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (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(7414, (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(7576, (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(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (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(7794, (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(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KPopupFrame() { this->_binding->deleted(154, (void*)this); }
};
void xcall_KPopupFrame(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPopupFrame *xself = (x_KPopupFrame*)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_KPopupFrame::x_3(args);	break;
        case 4: x_KPopupFrame::x_4(args);	break;
        case 5: x_KPopupFrame::x_5(args);	break;
        case 6: x_KPopupFrame::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KPopupFrame::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: x_KPopupFrame::x_17(args);	break;
        case 18: x_KPopupFrame::x_18(args);	break;
        case 19: x_KPopupFrame::x_19(args);	break;
        case 20: x_KPopupFrame::x_20(args);	break;
        case 21: delete (KPopupFrame*)xself;	break;
    }
}
class x_KProgressDialog : public KProgressDialog, 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<KProgressDialog*>(this))) {
            const QMetaObject* xret = ((const x_KProgressDialog*)this)->KProgressDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KProgressDialog*)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<KProgressDialog*>(this))) {
            void* xret = this->KProgressDialog::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 = KProgressDialog::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 = KProgressDialog::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 = KProgressDialog::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 = KProgressDialog::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<KProgressDialog*>(this))) {
            int xret = this->KProgressDialog::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) {
        // KProgressDialog* KProgressDialog(QWidget*, const QString&, const QString&, QFlags<Qt::WindowType>)
        x_KProgressDialog* xret = new x_KProgressDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<Qt::WindowType>)x[4].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KProgressDialog(QWidget* x1, const QString& x2, const QString& x3, QFlags<Qt::WindowType> x4) : KProgressDialog(x1, x2, x3, x4) {}
    void x_9(Smoke::Stack x) {
        // QProgressBar* progressBar()
        QProgressBar* xret = this->KProgressDialog::progressBar();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // const QProgressBar* progressBar() const
        const QProgressBar* xret = ((const x_KProgressDialog*)this)->KProgressDialog::progressBar();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setLabelText(const QString&)
        this->KProgressDialog::setLabelText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString labelText() const
        QString xret = ((const x_KProgressDialog*)this)->KProgressDialog::labelText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setAllowCancel(bool)
        this->KProgressDialog::setAllowCancel((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool allowCancel() const
        bool xret = ((const x_KProgressDialog*)this)->KProgressDialog::allowCancel();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void showCancelButton(bool)
        this->KProgressDialog::showCancelButton((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setAutoClose(bool)
        this->KProgressDialog::setAutoClose((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool autoClose() const
        bool xret = ((const x_KProgressDialog*)this)->KProgressDialog::autoClose();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setAutoReset(bool)
        this->KProgressDialog::setAutoReset((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // bool autoReset() const
        bool xret = ((const x_KProgressDialog*)this)->KProgressDialog::autoReset();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // bool wasCancelled() const
        bool xret = ((const x_KProgressDialog*)this)->KProgressDialog::wasCancelled();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void ignoreCancel()
        this->KProgressDialog::ignoreCancel();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setButtonText(const QString&)
        this->KProgressDialog::setButtonText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QString buttonText() const
        QString xret = ((const x_KProgressDialog*)this)->KProgressDialog::buttonText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // void setMinimumDuration(int)
        this->KProgressDialog::setMinimumDuration((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // int minimumDuration() const
        int xret = ((const x_KProgressDialog*)this)->KProgressDialog::minimumDuration();
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // virtual void reject()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KProgressDialog*>(this))) {
            this->KProgressDialog::reject();
            (void)x; // noop (for compiler warning)
        } else {
            this->reject();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KProgressDialog*>(this))) {
            this->KProgressDialog::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KProgressDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KProgressDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // KProgressDialog* KProgressDialog()
        x_KProgressDialog* xret = new x_KProgressDialog((QWidget*)0,(const QString&)QString(),(const QString&)QString(),(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // KProgressDialog* KProgressDialog(QWidget*)
        x_KProgressDialog* xret = new x_KProgressDialog((QWidget*)x[1].s_class,(const QString&)QString(),(const QString&)QString(),(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_32(Smoke::Stack x) {
        // KProgressDialog* KProgressDialog(QWidget*, const QString&)
        x_KProgressDialog* xret = new x_KProgressDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_33(Smoke::Stack x) {
        // KProgressDialog* KProgressDialog(QWidget*, const QString&, const QString&)
        x_KProgressDialog* xret = new x_KProgressDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_34(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KProgressDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4261, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KProgressDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4262, (void*)this, x)) return (void*)x[0].s_class;
        return this->KProgressDialog::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(4267, (void*)this, x)) return (int)x[0].s_int;
        return this->KProgressDialog::qt_metacall(x1, x2, x3);
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4286, (void*)this, x)) return;
        this->KProgressDialog::reject();
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4287, (void*)this, x)) return;
        this->KProgressDialog::showEvent(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1448, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1449, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1451, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(1452, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1453, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1483, (void*)this, x)) return;
        this->KDialog::hideEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1484, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1485, (void*)this, x)) return;
        this->KDialog::keyPressEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1486, (void*)this, x)) return;
        this->KDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7371, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7372, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7370, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (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(7796, (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(7797, (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(7798, (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(7799, (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(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (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(7803, (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(7804, (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(7805, (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(7806, (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(7807, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (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(7375, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7376, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (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(7813, (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(7814, (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(7815, (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(7816, (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(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (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(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (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(7824, (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(7825, (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(7826, (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(7827, (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(7828, (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(7829, (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(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (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(7795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7377, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (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(7794, (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(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KProgressDialog() { this->_binding->deleted(155, (void*)this); }
};
void xcall_KProgressDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KProgressDialog *xself = (x_KProgressDialog*)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_KProgressDialog::x_3(args);	break;
        case 4: x_KProgressDialog::x_4(args);	break;
        case 5: x_KProgressDialog::x_5(args);	break;
        case 6: x_KProgressDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KProgressDialog::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: x_KProgressDialog::x_28(args);	break;
        case 29: x_KProgressDialog::x_29(args);	break;
        case 30: x_KProgressDialog::x_30(args);	break;
        case 31: x_KProgressDialog::x_31(args);	break;
        case 32: x_KProgressDialog::x_32(args);	break;
        case 33: x_KProgressDialog::x_33(args);	break;
        case 34: x_KProgressDialog::x_34(args);	break;
        case 35: delete (KProgressDialog*)xself;	break;
    }
}
class x_KPushButton : public KPushButton, 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<KPushButton*>(this))) {
            const QMetaObject* xret = ((const x_KPushButton*)this)->KPushButton::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPushButton*)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<KPushButton*>(this))) {
            void* xret = this->KPushButton::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 = KPushButton::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 = KPushButton::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 = KPushButton::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 = KPushButton::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<KPushButton*>(this))) {
            int xret = this->KPushButton::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) {
        // KPushButton* KPushButton(QWidget*)
        x_KPushButton* xret = new x_KPushButton((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPushButton(QWidget* x1) : KPushButton(x1) {}
    static void x_9(Smoke::Stack x) {
        // KPushButton* KPushButton(const QString&, QWidget*)
        x_KPushButton* xret = new x_KPushButton(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPushButton(const QString& x1, QWidget* x2) : KPushButton(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // KPushButton* KPushButton(const KIcon&, const QString&, QWidget*)
        x_KPushButton* xret = new x_KPushButton(*(const KIcon*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPushButton(const KIcon& x1, const QString& x2, QWidget* x3) : KPushButton(x1, x2, x3) {}
    static void x_11(Smoke::Stack x) {
        // KPushButton* KPushButton(const KGuiItem&, QWidget*)
        x_KPushButton* xret = new x_KPushButton(*(const KGuiItem*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPushButton(const KGuiItem& x1, QWidget* x2) : KPushButton(x1, x2) {}
    void x_12(Smoke::Stack x) {
        // void setDragEnabled(bool)
        this->KPushButton::setDragEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool isDragEnabled() const
        bool xret = ((const x_KPushButton*)this)->KPushButton::isDragEnabled();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setGuiItem(const KGuiItem&)
        this->KPushButton::setGuiItem(*(const KGuiItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setGuiItem(KStandardGuiItem::StandardItem)
        this->KPushButton::setGuiItem((KStandardGuiItem::StandardItem)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // KStandardGuiItem::StandardItem guiItem() const
        KStandardGuiItem::StandardItem xret = ((const x_KPushButton*)this)->KPushButton::guiItem();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setIcon(const KIcon&)
        this->KPushButton::setIcon(*(const KIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setIcon(const QIcon&)
        this->KPushButton::setIcon(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setText(const QString&)
        this->KPushButton::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setDelayedMenu(QMenu*)
        this->KPushButton::setDelayedMenu((QMenu*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QMenu* delayedMenu()
        QMenu* xret = this->KPushButton::delayedMenu();
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPushButton*>(this))) {
            QSize xret = ((const x_KPushButton*)this)->KPushButton::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KPushButton*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_23(Smoke::Stack x) {
        // KAuth::Action* authAction() const
        KAuth::Action* xret = ((const x_KPushButton*)this)->KPushButton::authAction();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void setAuthAction(KAuth::Action*)
        this->KPushButton::setAuthAction((KAuth::Action*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setAuthAction(const QString&)
        this->KPushButton::setAuthAction(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // virtual QDrag* dragObject()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPushButton*>(this))) {
            QDrag* xret = this->KPushButton::dragObject();
            x[0].s_class = (void*)xret;
        } else {
            QDrag* xret = this->dragObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPushButton*>(this))) {
            this->KPushButton::mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPushButton*>(this))) {
            this->KPushButton::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPushButton*>(this))) {
            this->KPushButton::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_30(Smoke::Stack x) {
        // virtual void startDrag()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPushButton*>(this))) {
            this->KPushButton::startDrag();
            (void)x; // noop (for compiler warning)
        } else {
            this->startDrag();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_31(Smoke::Stack x) {
        // void authorized(KAuth::Action*)
        this->KPushButton::authorized((KAuth::Action*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_32(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPushButton::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KPushButton::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // KPushButton* KPushButton()
        x_KPushButton* xret = new x_KPushButton((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_35(Smoke::Stack x) {
        // KPushButton* KPushButton(const QString&)
        x_KPushButton* xret = new x_KPushButton(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_36(Smoke::Stack x) {
        // KPushButton* KPushButton(const KIcon&, const QString&)
        x_KPushButton* xret = new x_KPushButton(*(const KIcon*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_37(Smoke::Stack x) {
        // KPushButton* KPushButton(const KGuiItem&)
        x_KPushButton* xret = new x_KPushButton(*(const KGuiItem*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_38(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPushButton::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4296, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPushButton::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4297, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPushButton::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(4302, (void*)this, x)) return (int)x[0].s_int;
        return this->KPushButton::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4317, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KPushButton::sizeHint();
    }
    virtual QDrag* dragObject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4321, (void*)this, x)) return (QDrag*)x[0].s_class;
        return this->KPushButton::dragObject();
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4322, (void*)this, x)) return;
        this->KPushButton::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4323, (void*)this, x)) return;
        this->KPushButton::mouseMoveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4324, (void*)this, x)) return;
        this->KPushButton::paintEvent(x1);
    }
    virtual void startDrag() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4325, (void*)this, x)) return;
        this->KPushButton::startDrag();
    }
    virtual bool hitButton(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7185, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractButton::hitButton(x1);
    }
    virtual void checkStateSet() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7186, (void*)this, x)) return;
        this->QAbstractButton::checkStateSet();
    }
    virtual void nextCheckState() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7187, (void*)this, x)) return;
        this->QAbstractButton::nextCheckState();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7583, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPushButton::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7191, (void*)this, x)) return;
        this->QAbstractButton::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (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(7585, (void*)this, x)) return;
        this->QPushButton::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7189, (void*)this, x)) return;
        this->QAbstractButton::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7586, (void*)this, x)) return;
        this->QPushButton::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7587, (void*)this, x)) return;
        this->QPushButton::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (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(7806, (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(7808, (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(7809, (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(7810, (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(7811, (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(7812, (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(7813, (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(7814, (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(7815, (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(7816, (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(7817, (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(7818, (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(7819, (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(7820, (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(7195, (void*)this, x)) return;
        this->QAbstractButton::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (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(7824, (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(7825, (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(7826, (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(7827, (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(7828, (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(7829, (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(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (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(7584, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QPushButton::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (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(7196, (void*)this, x)) return;
        this->QAbstractButton::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (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(7794, (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(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KPushButton() { this->_binding->deleted(156, (void*)this); }
};
void xcall_KPushButton(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPushButton *xself = (x_KPushButton*)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_KPushButton::x_3(args);	break;
        case 4: x_KPushButton::x_4(args);	break;
        case 5: x_KPushButton::x_5(args);	break;
        case 6: x_KPushButton::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KPushButton::x_8(args);	break;
        case 9: x_KPushButton::x_9(args);	break;
        case 10: x_KPushButton::x_10(args);	break;
        case 11: x_KPushButton::x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: x_KPushButton::x_32(args);	break;
        case 33: x_KPushButton::x_33(args);	break;
        case 34: x_KPushButton::x_34(args);	break;
        case 35: x_KPushButton::x_35(args);	break;
        case 36: x_KPushButton::x_36(args);	break;
        case 37: x_KPushButton::x_37(args);	break;
        case 38: x_KPushButton::x_38(args);	break;
        case 39: delete (KPushButton*)xself;	break;
    }
}
class x_KRecentFilesAction : public KRecentFilesAction, 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<KRecentFilesAction*>(this))) {
            const QMetaObject* xret = ((const x_KRecentFilesAction*)this)->KRecentFilesAction::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KRecentFilesAction*)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<KRecentFilesAction*>(this))) {
            void* xret = this->KRecentFilesAction::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 = KRecentFilesAction::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 = KRecentFilesAction::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 = KRecentFilesAction::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 = KRecentFilesAction::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<KRecentFilesAction*>(this))) {
            int xret = this->KRecentFilesAction::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) {
        // KRecentFilesAction* KRecentFilesAction(QObject*)
        x_KRecentFilesAction* xret = new x_KRecentFilesAction((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KRecentFilesAction(QObject* x1) : KRecentFilesAction(x1) {}
    static void x_9(Smoke::Stack x) {
        // KRecentFilesAction* KRecentFilesAction(const QString&, QObject*)
        x_KRecentFilesAction* xret = new x_KRecentFilesAction(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KRecentFilesAction(const QString& x1, QObject* x2) : KRecentFilesAction(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // KRecentFilesAction* KRecentFilesAction(const KIcon&, const QString&, QObject*)
        x_KRecentFilesAction* xret = new x_KRecentFilesAction(*(const KIcon*)x[1].s_class,*(const QString*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KRecentFilesAction(const KIcon& x1, const QString& x2, QObject* x3) : KRecentFilesAction(x1, x2, x3) {}
    void x_11(Smoke::Stack x) {
        // void addAction(QAction*, const KUrl&, const QString&)
        this->KRecentFilesAction::addAction((QAction*)x[1].s_class,*(const KUrl*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // virtual QAction* removeAction(QAction*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KRecentFilesAction*>(this))) {
            QAction* xret = this->KRecentFilesAction::removeAction((QAction*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QAction* xret = this->removeAction((QAction*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void clear()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KRecentFilesAction*>(this))) {
            this->KRecentFilesAction::clear();
            (void)x; // noop (for compiler warning)
        } else {
            this->clear();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // int maxItems() const
        int xret = ((const x_KRecentFilesAction*)this)->KRecentFilesAction::maxItems();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setMaxItems(int)
        this->KRecentFilesAction::setMaxItems((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void loadEntries(const KConfigGroup&)
        this->KRecentFilesAction::loadEntries(*(const KConfigGroup*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void saveEntries(const KConfigGroup&)
        this->KRecentFilesAction::saveEntries(*(const KConfigGroup*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void addUrl(const KUrl&, const QString&)
        this->KRecentFilesAction::addUrl(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void removeUrl(const KUrl&)
        this->KRecentFilesAction::removeUrl(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // KUrl::List urls() const
        KUrl::List xret = ((const x_KRecentFilesAction*)this)->KRecentFilesAction::urls();
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    void x_21(Smoke::Stack x) {
        // void urlSelected(const KUrl&)
        this->KRecentFilesAction::urlSelected(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void recentListCleared()
        this->KRecentFilesAction::recentListCleared();
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KRecentFilesAction::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KRecentFilesAction::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_25(Smoke::Stack x) {
        // void addUrl(const KUrl&)
        this->KRecentFilesAction::addUrl(*(const KUrl*)x[1].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_26(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KRecentFilesAction::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4335, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KRecentFilesAction::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4336, (void*)this, x)) return (void*)x[0].s_class;
        return this->KRecentFilesAction::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(4341, (void*)this, x)) return (int)x[0].s_int;
        return this->KRecentFilesAction::qt_metacall(x1, x2, x3);
    }
    virtual QAction* removeAction(QAction* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4346, (void*)this, x)) return (QAction*)x[0].s_class;
        return this->KRecentFilesAction::removeAction(x1);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4347, (void*)this, x)) return;
        this->KRecentFilesAction::clear();
    }
    virtual void actionTriggered(QAction* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4660, (void*)this, x)) return;
        this->KSelectAction::actionTriggered(x1);
    }
    virtual QWidget* createWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4662, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->KSelectAction::createWidget(x1);
    }
    virtual void deleteWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4663, (void*)this, x)) return;
        this->KSelectAction::deleteWidget(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4664, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KSelectAction::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(4665, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KSelectAction::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KRecentFilesAction() { this->_binding->deleted(157, (void*)this); }
};
void xcall_KRecentFilesAction(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KRecentFilesAction *xself = (x_KRecentFilesAction*)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_KRecentFilesAction::x_3(args);	break;
        case 4: x_KRecentFilesAction::x_4(args);	break;
        case 5: x_KRecentFilesAction::x_5(args);	break;
        case 6: x_KRecentFilesAction::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KRecentFilesAction::x_8(args);	break;
        case 9: x_KRecentFilesAction::x_9(args);	break;
        case 10: x_KRecentFilesAction::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: x_KRecentFilesAction::x_23(args);	break;
        case 24: x_KRecentFilesAction::x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: x_KRecentFilesAction::x_26(args);	break;
        case 27: delete (KRecentFilesAction*)xself;	break;
    }
}
class x_KReplace : public KReplace, 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<KReplace*>(this))) {
            const QMetaObject* xret = ((const x_KReplace*)this)->KReplace::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KReplace*)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<KReplace*>(this))) {
            void* xret = this->KReplace::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 = KReplace::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 = KReplace::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 = KReplace::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 = KReplace::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<KReplace*>(this))) {
            int xret = this->KReplace::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) {
        // KReplace* KReplace(const QString&, const QString&, long, QWidget*)
        x_KReplace* xret = new x_KReplace(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(long)x[3].s_long,(QWidget*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KReplace(const QString& x1, const QString& x2, long x3, QWidget* x4) : KReplace(x1, x2, x3, x4) {}
    static void x_9(Smoke::Stack x) {
        // KReplace* KReplace(const QString&, const QString&, long, QWidget*, QWidget*)
        x_KReplace* xret = new x_KReplace(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(long)x[3].s_long,(QWidget*)x[4].s_class,(QWidget*)x[5].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KReplace(const QString& x1, const QString& x2, long x3, QWidget* x4, QWidget* x5) : KReplace(x1, x2, x3, x4, x5) {}
    void x_10(Smoke::Stack x) {
        // int numReplacements() const
        int xret = ((const x_KReplace*)this)->KReplace::numReplacements();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // virtual void resetCounts()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KReplace*>(this))) {
            this->KReplace::resetCounts();
            (void)x; // noop (for compiler warning)
        } else {
            this->resetCounts();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // KFind::Result replace()
        KFind::Result xret = this->KReplace::replace();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // KDialog* replaceNextDialog(bool)
        KDialog* xret = this->KReplace::replaceNextDialog((bool)x[1].s_bool);
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // void closeReplaceNextDialog()
        this->KReplace::closeReplaceNextDialog();
        (void)x; // noop (for compiler warning)
    }
    static void x_15(Smoke::Stack x) {
        // static int replace(QString&, const QString&, const QString&, int, long, int*)
        int xret = KReplace::replace(*(QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(long)x[5].s_long,(int*)x[6].s_class);
        x[0].s_int = xret;
    }
    static void x_16(Smoke::Stack x) {
        // static int replace(QString&, const QRegExp&, const QString&, int, long, int*)
        int xret = KReplace::replace(*(QString*)x[1].s_class,*(const QRegExp*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int,(long)x[5].s_long,(int*)x[6].s_class);
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // virtual bool shouldRestart(bool, bool) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KReplace*>(this))) {
            bool xret = ((const x_KReplace*)this)->KReplace::shouldRestart((bool)x[1].s_bool,(bool)x[2].s_bool);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KReplace*)this)->shouldRestart((bool)x[1].s_bool,(bool)x[2].s_bool);
            x[0].s_bool = xret;
        }
    }
    void x_18(Smoke::Stack x) {
        // virtual void displayFinalDialog() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KReplace*>(this))) {
            ((const x_KReplace*)this)->KReplace::displayFinalDialog();
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KReplace*)this)->displayFinalDialog();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // void replace(const QString&, int, int, int)
        this->KReplace::replace(*(const QString*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KReplace::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KReplace::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // KReplace* KReplace(const QString&, const QString&, long)
        x_KReplace* xret = new x_KReplace(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(long)x[3].s_long,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_23(Smoke::Stack x) {
        // KDialog* replaceNextDialog()
        KDialog* xret = this->KReplace::replaceNextDialog((bool)false);
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // bool shouldRestart() const
        bool xret = ((const x_KReplace*)this)->KReplace::shouldRestart((bool)false,(bool)true);
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // bool shouldRestart(bool) const
        bool xret = ((const x_KReplace*)this)->KReplace::shouldRestart((bool)x[1].s_bool,(bool)true);
        x[0].s_bool = xret;
    }
    static void x_26(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KReplace::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4362, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KReplace::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4363, (void*)this, x)) return (void*)x[0].s_class;
        return this->KReplace::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(4368, (void*)this, x)) return (int)x[0].s_int;
        return this->KReplace::qt_metacall(x1, x2, x3);
    }
    virtual void resetCounts() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4372, (void*)this, x)) return;
        this->KReplace::resetCounts();
    }
    virtual bool shouldRestart(bool x1, bool x2) const {
        Smoke::StackItem x[3];
        x[1].s_bool = x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(4378, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KReplace::shouldRestart(x1, x2);
    }
    virtual void displayFinalDialog() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4379, (void*)this, x)) return;
        this->KReplace::displayFinalDialog();
    }
    virtual void setOptions(long x1) {
        Smoke::StackItem x[2];
        x[1].s_long = x1;
        if (this->_binding->callMethod(1799, (void*)this, x)) return;
        this->KFind::setOptions(x1);
    }
    virtual bool validateMatch(const QString& x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(1804, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KFind::validateMatch(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7575, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (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(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KReplace() { this->_binding->deleted(158, (void*)this); }
};
void xcall_KReplace(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KReplace *xself = (x_KReplace*)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_KReplace::x_3(args);	break;
        case 4: x_KReplace::x_4(args);	break;
        case 5: x_KReplace::x_5(args);	break;
        case 6: x_KReplace::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KReplace::x_8(args);	break;
        case 9: x_KReplace::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: x_KReplace::x_15(args);	break;
        case 16: x_KReplace::x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: x_KReplace::x_20(args);	break;
        case 21: x_KReplace::x_21(args);	break;
        case 22: x_KReplace::x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: x_KReplace::x_26(args);	break;
        case 27: delete (KReplace*)xself;	break;
    }
}
class x_KReplaceDialog : public KReplaceDialog, 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<KReplaceDialog*>(this))) {
            const QMetaObject* xret = ((const x_KReplaceDialog*)this)->KReplaceDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KReplaceDialog*)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<KReplaceDialog*>(this))) {
            void* xret = this->KReplaceDialog::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 = KReplaceDialog::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 = KReplaceDialog::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 = KReplaceDialog::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 = KReplaceDialog::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<KReplaceDialog*>(this))) {
            int xret = this->KReplaceDialog::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) {
        // KReplaceDialog* KReplaceDialog(QWidget*, long, const QStringList&, const QStringList&, bool)
        x_KReplaceDialog* xret = new x_KReplaceDialog((QWidget*)x[1].s_class,(long)x[2].s_long,*(const QStringList*)x[3].s_class,*(const QStringList*)x[4].s_class,(bool)x[5].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_KReplaceDialog(QWidget* x1, long x2, const QStringList& x3, const QStringList& x4, bool x5) : KReplaceDialog(x1, x2, x3, x4, x5) {}
    void x_9(Smoke::Stack x) {
        // void setReplacementHistory(const QStringList&)
        this->KReplaceDialog::setReplacementHistory(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QStringList replacementHistory() const
        QStringList xret = ((const x_KReplaceDialog*)this)->KReplaceDialog::replacementHistory();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setOptions(long)
        this->KReplaceDialog::setOptions((long)x[1].s_long);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // long options() const
        long xret = ((const x_KReplaceDialog*)this)->KReplaceDialog::options();
        x[0].s_long = xret;
    }
    void x_13(Smoke::Stack x) {
        // QString replacement() const
        QString xret = ((const x_KReplaceDialog*)this)->KReplaceDialog::replacement();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // QWidget* replaceExtension() const
        QWidget* xret = ((const x_KReplaceDialog*)this)->KReplaceDialog::replaceExtension();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // virtual void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KReplaceDialog*>(this))) {
            this->KReplaceDialog::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KReplaceDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KReplaceDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // KReplaceDialog* KReplaceDialog()
        x_KReplaceDialog* xret = new x_KReplaceDialog((QWidget*)0,(long)0,(const QStringList&)QStringList(),(const QStringList&)QStringList(),(bool)true);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // KReplaceDialog* KReplaceDialog(QWidget*)
        x_KReplaceDialog* xret = new x_KReplaceDialog((QWidget*)x[1].s_class,(long)0,(const QStringList&)QStringList(),(const QStringList&)QStringList(),(bool)true);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // KReplaceDialog* KReplaceDialog(QWidget*, long)
        x_KReplaceDialog* xret = new x_KReplaceDialog((QWidget*)x[1].s_class,(long)x[2].s_long,(const QStringList&)QStringList(),(const QStringList&)QStringList(),(bool)true);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // KReplaceDialog* KReplaceDialog(QWidget*, long, const QStringList&)
        x_KReplaceDialog* xret = new x_KReplaceDialog((QWidget*)x[1].s_class,(long)x[2].s_long,*(const QStringList*)x[3].s_class,(const QStringList&)QStringList(),(bool)true);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // KReplaceDialog* KReplaceDialog(QWidget*, long, const QStringList&, const QStringList&)
        x_KReplaceDialog* xret = new x_KReplaceDialog((QWidget*)x[1].s_class,(long)x[2].s_long,*(const QStringList*)x[3].s_class,*(const QStringList*)x[4].s_class,(bool)true);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KReplaceDialog::staticMetaObject;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KReplaceDialog::PromptOnReplace;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KReplaceDialog::BackReference;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(4389, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KReplaceDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4390, (void*)this, x)) return (void*)x[0].s_class;
        return this->KReplaceDialog::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(4395, (void*)this, x)) return (int)x[0].s_int;
        return this->KReplaceDialog::qt_metacall(x1, x2, x3);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4403, (void*)this, x)) return;
        this->KReplaceDialog::showEvent(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1448, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1449, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1451, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(1452, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1453, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1483, (void*)this, x)) return;
        this->KDialog::hideEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1484, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1485, (void*)this, x)) return;
        this->KDialog::keyPressEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1486, (void*)this, x)) return;
        this->KDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7371, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7372, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7373, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7370, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (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(7796, (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(7797, (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(7798, (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(7799, (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(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (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(7803, (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(7804, (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(7805, (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(7806, (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(7807, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (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(7375, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7376, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (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(7813, (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(7814, (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(7815, (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(7816, (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(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (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(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (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(7824, (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(7825, (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(7826, (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(7827, (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(7828, (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(7829, (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(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (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(7795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7377, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (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(7578, (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(7579, (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(7580, (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(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (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(7794, (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(7822, (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 247: //KReplaceDialog::Options
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KReplaceDialog::Options;
                    break;
                case Smoke::EnumDelete:
                    delete (KReplaceDialog::Options*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KReplaceDialog::Options*)xdata = (KReplaceDialog::Options)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KReplaceDialog::Options*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KReplaceDialog() { this->_binding->deleted(159, (void*)this); }
};
void xenum_KReplaceDialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KReplaceDialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KReplaceDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KReplaceDialog *xself = (x_KReplaceDialog*)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_KReplaceDialog::x_3(args);	break;
        case 4: x_KReplaceDialog::x_4(args);	break;
        case 5: x_KReplaceDialog::x_5(args);	break;
        case 6: x_KReplaceDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KReplaceDialog::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_KReplaceDialog::x_16(args);	break;
        case 17: x_KReplaceDialog::x_17(args);	break;
        case 18: x_KReplaceDialog::x_18(args);	break;
        case 19: x_KReplaceDialog::x_19(args);	break;
        case 20: x_KReplaceDialog::x_20(args);	break;
        case 21: x_KReplaceDialog::x_21(args);	break;
        case 22: x_KReplaceDialog::x_22(args);	break;
        case 23: x_KReplaceDialog::x_23(args);	break;
        case 24: x_KReplaceDialog::x_24(args);	break;
        case 25: x_KReplaceDialog::x_25(args);	break;
        case 26: delete (KReplaceDialog*)xself;	break;
    }
}

}
