//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_KStatefulBrush : public KStatefulBrush {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush()
        x_KStatefulBrush* xret = new x_KStatefulBrush();
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatefulBrush() : KStatefulBrush() {}
    static void x_2(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(KColorScheme::ColorSet, KColorScheme::ForegroundRole, KSharedPtr<KSharedConfig>)
        x_KStatefulBrush* xret = new x_KStatefulBrush((KColorScheme::ColorSet)x[1].s_enum,(KColorScheme::ForegroundRole)x[2].s_enum,*(KSharedPtr<KSharedConfig>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatefulBrush(KColorScheme::ColorSet x1, KColorScheme::ForegroundRole x2, KSharedPtr<KSharedConfig> x3) : KStatefulBrush(x1, x2, x3) {}
    static void x_3(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(KColorScheme::ColorSet, KColorScheme::BackgroundRole, KSharedPtr<KSharedConfig>)
        x_KStatefulBrush* xret = new x_KStatefulBrush((KColorScheme::ColorSet)x[1].s_enum,(KColorScheme::BackgroundRole)x[2].s_enum,*(KSharedPtr<KSharedConfig>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatefulBrush(KColorScheme::ColorSet x1, KColorScheme::BackgroundRole x2, KSharedPtr<KSharedConfig> x3) : KStatefulBrush(x1, x2, x3) {}
    static void x_4(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(KColorScheme::ColorSet, KColorScheme::DecorationRole, KSharedPtr<KSharedConfig>)
        x_KStatefulBrush* xret = new x_KStatefulBrush((KColorScheme::ColorSet)x[1].s_enum,(KColorScheme::DecorationRole)x[2].s_enum,*(KSharedPtr<KSharedConfig>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatefulBrush(KColorScheme::ColorSet x1, KColorScheme::DecorationRole x2, KSharedPtr<KSharedConfig> x3) : KStatefulBrush(x1, x2, x3) {}
    static void x_5(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(const QBrush&, KSharedPtr<KSharedConfig>)
        x_KStatefulBrush* xret = new x_KStatefulBrush(*(const QBrush*)x[1].s_class,*(KSharedPtr<KSharedConfig>*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatefulBrush(const QBrush& x1, KSharedPtr<KSharedConfig> x2) : KStatefulBrush(x1, x2) {}
    static void x_6(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(const QBrush&, const QBrush&, KSharedPtr<KSharedConfig>)
        x_KStatefulBrush* xret = new x_KStatefulBrush(*(const QBrush*)x[1].s_class,*(const QBrush*)x[2].s_class,*(KSharedPtr<KSharedConfig>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatefulBrush(const QBrush& x1, const QBrush& x2, KSharedPtr<KSharedConfig> x3) : KStatefulBrush(x1, x2, x3) {}
    static void x_7(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(const KStatefulBrush&)
        x_KStatefulBrush* xret = new x_KStatefulBrush(*(const KStatefulBrush*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatefulBrush(const KStatefulBrush& x1) : KStatefulBrush(x1) {}
    void x_8(Smoke::Stack x) {
        // KStatefulBrush& operator=(const KStatefulBrush&)
        KStatefulBrush& xret = this->KStatefulBrush::operator=(*(const KStatefulBrush*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_9(Smoke::Stack x) {
        // QBrush brush(QPalette::ColorGroup) const
        QBrush xret = ((const x_KStatefulBrush*)this)->KStatefulBrush::brush((QPalette::ColorGroup)x[1].s_enum);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_10(Smoke::Stack x) {
        // QBrush brush(const QPalette&) const
        QBrush xret = ((const x_KStatefulBrush*)this)->KStatefulBrush::brush(*(const QPalette*)x[1].s_class);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_11(Smoke::Stack x) {
        // QBrush brush(const QWidget*) const
        QBrush xret = ((const x_KStatefulBrush*)this)->KStatefulBrush::brush((const QWidget*)x[1].s_class);
        x[0].s_class = (void*)new QBrush(xret);
    }
    static void x_12(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(KColorScheme::ColorSet, KColorScheme::ForegroundRole)
        x_KStatefulBrush* xret = new x_KStatefulBrush((KColorScheme::ColorSet)x[1].s_enum,(KColorScheme::ForegroundRole)x[2].s_enum,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(KColorScheme::ColorSet, KColorScheme::BackgroundRole)
        x_KStatefulBrush* xret = new x_KStatefulBrush((KColorScheme::ColorSet)x[1].s_enum,(KColorScheme::BackgroundRole)x[2].s_enum,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(KColorScheme::ColorSet, KColorScheme::DecorationRole)
        x_KStatefulBrush* xret = new x_KStatefulBrush((KColorScheme::ColorSet)x[1].s_enum,(KColorScheme::DecorationRole)x[2].s_enum,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(const QBrush&)
        x_KStatefulBrush* xret = new x_KStatefulBrush(*(const QBrush*)x[1].s_class,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        x[0].s_class = (void*)xret;
    }
    static void x_16(Smoke::Stack x) {
        // KStatefulBrush* KStatefulBrush(const QBrush&, const QBrush&)
        x_KStatefulBrush* xret = new x_KStatefulBrush(*(const QBrush*)x[1].s_class,*(const QBrush*)x[2].s_class,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        x[0].s_class = (void*)xret;
    }
    ~x_KStatefulBrush() { this->_binding->deleted(188, (void*)this); }
};
void xcall_KStatefulBrush(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KStatefulBrush *xself = (x_KStatefulBrush*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KStatefulBrush::x_1(args);	break;
        case 2: x_KStatefulBrush::x_2(args);	break;
        case 3: x_KStatefulBrush::x_3(args);	break;
        case 4: x_KStatefulBrush::x_4(args);	break;
        case 5: x_KStatefulBrush::x_5(args);	break;
        case 6: x_KStatefulBrush::x_6(args);	break;
        case 7: x_KStatefulBrush::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: x_KStatefulBrush::x_12(args);	break;
        case 13: x_KStatefulBrush::x_13(args);	break;
        case 14: x_KStatefulBrush::x_14(args);	break;
        case 15: x_KStatefulBrush::x_15(args);	break;
        case 16: x_KStatefulBrush::x_16(args);	break;
        case 17: delete (KStatefulBrush*)xself;	break;
    }
}
class x_KStatusBar : public KStatusBar, 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<KStatusBar*>(this))) {
            const QMetaObject* xret = ((const x_KStatusBar*)this)->KStatusBar::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KStatusBar*)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<KStatusBar*>(this))) {
            void* xret = this->KStatusBar::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 = KStatusBar::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 = KStatusBar::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 = KStatusBar::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 = KStatusBar::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<KStatusBar*>(this))) {
            int xret = this->KStatusBar::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) {
        // KStatusBar* KStatusBar(QWidget*)
        x_KStatusBar* xret = new x_KStatusBar((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatusBar(QWidget* x1) : KStatusBar(x1) {}
    void x_9(Smoke::Stack x) {
        // void insertItem(const QString&, int, int)
        this->KStatusBar::insertItem(*(const QString*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void insertPermanentItem(const QString&, int, int)
        this->KStatusBar::insertPermanentItem(*(const QString*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void insertFixedItem(const QString&, int)
        this->KStatusBar::insertFixedItem(*(const QString*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void insertPermanentFixedItem(const QString&, int)
        this->KStatusBar::insertPermanentFixedItem(*(const QString*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void removeItem(int)
        this->KStatusBar::removeItem((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool hasItem(int) const
        bool xret = ((const x_KStatusBar*)this)->KStatusBar::hasItem((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // QString itemText(int) const
        QString xret = ((const x_KStatusBar*)this)->KStatusBar::itemText((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // void changeItem(const QString&, int)
        this->KStatusBar::changeItem(*(const QString*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setItemAlignment(int, QFlags<Qt::AlignmentFlag>)
        this->KStatusBar::setItemAlignment((int)x[1].s_int,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setItemFixed(int, int)
        this->KStatusBar::setItemFixed((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void pressed(int)
        this->KStatusBar::pressed((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void released(int)
        this->KStatusBar::released((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBar*>(this))) {
            bool xret = this->KStatusBar::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_22(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KStatusBar::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 = KStatusBar::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) {
        // KStatusBar* KStatusBar()
        x_KStatusBar* xret = new x_KStatusBar((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // void insertItem(const QString&, int)
        this->KStatusBar::insertItem(*(const QString*)x[1].s_class,(int)x[2].s_int,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void insertPermanentItem(const QString&, int)
        this->KStatusBar::insertPermanentItem(*(const QString*)x[1].s_class,(int)x[2].s_int,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setItemFixed(int)
        this->KStatusBar::setItemFixed((int)x[1].s_int,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KStatusBar::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5471, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KStatusBar::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5472, (void*)this, x)) return (void*)x[0].s_class;
        return this->KStatusBar::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(5477, (void*)this, x)) return (int)x[0].s_int;
        return this->KStatusBar::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(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(7628, (void*)this, x)) return;
        this->QStatusBar::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(7629, (void*)this, x)) return;
        this->QStatusBar::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(7627, (void*)this, x)) return;
        this->QStatusBar::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(7630, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QStatusBar::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(5491, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KStatusBar::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_KStatusBar() { this->_binding->deleted(189, (void*)this); }
};
void xcall_KStatusBar(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KStatusBar *xself = (x_KStatusBar*)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_KStatusBar::x_3(args);	break;
        case 4: x_KStatusBar::x_4(args);	break;
        case 5: x_KStatusBar::x_5(args);	break;
        case 6: x_KStatusBar::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KStatusBar::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_KStatusBar::x_22(args);	break;
        case 23: x_KStatusBar::x_23(args);	break;
        case 24: x_KStatusBar::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_KStatusBar::x_28(args);	break;
        case 29: delete (KStatusBar*)xself;	break;
    }
}
class x_KStatusBarJobTracker : public KStatusBarJobTracker, 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<KStatusBarJobTracker*>(this))) {
            const QMetaObject* xret = ((const x_KStatusBarJobTracker*)this)->KStatusBarJobTracker::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KStatusBarJobTracker*)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<KStatusBarJobTracker*>(this))) {
            void* xret = this->KStatusBarJobTracker::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 = KStatusBarJobTracker::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 = KStatusBarJobTracker::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 = KStatusBarJobTracker::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 = KStatusBarJobTracker::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<KStatusBarJobTracker*>(this))) {
            int xret = this->KStatusBarJobTracker::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) {
        // KStatusBarJobTracker* KStatusBarJobTracker(QWidget*, bool)
        x_KStatusBarJobTracker* xret = new x_KStatusBarJobTracker((QWidget*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatusBarJobTracker(QWidget* x1, bool x2) : KStatusBarJobTracker(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // virtual void registerJob(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBarJobTracker*>(this))) {
            this->KStatusBarJobTracker::registerJob((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->registerJob((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual void unregisterJob(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBarJobTracker*>(this))) {
            this->KStatusBarJobTracker::unregisterJob((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->unregisterJob((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // virtual QWidget* widget(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBarJobTracker*>(this))) {
            QWidget* xret = this->KStatusBarJobTracker::widget((KJob*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = this->widget((KJob*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_12(Smoke::Stack x) {
        // void setStatusBarMode(QFlags<KStatusBarJobTracker::StatusBarMode>)
        this->KStatusBarJobTracker::setStatusBarMode((QFlags<KStatusBarJobTracker::StatusBarMode>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // virtual void description(KJob*, const QString&, const QPair<QString,QString>&, const QPair<QString,QString>&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBarJobTracker*>(this))) {
            this->KStatusBarJobTracker::description((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPair<QString,QString>*)x[3].s_class,*(const QPair<QString,QString>*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->description((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPair<QString,QString>*)x[3].s_class,*(const QPair<QString,QString>*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual void totalAmount(KJob*, KJob::Unit, qulonglong)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBarJobTracker*>(this))) {
            this->KStatusBarJobTracker::totalAmount((KJob*)x[1].s_class,(KJob::Unit)x[2].s_enum,*(qulonglong*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->totalAmount((KJob*)x[1].s_class,(KJob::Unit)x[2].s_enum,*(qulonglong*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual void percent(KJob*, unsigned long)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBarJobTracker*>(this))) {
            this->KStatusBarJobTracker::percent((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
            (void)x; // noop (for compiler warning)
        } else {
            this->percent((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // virtual void speed(KJob*, unsigned long)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBarJobTracker*>(this))) {
            this->KStatusBarJobTracker::speed((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
            (void)x; // noop (for compiler warning)
        } else {
            this->speed((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_17(Smoke::Stack x) {
        // virtual void slotClean(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusBarJobTracker*>(this))) {
            this->KStatusBarJobTracker::slotClean((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotClean((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_18(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KStatusBarJobTracker::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 = KStatusBarJobTracker::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) {
        // KStatusBarJobTracker* KStatusBarJobTracker()
        x_KStatusBarJobTracker* xret = new x_KStatusBarJobTracker((QWidget*)0,(bool)true);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // KStatusBarJobTracker* KStatusBarJobTracker(QWidget*)
        x_KStatusBarJobTracker* xret = new x_KStatusBarJobTracker((QWidget*)x[1].s_class,(bool)true);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KStatusBarJobTracker::staticMetaObject;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusBarJobTracker::NoInformation;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusBarJobTracker::LabelOnly;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusBarJobTracker::ProgressOnly;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5500, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KStatusBarJobTracker::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5501, (void*)this, x)) return (void*)x[0].s_class;
        return this->KStatusBarJobTracker::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(5506, (void*)this, x)) return (int)x[0].s_int;
        return this->KStatusBarJobTracker::qt_metacall(x1, x2, x3);
    }
    virtual void registerJob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5508, (void*)this, x)) return;
        this->KStatusBarJobTracker::registerJob(x1);
    }
    virtual void unregisterJob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5509, (void*)this, x)) return;
        this->KStatusBarJobTracker::unregisterJob(x1);
    }
    virtual QWidget* widget(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5510, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->KStatusBarJobTracker::widget(x1);
    }
    virtual void description(KJob* x1, const QString& x2, const QPair<QString,QString>& x3, const QPair<QString,QString>& x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(5512, (void*)this, x)) return;
        this->KStatusBarJobTracker::description(x1, x2, x3, x4);
    }
    virtual void totalAmount(KJob* x1, KJob::Unit x2, qulonglong x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)new unsigned long long(x3);
        if (this->_binding->callMethod(5513, (void*)this, x)) return;
        this->KStatusBarJobTracker::totalAmount(x1, x2, x3);
    }
    virtual void percent(KJob* x1, unsigned long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_ulong = x2;
        if (this->_binding->callMethod(5514, (void*)this, x)) return;
        this->KStatusBarJobTracker::percent(x1, x2);
    }
    virtual void speed(KJob* x1, unsigned long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_ulong = x2;
        if (this->_binding->callMethod(5515, (void*)this, x)) return;
        this->KStatusBarJobTracker::speed(x1, x2);
    }
    virtual void slotClean(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5516, (void*)this, x)) return;
        this->KStatusBarJobTracker::slotClean(x1);
    }
    virtual void finished(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(34, (void*)this, x)) return;
        this->KAbstractWidgetJobTracker::finished(x1);
    }
    virtual void slotStop(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(35, (void*)this, x)) return;
        this->KAbstractWidgetJobTracker::slotStop(x1);
    }
    virtual void slotSuspend(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(36, (void*)this, x)) return;
        this->KAbstractWidgetJobTracker::slotSuspend(x1);
    }
    virtual void slotResume(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(37, (void*)this, x)) return;
        this->KAbstractWidgetJobTracker::slotResume(x1);
    }
    virtual void suspended(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2690, (void*)this, x)) return;
        this->KJobTrackerInterface::suspended(x1);
    }
    virtual void resumed(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2691, (void*)this, x)) return;
        this->KJobTrackerInterface::resumed(x1);
    }
    virtual void infoMessage(KJob* x1, const QString& x2, const QString& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(2693, (void*)this, x)) return;
        this->KJobTrackerInterface::infoMessage(x1, x2, x3);
    }
    virtual void warning(KJob* x1, const QString& x2, const QString& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(2694, (void*)this, x)) return;
        this->KJobTrackerInterface::warning(x1, x2, x3);
    }
    virtual void processedAmount(KJob* x1, KJob::Unit x2, qulonglong x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)new unsigned long long(x3);
        if (this->_binding->callMethod(2696, (void*)this, x)) return;
        this->KJobTrackerInterface::processedAmount(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 302: //KStatusBarJobTracker::StatusBarMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KStatusBarJobTracker::StatusBarMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KStatusBarJobTracker::StatusBarMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KStatusBarJobTracker::StatusBarMode*)xdata = (KStatusBarJobTracker::StatusBarMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KStatusBarJobTracker::StatusBarMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KStatusBarJobTracker() { this->_binding->deleted(190, (void*)this); }
};
void xenum_KStatusBarJobTracker(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KStatusBarJobTracker::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KStatusBarJobTracker(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KStatusBarJobTracker *xself = (x_KStatusBarJobTracker*)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_KStatusBarJobTracker::x_3(args);	break;
        case 4: x_KStatusBarJobTracker::x_4(args);	break;
        case 5: x_KStatusBarJobTracker::x_5(args);	break;
        case 6: x_KStatusBarJobTracker::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KStatusBarJobTracker::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: x_KStatusBarJobTracker::x_18(args);	break;
        case 19: x_KStatusBarJobTracker::x_19(args);	break;
        case 20: x_KStatusBarJobTracker::x_20(args);	break;
        case 21: x_KStatusBarJobTracker::x_21(args);	break;
        case 22: x_KStatusBarJobTracker::x_22(args);	break;
        case 23: x_KStatusBarJobTracker::x_23(args);	break;
        case 24: x_KStatusBarJobTracker::x_24(args);	break;
        case 25: x_KStatusBarJobTracker::x_25(args);	break;
        case 26: delete (KStatusBarJobTracker*)xself;	break;
    }
}
class x_KStatusNotifierItem : public KStatusNotifierItem, 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<KStatusNotifierItem*>(this))) {
            const QMetaObject* xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KStatusNotifierItem*)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<KStatusNotifierItem*>(this))) {
            void* xret = this->KStatusNotifierItem::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 = KStatusNotifierItem::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 = KStatusNotifierItem::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 = KStatusNotifierItem::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 = KStatusNotifierItem::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<KStatusNotifierItem*>(this))) {
            int xret = this->KStatusNotifierItem::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) {
        // KStatusNotifierItem* KStatusNotifierItem(QObject*)
        x_KStatusNotifierItem* xret = new x_KStatusNotifierItem((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatusNotifierItem(QObject* x1) : KStatusNotifierItem(x1) {}
    static void x_9(Smoke::Stack x) {
        // KStatusNotifierItem* KStatusNotifierItem(const QString&, QObject*)
        x_KStatusNotifierItem* xret = new x_KStatusNotifierItem(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatusNotifierItem(const QString& x1, QObject* x2) : KStatusNotifierItem(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // QString id() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::id();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setCategory(const KStatusNotifierItem::ItemCategory)
        this->KStatusNotifierItem::setCategory((const KStatusNotifierItem::ItemCategory)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // KStatusNotifierItem::ItemCategory category() const
        KStatusNotifierItem::ItemCategory xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::category();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setTitle(const QString&)
        this->KStatusNotifierItem::setTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QString title() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::title();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setStatus(const KStatusNotifierItem::ItemStatus)
        this->KStatusNotifierItem::setStatus((const KStatusNotifierItem::ItemStatus)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // KStatusNotifierItem::ItemStatus status() const
        KStatusNotifierItem::ItemStatus xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::status();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setIconByName(const QString&)
        this->KStatusNotifierItem::setIconByName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QString iconName() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::iconName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_19(Smoke::Stack x) {
        // void setIconByPixmap(const QIcon&)
        this->KStatusNotifierItem::setIconByPixmap(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // QIcon iconPixmap() const
        QIcon xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::iconPixmap();
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_21(Smoke::Stack x) {
        // void setOverlayIconByName(const QString&)
        this->KStatusNotifierItem::setOverlayIconByName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QString overlayIconName() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::overlayIconName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_23(Smoke::Stack x) {
        // void setOverlayIconByPixmap(const QIcon&)
        this->KStatusNotifierItem::setOverlayIconByPixmap(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QIcon overlayIconPixmap() const
        QIcon xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::overlayIconPixmap();
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_25(Smoke::Stack x) {
        // void setAttentionIconByName(const QString&)
        this->KStatusNotifierItem::setAttentionIconByName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QString attentionIconName() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::attentionIconName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_27(Smoke::Stack x) {
        // void setAttentionIconByPixmap(const QIcon&)
        this->KStatusNotifierItem::setAttentionIconByPixmap(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QIcon attentionIconPixmap() const
        QIcon xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::attentionIconPixmap();
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_29(Smoke::Stack x) {
        // void setAttentionMovieByName(const QString&)
        this->KStatusNotifierItem::setAttentionMovieByName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QString attentionMovieName() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::attentionMovieName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_31(Smoke::Stack x) {
        // void setToolTip(const QString&, const QString&, const QString&)
        this->KStatusNotifierItem::setToolTip(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setToolTip(const QIcon&, const QString&, const QString&)
        this->KStatusNotifierItem::setToolTip(*(const QIcon*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setToolTipIconByName(const QString&)
        this->KStatusNotifierItem::setToolTipIconByName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // QString toolTipIconName() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::toolTipIconName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_35(Smoke::Stack x) {
        // void setToolTipIconByPixmap(const QIcon&)
        this->KStatusNotifierItem::setToolTipIconByPixmap(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // QIcon toolTipIconPixmap() const
        QIcon xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::toolTipIconPixmap();
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_37(Smoke::Stack x) {
        // void setToolTipTitle(const QString&)
        this->KStatusNotifierItem::setToolTipTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // QString toolTipTitle() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::toolTipTitle();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_39(Smoke::Stack x) {
        // void setToolTipSubTitle(const QString&)
        this->KStatusNotifierItem::setToolTipSubTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // QString toolTipSubTitle() const
        QString xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::toolTipSubTitle();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_41(Smoke::Stack x) {
        // void setContextMenu(KMenu*)
        this->KStatusNotifierItem::setContextMenu((KMenu*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // KMenu* contextMenu() const
        KMenu* xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::contextMenu();
        x[0].s_class = (void*)xret;
    }
    void x_43(Smoke::Stack x) {
        // void setAssociatedWidget(QWidget*)
        this->KStatusNotifierItem::setAssociatedWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // QWidget* associatedWidget() const
        QWidget* xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::associatedWidget();
        x[0].s_class = (void*)xret;
    }
    void x_45(Smoke::Stack x) {
        // KActionCollection* actionCollection() const
        KActionCollection* xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::actionCollection();
        x[0].s_class = (void*)xret;
    }
    void x_46(Smoke::Stack x) {
        // void setStandardActionsEnabled(bool)
        this->KStatusNotifierItem::setStandardActionsEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // bool standardActionsEnabled() const
        bool xret = ((const x_KStatusNotifierItem*)this)->KStatusNotifierItem::standardActionsEnabled();
        x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) {
        // void showMessage(const QString&, const QString&, const QString&, int)
        this->KStatusNotifierItem::showMessage(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // virtual void activate(const QPoint&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusNotifierItem*>(this))) {
            this->KStatusNotifierItem::activate(*(const QPoint*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->activate(*(const QPoint*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // void scrollRequested(int, Qt::Orientation)
        this->KStatusNotifierItem::scrollRequested((int)x[1].s_int,(Qt::Orientation)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void activateRequested(bool, const QPoint&)
        this->KStatusNotifierItem::activateRequested((bool)x[1].s_bool,*(const QPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void secondaryActivateRequested(const QPoint&)
        this->KStatusNotifierItem::secondaryActivateRequested(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStatusNotifierItem*>(this))) {
            bool xret = this->KStatusNotifierItem::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_54(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KStatusNotifierItem::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_55(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KStatusNotifierItem::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_56(Smoke::Stack x) {
        // KStatusNotifierItem* KStatusNotifierItem()
        x_KStatusNotifierItem* xret = new x_KStatusNotifierItem((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_57(Smoke::Stack x) {
        // KStatusNotifierItem* KStatusNotifierItem(const QString&)
        x_KStatusNotifierItem* xret = new x_KStatusNotifierItem(*(const QString*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_58(Smoke::Stack x) {
        // void showMessage(const QString&, const QString&, const QString&)
        this->KStatusNotifierItem::showMessage(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(int)10000);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void activate()
        this->KStatusNotifierItem::activate((const QPoint&)QPoint());
        (void)x; // noop (for compiler warning)
    }
    static void x_60(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KStatusNotifierItem::staticMetaObject;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusNotifierItem::Passive;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusNotifierItem::Active;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusNotifierItem::NeedsAttention;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusNotifierItem::ApplicationStatus;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusNotifierItem::Communications;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusNotifierItem::SystemServices;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusNotifierItem::Hardware;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)KStatusNotifierItem::Reserved;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5526, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KStatusNotifierItem::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5527, (void*)this, x)) return (void*)x[0].s_class;
        return this->KStatusNotifierItem::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(5532, (void*)this, x)) return (int)x[0].s_int;
        return this->KStatusNotifierItem::qt_metacall(x1, x2, x3);
    }
    virtual void activate(const QPoint& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(5574, (void*)this, x)) return;
        this->KStatusNotifierItem::activate(x1);
    }
    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(5578, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KStatusNotifierItem::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 305: //KStatusNotifierItem::ItemStatus
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KStatusNotifierItem::ItemStatus;
                    break;
                case Smoke::EnumDelete:
                    delete (KStatusNotifierItem::ItemStatus*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KStatusNotifierItem::ItemStatus*)xdata = (KStatusNotifierItem::ItemStatus)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KStatusNotifierItem::ItemStatus*)xdata;
                    break;
            }
            break;
        case 304: //KStatusNotifierItem::ItemCategory
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KStatusNotifierItem::ItemCategory;
                    break;
                case Smoke::EnumDelete:
                    delete (KStatusNotifierItem::ItemCategory*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KStatusNotifierItem::ItemCategory*)xdata = (KStatusNotifierItem::ItemCategory)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KStatusNotifierItem::ItemCategory*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KStatusNotifierItem() { this->_binding->deleted(191, (void*)this); }
};
void xenum_KStatusNotifierItem(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KStatusNotifierItem::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KStatusNotifierItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KStatusNotifierItem *xself = (x_KStatusNotifierItem*)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_KStatusNotifierItem::x_3(args);	break;
        case 4: x_KStatusNotifierItem::x_4(args);	break;
        case 5: x_KStatusNotifierItem::x_5(args);	break;
        case 6: x_KStatusNotifierItem::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KStatusNotifierItem::x_8(args);	break;
        case 9: x_KStatusNotifierItem::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: x_KStatusNotifierItem::x_54(args);	break;
        case 55: x_KStatusNotifierItem::x_55(args);	break;
        case 56: x_KStatusNotifierItem::x_56(args);	break;
        case 57: x_KStatusNotifierItem::x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: x_KStatusNotifierItem::x_60(args);	break;
        case 61: x_KStatusNotifierItem::x_61(args);	break;
        case 62: x_KStatusNotifierItem::x_62(args);	break;
        case 63: x_KStatusNotifierItem::x_63(args);	break;
        case 64: x_KStatusNotifierItem::x_64(args);	break;
        case 65: x_KStatusNotifierItem::x_65(args);	break;
        case 66: x_KStatusNotifierItem::x_66(args);	break;
        case 67: x_KStatusNotifierItem::x_67(args);	break;
        case 68: x_KStatusNotifierItem::x_68(args);	break;
        case 69: delete (KStatusNotifierItem*)xself;	break;
    }
}
class x_KStringListValidator : public KStringListValidator, 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<KStringListValidator*>(this))) {
            const QMetaObject* xret = ((const x_KStringListValidator*)this)->KStringListValidator::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KStringListValidator*)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<KStringListValidator*>(this))) {
            void* xret = this->KStringListValidator::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 = KStringListValidator::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 = KStringListValidator::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 = KStringListValidator::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 = KStringListValidator::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<KStringListValidator*>(this))) {
            int xret = this->KStringListValidator::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) {
        // KStringListValidator* KStringListValidator(const QStringList&, bool, bool, QObject*)
        x_KStringListValidator* xret = new x_KStringListValidator(*(const QStringList*)x[1].s_class,(bool)x[2].s_bool,(bool)x[3].s_bool,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStringListValidator(const QStringList& x1, bool x2, bool x3, QObject* x4) : KStringListValidator(x1, x2, x3, x4) {}
    void x_9(Smoke::Stack x) {
        // void setRejecting(bool)
        this->KStringListValidator::setRejecting((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isRejecting() const
        bool xret = ((const x_KStringListValidator*)this)->KStringListValidator::isRejecting();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setFixupEnabled(bool)
        this->KStringListValidator::setFixupEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool isFixupEnabled() const
        bool xret = ((const x_KStringListValidator*)this)->KStringListValidator::isFixupEnabled();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setStringList(const QStringList&)
        this->KStringListValidator::setStringList(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QStringList stringList() const
        QStringList xret = ((const x_KStringListValidator*)this)->KStringListValidator::stringList();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_15(Smoke::Stack x) {
        // virtual QValidator::State validate(QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStringListValidator*>(this))) {
            QValidator::State xret = ((const x_KStringListValidator*)this)->KStringListValidator::validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        } else {
            QValidator::State xret = ((const x_KStringListValidator*)this)->validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        }
    }
    void x_16(Smoke::Stack x) {
        // virtual void fixup(QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KStringListValidator*>(this))) {
            ((const x_KStringListValidator*)this)->KStringListValidator::fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KStringListValidator*)this)->fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KStringListValidator::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KStringListValidator::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // KStringListValidator* KStringListValidator()
        x_KStringListValidator* xret = new x_KStringListValidator((const QStringList&)QStringList(),(bool)true,(bool)false,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // KStringListValidator* KStringListValidator(const QStringList&)
        x_KStringListValidator* xret = new x_KStringListValidator(*(const QStringList*)x[1].s_class,(bool)true,(bool)false,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // KStringListValidator* KStringListValidator(const QStringList&, bool)
        x_KStringListValidator* xret = new x_KStringListValidator(*(const QStringList*)x[1].s_class,(bool)x[2].s_bool,(bool)false,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // KStringListValidator* KStringListValidator(const QStringList&, bool, bool)
        x_KStringListValidator* xret = new x_KStringListValidator(*(const QStringList*)x[1].s_class,(bool)x[2].s_bool,(bool)x[3].s_bool,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KStringListValidator::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5595, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KStringListValidator::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5596, (void*)this, x)) return (void*)x[0].s_class;
        return this->KStringListValidator::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(5601, (void*)this, x)) return (int)x[0].s_int;
        return this->KStringListValidator::qt_metacall(x1, x2, x3);
    }
    virtual QValidator::State validate(QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(5609, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->KStringListValidator::validate(x1, x2);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(5610, (void*)this, x)) return;
        this->KStringListValidator::fixup(x1);
    }
    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_KStringListValidator() { this->_binding->deleted(192, (void*)this); }
};
void xcall_KStringListValidator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KStringListValidator *xself = (x_KStringListValidator*)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_KStringListValidator::x_3(args);	break;
        case 4: x_KStringListValidator::x_4(args);	break;
        case 5: x_KStringListValidator::x_5(args);	break;
        case 6: x_KStringListValidator::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KStringListValidator::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: x_KStringListValidator::x_17(args);	break;
        case 18: x_KStringListValidator::x_18(args);	break;
        case 19: x_KStringListValidator::x_19(args);	break;
        case 20: x_KStringListValidator::x_20(args);	break;
        case 21: x_KStringListValidator::x_21(args);	break;
        case 22: x_KStringListValidator::x_22(args);	break;
        case 23: x_KStringListValidator::x_23(args);	break;
        case 24: delete (KStringListValidator*)xself;	break;
    }
}
class x_KSvgRenderer : public KSvgRenderer, 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<KSvgRenderer*>(this))) {
            const QMetaObject* xret = ((const x_KSvgRenderer*)this)->KSvgRenderer::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KSvgRenderer*)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<KSvgRenderer*>(this))) {
            void* xret = this->KSvgRenderer::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 = KSvgRenderer::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 = KSvgRenderer::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 = KSvgRenderer::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 = KSvgRenderer::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<KSvgRenderer*>(this))) {
            int xret = this->KSvgRenderer::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) {
        // KSvgRenderer* KSvgRenderer(QObject*)
        x_KSvgRenderer* xret = new x_KSvgRenderer((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KSvgRenderer(QObject* x1) : KSvgRenderer(x1) {}
    static void x_9(Smoke::Stack x) {
        // KSvgRenderer* KSvgRenderer(const QString&, QObject*)
        x_KSvgRenderer* xret = new x_KSvgRenderer(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KSvgRenderer(const QString& x1, QObject* x2) : KSvgRenderer(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // KSvgRenderer* KSvgRenderer(const QByteArray&, QObject*)
        x_KSvgRenderer* xret = new x_KSvgRenderer(*(const QByteArray*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KSvgRenderer(const QByteArray& x1, QObject* x2) : KSvgRenderer(x1, x2) {}
    void x_11(Smoke::Stack x) {
        // bool load(const QString&)
        bool xret = this->KSvgRenderer::load(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool load(const QByteArray&)
        bool xret = this->KSvgRenderer::load(*(const QByteArray*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_13(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KSvgRenderer::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KSvgRenderer::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // KSvgRenderer* KSvgRenderer()
        x_KSvgRenderer* xret = new x_KSvgRenderer((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_16(Smoke::Stack x) {
        // KSvgRenderer* KSvgRenderer(const QString&)
        x_KSvgRenderer* xret = new x_KSvgRenderer(*(const QString*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // KSvgRenderer* KSvgRenderer(const QByteArray&)
        x_KSvgRenderer* xret = new x_KSvgRenderer(*(const QByteArray*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_18(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KSvgRenderer::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5619, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KSvgRenderer::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5620, (void*)this, x)) return (void*)x[0].s_class;
        return this->KSvgRenderer::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(5625, (void*)this, x)) return (int)x[0].s_int;
        return this->KSvgRenderer::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_KSvgRenderer() { this->_binding->deleted(193, (void*)this); }
};
void xcall_KSvgRenderer(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KSvgRenderer *xself = (x_KSvgRenderer*)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_KSvgRenderer::x_3(args);	break;
        case 4: x_KSvgRenderer::x_4(args);	break;
        case 5: x_KSvgRenderer::x_5(args);	break;
        case 6: x_KSvgRenderer::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KSvgRenderer::x_8(args);	break;
        case 9: x_KSvgRenderer::x_9(args);	break;
        case 10: x_KSvgRenderer::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: x_KSvgRenderer::x_13(args);	break;
        case 14: x_KSvgRenderer::x_14(args);	break;
        case 15: x_KSvgRenderer::x_15(args);	break;
        case 16: x_KSvgRenderer::x_16(args);	break;
        case 17: x_KSvgRenderer::x_17(args);	break;
        case 18: x_KSvgRenderer::x_18(args);	break;
        case 19: delete (KSvgRenderer*)xself;	break;
    }
}
class x_KSystemTrayIcon : public KSystemTrayIcon, 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<KSystemTrayIcon*>(this))) {
            const QMetaObject* xret = ((const x_KSystemTrayIcon*)this)->KSystemTrayIcon::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KSystemTrayIcon*)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<KSystemTrayIcon*>(this))) {
            void* xret = this->KSystemTrayIcon::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 = KSystemTrayIcon::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 = KSystemTrayIcon::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 = KSystemTrayIcon::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 = KSystemTrayIcon::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<KSystemTrayIcon*>(this))) {
            int xret = this->KSystemTrayIcon::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) {
        // KSystemTrayIcon* KSystemTrayIcon(QWidget*)
        x_KSystemTrayIcon* xret = new x_KSystemTrayIcon((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KSystemTrayIcon(QWidget* x1) : KSystemTrayIcon(x1) {}
    static void x_9(Smoke::Stack x) {
        // KSystemTrayIcon* KSystemTrayIcon(const QString&, QWidget*)
        x_KSystemTrayIcon* xret = new x_KSystemTrayIcon(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KSystemTrayIcon(const QString& x1, QWidget* x2) : KSystemTrayIcon(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // KSystemTrayIcon* KSystemTrayIcon(const QIcon&, QWidget*)
        x_KSystemTrayIcon* xret = new x_KSystemTrayIcon(*(const QIcon*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KSystemTrayIcon(const QIcon& x1, QWidget* x2) : KSystemTrayIcon(x1, x2) {}
    static void x_11(Smoke::Stack x) {
        // KSystemTrayIcon* KSystemTrayIcon(QMovie*, QWidget*)
        x_KSystemTrayIcon* xret = new x_KSystemTrayIcon((QMovie*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KSystemTrayIcon(QMovie* x1, QWidget* x2) : KSystemTrayIcon(x1, x2) {}
    void x_12(Smoke::Stack x) {
        // void setMovie(QMovie*)
        this->KSystemTrayIcon::setMovie((QMovie*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // const QMovie* movie() const
        const QMovie* xret = ((const x_KSystemTrayIcon*)this)->KSystemTrayIcon::movie();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // KActionCollection* actionCollection()
        KActionCollection* xret = this->KSystemTrayIcon::actionCollection();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // QWidget* parentWidget() const
        QWidget* xret = ((const x_KSystemTrayIcon*)this)->KSystemTrayIcon::parentWidget();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // bool parentWidgetTrayClose() const
        bool xret = ((const x_KSystemTrayIcon*)this)->KSystemTrayIcon::parentWidgetTrayClose();
        x[0].s_bool = xret;
    }
    static void x_17(Smoke::Stack x) {
        // static QIcon loadIcon(const QString&, const KComponentData&)
        QIcon xret = KSystemTrayIcon::loadIcon(*(const QString*)x[1].s_class,*(const KComponentData*)x[2].s_class);
        x[0].s_class = (void*)new QIcon(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setContextMenuTitle(QAction*)
        this->KSystemTrayIcon::setContextMenuTitle((QAction*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QAction* contextMenuTitle() const
        QAction* xret = ((const x_KSystemTrayIcon*)this)->KSystemTrayIcon::contextMenuTitle();
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // void quitSelected()
        this->KSystemTrayIcon::quitSelected();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void toggleActive()
        this->KSystemTrayIcon::toggleActive();
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KSystemTrayIcon::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 = KSystemTrayIcon::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) {
        // KSystemTrayIcon* KSystemTrayIcon()
        x_KSystemTrayIcon* xret = new x_KSystemTrayIcon((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_25(Smoke::Stack x) {
        // KSystemTrayIcon* KSystemTrayIcon(const QString&)
        x_KSystemTrayIcon* xret = new x_KSystemTrayIcon(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_26(Smoke::Stack x) {
        // KSystemTrayIcon* KSystemTrayIcon(const QIcon&)
        x_KSystemTrayIcon* xret = new x_KSystemTrayIcon(*(const QIcon*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // static QIcon loadIcon(const QString&)
        QIcon xret = KSystemTrayIcon::loadIcon(*(const QString*)x[1].s_class,(const KComponentData&)KGlobal::mainComponent());
        x[0].s_class = (void*)new QIcon(xret);
    }
    static void x_28(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KSystemTrayIcon::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5638, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KSystemTrayIcon::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5639, (void*)this, x)) return (void*)x[0].s_class;
        return this->KSystemTrayIcon::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(5644, (void*)this, x)) return (int)x[0].s_int;
        return this->KSystemTrayIcon::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7639, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QSystemTrayIcon::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_KSystemTrayIcon() { this->_binding->deleted(194, (void*)this); }
};
void xcall_KSystemTrayIcon(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KSystemTrayIcon *xself = (x_KSystemTrayIcon*)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_KSystemTrayIcon::x_3(args);	break;
        case 4: x_KSystemTrayIcon::x_4(args);	break;
        case 5: x_KSystemTrayIcon::x_5(args);	break;
        case 6: x_KSystemTrayIcon::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KSystemTrayIcon::x_8(args);	break;
        case 9: x_KSystemTrayIcon::x_9(args);	break;
        case 10: x_KSystemTrayIcon::x_10(args);	break;
        case 11: x_KSystemTrayIcon::x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: x_KSystemTrayIcon::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_KSystemTrayIcon::x_22(args);	break;
        case 23: x_KSystemTrayIcon::x_23(args);	break;
        case 24: x_KSystemTrayIcon::x_24(args);	break;
        case 25: x_KSystemTrayIcon::x_25(args);	break;
        case 26: x_KSystemTrayIcon::x_26(args);	break;
        case 27: x_KSystemTrayIcon::x_27(args);	break;
        case 28: x_KSystemTrayIcon::x_28(args);	break;
        case 29: delete (KSystemTrayIcon*)xself;	break;
    }
}
class x_KTabBar : public KTabBar, 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<KTabBar*>(this))) {
            const QMetaObject* xret = ((const x_KTabBar*)this)->KTabBar::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KTabBar*)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<KTabBar*>(this))) {
            void* xret = this->KTabBar::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 = KTabBar::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 = KTabBar::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 = KTabBar::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 = KTabBar::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<KTabBar*>(this))) {
            int xret = this->KTabBar::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) {
        // KTabBar* KTabBar(QWidget*)
        x_KTabBar* xret = new x_KTabBar((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTabBar(QWidget* x1) : KTabBar(x1) {}
    void x_9(Smoke::Stack x) {
        // void setTabReorderingEnabled(bool)
        this->KTabBar::setTabReorderingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isTabReorderingEnabled() const
        bool xret = ((const x_KTabBar*)this)->KTabBar::isTabReorderingEnabled();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setHoverCloseButton(bool)
        this->KTabBar::setHoverCloseButton((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool hoverCloseButton() const
        bool xret = ((const x_KTabBar*)this)->KTabBar::hoverCloseButton();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setHoverCloseButtonDelayed(bool)
        this->KTabBar::setHoverCloseButtonDelayed((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool hoverCloseButtonDelayed() const
        bool xret = ((const x_KTabBar*)this)->KTabBar::hoverCloseButtonDelayed();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setCloseButtonEnabled(bool)
        this->KTabBar::setCloseButtonEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // bool isCloseButtonEnabled() const
        bool xret = ((const x_KTabBar*)this)->KTabBar::isCloseButtonEnabled();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setTabCloseActivatePrevious(bool)
        this->KTabBar::setTabCloseActivatePrevious((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool tabCloseActivatePrevious() const
        bool xret = ((const x_KTabBar*)this)->KTabBar::tabCloseActivatePrevious();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // int selectTab(const QPoint&) const
        int xret = ((const x_KTabBar*)this)->KTabBar::selectTab(*(const QPoint*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_20(Smoke::Stack x) {
        // void contextMenu(int, const QPoint&)
        this->KTabBar::contextMenu((int)x[1].s_int,*(const QPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void emptyAreaContextMenu(const QPoint&)
        this->KTabBar::emptyAreaContextMenu(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void mouseDoubleClick(int)
        this->KTabBar::mouseDoubleClick((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void tabDoubleClicked(int)
        this->KTabBar::tabDoubleClicked((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void newTabRequest()
        this->KTabBar::newTabRequest();
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void mouseMiddleClick(int)
        this->KTabBar::mouseMiddleClick((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void initiateDrag(int)
        this->KTabBar::initiateDrag((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void testCanDecode(const QDragMoveEvent*, bool&)
        this->KTabBar::testCanDecode((const QDragMoveEvent*)x[1].s_class,*(bool*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void receivedDropEvent(int, QDropEvent*)
        this->KTabBar::receivedDropEvent((int)x[1].s_int,(QDropEvent*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void moveTab(int, int)
        this->KTabBar::moveTab((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void closeRequest(int)
        this->KTabBar::closeRequest((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void wheelDelta(int)
        this->KTabBar::wheelDelta((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // virtual void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_35(Smoke::Stack x) {
        // virtual void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_36(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_37(Smoke::Stack x) {
        // virtual void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_38(Smoke::Stack x) {
        // virtual void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_39(Smoke::Stack x) {
        // virtual void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_40(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_41(Smoke::Stack x) {
        // virtual void leaveEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::leaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->leaveEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_42(Smoke::Stack x) {
        // virtual QSize tabSizeHint(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            QSize xret = ((const x_KTabBar*)this)->KTabBar::tabSizeHint((int)x[1].s_int);
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KTabBar*)this)->tabSizeHint((int)x[1].s_int);
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_43(Smoke::Stack x) {
        // void closeButtonClicked()
        this->KTabBar::closeButtonClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void enableCloseButton()
        this->KTabBar::enableCloseButton();
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // virtual void activateDragSwitchTab()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::activateDragSwitchTab();
            (void)x; // noop (for compiler warning)
        } else {
            this->activateDragSwitchTab();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // virtual void tabLayoutChange()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabBar*>(this))) {
            this->KTabBar::tabLayoutChange();
            (void)x; // noop (for compiler warning)
        } else {
            this->tabLayoutChange();
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_47(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KTabBar::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_48(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KTabBar::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_49(Smoke::Stack x) {
        // KTabBar* KTabBar()
        x_KTabBar* xret = new x_KTabBar((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_50(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KTabBar::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5667, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KTabBar::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5668, (void*)this, x)) return (void*)x[0].s_class;
        return this->KTabBar::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(5673, (void*)this, x)) return (int)x[0].s_int;
        return this->KTabBar::qt_metacall(x1, x2, x3);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5698, (void*)this, x)) return;
        this->KTabBar::mouseDoubleClickEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5699, (void*)this, x)) return;
        this->KTabBar::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5700, (void*)this, x)) return;
        this->KTabBar::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5701, (void*)this, x)) return;
        this->KTabBar::mouseReleaseEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5702, (void*)this, x)) return;
        this->KTabBar::wheelEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5703, (void*)this, x)) return;
        this->KTabBar::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5704, (void*)this, x)) return;
        this->KTabBar::dragMoveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5705, (void*)this, x)) return;
        this->KTabBar::dropEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5706, (void*)this, x)) return;
        this->KTabBar::paintEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5707, (void*)this, x)) return;
        this->KTabBar::leaveEvent(x1);
    }
    virtual QSize tabSizeHint(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5708, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KTabBar::tabSizeHint(x1);
    }
    virtual void activateDragSwitchTab() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5711, (void*)this, x)) return;
        this->KTabBar::activateDragSwitchTab();
    }
    virtual void tabLayoutChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5712, (void*)this, x)) return;
        this->KTabBar::tabLayoutChange();
    }
    virtual void tabInserted(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7642, (void*)this, x)) return;
        this->QTabBar::tabInserted(x1);
    }
    virtual void tabRemoved(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7643, (void*)this, x)) return;
        this->QTabBar::tabRemoved(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7640, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTabBar::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7641, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTabBar::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 keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7648, (void*)this, x)) return;
        this->QTabBar::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 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(7645, (void*)this, x)) return;
        this->QTabBar::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 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 showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7646, (void*)this, x)) return;
        this->QTabBar::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7647, (void*)this, x)) return;
        this->QTabBar::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(7649, (void*)this, x)) return;
        this->QTabBar::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(7644, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTabBar::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_KTabBar() { this->_binding->deleted(195, (void*)this); }
};
void xcall_KTabBar(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTabBar *xself = (x_KTabBar*)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_KTabBar::x_3(args);	break;
        case 4: x_KTabBar::x_4(args);	break;
        case 5: x_KTabBar::x_5(args);	break;
        case 6: x_KTabBar::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KTabBar::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: x_KTabBar::x_47(args);	break;
        case 48: x_KTabBar::x_48(args);	break;
        case 49: x_KTabBar::x_49(args);	break;
        case 50: x_KTabBar::x_50(args);	break;
        case 51: delete (KTabBar*)xself;	break;
    }
}
class x_KTabWidget : public KTabWidget, 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<KTabWidget*>(this))) {
            const QMetaObject* xret = ((const x_KTabWidget*)this)->KTabWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KTabWidget*)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<KTabWidget*>(this))) {
            void* xret = this->KTabWidget::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 = KTabWidget::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 = KTabWidget::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 = KTabWidget::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 = KTabWidget::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<KTabWidget*>(this))) {
            int xret = this->KTabWidget::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) {
        // KTabWidget* KTabWidget(QWidget*, QFlags<Qt::WindowType>)
        x_KTabWidget* xret = new x_KTabWidget((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTabWidget(QWidget* x1, QFlags<Qt::WindowType> x2) : KTabWidget(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void setTabTextColor(int, const QColor&)
        this->KTabWidget::setTabTextColor((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QColor tabTextColor(int) const
        QColor xret = ((const x_KTabWidget*)this)->KTabWidget::tabTextColor((int)x[1].s_int);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_11(Smoke::Stack x) {
        // bool isTabReorderingEnabled() const
        bool xret = ((const x_KTabWidget*)this)->KTabWidget::isTabReorderingEnabled();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool hoverCloseButton() const
        bool xret = ((const x_KTabWidget*)this)->KTabWidget::hoverCloseButton();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool hoverCloseButtonDelayed() const
        bool xret = ((const x_KTabWidget*)this)->KTabWidget::hoverCloseButtonDelayed();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool isCloseButtonEnabled() const
        bool xret = ((const x_KTabWidget*)this)->KTabWidget::isCloseButtonEnabled();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool tabCloseActivatePrevious() const
        bool xret = ((const x_KTabWidget*)this)->KTabWidget::tabCloseActivatePrevious();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool automaticResizeTabs() const
        bool xret = ((const x_KTabWidget*)this)->KTabWidget::automaticResizeTabs();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setTabBarHidden(bool)
        this->KTabWidget::setTabBarHidden((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool isTabBarHidden() const
        bool xret = ((const x_KTabWidget*)this)->KTabWidget::isTabBarHidden();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // QString tabText(int) const
        QString xret = ((const x_KTabWidget*)this)->KTabWidget::tabText((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setTabText(int, const QString&)
        this->KTabWidget::setTabText((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QTabBar* tabBar() const
        QTabBar* xret = ((const x_KTabWidget*)this)->KTabWidget::tabBar();
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // virtual void moveTab(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::moveTab((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->moveTab((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void removePage(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::removePage((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->removePage((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void removeTab(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::removeTab((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->removeTab((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // void setTabReorderingEnabled(bool)
        this->KTabWidget::setTabReorderingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setHoverCloseButton(bool)
        this->KTabWidget::setHoverCloseButton((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setHoverCloseButtonDelayed(bool)
        this->KTabWidget::setHoverCloseButtonDelayed((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setCloseButtonEnabled(bool)
        this->KTabWidget::setCloseButtonEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setTabCloseActivatePrevious(bool)
        this->KTabWidget::setTabCloseActivatePrevious((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setAutomaticResizeTabs(bool)
        this->KTabWidget::setAutomaticResizeTabs((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void testCanDecode(const QDragMoveEvent*, bool&)
        this->KTabWidget::testCanDecode((const QDragMoveEvent*)x[1].s_class,*(bool*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void receivedDropEvent(QDropEvent*)
        this->KTabWidget::receivedDropEvent((QDropEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void receivedDropEvent(QWidget*, QDropEvent*)
        this->KTabWidget::receivedDropEvent((QWidget*)x[1].s_class,(QDropEvent*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void initiateDrag(QWidget*)
        this->KTabWidget::initiateDrag((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void contextMenu(const QPoint&)
        this->KTabWidget::contextMenu(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void contextMenu(QWidget*, const QPoint&)
        this->KTabWidget::contextMenu((QWidget*)x[1].s_class,*(const QPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void movedTab(int, int)
        this->KTabWidget::movedTab((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void mouseDoubleClick()
        this->KTabWidget::mouseDoubleClick();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void mouseDoubleClick(QWidget*)
        this->KTabWidget::mouseDoubleClick((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void mouseMiddleClick()
        this->KTabWidget::mouseMiddleClick();
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void mouseMiddleClick(QWidget*)
        this->KTabWidget::mouseMiddleClick((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void closeRequest(QWidget*)
        this->KTabWidget::closeRequest((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // virtual void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_45(Smoke::Stack x) {
        // virtual void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // virtual void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // virtual void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // virtual void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // int tabBarWidthForMaxChars(int)
        int xret = this->KTabWidget::tabBarWidthForMaxChars((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_50(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_51(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_52(Smoke::Stack x) {
        // virtual void tabInserted(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::tabInserted((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->tabInserted((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_53(Smoke::Stack x) {
        // virtual void tabRemoved(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::tabRemoved((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->tabRemoved((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // void currentChanged(int)
        this->KTabWidget::currentChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // virtual void receivedDropEvent(int, QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::receivedDropEvent((int)x[1].s_int,(QDropEvent*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->receivedDropEvent((int)x[1].s_int,(QDropEvent*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_56(Smoke::Stack x) {
        // virtual void initiateDrag(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::initiateDrag((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->initiateDrag((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_57(Smoke::Stack x) {
        // virtual void contextMenu(int, const QPoint&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::contextMenu((int)x[1].s_int,*(const QPoint*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenu((int)x[1].s_int,*(const QPoint*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_58(Smoke::Stack x) {
        // virtual void mouseDoubleClick(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::mouseDoubleClick((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClick((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_59(Smoke::Stack x) {
        // virtual void mouseMiddleClick(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::mouseMiddleClick((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMiddleClick((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_60(Smoke::Stack x) {
        // virtual void closeRequest(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::closeRequest((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->closeRequest((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_61(Smoke::Stack x) {
        // virtual void wheelDelta(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTabWidget*>(this))) {
            this->KTabWidget::wheelDelta((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelDelta((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_62(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KTabWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_63(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KTabWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_64(Smoke::Stack x) {
        // KTabWidget* KTabWidget()
        x_KTabWidget* xret = new x_KTabWidget((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_65(Smoke::Stack x) {
        // KTabWidget* KTabWidget(QWidget*)
        x_KTabWidget* xret = new x_KTabWidget((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_66(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KTabWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5718, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KTabWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5719, (void*)this, x)) return (void*)x[0].s_class;
        return this->KTabWidget::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(5724, (void*)this, x)) return (int)x[0].s_int;
        return this->KTabWidget::qt_metacall(x1, x2, x3);
    }
    virtual void moveTab(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(5739, (void*)this, x)) return;
        this->KTabWidget::moveTab(x1, x2);
    }
    virtual void removePage(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5740, (void*)this, x)) return;
        this->KTabWidget::removePage(x1);
    }
    virtual void removeTab(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5741, (void*)this, x)) return;
        this->KTabWidget::removeTab(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5760, (void*)this, x)) return;
        this->KTabWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5761, (void*)this, x)) return;
        this->KTabWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5762, (void*)this, x)) return;
        this->KTabWidget::mouseReleaseEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5763, (void*)this, x)) return;
        this->KTabWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5764, (void*)this, x)) return;
        this->KTabWidget::dragMoveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5765, (void*)this, x)) return;
        this->KTabWidget::dropEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5767, (void*)this, x)) return;
        this->KTabWidget::wheelEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5768, (void*)this, x)) return;
        this->KTabWidget::resizeEvent(x1);
    }
    virtual void tabInserted(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5769, (void*)this, x)) return;
        this->KTabWidget::tabInserted(x1);
    }
    virtual void tabRemoved(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5770, (void*)this, x)) return;
        this->KTabWidget::tabRemoved(x1);
    }
    virtual void receivedDropEvent(int x1, QDropEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(5772, (void*)this, x)) return;
        this->KTabWidget::receivedDropEvent(x1, x2);
    }
    virtual void initiateDrag(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5773, (void*)this, x)) return;
        this->KTabWidget::initiateDrag(x1);
    }
    virtual void contextMenu(int x1, const QPoint& x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(5774, (void*)this, x)) return;
        this->KTabWidget::contextMenu(x1, x2);
    }
    virtual void mouseDoubleClick(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5775, (void*)this, x)) return;
        this->KTabWidget::mouseDoubleClick(x1);
    }
    virtual void mouseMiddleClick(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5776, (void*)this, x)) return;
        this->KTabWidget::mouseMiddleClick(x1);
    }
    virtual void closeRequest(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5777, (void*)this, x)) return;
        this->KTabWidget::closeRequest(x1);
    }
    virtual void wheelDelta(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5778, (void*)this, x)) return;
        this->KTabWidget::wheelDelta(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7650, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTabWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7651, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTabWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7652, (void*)this, x)) return (int)x[0].s_int;
        return this->QTabWidget::heightForWidth(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 keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7654, (void*)this, x)) return;
        this->QTabWidget::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(7655, (void*)this, x)) return;
        this->QTabWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7811, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void 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 showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7653, (void*)this, x)) return;
        this->QTabWidget::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(7656, (void*)this, x)) return;
        this->QTabWidget::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(7657, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTabWidget::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_KTabWidget() { this->_binding->deleted(196, (void*)this); }
};
void xcall_KTabWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTabWidget *xself = (x_KTabWidget*)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_KTabWidget::x_3(args);	break;
        case 4: x_KTabWidget::x_4(args);	break;
        case 5: x_KTabWidget::x_5(args);	break;
        case 6: x_KTabWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KTabWidget::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: x_KTabWidget::x_62(args);	break;
        case 63: x_KTabWidget::x_63(args);	break;
        case 64: x_KTabWidget::x_64(args);	break;
        case 65: x_KTabWidget::x_65(args);	break;
        case 66: x_KTabWidget::x_66(args);	break;
        case 67: delete (KTabWidget*)xself;	break;
    }
}
class x_KTextBrowser : public KTextBrowser, 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<KTextBrowser*>(this))) {
            const QMetaObject* xret = ((const x_KTextBrowser*)this)->KTextBrowser::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KTextBrowser*)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<KTextBrowser*>(this))) {
            void* xret = this->KTextBrowser::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 = KTextBrowser::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 = KTextBrowser::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 = KTextBrowser::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 = KTextBrowser::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<KTextBrowser*>(this))) {
            int xret = this->KTextBrowser::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) {
        // KTextBrowser* KTextBrowser(QWidget*, bool)
        x_KTextBrowser* xret = new x_KTextBrowser((QWidget*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextBrowser(QWidget* x1, bool x2) : KTextBrowser(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void setNotifyClick(bool)
        this->KTextBrowser::setNotifyClick((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isNotifyClick() const
        bool xret = ((const x_KTextBrowser*)this)->KTextBrowser::isNotifyClick();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setSource(const QUrl&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextBrowser*>(this))) {
            this->KTextBrowser::setSource(*(const QUrl*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSource(*(const QUrl*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextBrowser*>(this))) {
            this->KTextBrowser::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextBrowser*>(this))) {
            this->KTextBrowser::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextBrowser*>(this))) {
            this->KTextBrowser::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // void mailClick(const QString&, const QString&)
        this->KTextBrowser::mailClick(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void urlClick(const QString&)
        this->KTextBrowser::urlClick(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KTextBrowser::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KTextBrowser::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // KTextBrowser* KTextBrowser()
        x_KTextBrowser* xret = new x_KTextBrowser((QWidget*)0,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // KTextBrowser* KTextBrowser(QWidget*)
        x_KTextBrowser* xret = new x_KTextBrowser((QWidget*)x[1].s_class,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KTextBrowser::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5785, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KTextBrowser::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5786, (void*)this, x)) return (void*)x[0].s_class;
        return this->KTextBrowser::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(5791, (void*)this, x)) return (int)x[0].s_int;
        return this->KTextBrowser::qt_metacall(x1, x2, x3);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5796, (void*)this, x)) return;
        this->KTextBrowser::keyPressEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5797, (void*)this, x)) return;
        this->KTextBrowser::wheelEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5798, (void*)this, x)) return;
        this->KTextBrowser::contextMenuEvent(x1);
    }
    virtual QVariant loadResource(int x1, const QUrl& x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7685, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTextBrowser::loadResource(x1, x2);
    }
    virtual void setSource(const QUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(5795, (void*)this, x)) return;
        this->KTextBrowser::setSource(x1);
    }
    virtual void backward() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7686, (void*)this, x)) return;
        this->QTextBrowser::backward();
    }
    virtual void forward() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7687, (void*)this, x)) return;
        this->QTextBrowser::forward();
    }
    virtual void home() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7688, (void*)this, x)) return;
        this->QTextBrowser::home();
    }
    virtual void reload() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7689, (void*)this, x)) return;
        this->QTextBrowser::reload();
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7691, (void*)this, x)) return;
        this->QTextBrowser::mouseMoveEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7692, (void*)this, x)) return;
        this->QTextBrowser::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7693, (void*)this, x)) return;
        this->QTextBrowser::mouseReleaseEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7694, (void*)this, x)) return;
        this->QTextBrowser::focusOutEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7695, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTextBrowser::focusNextPrevChild(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7696, (void*)this, x)) return;
        this->QTextBrowser::paintEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7690, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTextBrowser::event(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7698, (void*)this, x)) return;
        this->QTextEdit::timerEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7699, (void*)this, x)) return;
        this->QTextEdit::keyReleaseEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7700, (void*)this, x)) return;
        this->QTextEdit::resizeEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7704, (void*)this, x)) return;
        this->QTextEdit::mouseDoubleClickEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7706, (void*)this, x)) return;
        this->QTextEdit::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7707, (void*)this, x)) return;
        this->QTextEdit::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7708, (void*)this, x)) return;
        this->QTextEdit::dragMoveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7709, (void*)this, x)) return;
        this->QTextEdit::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7710, (void*)this, x)) return;
        this->QTextEdit::focusInEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7711, (void*)this, x)) return;
        this->QTextEdit::showEvent(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7712, (void*)this, x)) return;
        this->QTextEdit::changeEvent(x1);
    }
    virtual QMimeData* createMimeDataFromSelection() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7713, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QTextEdit::createMimeDataFromSelection();
    }
    virtual bool canInsertFromMimeData(const QMimeData* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7714, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTextEdit::canInsertFromMimeData(x1);
    }
    virtual void insertFromMimeData(const QMimeData* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7715, (void*)this, x)) return;
        this->QTextEdit::insertFromMimeData(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7716, (void*)this, x)) return;
        this->QTextEdit::inputMethodEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(7718, (void*)this, x)) return;
        this->QTextEdit::scrollContentsBy(x1, x2);
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7309, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractScrollArea::viewportEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7308, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7307, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::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 enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void 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 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 QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7717, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTextEdit::inputMethodQuery(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void 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_KTextBrowser() { this->_binding->deleted(197, (void*)this); }
};
void xcall_KTextBrowser(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTextBrowser *xself = (x_KTextBrowser*)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_KTextBrowser::x_3(args);	break;
        case 4: x_KTextBrowser::x_4(args);	break;
        case 5: x_KTextBrowser::x_5(args);	break;
        case 6: x_KTextBrowser::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KTextBrowser::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: x_KTextBrowser::x_17(args);	break;
        case 18: x_KTextBrowser::x_18(args);	break;
        case 19: x_KTextBrowser::x_19(args);	break;
        case 20: x_KTextBrowser::x_20(args);	break;
        case 21: x_KTextBrowser::x_21(args);	break;
        case 22: delete (KTextBrowser*)xself;	break;
    }
}
class x_KTextEdit : public KTextEdit, 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<KTextEdit*>(this))) {
            const QMetaObject* xret = ((const x_KTextEdit*)this)->KTextEdit::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KTextEdit*)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<KTextEdit*>(this))) {
            void* xret = this->KTextEdit::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 = KTextEdit::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 = KTextEdit::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 = KTextEdit::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 = KTextEdit::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<KTextEdit*>(this))) {
            int xret = this->KTextEdit::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) {
        // KTextEdit* KTextEdit(const QString&, QWidget*)
        x_KTextEdit* xret = new x_KTextEdit(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEdit(const QString& x1, QWidget* x2) : KTextEdit(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // KTextEdit* KTextEdit(QWidget*)
        x_KTextEdit* xret = new x_KTextEdit((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEdit(QWidget* x1) : KTextEdit(x1) {}
    void x_10(Smoke::Stack x) {
        // virtual void setReadOnly(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::setReadOnly((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setReadOnly((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // void setCheckSpellingEnabled(bool)
        this->KTextEdit::setCheckSpellingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool checkSpellingEnabled() const
        bool xret = ((const x_KTextEdit*)this)->KTextEdit::checkSpellingEnabled();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void highlightWord(int, int)
        this->KTextEdit::highlightWord((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setSpellCheckingConfigFileName(const QString&)
        this->KTextEdit::setSpellCheckingConfigFileName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // virtual void createHighlighter()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::createHighlighter();
            (void)x; // noop (for compiler warning)
        } else {
            this->createHighlighter();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // Sonnet::Highlighter* highlighter() const
        Sonnet::Highlighter* xret = ((const x_KTextEdit*)this)->KTextEdit::highlighter();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // void setHighlighter(Sonnet::Highlighter*)
        this->KTextEdit::setHighlighter((Sonnet::Highlighter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QMenu* mousePopupMenu()
        QMenu* xret = this->KTextEdit::mousePopupMenu();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void enableFindReplace(bool)
        this->KTextEdit::enableFindReplace((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setSpellInterface(KTextEditSpellInterface*)
        this->KTextEdit::setSpellInterface((KTextEditSpellInterface*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // const QString& spellCheckingLanguage() const
        const QString& xret = ((const x_KTextEdit*)this)->KTextEdit::spellCheckingLanguage();
        x[0].s_class = (void*)&xret;
    }
    void x_22(Smoke::Stack x) {
        // void setClickMessage(const QString&)
        this->KTextEdit::setClickMessage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QString clickMessage() const
        QString xret = ((const x_KTextEdit*)this)->KTextEdit::clickMessage();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // void showTabAction(bool)
        this->KTextEdit::showTabAction((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void showAutoCorrectButton(bool)
        this->KTextEdit::showAutoCorrectButton((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void forceSpellChecking()
        this->KTextEdit::forceSpellChecking();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void checkSpellingChanged(bool)
        this->KTextEdit::checkSpellingChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void spellCheckStatus(const QString&)
        this->KTextEdit::spellCheckStatus(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void languageChanged(const QString&)
        this->KTextEdit::languageChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void aboutToShowContextMenu(QMenu*)
        this->KTextEdit::aboutToShowContextMenu((QMenu*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void spellCheckerAutoCorrect(const QString&, const QString&)
        this->KTextEdit::spellCheckerAutoCorrect(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void spellCheckingFinished()
        this->KTextEdit::spellCheckingFinished();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void spellCheckingCanceled()
        this->KTextEdit::spellCheckingCanceled();
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setSpellCheckingLanguage(const QString&)
        this->KTextEdit::setSpellCheckingLanguage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void checkSpelling()
        this->KTextEdit::checkSpelling();
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void showSpellConfigDialog(const QString&, const QString&)
        this->KTextEdit::showSpellConfigDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void replace()
        this->KTextEdit::replace();
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void mousePopupMenuImplementation(const QPoint&)
        this->KTextEdit::mousePopupMenuImplementation(*(const QPoint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void slotDoReplace()
        this->KTextEdit::slotDoReplace();
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void slotReplaceNext()
        this->KTextEdit::slotReplaceNext();
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void slotDoFind()
        this->KTextEdit::slotDoFind();
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void slotFind()
        this->KTextEdit::slotFind();
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void slotFindNext()
        this->KTextEdit::slotFindNext();
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void slotReplace()
        this->KTextEdit::slotReplace();
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void slotSpeakText()
        this->KTextEdit::slotSpeakText();
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            bool xret = this->KTextEdit::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_47(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // virtual void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // virtual void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_51(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_52(Smoke::Stack x) {
        // virtual void deleteWordBack()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::deleteWordBack();
            (void)x; // noop (for compiler warning)
        } else {
            this->deleteWordBack();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_53(Smoke::Stack x) {
        // virtual void deleteWordForward()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::deleteWordForward();
            (void)x; // noop (for compiler warning)
        } else {
            this->deleteWordForward();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // virtual void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTextEdit*>(this))) {
            this->KTextEdit::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // void setCheckSpellingEnabledInternal(bool)
        this->KTextEdit::setCheckSpellingEnabledInternal((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // bool checkSpellingEnabledInternal() const
        bool xret = ((const x_KTextEdit*)this)->KTextEdit::checkSpellingEnabledInternal();
        x[0].s_bool = xret;
    }
    static void x_57(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KTextEdit::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_58(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KTextEdit::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_59(Smoke::Stack x) {
        // KTextEdit* KTextEdit(const QString&)
        x_KTextEdit* xret = new x_KTextEdit(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_60(Smoke::Stack x) {
        // KTextEdit* KTextEdit()
        x_KTextEdit* xret = new x_KTextEdit((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_61(Smoke::Stack x) {
        // void showSpellConfigDialog(const QString&)
        this->KTextEdit::showSpellConfigDialog(*(const QString*)x[1].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_62(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KTextEdit::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5807, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KTextEdit::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5808, (void*)this, x)) return (void*)x[0].s_class;
        return this->KTextEdit::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(5813, (void*)this, x)) return (int)x[0].s_int;
        return this->KTextEdit::qt_metacall(x1, x2, x3);
    }
    virtual void setReadOnly(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(5816, (void*)this, x)) return;
        this->KTextEdit::setReadOnly(x1);
    }
    virtual void createHighlighter() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5821, (void*)this, x)) return;
        this->KTextEdit::createHighlighter();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5852, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KTextEdit::event(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5853, (void*)this, x)) return;
        this->KTextEdit::paintEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5854, (void*)this, x)) return;
        this->KTextEdit::focusOutEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5855, (void*)this, x)) return;
        this->KTextEdit::keyPressEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5856, (void*)this, x)) return;
        this->KTextEdit::focusInEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5857, (void*)this, x)) return;
        this->KTextEdit::wheelEvent(x1);
    }
    virtual void deleteWordBack() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5858, (void*)this, x)) return;
        this->KTextEdit::deleteWordBack();
    }
    virtual void deleteWordForward() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5859, (void*)this, x)) return;
        this->KTextEdit::deleteWordForward();
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5860, (void*)this, x)) return;
        this->KTextEdit::contextMenuEvent(x1);
    }
    virtual QVariant loadResource(int x1, const QUrl& x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7697, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTextEdit::loadResource(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7698, (void*)this, x)) return;
        this->QTextEdit::timerEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7699, (void*)this, x)) return;
        this->QTextEdit::keyReleaseEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7700, (void*)this, x)) return;
        this->QTextEdit::resizeEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7701, (void*)this, x)) return;
        this->QTextEdit::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7702, (void*)this, x)) return;
        this->QTextEdit::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7703, (void*)this, x)) return;
        this->QTextEdit::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7704, (void*)this, x)) return;
        this->QTextEdit::mouseDoubleClickEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7705, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTextEdit::focusNextPrevChild(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7706, (void*)this, x)) return;
        this->QTextEdit::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7707, (void*)this, x)) return;
        this->QTextEdit::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7708, (void*)this, x)) return;
        this->QTextEdit::dragMoveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7709, (void*)this, x)) return;
        this->QTextEdit::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7711, (void*)this, x)) return;
        this->QTextEdit::showEvent(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7712, (void*)this, x)) return;
        this->QTextEdit::changeEvent(x1);
    }
    virtual QMimeData* createMimeDataFromSelection() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7713, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QTextEdit::createMimeDataFromSelection();
    }
    virtual bool canInsertFromMimeData(const QMimeData* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7714, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTextEdit::canInsertFromMimeData(x1);
    }
    virtual void insertFromMimeData(const QMimeData* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7715, (void*)this, x)) return;
        this->QTextEdit::insertFromMimeData(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7716, (void*)this, x)) return;
        this->QTextEdit::inputMethodEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(7718, (void*)this, x)) return;
        this->QTextEdit::scrollContentsBy(x1, x2);
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7309, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractScrollArea::viewportEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7308, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7307, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::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 enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void 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 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 QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7717, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTextEdit::inputMethodQuery(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void 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_KTextEdit() { this->_binding->deleted(198, (void*)this); }
};
void xcall_KTextEdit(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTextEdit *xself = (x_KTextEdit*)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_KTextEdit::x_3(args);	break;
        case 4: x_KTextEdit::x_4(args);	break;
        case 5: x_KTextEdit::x_5(args);	break;
        case 6: x_KTextEdit::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KTextEdit::x_8(args);	break;
        case 9: x_KTextEdit::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: x_KTextEdit::x_57(args);	break;
        case 58: x_KTextEdit::x_58(args);	break;
        case 59: x_KTextEdit::x_59(args);	break;
        case 60: x_KTextEdit::x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: x_KTextEdit::x_62(args);	break;
        case 63: delete (KTextEdit*)xself;	break;
    }
}

}
