//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_KMultiTabBarButton : public KMultiTabBarButton, 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<KMultiTabBarButton*>(this))) {
            const QMetaObject* xret = ((const x_KMultiTabBarButton*)this)->KMultiTabBarButton::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KMultiTabBarButton*)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<KMultiTabBarButton*>(this))) {
            void* xret = this->KMultiTabBarButton::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 = KMultiTabBarButton::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 = KMultiTabBarButton::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 = KMultiTabBarButton::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 = KMultiTabBarButton::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<KMultiTabBarButton*>(this))) {
            int xret = this->KMultiTabBarButton::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) {
        // int id() const
        int xret = ((const x_KMultiTabBarButton*)this)->KMultiTabBarButton::id();
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setText(const QString&)
        this->KMultiTabBarButton::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void clicked(int)
        this->KMultiTabBarButton::clicked((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // virtual void slotClicked()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KMultiTabBarButton*>(this))) {
            this->KMultiTabBarButton::slotClicked();
            (void)x; // noop (for compiler warning)
        } else {
            this->slotClicked();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KMultiTabBarButton*>(this))) {
            this->KMultiTabBarButton::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KMultiTabBarButton*>(this))) {
            this->KMultiTabBarButton::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)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KMultiTabBarButton*>(this))) {
            this->KMultiTabBarButton::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_15(Smoke::Stack x) {
        // KMultiTabBarButton* KMultiTabBarButton(const QPixmap&, const QString&, int, QWidget*)
        x_KMultiTabBarButton* xret = new x_KMultiTabBarButton(*(const QPixmap*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int,(QWidget*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KMultiTabBarButton(const QPixmap& x1, const QString& x2, int x3, QWidget* x4) : KMultiTabBarButton(x1, x2, x3, x4) {}
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KMultiTabBarButton::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 = KMultiTabBarButton::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) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KMultiTabBarButton::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3418, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KMultiTabBarButton::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3419, (void*)this, x)) return (void*)x[0].s_class;
        return this->KMultiTabBarButton::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(3424, (void*)this, x)) return (int)x[0].s_int;
        return this->KMultiTabBarButton::qt_metacall(x1, x2, x3);
    }
    virtual void slotClicked() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3428, (void*)this, x)) return;
        this->KMultiTabBarButton::slotClicked();
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3429, (void*)this, x)) return;
        this->KMultiTabBarButton::hideEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3430, (void*)this, x)) return;
        this->KMultiTabBarButton::showEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3431, (void*)this, x)) return;
        this->KMultiTabBarButton::paintEvent(x1);
    }
    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 sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7582, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPushButton::sizeHint();
    }
    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 mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7190, (void*)this, x)) return;
        this->QAbstractButton::mousePressEvent(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 mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7192, (void*)this, x)) return;
        this->QAbstractButton::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(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 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_KMultiTabBarButton() { this->_binding->deleted(123, (void*)this); }
};
void xcall_KMultiTabBarButton(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KMultiTabBarButton *xself = (x_KMultiTabBarButton*)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_KMultiTabBarButton::x_3(args);	break;
        case 4: x_KMultiTabBarButton::x_4(args);	break;
        case 5: x_KMultiTabBarButton::x_5(args);	break;
        case 6: x_KMultiTabBarButton::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: x_KMultiTabBarButton::x_15(args);	break;
        case 16: x_KMultiTabBarButton::x_16(args);	break;
        case 17: x_KMultiTabBarButton::x_17(args);	break;
        case 18: x_KMultiTabBarButton::x_18(args);	break;
        case 19: delete (KMultiTabBarButton*)xself;	break;
    }
}
class x_KMultiTabBarTab : public KMultiTabBarTab, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_KMultiTabBarTab*)this)->KMultiTabBarTab::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->KMultiTabBarTab::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 = KMultiTabBarTab::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 = KMultiTabBarTab::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 = KMultiTabBarTab::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 = KMultiTabBarTab::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**)
        int xret = this->KMultiTabBarTab::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 QSize sizeHint() const
        QSize xret = ((const x_KMultiTabBarTab*)this)->KMultiTabBarTab::sizeHint();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_9(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        QSize xret = ((const x_KMultiTabBarTab*)this)->KMultiTabBarTab::minimumSizeHint();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_10(Smoke::Stack x) {
        // void setPosition(KMultiTabBar::KMultiTabBarPosition)
        this->KMultiTabBarTab::setPosition((KMultiTabBar::KMultiTabBarPosition)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setStyle(KMultiTabBar::KMultiTabBarStyle)
        this->KMultiTabBarTab::setStyle((KMultiTabBar::KMultiTabBarStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setState(bool)
        this->KMultiTabBarTab::setState((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setIcon(const QString&)
        this->KMultiTabBarTab::setIcon(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setIcon(const QPixmap&)
        this->KMultiTabBarTab::setIcon(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        this->KMultiTabBarTab::paintEvent((QPaintEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KMultiTabBarTab::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 = KMultiTabBarTab::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) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KMultiTabBarTab::staticMetaObject;
    }
};
void xcall_KMultiTabBarTab(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KMultiTabBarTab *xself = (x_KMultiTabBarTab*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KMultiTabBarTab::x_3(args);	break;
        case 4: x_KMultiTabBarTab::x_4(args);	break;
        case 5: x_KMultiTabBarTab::x_5(args);	break;
        case 6: x_KMultiTabBarTab::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_KMultiTabBarTab::x_16(args);	break;
        case 17: x_KMultiTabBarTab::x_17(args);	break;
        case 18: x_KMultiTabBarTab::x_18(args);	break;
        case 19: delete (KMultiTabBarTab*)xself;	break;
    }
}
class x_KNewPasswordDialog : public KNewPasswordDialog, 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<KNewPasswordDialog*>(this))) {
            const QMetaObject* xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KNewPasswordDialog*)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<KNewPasswordDialog*>(this))) {
            void* xret = this->KNewPasswordDialog::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 = KNewPasswordDialog::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 = KNewPasswordDialog::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 = KNewPasswordDialog::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 = KNewPasswordDialog::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<KNewPasswordDialog*>(this))) {
            int xret = this->KNewPasswordDialog::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) {
        // KNewPasswordDialog* KNewPasswordDialog(QWidget*)
        x_KNewPasswordDialog* xret = new x_KNewPasswordDialog((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KNewPasswordDialog(QWidget* x1) : KNewPasswordDialog(x1) {}
    void x_9(Smoke::Stack x) {
        // void setPrompt(const QString&)
        this->KNewPasswordDialog::setPrompt(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString prompt() const
        QString xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::prompt();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setPixmap(const QPixmap&)
        this->KNewPasswordDialog::setPixmap(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QPixmap pixmap() const
        QPixmap xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::pixmap();
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setAllowEmptyPasswords(bool)
        this->KNewPasswordDialog::setAllowEmptyPasswords((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool allowEmptyPasswords() const
        bool xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::allowEmptyPasswords();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setMinimumPasswordLength(int)
        this->KNewPasswordDialog::setMinimumPasswordLength((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // int minimumPasswordLength() const
        int xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::minimumPasswordLength();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setMaximumPasswordLength(int)
        this->KNewPasswordDialog::setMaximumPasswordLength((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // int maximumPasswordLength() const
        int xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::maximumPasswordLength();
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setReasonablePasswordLength(int)
        this->KNewPasswordDialog::setReasonablePasswordLength((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // int reasonablePasswordLength() const
        int xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::reasonablePasswordLength();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setPasswordStrengthWarningLevel(int)
        this->KNewPasswordDialog::setPasswordStrengthWarningLevel((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // int passwordStrengthWarningLevel() const
        int xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::passwordStrengthWarningLevel();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // QString password() const
        QString xret = ((const x_KNewPasswordDialog*)this)->KNewPasswordDialog::password();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // virtual void accept()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KNewPasswordDialog*>(this))) {
            this->KNewPasswordDialog::accept();
            (void)x; // noop (for compiler warning)
        } else {
            this->accept();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual bool checkPassword(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KNewPasswordDialog*>(this))) {
            bool xret = this->KNewPasswordDialog::checkPassword(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->checkPassword(*(const QString*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // bool checkAndGetPassword(QString*)
        bool xret = this->KNewPasswordDialog::checkAndGetPassword((QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // void newPassword(const QString&)
        this->KNewPasswordDialog::newPassword(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KNewPasswordDialog::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 = KNewPasswordDialog::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) {
        // KNewPasswordDialog* KNewPasswordDialog()
        x_KNewPasswordDialog* xret = new x_KNewPasswordDialog((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KNewPasswordDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3456, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KNewPasswordDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3457, (void*)this, x)) return (void*)x[0].s_class;
        return this->KNewPasswordDialog::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(3462, (void*)this, x)) return (int)x[0].s_int;
        return this->KNewPasswordDialog::qt_metacall(x1, x2, x3);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3479, (void*)this, x)) return;
        this->KNewPasswordDialog::accept();
    }
    virtual bool checkPassword(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3480, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KNewPasswordDialog::checkPassword(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 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 void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7374, (void*)this, x)) return;
        this->QDialog::showEvent(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_KNewPasswordDialog() { this->_binding->deleted(125, (void*)this); }
};
void xcall_KNewPasswordDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KNewPasswordDialog *xself = (x_KNewPasswordDialog*)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_KNewPasswordDialog::x_3(args);	break;
        case 4: x_KNewPasswordDialog::x_4(args);	break;
        case 5: x_KNewPasswordDialog::x_5(args);	break;
        case 6: x_KNewPasswordDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KNewPasswordDialog::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_KNewPasswordDialog::x_28(args);	break;
        case 29: x_KNewPasswordDialog::x_29(args);	break;
        case 30: x_KNewPasswordDialog::x_30(args);	break;
        case 31: x_KNewPasswordDialog::x_31(args);	break;
        case 32: delete (KNewPasswordDialog*)xself;	break;
    }
}
class x_KNotification : public KNotification, 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<KNotification*>(this))) {
            const QMetaObject* xret = ((const x_KNotification*)this)->KNotification::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KNotification*)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<KNotification*>(this))) {
            void* xret = this->KNotification::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 = KNotification::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 = KNotification::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 = KNotification::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 = KNotification::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<KNotification*>(this))) {
            int xret = this->KNotification::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) {
        // KNotification* KNotification(const QString&, QWidget*, const QFlags<KNotification::NotificationFlag>&)
        x_KNotification* xret = new x_KNotification(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KNotification(const QString& x1, QWidget* x2, const QFlags<KNotification::NotificationFlag>& x3) : KNotification(x1, x2, x3) {}
    static void x_9(Smoke::Stack x) {
        // KNotification* KNotification(const QString&, const QFlags<KNotification::NotificationFlag>&, QObject*)
        x_KNotification* xret = new x_KNotification(*(const QString*)x[1].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KNotification(const QString& x1, const QFlags<KNotification::NotificationFlag>& x2, QObject* x3) : KNotification(x1, x2, x3) {}
    void x_10(Smoke::Stack x) {
        // QWidget* widget() const
        QWidget* xret = ((const x_KNotification*)this)->KNotification::widget();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setWidget(QWidget*)
        this->KNotification::setWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString eventId() const
        QString xret = ((const x_KNotification*)this)->KNotification::eventId();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QString title() const
        QString xret = ((const x_KNotification*)this)->KNotification::title();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setTitle(const QString&)
        this->KNotification::setTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_KNotification*)this)->KNotification::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setText(const QString&)
        this->KNotification::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QPixmap pixmap() const
        QPixmap xret = ((const x_KNotification*)this)->KNotification::pixmap();
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setPixmap(const QPixmap&)
        this->KNotification::setPixmap(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QStringList actions() const
        QStringList xret = ((const x_KNotification*)this)->KNotification::actions();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setActions(const QStringList&)
        this->KNotification::setActions(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QList<QPair<QString,QString> > contexts() const
        QList<QPair<QString,QString> > xret = ((const x_KNotification*)this)->KNotification::contexts();
        x[0].s_class = (void*)new QList<QPair<QString,QString> >(xret);
    }
    void x_22(Smoke::Stack x) {
        // void setContexts(const QList<QPair<QString,QString> >&)
        this->KNotification::setContexts(*(const QList<QPair<QString,QString> >*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void addContext(const QPair<QString,QString>&)
        this->KNotification::addContext(*(const QPair<QString,QString>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void addContext(const QString&, const QString&)
        this->KNotification::addContext(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QFlags<KNotification::NotificationFlag> flags() const
        QFlags<KNotification::NotificationFlag> xret = ((const x_KNotification*)this)->KNotification::flags();
        x[0].s_uint = (uint)xret;
    }
    void x_26(Smoke::Stack x) {
        // void setFlags(const QFlags<KNotification::NotificationFlag>&)
        this->KNotification::setFlags(*(const QFlags<KNotification::NotificationFlag>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setComponentData(const KComponentData&)
        this->KNotification::setComponentData(*(const KComponentData*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void activated()
        this->KNotification::activated();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void activated(unsigned int)
        this->KNotification::activated((unsigned int)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void action1Activated()
        this->KNotification::action1Activated();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void action2Activated()
        this->KNotification::action2Activated();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void action3Activated()
        this->KNotification::action3Activated();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void closed()
        this->KNotification::closed();
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void ignored()
        this->KNotification::ignored();
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void activate(unsigned int)
        this->KNotification::activate((unsigned int)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void close()
        this->KNotification::close();
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void raiseWidget()
        this->KNotification::raiseWidget();
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void ref()
        this->KNotification::ref();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void deref()
        this->KNotification::deref();
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void sendEvent()
        this->KNotification::sendEvent();
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void update()
        this->KNotification::update();
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KNotification*>(this))) {
            bool xret = this->KNotification::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_43(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QString&, const QPixmap&, QWidget*, const QFlags<KNotification::NotificationFlag>&, const KComponentData&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QPixmap*)x[4].s_class,(QWidget*)x[5].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[6].s_class,*(const KComponentData*)x[7].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_44(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QPixmap&, QWidget*, const QFlags<KNotification::NotificationFlag>&, const KComponentData&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPixmap*)x[3].s_class,(QWidget*)x[4].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[5].s_class,*(const KComponentData*)x[6].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_45(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent, const QString&, const QPixmap&, QWidget*, const QFlags<KNotification::NotificationFlag>&)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,*(const QString*)x[2].s_class,*(const QPixmap*)x[3].s_class,(QWidget*)x[4].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[5].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_46(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent, const QString&, const QString&, const QPixmap&, QWidget*, const QFlags<KNotification::NotificationFlag>&)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QPixmap*)x[4].s_class,(QWidget*)x[5].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[6].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_47(Smoke::Stack x) {
        // static void beep(const QString&, QWidget*)
        KNotification::beep(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KNotification*>(this))) {
            bool xret = this->KNotification::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;
        }
    }
    static void x_49(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KNotification::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_50(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KNotification::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_51(Smoke::Stack x) {
        // KNotification* KNotification(const QString&)
        x_KNotification* xret = new x_KNotification(*(const QString*)x[1].s_class,(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_52(Smoke::Stack x) {
        // KNotification* KNotification(const QString&, QWidget*)
        x_KNotification* xret = new x_KNotification(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_53(Smoke::Stack x) {
        // KNotification* KNotification(const QString&, const QFlags<KNotification::NotificationFlag>&)
        x_KNotification* xret = new x_KNotification(*(const QString*)x[1].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[2].s_class,(QObject*)NULL);
        x[0].s_class = (void*)xret;
    }
    void x_54(Smoke::Stack x) {
        // void activate()
        this->KNotification::activate((unsigned int)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_55(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QString&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(const QPixmap&)QPixmap(),(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_56(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QString&, const QPixmap&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QPixmap*)x[4].s_class,(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_57(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QString&, const QPixmap&, QWidget*)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QPixmap*)x[4].s_class,(QWidget*)x[5].s_class,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_58(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QString&, const QPixmap&, QWidget*, const QFlags<KNotification::NotificationFlag>&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QPixmap*)x[4].s_class,(QWidget*)x[5].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[6].s_class,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_59(Smoke::Stack x) {
        // static KNotification* event(const QString&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,(const QString&)QString(),(const QPixmap&)QPixmap(),(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_60(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QPixmap&)QPixmap(),(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_61(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QPixmap&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPixmap*)x[3].s_class,(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_62(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QPixmap&, QWidget*)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPixmap*)x[3].s_class,(QWidget*)x[4].s_class,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_63(Smoke::Stack x) {
        // static KNotification* event(const QString&, const QString&, const QPixmap&, QWidget*, const QFlags<KNotification::NotificationFlag>&)
        KNotification* xret = KNotification::event(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPixmap*)x[3].s_class,(QWidget*)x[4].s_class,*(const QFlags<KNotification::NotificationFlag>*)x[5].s_class,(const KComponentData&)KComponentData());
        x[0].s_class = (void*)xret;
    }
    static void x_64(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,(const QString&)QString(),(const QPixmap&)QPixmap(),(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_65(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent, const QString&)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,*(const QString*)x[2].s_class,(const QPixmap&)QPixmap(),(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_66(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent, const QString&, const QPixmap&)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,*(const QString*)x[2].s_class,*(const QPixmap*)x[3].s_class,(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_67(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent, const QString&, const QPixmap&, QWidget*)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,*(const QString*)x[2].s_class,*(const QPixmap*)x[3].s_class,(QWidget*)x[4].s_class,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_68(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent, const QString&, const QString&)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(const QPixmap&)QPixmap(),(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_69(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent, const QString&, const QString&, const QPixmap&)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QPixmap*)x[4].s_class,(QWidget*)0L,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_70(Smoke::Stack x) {
        // static KNotification* event(KNotification::StandardEvent, const QString&, const QString&, const QPixmap&, QWidget*)
        KNotification* xret = KNotification::event((KNotification::StandardEvent)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QPixmap*)x[4].s_class,(QWidget*)x[5].s_class,(const QFlags<KNotification::NotificationFlag>&)KNotification::CloseOnTimeout);
        x[0].s_class = (void*)xret;
    }
    static void x_71(Smoke::Stack x) {
        // static void beep()
        KNotification::beep((const QString&)QString(),(QWidget*)0L);
        (void)x; // noop (for compiler warning)
    }
    static void x_72(Smoke::Stack x) {
        // static void beep(const QString&)
        KNotification::beep(*(const QString*)x[1].s_class,(QWidget*)0L);
        (void)x; // noop (for compiler warning)
    }
    static void x_73(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KNotification::staticMetaObject;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::RaiseWidgetOnActivation;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::CloseOnTimeout;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::Persistent;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::CloseWhenWidgetActivated;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::Persistant;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::DefaultEvent;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::Notification;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::Warning;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::Error;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)KNotification::Catastrophe;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3488, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KNotification::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3489, (void*)this, x)) return (void*)x[0].s_class;
        return this->KNotification::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(3494, (void*)this, x)) return (int)x[0].s_int;
        return this->KNotification::qt_metacall(x1, x2, x3);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3529, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KNotification::eventFilter(x1, x2);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3535, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KNotification::event(x1);
    }
    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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 198: //KNotification::NotificationFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KNotification::NotificationFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (KNotification::NotificationFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KNotification::NotificationFlag*)xdata = (KNotification::NotificationFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KNotification::NotificationFlag*)xdata;
                    break;
            }
            break;
        case 199: //KNotification::StandardEvent
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KNotification::StandardEvent;
                    break;
                case Smoke::EnumDelete:
                    delete (KNotification::StandardEvent*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KNotification::StandardEvent*)xdata = (KNotification::StandardEvent)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KNotification::StandardEvent*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KNotification() { this->_binding->deleted(126, (void*)this); }
};
void xenum_KNotification(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KNotification::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KNotification(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KNotification *xself = (x_KNotification*)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_KNotification::x_3(args);	break;
        case 4: x_KNotification::x_4(args);	break;
        case 5: x_KNotification::x_5(args);	break;
        case 6: x_KNotification::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KNotification::x_8(args);	break;
        case 9: x_KNotification::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: x_KNotification::x_43(args);	break;
        case 44: x_KNotification::x_44(args);	break;
        case 45: x_KNotification::x_45(args);	break;
        case 46: x_KNotification::x_46(args);	break;
        case 47: x_KNotification::x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: x_KNotification::x_49(args);	break;
        case 50: x_KNotification::x_50(args);	break;
        case 51: x_KNotification::x_51(args);	break;
        case 52: x_KNotification::x_52(args);	break;
        case 53: x_KNotification::x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: x_KNotification::x_55(args);	break;
        case 56: x_KNotification::x_56(args);	break;
        case 57: x_KNotification::x_57(args);	break;
        case 58: x_KNotification::x_58(args);	break;
        case 59: x_KNotification::x_59(args);	break;
        case 60: x_KNotification::x_60(args);	break;
        case 61: x_KNotification::x_61(args);	break;
        case 62: x_KNotification::x_62(args);	break;
        case 63: x_KNotification::x_63(args);	break;
        case 64: x_KNotification::x_64(args);	break;
        case 65: x_KNotification::x_65(args);	break;
        case 66: x_KNotification::x_66(args);	break;
        case 67: x_KNotification::x_67(args);	break;
        case 68: x_KNotification::x_68(args);	break;
        case 69: x_KNotification::x_69(args);	break;
        case 70: x_KNotification::x_70(args);	break;
        case 71: x_KNotification::x_71(args);	break;
        case 72: x_KNotification::x_72(args);	break;
        case 73: x_KNotification::x_73(args);	break;
        case 74: x_KNotification::x_74(args);	break;
        case 75: x_KNotification::x_75(args);	break;
        case 76: x_KNotification::x_76(args);	break;
        case 77: x_KNotification::x_77(args);	break;
        case 78: x_KNotification::x_78(args);	break;
        case 79: x_KNotification::x_79(args);	break;
        case 80: x_KNotification::x_80(args);	break;
        case 81: x_KNotification::x_81(args);	break;
        case 82: x_KNotification::x_82(args);	break;
        case 83: x_KNotification::x_83(args);	break;
        case 84: delete (KNotification*)xself;	break;
    }
}
class x_KNotificationRestrictions : public KNotificationRestrictions, 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<KNotificationRestrictions*>(this))) {
            const QMetaObject* xret = ((const x_KNotificationRestrictions*)this)->KNotificationRestrictions::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KNotificationRestrictions*)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<KNotificationRestrictions*>(this))) {
            void* xret = this->KNotificationRestrictions::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 = KNotificationRestrictions::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 = KNotificationRestrictions::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 = KNotificationRestrictions::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 = KNotificationRestrictions::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<KNotificationRestrictions*>(this))) {
            int xret = this->KNotificationRestrictions::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) {
        // KNotificationRestrictions* KNotificationRestrictions(QFlags<KNotificationRestrictions::Service>, QObject*)
        x_KNotificationRestrictions* xret = new x_KNotificationRestrictions((QFlags<KNotificationRestrictions::Service>)x[1].s_uint,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KNotificationRestrictions(QFlags<KNotificationRestrictions::Service> x1, QObject* x2) : KNotificationRestrictions(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KNotificationRestrictions::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KNotificationRestrictions::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // KNotificationRestrictions* KNotificationRestrictions()
        x_KNotificationRestrictions* xret = new x_KNotificationRestrictions((QFlags<KNotificationRestrictions::Service>)KNotificationRestrictions::NonCriticalServices,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_12(Smoke::Stack x) {
        // KNotificationRestrictions* KNotificationRestrictions(QFlags<KNotificationRestrictions::Service>)
        x_KNotificationRestrictions* xret = new x_KNotificationRestrictions((QFlags<KNotificationRestrictions::Service>)x[1].s_uint,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KNotificationRestrictions::staticMetaObject;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)KNotificationRestrictions::NoServices;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)KNotificationRestrictions::ScreenSaver;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)KNotificationRestrictions::MessagingPopups;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)KNotificationRestrictions::Notifications;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)KNotificationRestrictions::CriticalNotifications;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)KNotificationRestrictions::NonCriticalServices;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)KNotificationRestrictions::AllServices;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3572, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KNotificationRestrictions::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3573, (void*)this, x)) return (void*)x[0].s_class;
        return this->KNotificationRestrictions::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(3578, (void*)this, x)) return (int)x[0].s_int;
        return this->KNotificationRestrictions::qt_metacall(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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 201: //KNotificationRestrictions::Service
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KNotificationRestrictions::Service;
                    break;
                case Smoke::EnumDelete:
                    delete (KNotificationRestrictions::Service*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KNotificationRestrictions::Service*)xdata = (KNotificationRestrictions::Service)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KNotificationRestrictions::Service*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KNotificationRestrictions() { this->_binding->deleted(127, (void*)this); }
};
void xenum_KNotificationRestrictions(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KNotificationRestrictions::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KNotificationRestrictions(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KNotificationRestrictions *xself = (x_KNotificationRestrictions*)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_KNotificationRestrictions::x_3(args);	break;
        case 4: x_KNotificationRestrictions::x_4(args);	break;
        case 5: x_KNotificationRestrictions::x_5(args);	break;
        case 6: x_KNotificationRestrictions::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KNotificationRestrictions::x_8(args);	break;
        case 9: x_KNotificationRestrictions::x_9(args);	break;
        case 10: x_KNotificationRestrictions::x_10(args);	break;
        case 11: x_KNotificationRestrictions::x_11(args);	break;
        case 12: x_KNotificationRestrictions::x_12(args);	break;
        case 13: x_KNotificationRestrictions::x_13(args);	break;
        case 14: x_KNotificationRestrictions::x_14(args);	break;
        case 15: x_KNotificationRestrictions::x_15(args);	break;
        case 16: x_KNotificationRestrictions::x_16(args);	break;
        case 17: x_KNotificationRestrictions::x_17(args);	break;
        case 18: x_KNotificationRestrictions::x_18(args);	break;
        case 19: x_KNotificationRestrictions::x_19(args);	break;
        case 20: x_KNotificationRestrictions::x_20(args);	break;
        case 21: delete (KNotificationRestrictions*)xself;	break;
    }
}
class x_KNumInput : public KNumInput, 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<KNumInput*>(this))) {
            const QMetaObject* xret = ((const x_KNumInput*)this)->KNumInput::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KNumInput*)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<KNumInput*>(this))) {
            void* xret = this->KNumInput::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 = KNumInput::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 = KNumInput::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 = KNumInput::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 = KNumInput::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<KNumInput*>(this))) {
            int xret = this->KNumInput::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) {
        // KNumInput* KNumInput(QWidget*)
        x_KNumInput* xret = new x_KNumInput((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KNumInput(QWidget* x1) : KNumInput(x1) {}
    static void x_9(Smoke::Stack x) {
        // KNumInput* KNumInput(QWidget*, KNumInput*)
        x_KNumInput* xret = new x_KNumInput((QWidget*)x[1].s_class,(KNumInput*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KNumInput(QWidget* x1, KNumInput* x2) : KNumInput(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // virtual void setLabel(const QString&, QFlags<Qt::AlignmentFlag>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KNumInput*>(this))) {
            this->KNumInput::setLabel(*(const QString*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
            (void)x; // noop (for compiler warning)
        } else {
            this->setLabel(*(const QString*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // QString label() const
        QString xret = ((const x_KNumInput*)this)->KNumInput::label();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // bool showSlider() const
        bool xret = ((const x_KNumInput*)this)->KNumInput::showSlider();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setSteps(int, int)
        this->KNumInput::setSteps((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KNumInput*>(this))) {
            QSize xret = ((const x_KNumInput*)this)->KNumInput::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KNumInput*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_15(Smoke::Stack x) {
        // QSlider* slider() const
        QSlider* xret = ((const x_KNumInput*)this)->KNumInput::slider();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // void layout(bool)
        this->KNumInput::layout((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // virtual void doLayout() = 0
        this->doLayout();
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KNumInput::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KNumInput::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // KNumInput* KNumInput()
        x_KNumInput* xret = new x_KNumInput((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // void setLabel(const QString&)
        this->KNumInput::setLabel(*(const QString*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)Qt::AlignLeft|Qt::AlignTop);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KNumInput::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3593, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KNumInput::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3594, (void*)this, x)) return (void*)x[0].s_class;
        return this->KNumInput::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(3599, (void*)this, x)) return (int)x[0].s_int;
        return this->KNumInput::qt_metacall(x1, x2, x3);
    }
    virtual void setLabel(const QString& x1, QFlags<Qt::AlignmentFlag> x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(3602, (void*)this, x)) return;
        this->KNumInput::setLabel(x1, x2);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3606, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KNumInput::sizeHint();
    }
    virtual void doLayout() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(3609, (void*)this, x, true /*pure virtual*/);
    }
    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(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_KNumInput() { this->_binding->deleted(128, (void*)this); }
};
void xcall_KNumInput(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KNumInput *xself = (x_KNumInput*)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_KNumInput::x_3(args);	break;
        case 4: x_KNumInput::x_4(args);	break;
        case 5: x_KNumInput::x_5(args);	break;
        case 6: x_KNumInput::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KNumInput::x_8(args);	break;
        case 9: x_KNumInput::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: x_KNumInput::x_18(args);	break;
        case 19: x_KNumInput::x_19(args);	break;
        case 20: x_KNumInput::x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_KNumInput::x_22(args);	break;
        case 23: delete (KNumInput*)xself;	break;
    }
}
class x_KPageDialog : public KPageDialog, 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<KPageDialog*>(this))) {
            const QMetaObject* xret = ((const x_KPageDialog*)this)->KPageDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPageDialog*)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<KPageDialog*>(this))) {
            void* xret = this->KPageDialog::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 = KPageDialog::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 = KPageDialog::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 = KPageDialog::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 = KPageDialog::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<KPageDialog*>(this))) {
            int xret = this->KPageDialog::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) {
        // KPageDialog* KPageDialog(QWidget*, QFlags<Qt::WindowType>)
        x_KPageDialog* xret = new x_KPageDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageDialog(QWidget* x1, QFlags<Qt::WindowType> x2) : KPageDialog(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void setFaceType(KPageDialog::FaceType)
        this->KPageDialog::setFaceType((KPageDialog::FaceType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, const QString&)
        KPageWidgetItem* xret = this->KPageDialog::addPage((QWidget*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void addPage(KPageWidgetItem*)
        this->KPageDialog::addPage((KPageWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // KPageWidgetItem* insertPage(KPageWidgetItem*, QWidget*, const QString&)
        KPageWidgetItem* xret = this->KPageDialog::insertPage((KPageWidgetItem*)x[1].s_class,(QWidget*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // void insertPage(KPageWidgetItem*, KPageWidgetItem*)
        this->KPageDialog::insertPage((KPageWidgetItem*)x[1].s_class,(KPageWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // KPageWidgetItem* addSubPage(KPageWidgetItem*, QWidget*, const QString&)
        KPageWidgetItem* xret = this->KPageDialog::addSubPage((KPageWidgetItem*)x[1].s_class,(QWidget*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // void addSubPage(KPageWidgetItem*, KPageWidgetItem*)
        this->KPageDialog::addSubPage((KPageWidgetItem*)x[1].s_class,(KPageWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void removePage(KPageWidgetItem*)
        this->KPageDialog::removePage((KPageWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setCurrentPage(KPageWidgetItem*)
        this->KPageDialog::setCurrentPage((KPageWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // KPageWidgetItem* currentPage() const
        KPageWidgetItem* xret = ((const x_KPageDialog*)this)->KPageDialog::currentPage();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void currentPageChanged(KPageWidgetItem*, KPageWidgetItem*)
        this->KPageDialog::currentPageChanged((KPageWidgetItem*)x[1].s_class,(KPageWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void pageRemoved(KPageWidgetItem*)
        this->KPageDialog::pageRemoved((KPageWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // KPageDialog* KPageDialog(KPageWidget*, QWidget*, QFlags<Qt::WindowType>)
        x_KPageDialog* xret = new x_KPageDialog((KPageWidget*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageDialog(KPageWidget* x1, QWidget* x2, QFlags<Qt::WindowType> x3) : KPageDialog(x1, x2, x3) {}
    static void x_22(Smoke::Stack x) {
        // KPageDialog* KPageDialog(KPageDialogPrivate&, KPageWidget*, QWidget*, QFlags<Qt::WindowType>)
        x_KPageDialog* xret = new x_KPageDialog(*(KPageDialogPrivate*)x[1].s_class,(KPageWidget*)x[2].s_class,(QWidget*)x[3].s_class,(QFlags<Qt::WindowType>)x[4].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageDialog(KPageDialogPrivate& x1, KPageWidget* x2, QWidget* x3, QFlags<Qt::WindowType> x4) : KPageDialog(x1, x2, x3, x4) {}
    void x_23(Smoke::Stack x) {
        // KPageWidget* pageWidget()
        KPageWidget* xret = this->KPageDialog::pageWidget();
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // const KPageWidget* pageWidget() const
        const KPageWidget* xret = ((const x_KPageDialog*)this)->KPageDialog::pageWidget();
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // void setPageWidget(KPageWidget*)
        this->KPageDialog::setPageWidget((KPageWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_26(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPageDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KPageDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_28(Smoke::Stack x) {
        // KPageDialog* KPageDialog()
        x_KPageDialog* xret = new x_KPageDialog((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_29(Smoke::Stack x) {
        // KPageDialog* KPageDialog(QWidget*)
        x_KPageDialog* xret = new x_KPageDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // KPageDialog* KPageDialog(KPageWidget*, QWidget*)
        x_KPageDialog* xret = new x_KPageDialog((KPageWidget*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // KPageDialog* KPageDialog(KPageDialogPrivate&, KPageWidget*, QWidget*)
        x_KPageDialog* xret = new x_KPageDialog(*(KPageDialogPrivate*)x[1].s_class,(KPageWidget*)x[2].s_class,(QWidget*)x[3].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_32(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPageDialog::staticMetaObject;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)KPageDialog::Auto;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)KPageDialog::Plain;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)KPageDialog::List;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)KPageDialog::Tree;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)KPageDialog::Tabbed;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3616, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPageDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3617, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPageDialog::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(3622, (void*)this, x)) return (int)x[0].s_int;
        return this->KPageDialog::qt_metacall(x1, x2, x3);
    }
    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 void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7374, (void*)this, x)) return;
        this->QDialog::showEvent(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 204: //KPageDialog::FaceType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KPageDialog::FaceType;
                    break;
                case Smoke::EnumDelete:
                    delete (KPageDialog::FaceType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KPageDialog::FaceType*)xdata = (KPageDialog::FaceType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KPageDialog::FaceType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KPageDialog() { this->_binding->deleted(129, (void*)this); }
};
void xenum_KPageDialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KPageDialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KPageDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPageDialog *xself = (x_KPageDialog*)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_KPageDialog::x_3(args);	break;
        case 4: x_KPageDialog::x_4(args);	break;
        case 5: x_KPageDialog::x_5(args);	break;
        case 6: x_KPageDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KPageDialog::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: x_KPageDialog::x_21(args);	break;
        case 22: x_KPageDialog::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_KPageDialog::x_26(args);	break;
        case 27: x_KPageDialog::x_27(args);	break;
        case 28: x_KPageDialog::x_28(args);	break;
        case 29: x_KPageDialog::x_29(args);	break;
        case 30: x_KPageDialog::x_30(args);	break;
        case 31: x_KPageDialog::x_31(args);	break;
        case 32: x_KPageDialog::x_32(args);	break;
        case 33: x_KPageDialog::x_33(args);	break;
        case 34: x_KPageDialog::x_34(args);	break;
        case 35: x_KPageDialog::x_35(args);	break;
        case 36: x_KPageDialog::x_36(args);	break;
        case 37: x_KPageDialog::x_37(args);	break;
        case 38: delete (KPageDialog*)xself;	break;
    }
}
class x_KPageModel : public KPageModel, 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<KPageModel*>(this))) {
            const QMetaObject* xret = ((const x_KPageModel*)this)->KPageModel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPageModel*)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<KPageModel*>(this))) {
            void* xret = this->KPageModel::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 = KPageModel::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 = KPageModel::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 = KPageModel::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 = KPageModel::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<KPageModel*>(this))) {
            int xret = this->KPageModel::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) {
        // KPageModel* KPageModel(QObject*)
        x_KPageModel* xret = new x_KPageModel((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageModel(QObject* x1) : KPageModel(x1) {}
    static void x_9(Smoke::Stack x) {
        // KPageModel* KPageModel(KPageModelPrivate&, QObject*)
        x_KPageModel* xret = new x_KPageModel(*(KPageModelPrivate*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageModel(KPageModelPrivate& x1, QObject* x2) : KPageModel(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPageModel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KPageModel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // KPageModel* KPageModel()
        x_KPageModel* xret = new x_KPageModel((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPageModel::staticMetaObject;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)KPageModel::HeaderRole;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)KPageModel::WidgetRole;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3654, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPageModel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3655, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPageModel::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(3660, (void*)this, x)) return (int)x[0].s_int;
        return this->KPageModel::qt_metacall(x1, x2, x3);
    }
    virtual QModelIndex index(int x1, int x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        this->_binding->callMethod(7209, (void*)this, x, true /*pure virtual*/);
        QModelIndex* xptr = (QModelIndex*)x[0].s_class;
        QModelIndex xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QModelIndex parent(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(7210, (void*)this, x, true /*pure virtual*/);
        QModelIndex* xptr = (QModelIndex*)x[0].s_class;
        QModelIndex xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual int rowCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(7211, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual int columnCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(7212, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual bool hasChildren(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7213, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::hasChildren(x1);
    }
    virtual QVariant data(const QModelIndex& x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        this->_binding->callMethod(7214, (void*)this, x, true /*pure virtual*/);
        QVariant* xptr = (QVariant*)x[0].s_class;
        QVariant xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual bool setData(const QModelIndex& x1, const QVariant& x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(7215, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::setData(x1, x2, x3);
    }
    virtual QVariant headerData(int x1, Qt::Orientation x2, int x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(7216, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::headerData(x1, x2, x3);
    }
    virtual bool setHeaderData(int x1, Qt::Orientation x2, const QVariant& x3, int x4) {
        Smoke::StackItem x[5];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        if (this->_binding->callMethod(7217, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::setHeaderData(x1, x2, x3, x4);
    }
    virtual QMap<int,QVariant> itemData(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7218, (void*)this, x)) {
            QMap<int,QVariant>* xptr = (QMap<int,QVariant>*)x[0].s_class;
            QMap<int,QVariant> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::itemData(x1);
    }
    virtual bool setItemData(const QModelIndex& x1, const QMap<int,QVariant>& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7219, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::setItemData(x1, x2);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7220, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QModelIndex>& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7221, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QAbstractItemModel::mimeData(x1);
    }
    virtual bool dropMimeData(const QMimeData* x1, Qt::DropAction x2, int x3, int x4, const QModelIndex& x5) {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        x[3].s_int = x3;
        x[4].s_int = x4;
        x[5].s_class = (void*)&x5;
        if (this->_binding->callMethod(7222, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::dropMimeData(x1, x2, x3, x4, x5);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7223, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QAbstractItemModel::supportedDropActions();
    }
    virtual bool insertRows(int x1, int x2, const QModelIndex& x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(7224, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::insertRows(x1, x2, x3);
    }
    virtual bool insertColumns(int x1, int x2, const QModelIndex& x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(7225, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::insertColumns(x1, x2, x3);
    }
    virtual bool removeRows(int x1, int x2, const QModelIndex& x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(7226, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::removeRows(x1, x2, x3);
    }
    virtual bool removeColumns(int x1, int x2, const QModelIndex& x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(7227, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::removeColumns(x1, x2, x3);
    }
    virtual void fetchMore(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7228, (void*)this, x)) return;
        this->QAbstractItemModel::fetchMore(x1);
    }
    virtual bool canFetchMore(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7229, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::canFetchMore(x1);
    }
    virtual QFlags<Qt::ItemFlag> flags(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7230, (void*)this, x)) return (QFlags<Qt::ItemFlag>)x[0].s_uint;
        return this->QAbstractItemModel::flags(x1);
    }
    virtual void sort(int x1, Qt::SortOrder x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(7231, (void*)this, x)) return;
        this->QAbstractItemModel::sort(x1, x2);
    }
    virtual QModelIndex buddy(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7232, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::buddy(x1);
    }
    virtual QList<QModelIndex> match(const QModelIndex& x1, int x2, const QVariant& x3, int x4, QFlags<Qt::MatchFlag> x5) const {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        x[5].s_uint = (uint)x5;
        if (this->_binding->callMethod(7233, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::match(x1, x2, x3, x4, x5);
    }
    virtual QSize span(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7234, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::span(x1);
    }
    virtual bool submit() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7235, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::submit();
    }
    virtual void revert() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7236, (void*)this, x)) return;
        this->QAbstractItemModel::revert();
    }
    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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 207: //KPageModel::Role
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KPageModel::Role;
                    break;
                case Smoke::EnumDelete:
                    delete (KPageModel::Role*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KPageModel::Role*)xdata = (KPageModel::Role)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KPageModel::Role*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KPageModel() { this->_binding->deleted(131, (void*)this); }
};
void xenum_KPageModel(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KPageModel::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KPageModel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPageModel *xself = (x_KPageModel*)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_KPageModel::x_3(args);	break;
        case 4: x_KPageModel::x_4(args);	break;
        case 5: x_KPageModel::x_5(args);	break;
        case 6: x_KPageModel::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KPageModel::x_8(args);	break;
        case 9: x_KPageModel::x_9(args);	break;
        case 10: x_KPageModel::x_10(args);	break;
        case 11: x_KPageModel::x_11(args);	break;
        case 12: x_KPageModel::x_12(args);	break;
        case 13: x_KPageModel::x_13(args);	break;
        case 14: x_KPageModel::x_14(args);	break;
        case 15: x_KPageModel::x_15(args);	break;
        case 16: delete (KPageModel*)xself;	break;
    }
}
class x_KPageView : public KPageView, 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<KPageView*>(this))) {
            const QMetaObject* xret = ((const x_KPageView*)this)->KPageView::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPageView*)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<KPageView*>(this))) {
            void* xret = this->KPageView::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 = KPageView::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 = KPageView::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 = KPageView::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 = KPageView::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<KPageView*>(this))) {
            int xret = this->KPageView::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) {
        // KPageView* KPageView(QWidget*)
        x_KPageView* xret = new x_KPageView((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageView(QWidget* x1) : KPageView(x1) {}
    void x_9(Smoke::Stack x) {
        // void setModel(QAbstractItemModel*)
        this->KPageView::setModel((QAbstractItemModel*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QAbstractItemModel* model() const
        QAbstractItemModel* xret = ((const x_KPageView*)this)->KPageView::model();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setFaceType(KPageView::FaceType)
        this->KPageView::setFaceType((KPageView::FaceType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // KPageView::FaceType faceType() const
        KPageView::FaceType xret = ((const x_KPageView*)this)->KPageView::faceType();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setCurrentPage(const QModelIndex&)
        this->KPageView::setCurrentPage(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QModelIndex currentPage() const
        QModelIndex xret = ((const x_KPageView*)this)->KPageView::currentPage();
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setItemDelegate(QAbstractItemDelegate*)
        this->KPageView::setItemDelegate((QAbstractItemDelegate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QAbstractItemDelegate* itemDelegate() const
        QAbstractItemDelegate* xret = ((const x_KPageView*)this)->KPageView::itemDelegate();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // void setDefaultWidget(QWidget*)
        this->KPageView::setDefaultWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void currentPageChanged(const QModelIndex&, const QModelIndex&)
        this->KPageView::currentPageChanged(*(const QModelIndex*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // virtual QAbstractItemView* createView()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPageView*>(this))) {
            QAbstractItemView* xret = this->KPageView::createView();
            x[0].s_class = (void*)xret;
        } else {
            QAbstractItemView* xret = this->createView();
            x[0].s_class = (void*)xret;
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual bool showPageHeader() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPageView*>(this))) {
            bool xret = ((const x_KPageView*)this)->KPageView::showPageHeader();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KPageView*)this)->showPageHeader();
            x[0].s_bool = xret;
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual QFlags<Qt::AlignmentFlag> viewPosition() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KPageView*>(this))) {
            QFlags<Qt::AlignmentFlag> xret = ((const x_KPageView*)this)->KPageView::viewPosition();
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::AlignmentFlag> xret = ((const x_KPageView*)this)->viewPosition();
            x[0].s_uint = (uint)xret;
        }
    }
    static void x_22(Smoke::Stack x) {
        // KPageView* KPageView(KPageViewPrivate&, QWidget*)
        x_KPageView* xret = new x_KPageView(*(KPageViewPrivate*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageView(KPageViewPrivate& x1, QWidget* x2) : KPageView(x1, x2) {}
    static void x_23(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPageView::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 = KPageView::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // KPageView* KPageView()
        x_KPageView* xret = new x_KPageView((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_26(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPageView::staticMetaObject;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)KPageView::Auto;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)KPageView::Plain;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)KPageView::List;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)KPageView::Tree;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)KPageView::Tabbed;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3670, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPageView::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3671, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPageView::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(3676, (void*)this, x)) return (int)x[0].s_int;
        return this->KPageView::qt_metacall(x1, x2, x3);
    }
    virtual QAbstractItemView* createView() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3688, (void*)this, x)) return (QAbstractItemView*)x[0].s_class;
        return this->KPageView::createView();
    }
    virtual bool showPageHeader() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3689, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KPageView::showPageHeader();
    }
    virtual QFlags<Qt::AlignmentFlag> viewPosition() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3690, (void*)this, x)) return (QFlags<Qt::AlignmentFlag>)x[0].s_uint;
        return this->KPageView::viewPosition();
    }
    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(7791, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 210: //KPageView::FaceType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KPageView::FaceType;
                    break;
                case Smoke::EnumDelete:
                    delete (KPageView::FaceType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KPageView::FaceType*)xdata = (KPageView::FaceType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KPageView::FaceType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KPageView() { this->_binding->deleted(133, (void*)this); }
};
void xenum_KPageView(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KPageView::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KPageView(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPageView *xself = (x_KPageView*)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_KPageView::x_3(args);	break;
        case 4: x_KPageView::x_4(args);	break;
        case 5: x_KPageView::x_5(args);	break;
        case 6: x_KPageView::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KPageView::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: x_KPageView::x_22(args);	break;
        case 23: x_KPageView::x_23(args);	break;
        case 24: x_KPageView::x_24(args);	break;
        case 25: x_KPageView::x_25(args);	break;
        case 26: x_KPageView::x_26(args);	break;
        case 27: x_KPageView::x_27(args);	break;
        case 28: x_KPageView::x_28(args);	break;
        case 29: x_KPageView::x_29(args);	break;
        case 30: x_KPageView::x_30(args);	break;
        case 31: x_KPageView::x_31(args);	break;
        case 32: delete (KPageView*)xself;	break;
    }
}
class x_KPageWidget : public KPageWidget, 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<KPageWidget*>(this))) {
            const QMetaObject* xret = ((const x_KPageWidget*)this)->KPageWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPageWidget*)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<KPageWidget*>(this))) {
            void* xret = this->KPageWidget::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 = KPageWidget::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 = KPageWidget::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 = KPageWidget::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 = KPageWidget::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<KPageWidget*>(this))) {
            int xret = this->KPageWidget::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) {
        // KPageWidget* KPageWidget(QWidget*)
        x_KPageWidget* xret = new x_KPageWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageWidget(QWidget* x1) : KPageWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, const QString&)
        KPageWidgetItem* xret = this->KPageWidget::addPage((QWidget*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // void addPage(KPageWidgetItem*)
        this->KPageWidget::addPage((KPageWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // KPageWidgetItem* insertPage(KPageWidgetItem*, QWidget*, const QString&)
        KPageWidgetItem* xret = this->KPageWidget::insertPage((KPageWidgetItem*)x[1].s_class,(QWidget*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // void insertPage(KPageWidgetItem*, KPageWidgetItem*)
        this->KPageWidget::insertPage((KPageWidgetItem*)x[1].s_class,(KPageWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // KPageWidgetItem* addSubPage(KPageWidgetItem*, QWidget*, const QString&)
        KPageWidgetItem* xret = this->KPageWidget::addSubPage((KPageWidgetItem*)x[1].s_class,(QWidget*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // void addSubPage(KPageWidgetItem*, KPageWidgetItem*)
        this->KPageWidget::addSubPage((KPageWidgetItem*)x[1].s_class,(KPageWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void removePage(KPageWidgetItem*)
        this->KPageWidget::removePage((KPageWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setCurrentPage(KPageWidgetItem*)
        this->KPageWidget::setCurrentPage((KPageWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // KPageWidgetItem* currentPage() const
        KPageWidgetItem* xret = ((const x_KPageWidget*)this)->KPageWidget::currentPage();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // void currentPageChanged(KPageWidgetItem*, KPageWidgetItem*)
        this->KPageWidget::currentPageChanged((KPageWidgetItem*)x[1].s_class,(KPageWidgetItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void pageToggled(KPageWidgetItem*, bool)
        this->KPageWidget::pageToggled((KPageWidgetItem*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void pageRemoved(KPageWidgetItem*)
        this->KPageWidget::pageRemoved((KPageWidgetItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // KPageWidget* KPageWidget(KPageWidgetPrivate&, QWidget*)
        x_KPageWidget* xret = new x_KPageWidget(*(KPageWidgetPrivate*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageWidget(KPageWidgetPrivate& x1, QWidget* x2) : KPageWidget(x1, x2) {}
    static void x_22(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPageWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KPageWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // KPageWidget* KPageWidget()
        x_KPageWidget* xret = new x_KPageWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_25(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPageWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3702, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPageWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3703, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPageWidget::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(3708, (void*)this, x)) return (int)x[0].s_int;
        return this->KPageWidget::qt_metacall(x1, x2, x3);
    }
    virtual QAbstractItemView* createView() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3688, (void*)this, x)) return (QAbstractItemView*)x[0].s_class;
        return this->KPageView::createView();
    }
    virtual bool showPageHeader() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3689, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KPageView::showPageHeader();
    }
    virtual QFlags<Qt::AlignmentFlag> viewPosition() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3690, (void*)this, x)) return (QFlags<Qt::AlignmentFlag>)x[0].s_uint;
        return this->KPageView::viewPosition();
    }
    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(7791, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(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_KPageWidget() { this->_binding->deleted(135, (void*)this); }
};
void xcall_KPageWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPageWidget *xself = (x_KPageWidget*)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_KPageWidget::x_3(args);	break;
        case 4: x_KPageWidget::x_4(args);	break;
        case 5: x_KPageWidget::x_5(args);	break;
        case 6: x_KPageWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KPageWidget::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: x_KPageWidget::x_21(args);	break;
        case 22: x_KPageWidget::x_22(args);	break;
        case 23: x_KPageWidget::x_23(args);	break;
        case 24: x_KPageWidget::x_24(args);	break;
        case 25: x_KPageWidget::x_25(args);	break;
        case 26: delete (KPageWidget*)xself;	break;
    }
}
class x_KPageWidgetItem : public KPageWidgetItem, 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<KPageWidgetItem*>(this))) {
            const QMetaObject* xret = ((const x_KPageWidgetItem*)this)->KPageWidgetItem::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KPageWidgetItem*)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<KPageWidgetItem*>(this))) {
            void* xret = this->KPageWidgetItem::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 = KPageWidgetItem::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 = KPageWidgetItem::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 = KPageWidgetItem::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 = KPageWidgetItem::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<KPageWidgetItem*>(this))) {
            int xret = this->KPageWidgetItem::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) {
        // KPageWidgetItem* KPageWidgetItem(QWidget*)
        x_KPageWidgetItem* xret = new x_KPageWidgetItem((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageWidgetItem(QWidget* x1) : KPageWidgetItem(x1) {}
    static void x_9(Smoke::Stack x) {
        // KPageWidgetItem* KPageWidgetItem(QWidget*, const QString&)
        x_KPageWidgetItem* xret = new x_KPageWidgetItem((QWidget*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KPageWidgetItem(QWidget* x1, const QString& x2) : KPageWidgetItem(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // QWidget* widget() const
        QWidget* xret = ((const x_KPageWidgetItem*)this)->KPageWidgetItem::widget();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void setName(const QString&)
        this->KPageWidgetItem::setName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_KPageWidgetItem*)this)->KPageWidgetItem::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setHeader(const QString&)
        this->KPageWidgetItem::setHeader(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QString header() const
        QString xret = ((const x_KPageWidgetItem*)this)->KPageWidgetItem::header();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setIcon(const KIcon&)
        this->KPageWidgetItem::setIcon(*(const KIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // KIcon icon() const
        KIcon xret = ((const x_KPageWidgetItem*)this)->KPageWidgetItem::icon();
        x[0].s_class = (void*)new KIcon(xret);
    }
    void x_17(Smoke::Stack x) {
        // void setCheckable(bool)
        this->KPageWidgetItem::setCheckable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool isCheckable() const
        bool xret = ((const x_KPageWidgetItem*)this)->KPageWidgetItem::isCheckable();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // bool isChecked() const
        bool xret = ((const x_KPageWidgetItem*)this)->KPageWidgetItem::isChecked();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // bool isEnabled() const
        bool xret = ((const x_KPageWidgetItem*)this)->KPageWidgetItem::isEnabled();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setEnabled(bool)
        this->KPageWidgetItem::setEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setChecked(bool)
        this->KPageWidgetItem::setChecked((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void changed()
        this->KPageWidgetItem::changed();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void toggled(bool)
        this->KPageWidgetItem::toggled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KPageWidgetItem::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_26(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KPageWidgetItem::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KPageWidgetItem::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3728, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KPageWidgetItem::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3729, (void*)this, x)) return (void*)x[0].s_class;
        return this->KPageWidgetItem::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(3734, (void*)this, x)) return (int)x[0].s_int;
        return this->KPageWidgetItem::qt_metacall(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_KPageWidgetItem() { this->_binding->deleted(136, (void*)this); }
};
void xcall_KPageWidgetItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KPageWidgetItem *xself = (x_KPageWidgetItem*)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_KPageWidgetItem::x_3(args);	break;
        case 4: x_KPageWidgetItem::x_4(args);	break;
        case 5: x_KPageWidgetItem::x_5(args);	break;
        case 6: x_KPageWidgetItem::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KPageWidgetItem::x_8(args);	break;
        case 9: x_KPageWidgetItem::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: x_KPageWidgetItem::x_25(args);	break;
        case 26: x_KPageWidgetItem::x_26(args);	break;
        case 27: x_KPageWidgetItem::x_27(args);	break;
        case 28: delete (KPageWidgetItem*)xself;	break;
    }
}

}
