//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_KCompletionBox : public KCompletionBox, 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<KCompletionBox*>(this))) {
            const QMetaObject* xret = ((const x_KCompletionBox*)this)->KCompletionBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KCompletionBox*)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<KCompletionBox*>(this))) {
            void* xret = this->KCompletionBox::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 = KCompletionBox::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 = KCompletionBox::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 = KCompletionBox::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 = KCompletionBox::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<KCompletionBox*>(this))) {
            int xret = this->KCompletionBox::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) {
        // KCompletionBox* KCompletionBox(QWidget*)
        x_KCompletionBox* xret = new x_KCompletionBox((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCompletionBox(QWidget* x1) : KCompletionBox(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBox*>(this))) {
            QSize xret = ((const x_KCompletionBox*)this)->KCompletionBox::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KCompletionBox*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_10(Smoke::Stack x) {
        // bool activateOnSelect() const
        bool xret = ((const x_KCompletionBox*)this)->KCompletionBox::activateOnSelect();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QStringList items() const
        QStringList xret = ((const x_KCompletionBox*)this)->KCompletionBox::items();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_12(Smoke::Stack x) {
        // void insertItems(const QStringList&, int)
        this->KCompletionBox::insertItems(*(const QStringList*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setItems(const QStringList&)
        this->KCompletionBox::setItems(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // virtual void popup()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBox*>(this))) {
            this->KCompletionBox::popup();
            (void)x; // noop (for compiler warning)
        } else {
            this->popup();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // void setTabHandling(bool)
        this->KCompletionBox::setTabHandling((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // bool isTabHandling() const
        bool xret = ((const x_KCompletionBox*)this)->KCompletionBox::isTabHandling();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setCancelledText(const QString&)
        this->KCompletionBox::setCancelledText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QString cancelledText() const
        QString xret = ((const x_KCompletionBox*)this)->KCompletionBox::cancelledText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_19(Smoke::Stack x) {
        // void setActivateOnSelect(bool)
        this->KCompletionBox::setActivateOnSelect((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void down()
        this->KCompletionBox::down();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void up()
        this->KCompletionBox::up();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void pageDown()
        this->KCompletionBox::pageDown();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void pageUp()
        this->KCompletionBox::pageUp();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void home()
        this->KCompletionBox::home();
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void end()
        this->KCompletionBox::end();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // virtual void setVisible(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBox*>(this))) {
            this->KCompletionBox::setVisible((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setVisible((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // void activated(const QString&)
        this->KCompletionBox::activated(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void userCancelled(const QString&)
        this->KCompletionBox::userCancelled(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // QRect calculateGeometry() const
        QRect xret = ((const x_KCompletionBox*)this)->KCompletionBox::calculateGeometry();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_30(Smoke::Stack x) {
        // void sizeAndPosition()
        this->KCompletionBox::sizeAndPosition();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBox*>(this))) {
            bool xret = this->KCompletionBox::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;
        }
    }
    void x_32(Smoke::Stack x) {
        // virtual QPoint globalPositionHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBox*>(this))) {
            QPoint xret = ((const x_KCompletionBox*)this)->KCompletionBox::globalPositionHint();
            x[0].s_class = (void*)new QPoint(xret);
        } else {
            QPoint xret = ((const x_KCompletionBox*)this)->globalPositionHint();
            x[0].s_class = (void*)new QPoint(xret);
        }
    }
    void x_33(Smoke::Stack x) {
        // virtual void slotActivated(QListWidgetItem*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBox*>(this))) {
            this->KCompletionBox::slotActivated((QListWidgetItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotActivated((QListWidgetItem*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_34(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KCompletionBox::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_35(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KCompletionBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // KCompletionBox* KCompletionBox()
        x_KCompletionBox* xret = new x_KCompletionBox((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_37(Smoke::Stack x) {
        // void insertItems(const QStringList&)
        this->KCompletionBox::insertItems(*(const QStringList*)x[1].s_class,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    static void x_38(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KCompletionBox::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1094, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KCompletionBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1095, (void*)this, x)) return (void*)x[0].s_class;
        return this->KCompletionBox::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(1100, (void*)this, x)) return (int)x[0].s_int;
        return this->KCompletionBox::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1102, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCompletionBox::sizeHint();
    }
    virtual void popup() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1107, (void*)this, x)) return;
        this->KCompletionBox::popup();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1119, (void*)this, x)) return;
        this->KCompletionBox::setVisible(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(1124, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KCompletionBox::eventFilter(x1, x2);
    }
    virtual QPoint globalPositionHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1125, (void*)this, x)) {
            QPoint* xptr = (QPoint*)x[0].s_class;
            QPoint xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCompletionBox::globalPositionHint();
    }
    virtual void slotActivated(QListWidgetItem* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1126, (void*)this, x)) return;
        this->KCompletionBox::slotActivated(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2931, (void*)this, x)) return;
        this->KListWidget::keyPressEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2932, (void*)this, x)) return;
        this->KListWidget::focusOutEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2933, (void*)this, x)) return;
        this->KListWidget::leaveEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2934, (void*)this, x)) return;
        this->KListWidget::mousePressEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2935, (void*)this, x)) return;
        this->KListWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2936, (void*)this, x)) return;
        this->KListWidget::mouseReleaseEvent(x1);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7545, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListWidget::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QListWidgetItem*> x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new const QList<QListWidgetItem*>(x1);
        if (this->_binding->callMethod(7546, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QListWidget::mimeData(x1);
    }
    virtual bool dropMimeData(int x1, const QMimeData* x2, Qt::DropAction x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        x[3].s_enum = x3;
        if (this->_binding->callMethod(7547, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListWidget::dropMimeData(x1, x2, x3);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7548, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QListWidget::supportedDropActions();
    }
    virtual void setSelectionModel(QItemSelectionModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7237, (void*)this, x)) return;
        this->QAbstractItemView::setSelectionModel(x1);
    }
    virtual void keyboardSearch(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7238, (void*)this, x)) return;
        this->QAbstractItemView::keyboardSearch(x1);
    }
    virtual QRect visualRect(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7514, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::visualRect(x1);
    }
    virtual void scrollTo(const QModelIndex& x1, QAbstractItemView::ScrollHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(7515, (void*)this, x)) return;
        this->QListView::scrollTo(x1, x2);
    }
    virtual QModelIndex indexAt(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7516, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::indexAt(x1);
    }
    virtual int sizeHintForRow(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7239, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForRow(x1);
    }
    virtual int sizeHintForColumn(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7240, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForColumn(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7241, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::inputMethodQuery(x1);
    }
    virtual void reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7518, (void*)this, x)) return;
        this->QListView::reset();
    }
    virtual void setRootIndex(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7519, (void*)this, x)) return;
        this->QListView::setRootIndex(x1);
    }
    virtual void doItemsLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7517, (void*)this, x)) return;
        this->QListView::doItemsLayout();
    }
    virtual void selectAll() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7243, (void*)this, x)) return;
        this->QAbstractItemView::selectAll();
    }
    virtual void dataChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7522, (void*)this, x)) return;
        this->QListView::dataChanged(x1, x2);
    }
    virtual void rowsInserted(const QModelIndex& x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(7523, (void*)this, x)) return;
        this->QListView::rowsInserted(x1, x2, x3);
    }
    virtual void rowsAboutToBeRemoved(const QModelIndex& x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(7524, (void*)this, x)) return;
        this->QListView::rowsAboutToBeRemoved(x1, x2, x3);
    }
    virtual void selectionChanged(const QItemSelection& x1, const QItemSelection& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7541, (void*)this, x)) return;
        this->QListView::selectionChanged(x1, x2);
    }
    virtual void currentChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7542, (void*)this, x)) return;
        this->QListView::currentChanged(x1, x2);
    }
    virtual void updateEditorData() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7247, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorData();
    }
    virtual void updateEditorGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7248, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorGeometries();
    }
    virtual void updateGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7539, (void*)this, x)) return;
        this->QListView::updateGeometries();
    }
    virtual void verticalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7249, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarAction(x1);
    }
    virtual void horizontalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7250, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarAction(x1);
    }
    virtual void verticalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7251, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarValueChanged(x1);
    }
    virtual void horizontalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7252, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarValueChanged(x1);
    }
    virtual void closeEditor(QWidget* x1, QAbstractItemDelegate::EndEditHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(7253, (void*)this, x)) return;
        this->QAbstractItemView::closeEditor(x1, x2);
    }
    virtual void commitData(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7254, (void*)this, x)) return;
        this->QAbstractItemView::commitData(x1);
    }
    virtual void editorDestroyed(QObject* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7255, (void*)this, x)) return;
        this->QAbstractItemView::editorDestroyed(x1);
    }
    virtual QModelIndex moveCursor(QAbstractItemView::CursorAction x1, QFlags<Qt::KeyboardModifier> x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(7535, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::moveCursor(x1, x2);
    }
    virtual int horizontalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7533, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::horizontalOffset();
    }
    virtual int verticalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7534, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::verticalOffset();
    }
    virtual bool isIndexHidden(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7540, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListView::isIndexHidden(x1);
    }
    virtual void setSelection(const QRect& x1, QFlags<QItemSelectionModel::SelectionFlag> x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(7536, (void*)this, x)) return;
        this->QListView::setSelection(x1, x2);
    }
    virtual QRegion visualRegionForSelection(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7537, (void*)this, x)) {
            QRegion* xptr = (QRegion*)x[0].s_class;
            QRegion xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::visualRegionForSelection(x1);
    }
    virtual QList<QModelIndex> selectedIndexes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7538, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::selectedIndexes();
    }
    virtual bool edit(const QModelIndex& x1, QAbstractItemView::EditTrigger x2, QEvent* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(7256, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::edit(x1, x2, x3);
    }
    virtual QFlags<QItemSelectionModel::SelectionFlag> selectionCommand(const QModelIndex& x1, const QEvent* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7257, (void*)this, x)) return (QFlags<QItemSelectionModel::SelectionFlag>)x[0].s_uint;
        return this->QAbstractItemView::selectionCommand(x1, x2);
    }
    virtual void startDrag(QFlags<Qt::DropAction> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(7530, (void*)this, x)) return;
        this->QListView::startDrag(x1);
    }
    virtual QStyleOptionViewItem viewOptions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7531, (void*)this, x)) {
            QStyleOptionViewItem* xptr = (QStyleOptionViewItem*)x[0].s_class;
            QStyleOptionViewItem xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::viewOptions();
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7261, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::viewportEvent(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(7521, (void*)this, x)) return;
        this->QListView::scrollContentsBy(x1, x2);
    }
    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 mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7525, (void*)this, x)) return;
        this->QListView::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7310, (void*)this, x)) return;
        this->QAbstractScrollArea::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7265, (void*)this, x)) return;
        this->QAbstractItemView::focusInEvent(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 paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7532, (void*)this, x)) return;
        this->QListView::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(7527, (void*)this, x)) return;
        this->QListView::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(7311, (void*)this, x)) return;
        this->QAbstractScrollArea::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(7263, (void*)this, x)) return;
        this->QAbstractItemView::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7528, (void*)this, x)) return;
        this->QListView::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7529, (void*)this, x)) return;
        this->QListView::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7543, (void*)this, x)) return;
        this->QListWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7416, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7269, (void*)this, x)) return;
        this->QAbstractItemView::inputMethodEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7260, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::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(7544, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListWidget::event(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7526, (void*)this, x)) return;
        this->QListView::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_KCompletionBox() { this->_binding->deleted(41, (void*)this); }
};
void xcall_KCompletionBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCompletionBox *xself = (x_KCompletionBox*)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_KCompletionBox::x_3(args);	break;
        case 4: x_KCompletionBox::x_4(args);	break;
        case 5: x_KCompletionBox::x_5(args);	break;
        case 6: x_KCompletionBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KCompletionBox::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: x_KCompletionBox::x_34(args);	break;
        case 35: x_KCompletionBox::x_35(args);	break;
        case 36: x_KCompletionBox::x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: x_KCompletionBox::x_38(args);	break;
        case 39: delete (KCompletionBox*)xself;	break;
    }
}
class x_KCompletionMatches : public KCompletionMatches {
    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) {
        // KCompletionMatches* KCompletionMatches(bool)
        x_KCompletionMatches* xret = new x_KCompletionMatches((bool)x[1].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCompletionMatches(bool x1) : KCompletionMatches(x1) {}
    static void x_2(Smoke::Stack x) {
        // KCompletionMatches* KCompletionMatches(const KCompletionMatches&)
        x_KCompletionMatches* xret = new x_KCompletionMatches(*(const KCompletionMatches*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCompletionMatches(const KCompletionMatches& x1) : KCompletionMatches(x1) {}
    void x_3(Smoke::Stack x) {
        // KCompletionMatches& operator=(const KCompletionMatches&)
        KCompletionMatches& xret = this->KCompletionMatches::operator=(*(const KCompletionMatches*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_4(Smoke::Stack x) {
        // KCompletionMatches* KCompletionMatches(const KCompletionMatchesWrapper&)
        x_KCompletionMatches* xret = new x_KCompletionMatches(*(const KCompletionMatchesWrapper*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCompletionMatches(const KCompletionMatchesWrapper& x1) : KCompletionMatches(x1) {}
    void x_5(Smoke::Stack x) {
        // void removeDuplicates()
        this->KCompletionMatches::removeDuplicates();
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // QStringList list(bool) const
        QStringList xret = ((const x_KCompletionMatches*)this)->KCompletionMatches::list((bool)x[1].s_bool);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_7(Smoke::Stack x) {
        // bool sorting() const
        bool xret = ((const x_KCompletionMatches*)this)->KCompletionMatches::sorting();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // QStringList list() const
        QStringList xret = ((const x_KCompletionMatches*)this)->KCompletionMatches::list((bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    ~x_KCompletionMatches() { this->_binding->deleted(42, (void*)this); }
};
void xcall_KCompletionMatches(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCompletionMatches *xself = (x_KCompletionMatches*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KCompletionMatches::x_1(args);	break;
        case 2: x_KCompletionMatches::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: x_KCompletionMatches::x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: delete (KCompletionMatches*)xself;	break;
    }
}
class x_KConfigDialog : public KConfigDialog, 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<KConfigDialog*>(this))) {
            const QMetaObject* xret = ((const x_KConfigDialog*)this)->KConfigDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KConfigDialog*)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<KConfigDialog*>(this))) {
            void* xret = this->KConfigDialog::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 = KConfigDialog::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 = KConfigDialog::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 = KConfigDialog::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 = KConfigDialog::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<KConfigDialog*>(this))) {
            int xret = this->KConfigDialog::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    void x_8(Smoke::Stack x) {
        // void widgetModified()
        this->KConfigDialog::widgetModified();
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void settingsChanged(const QString&)
        this->KConfigDialog::settingsChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // KConfigDialog* KConfigDialog(QWidget*, const QString&, KConfigSkeleton*)
        x_KConfigDialog* xret = new x_KConfigDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,(KConfigSkeleton*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigDialog(QWidget* x1, const QString& x2, KConfigSkeleton* x3) : KConfigDialog(x1, x2, x3) {}
    static void x_11(Smoke::Stack x) {
        // KConfigDialog* KConfigDialog(QWidget*, const QString&, KCoreConfigSkeleton*)
        x_KConfigDialog* xret = new x_KConfigDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,(KCoreConfigSkeleton*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigDialog(QWidget* x1, const QString& x2, KCoreConfigSkeleton* x3) : KConfigDialog(x1, x2, x3) {}
    void x_12(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, const QString&, const QString&, const QString&, bool)
        KPageWidgetItem* xret = this->KConfigDialog::addPage((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool);
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, KConfigSkeleton*, const QString&, const QString&, const QString&)
        KPageWidgetItem* xret = this->KConfigDialog::addPage((QWidget*)x[1].s_class,(KConfigSkeleton*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(const QString*)x[5].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static KConfigDialog* exists(const QString&)
        KConfigDialog* xret = KConfigDialog::exists(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // static bool showDialog(const QString&)
        bool xret = KConfigDialog::showDialog(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // virtual void updateSettings()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KConfigDialog*>(this))) {
            this->KConfigDialog::updateSettings();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateSettings();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_17(Smoke::Stack x) {
        // virtual void updateWidgets()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KConfigDialog*>(this))) {
            this->KConfigDialog::updateWidgets();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateWidgets();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_18(Smoke::Stack x) {
        // virtual void updateWidgetsDefault()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KConfigDialog*>(this))) {
            this->KConfigDialog::updateWidgetsDefault();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateWidgetsDefault();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // void updateButtons()
        this->KConfigDialog::updateButtons();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void settingsChangedSlot()
        this->KConfigDialog::settingsChangedSlot();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // virtual bool hasChanged()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KConfigDialog*>(this))) {
            bool xret = this->KConfigDialog::hasChanged();
            x[0].s_bool = xret;
        } else {
            bool xret = this->hasChanged();
            x[0].s_bool = xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual bool isDefault()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KConfigDialog*>(this))) {
            bool xret = this->KConfigDialog::isDefault();
            x[0].s_bool = xret;
        } else {
            bool xret = this->isDefault();
            x[0].s_bool = xret;
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KConfigDialog*>(this))) {
            this->KConfigDialog::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_24(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KConfigDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KConfigDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_26(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, const QString&)
        KPageWidgetItem* xret = this->KConfigDialog::addPage((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(const QString&)QString(),(bool)true);
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, const QString&, const QString&)
        KPageWidgetItem* xret = this->KConfigDialog::addPage((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(const QString&)QString(),(bool)true);
        x[0].s_class = (void*)xret;
    }
    void x_28(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, const QString&, const QString&, const QString&)
        KPageWidgetItem* xret = this->KConfigDialog::addPage((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(bool)true);
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, KConfigSkeleton*, const QString&)
        KPageWidgetItem* xret = this->KConfigDialog::addPage((QWidget*)x[1].s_class,(KConfigSkeleton*)x[2].s_class,*(const QString*)x[3].s_class,(const QString&)QString(),(const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    void x_30(Smoke::Stack x) {
        // KPageWidgetItem* addPage(QWidget*, KConfigSkeleton*, const QString&, const QString&)
        KPageWidgetItem* xret = this->KConfigDialog::addPage((QWidget*)x[1].s_class,(KConfigSkeleton*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KConfigDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1142, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KConfigDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1143, (void*)this, x)) return (void*)x[0].s_class;
        return this->KConfigDialog::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(1148, (void*)this, x)) return (int)x[0].s_int;
        return this->KConfigDialog::qt_metacall(x1, x2, x3);
    }
    virtual void updateSettings() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1157, (void*)this, x)) return;
        this->KConfigDialog::updateSettings();
    }
    virtual void updateWidgets() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1158, (void*)this, x)) return;
        this->KConfigDialog::updateWidgets();
    }
    virtual void updateWidgetsDefault() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1159, (void*)this, x)) return;
        this->KConfigDialog::updateWidgetsDefault();
    }
    virtual bool hasChanged() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1162, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KConfigDialog::hasChanged();
    }
    virtual bool isDefault() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1163, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KConfigDialog::isDefault();
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1164, (void*)this, x)) return;
        this->KConfigDialog::showEvent(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1448, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1449, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1451, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(1452, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1453, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1483, (void*)this, x)) return;
        this->KDialog::hideEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1484, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1485, (void*)this, x)) return;
        this->KDialog::keyPressEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1486, (void*)this, x)) return;
        this->KDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7371, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7372, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7373, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7370, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7796, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7797, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7799, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7803, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7804, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7807, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7375, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7376, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7377, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KConfigDialog() { this->_binding->deleted(47, (void*)this); }
};
void xcall_KConfigDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KConfigDialog *xself = (x_KConfigDialog*)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_KConfigDialog::x_3(args);	break;
        case 4: x_KConfigDialog::x_4(args);	break;
        case 5: x_KConfigDialog::x_5(args);	break;
        case 6: x_KConfigDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KConfigDialog::x_10(args);	break;
        case 11: x_KConfigDialog::x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: x_KConfigDialog::x_14(args);	break;
        case 15: x_KConfigDialog::x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_KConfigDialog::x_24(args);	break;
        case 25: x_KConfigDialog::x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: x_KConfigDialog::x_31(args);	break;
        case 32: delete (KConfigDialog*)xself;	break;
    }
}
class x_KConfigDialogManager : public KConfigDialogManager, 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<KConfigDialogManager*>(this))) {
            const QMetaObject* xret = ((const x_KConfigDialogManager*)this)->KConfigDialogManager::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KConfigDialogManager*)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<KConfigDialogManager*>(this))) {
            void* xret = this->KConfigDialogManager::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 = KConfigDialogManager::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 = KConfigDialogManager::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 = KConfigDialogManager::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 = KConfigDialogManager::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<KConfigDialogManager*>(this))) {
            int xret = this->KConfigDialogManager::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    void x_8(Smoke::Stack x) {
        // void settingsChanged()
        this->KConfigDialogManager::settingsChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void settingsChanged(QWidget*)
        this->KConfigDialogManager::settingsChanged((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void widgetModified()
        this->KConfigDialogManager::widgetModified();
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // KConfigDialogManager* KConfigDialogManager(QWidget*, KCoreConfigSkeleton*)
        x_KConfigDialogManager* xret = new x_KConfigDialogManager((QWidget*)x[1].s_class,(KCoreConfigSkeleton*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigDialogManager(QWidget* x1, KCoreConfigSkeleton* x2) : KConfigDialogManager(x1, x2) {}
    static void x_12(Smoke::Stack x) {
        // KConfigDialogManager* KConfigDialogManager(QWidget*, KConfigSkeleton*)
        x_KConfigDialogManager* xret = new x_KConfigDialogManager((QWidget*)x[1].s_class,(KConfigSkeleton*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigDialogManager(QWidget* x1, KConfigSkeleton* x2) : KConfigDialogManager(x1, x2) {}
    void x_13(Smoke::Stack x) {
        // void addWidget(QWidget*)
        this->KConfigDialogManager::addWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool hasChanged() const
        bool xret = ((const x_KConfigDialogManager*)this)->KConfigDialogManager::hasChanged();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool isDefault() const
        bool xret = ((const x_KConfigDialogManager*)this)->KConfigDialogManager::isDefault();
        x[0].s_bool = xret;
    }
    static void x_16(Smoke::Stack x) {
        // static QHash<QString,QByteArray>* propertyMap()
        QHash<QString,QByteArray>* xret = KConfigDialogManager::propertyMap();
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static QHash<QString,QByteArray>* changedMap()
        QHash<QString,QByteArray>* xret = KConfigDialogManager::changedMap();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // void updateSettings()
        this->KConfigDialogManager::updateSettings();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void updateWidgets()
        this->KConfigDialogManager::updateWidgets();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void updateWidgetsDefault()
        this->KConfigDialogManager::updateWidgetsDefault();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void init(bool)
        this->KConfigDialogManager::init((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool parseChildren(const QWidget*, bool)
        bool xret = this->KConfigDialogManager::parseChildren((const QWidget*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // QByteArray getUserProperty(const QWidget*) const
        QByteArray xret = ((const x_KConfigDialogManager*)this)->KConfigDialogManager::getUserProperty((const QWidget*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_24(Smoke::Stack x) {
        // QByteArray getCustomProperty(const QWidget*) const
        QByteArray xret = ((const x_KConfigDialogManager*)this)->KConfigDialogManager::getCustomProperty((const QWidget*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_25(Smoke::Stack x) {
        // void setProperty(QWidget*, const QVariant&)
        this->KConfigDialogManager::setProperty((QWidget*)x[1].s_class,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QVariant property(QWidget*) const
        QVariant xret = ((const x_KConfigDialogManager*)this)->KConfigDialogManager::property((QWidget*)x[1].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_27(Smoke::Stack x) {
        // void setupWidget(QWidget*, KConfigSkeletonItem*)
        this->KConfigDialogManager::setupWidget((QWidget*)x[1].s_class,(KConfigSkeletonItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // static void initMaps()
        KConfigDialogManager::initMaps();
        (void)x; // noop (for compiler warning)
    }
    static void x_29(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KConfigDialogManager::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KConfigDialogManager::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KConfigDialogManager::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1174, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KConfigDialogManager::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1175, (void*)this, x)) return (void*)x[0].s_class;
        return this->KConfigDialogManager::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(1180, (void*)this, x)) return (int)x[0].s_int;
        return this->KConfigDialogManager::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_KConfigDialogManager() { this->_binding->deleted(48, (void*)this); }
};
void xcall_KConfigDialogManager(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KConfigDialogManager *xself = (x_KConfigDialogManager*)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_KConfigDialogManager::x_3(args);	break;
        case 4: x_KConfigDialogManager::x_4(args);	break;
        case 5: x_KConfigDialogManager::x_5(args);	break;
        case 6: x_KConfigDialogManager::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: x_KConfigDialogManager::x_11(args);	break;
        case 12: x_KConfigDialogManager::x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_KConfigDialogManager::x_16(args);	break;
        case 17: x_KConfigDialogManager::x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: x_KConfigDialogManager::x_28(args);	break;
        case 29: x_KConfigDialogManager::x_29(args);	break;
        case 30: x_KConfigDialogManager::x_30(args);	break;
        case 31: x_KConfigDialogManager::x_31(args);	break;
        case 32: delete (KConfigDialogManager*)xself;	break;
    }
}
class x_KConfigSkeleton : public KConfigSkeleton, 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<KConfigSkeleton*>(this))) {
            const QMetaObject* xret = ((const x_KConfigSkeleton*)this)->KConfigSkeleton::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KConfigSkeleton*)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<KConfigSkeleton*>(this))) {
            void* xret = this->KConfigSkeleton::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 = KConfigSkeleton::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 = KConfigSkeleton::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 = KConfigSkeleton::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 = KConfigSkeleton::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<KConfigSkeleton*>(this))) {
            int xret = this->KConfigSkeleton::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) {
        // KConfigSkeleton* KConfigSkeleton(const QString&, QObject*)
        x_KConfigSkeleton* xret = new x_KConfigSkeleton(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigSkeleton(const QString& x1, QObject* x2) : KConfigSkeleton(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // KConfigSkeleton* KConfigSkeleton(KSharedPtr<KSharedConfig>, QObject*)
        x_KConfigSkeleton* xret = new x_KConfigSkeleton(*(KSharedPtr<KSharedConfig>*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigSkeleton(KSharedPtr<KSharedConfig> x1, QObject* x2) : KConfigSkeleton(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // KConfigSkeleton::ItemColor* addItemColor(const QString&, QColor&, const QColor&, const QString&)
        KConfigSkeleton::ItemColor* xret = this->KConfigSkeleton::addItemColor(*(const QString*)x[1].s_class,*(QColor*)x[2].s_class,*(const QColor*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // KConfigSkeleton::ItemFont* addItemFont(const QString&, QFont&, const QFont&, const QString&)
        KConfigSkeleton::ItemFont* xret = this->KConfigSkeleton::addItemFont(*(const QString*)x[1].s_class,*(QFont*)x[2].s_class,*(const QFont*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_12(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KConfigSkeleton::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KConfigSkeleton::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // KConfigSkeleton* KConfigSkeleton()
        x_KConfigSkeleton* xret = new x_KConfigSkeleton((const QString&)QString(),(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // KConfigSkeleton* KConfigSkeleton(const QString&)
        x_KConfigSkeleton* xret = new x_KConfigSkeleton(*(const QString*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_16(Smoke::Stack x) {
        // KConfigSkeleton* KConfigSkeleton(KSharedPtr<KSharedConfig>)
        x_KConfigSkeleton* xret = new x_KConfigSkeleton(*(KSharedPtr<KSharedConfig>*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // KConfigSkeleton::ItemColor* addItemColor(const QString&, QColor&)
        KConfigSkeleton::ItemColor* xret = this->KConfigSkeleton::addItemColor(*(const QString*)x[1].s_class,*(QColor*)x[2].s_class,(const QColor&)QColor(128,128,128),(const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // KConfigSkeleton::ItemColor* addItemColor(const QString&, QColor&, const QColor&)
        KConfigSkeleton::ItemColor* xret = this->KConfigSkeleton::addItemColor(*(const QString*)x[1].s_class,*(QColor*)x[2].s_class,*(const QColor*)x[3].s_class,(const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // KConfigSkeleton::ItemFont* addItemFont(const QString&, QFont&)
        KConfigSkeleton::ItemFont* xret = this->KConfigSkeleton::addItemFont(*(const QString*)x[1].s_class,*(QFont*)x[2].s_class,(const QFont&)QFont(),(const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // KConfigSkeleton::ItemFont* addItemFont(const QString&, QFont&, const QFont&)
        KConfigSkeleton::ItemFont* xret = this->KConfigSkeleton::addItemFont(*(const QString*)x[1].s_class,*(QFont*)x[2].s_class,*(const QFont*)x[3].s_class,(const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KConfigSkeleton::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1206, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KConfigSkeleton::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1207, (void*)this, x)) return (void*)x[0].s_class;
        return this->KConfigSkeleton::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(1212, (void*)this, x)) return (int)x[0].s_int;
        return this->KConfigSkeleton::qt_metacall(x1, x2, x3);
    }
    virtual void setDefaults() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1244, (void*)this, x)) return;
        this->KCoreConfigSkeleton::setDefaults();
    }
    virtual void readConfig() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1245, (void*)this, x)) return;
        this->KCoreConfigSkeleton::readConfig();
    }
    virtual void writeConfig() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1246, (void*)this, x)) return;
        this->KCoreConfigSkeleton::writeConfig();
    }
    virtual bool useDefaults(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1247, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KCoreConfigSkeleton::useDefaults(x1);
    }
    virtual bool usrUseDefaults(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1248, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KCoreConfigSkeleton::usrUseDefaults(x1);
    }
    virtual void usrSetDefaults() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1249, (void*)this, x)) return;
        this->KCoreConfigSkeleton::usrSetDefaults();
    }
    virtual void usrReadConfig() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1250, (void*)this, x)) return;
        this->KCoreConfigSkeleton::usrReadConfig();
    }
    virtual void usrWriteConfig() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1251, (void*)this, x)) return;
        this->KCoreConfigSkeleton::usrWriteConfig();
    }
    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_KConfigSkeleton() { this->_binding->deleted(50, (void*)this); }
};
void xcall_KConfigSkeleton(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KConfigSkeleton *xself = (x_KConfigSkeleton*)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_KConfigSkeleton::x_3(args);	break;
        case 4: x_KConfigSkeleton::x_4(args);	break;
        case 5: x_KConfigSkeleton::x_5(args);	break;
        case 6: x_KConfigSkeleton::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KConfigSkeleton::x_8(args);	break;
        case 9: x_KConfigSkeleton::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: x_KConfigSkeleton::x_12(args);	break;
        case 13: x_KConfigSkeleton::x_13(args);	break;
        case 14: x_KConfigSkeleton::x_14(args);	break;
        case 15: x_KConfigSkeleton::x_15(args);	break;
        case 16: x_KConfigSkeleton::x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: x_KConfigSkeleton::x_21(args);	break;
        case 22: delete (KConfigSkeleton*)xself;	break;
    }
}
class x_KConfigSkeleton__ItemColor : public KConfigSkeleton::ItemColor {
    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) {
        // KConfigSkeleton::ItemColor* ItemColor(const QString&, const QString&, QColor&, const QColor&)
        x_KConfigSkeleton__ItemColor* xret = new x_KConfigSkeleton__ItemColor(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(QColor*)x[3].s_class,*(const QColor*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigSkeleton__ItemColor(const QString& x1, const QString& x2, QColor& x3, const QColor& x4) : ItemColor(x1, x2, x3, x4) {}
    void x_2(Smoke::Stack x) {
        // void readConfig(KConfig*)
        this->KConfigSkeleton::ItemColor::readConfig((KConfig*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_3(Smoke::Stack x) {
        // void setProperty(const QVariant&)
        this->KConfigSkeleton::ItemColor::setProperty(*(const QVariant*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // bool isEqual(const QVariant&) const
        bool xret = ((const x_KConfigSkeleton__ItemColor*)this)->KConfigSkeleton::ItemColor::isEqual(*(const QVariant*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // QVariant property() const
        QVariant xret = ((const x_KConfigSkeleton__ItemColor*)this)->KConfigSkeleton::ItemColor::property();
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_6(Smoke::Stack x) {
        // KConfigSkeleton::ItemColor* ItemColor(const KConfigSkeleton::ItemColor&)
        x_KConfigSkeleton__ItemColor* xret = new x_KConfigSkeleton__ItemColor(*(const KConfigSkeleton::ItemColor*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigSkeleton__ItemColor(const KConfigSkeleton::ItemColor& x1) : ItemColor(x1) {}
    static void x_7(Smoke::Stack x) {
        // KConfigSkeleton::ItemColor* ItemColor(const QString&, const QString&, QColor&)
        x_KConfigSkeleton__ItemColor* xret = new x_KConfigSkeleton__ItemColor(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(QColor*)x[3].s_class,(const QColor&)QColor(128,128,128));
        x[0].s_class = (void*)xret;
    }
    ~x_KConfigSkeleton__ItemColor() { this->_binding->deleted(51, (void*)this); }
};
void xcall_KConfigSkeleton__ItemColor(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KConfigSkeleton__ItemColor *xself = (x_KConfigSkeleton__ItemColor*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KConfigSkeleton__ItemColor::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: x_KConfigSkeleton__ItemColor::x_6(args);	break;
        case 7: x_KConfigSkeleton__ItemColor::x_7(args);	break;
        case 8: delete (KConfigSkeleton::ItemColor*)xself;	break;
    }
}
class x_KConfigSkeleton__ItemFont : public KConfigSkeleton::ItemFont {
    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) {
        // KConfigSkeleton::ItemFont* ItemFont(const QString&, const QString&, QFont&, const QFont&)
        x_KConfigSkeleton__ItemFont* xret = new x_KConfigSkeleton__ItemFont(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(QFont*)x[3].s_class,*(const QFont*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigSkeleton__ItemFont(const QString& x1, const QString& x2, QFont& x3, const QFont& x4) : ItemFont(x1, x2, x3, x4) {}
    void x_2(Smoke::Stack x) {
        // void readConfig(KConfig*)
        this->KConfigSkeleton::ItemFont::readConfig((KConfig*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_3(Smoke::Stack x) {
        // void setProperty(const QVariant&)
        this->KConfigSkeleton::ItemFont::setProperty(*(const QVariant*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // bool isEqual(const QVariant&) const
        bool xret = ((const x_KConfigSkeleton__ItemFont*)this)->KConfigSkeleton::ItemFont::isEqual(*(const QVariant*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // QVariant property() const
        QVariant xret = ((const x_KConfigSkeleton__ItemFont*)this)->KConfigSkeleton::ItemFont::property();
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_6(Smoke::Stack x) {
        // KConfigSkeleton::ItemFont* ItemFont(const KConfigSkeleton::ItemFont&)
        x_KConfigSkeleton__ItemFont* xret = new x_KConfigSkeleton__ItemFont(*(const KConfigSkeleton::ItemFont*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KConfigSkeleton__ItemFont(const KConfigSkeleton::ItemFont& x1) : ItemFont(x1) {}
    static void x_7(Smoke::Stack x) {
        // KConfigSkeleton::ItemFont* ItemFont(const QString&, const QString&, QFont&)
        x_KConfigSkeleton__ItemFont* xret = new x_KConfigSkeleton__ItemFont(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(QFont*)x[3].s_class,(const QFont&)QFont());
        x[0].s_class = (void*)xret;
    }
    ~x_KConfigSkeleton__ItemFont() { this->_binding->deleted(52, (void*)this); }
};
void xcall_KConfigSkeleton__ItemFont(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KConfigSkeleton__ItemFont *xself = (x_KConfigSkeleton__ItemFont*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KConfigSkeleton__ItemFont::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: x_KConfigSkeleton__ItemFont::x_6(args);	break;
        case 7: x_KConfigSkeleton__ItemFont::x_7(args);	break;
        case 8: delete (KConfigSkeleton::ItemFont*)xself;	break;
    }
}
class x_KCursor : public KCursor {
    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) {
        // KCursor* KCursor(const QString&, Qt::CursorShape)
        x_KCursor* xret = new x_KCursor(*(const QString*)x[1].s_class,(Qt::CursorShape)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCursor(const QString& x1, Qt::CursorShape x2) : KCursor(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // KCursor* KCursor(const QCursor&)
        x_KCursor* xret = new x_KCursor(*(const QCursor*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCursor(const QCursor& x1) : KCursor(x1) {}
    void x_3(Smoke::Stack x) {
        // KCursor& operator=(const KCursor&)
        KCursor& xret = this->KCursor::operator=(*(const KCursor*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_4(Smoke::Stack x) {
        // static void setAutoHideCursor(QWidget*, bool, bool)
        KCursor::setAutoHideCursor((QWidget*)x[1].s_class,(bool)x[2].s_bool,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_5(Smoke::Stack x) {
        // static void setHideCursorDelay(int)
        KCursor::setHideCursorDelay((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_6(Smoke::Stack x) {
        // static int hideCursorDelay()
        int xret = KCursor::hideCursorDelay();
        x[0].s_int = xret;
    }
    static void x_7(Smoke::Stack x) {
        // static void autoHideEventFilter(QObject*, QEvent*)
        KCursor::autoHideEventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_8(Smoke::Stack x) {
        // KCursor* KCursor(const KCursor&)
        x_KCursor* xret = new x_KCursor(*(const KCursor*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCursor(const KCursor& x1) : KCursor(x1) {}
    static void x_9(Smoke::Stack x) {
        // KCursor* KCursor(const QString&)
        x_KCursor* xret = new x_KCursor(*(const QString*)x[1].s_class,(Qt::CursorShape)Qt::ArrowCursor);
        x[0].s_class = (void*)xret;
    }
    static void x_10(Smoke::Stack x) {
        // static void setAutoHideCursor(QWidget*, bool)
        KCursor::setAutoHideCursor((QWidget*)x[1].s_class,(bool)x[2].s_bool,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    ~x_KCursor() { this->_binding->deleted(55, (void*)this); }
};
void xcall_KCursor(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCursor *xself = (x_KCursor*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KCursor::x_1(args);	break;
        case 2: x_KCursor::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: x_KCursor::x_4(args);	break;
        case 5: x_KCursor::x_5(args);	break;
        case 6: x_KCursor::x_6(args);	break;
        case 7: x_KCursor::x_7(args);	break;
        case 8: x_KCursor::x_8(args);	break;
        case 9: x_KCursor::x_9(args);	break;
        case 10: x_KCursor::x_10(args);	break;
        case 11: delete (KCursor*)xself;	break;
    }
}
class x_KDatePicker : public KDatePicker, 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<KDatePicker*>(this))) {
            const QMetaObject* xret = ((const x_KDatePicker*)this)->KDatePicker::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDatePicker*)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<KDatePicker*>(this))) {
            void* xret = this->KDatePicker::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 = KDatePicker::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 = KDatePicker::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 = KDatePicker::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 = KDatePicker::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<KDatePicker*>(this))) {
            int xret = this->KDatePicker::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) {
        // KDatePicker* KDatePicker(QWidget*)
        x_KDatePicker* xret = new x_KDatePicker((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDatePicker(QWidget* x1) : KDatePicker(x1) {}
    static void x_9(Smoke::Stack x) {
        // KDatePicker* KDatePicker(const QDate&, QWidget*)
        x_KDatePicker* xret = new x_KDatePicker(*(const QDate*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDatePicker(const QDate& x1, QWidget* x2) : KDatePicker(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDatePicker*>(this))) {
            QSize xret = ((const x_KDatePicker*)this)->KDatePicker::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KDatePicker*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_11(Smoke::Stack x) {
        // bool setDate(const QDate&)
        bool xret = this->KDatePicker::setDate(*(const QDate*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // const QDate& date() const
        const QDate& xret = ((const x_KDatePicker*)this)->KDatePicker::date();
        x[0].s_class = (void*)&xret;
    }
    void x_13(Smoke::Stack x) {
        // const KCalendarSystem* calendar() const
        const KCalendarSystem* xret = ((const x_KDatePicker*)this)->KDatePicker::calendar();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // bool setCalendar(KCalendarSystem*)
        bool xret = this->KDatePicker::setCalendar((KCalendarSystem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool setCalendar(const QString&)
        bool xret = this->KDatePicker::setCalendar(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool setCalendarSystem(KLocale::CalendarSystem)
        bool xret = this->KDatePicker::setCalendarSystem((KLocale::CalendarSystem)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setEnabled(bool)
        this->KDatePicker::setEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // KDateTable* dateTable() const
        KDateTable* xret = ((const x_KDatePicker*)this)->KDatePicker::dateTable();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // void setFontSize(int)
        this->KDatePicker::setFontSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // int fontSize() const
        int xret = ((const x_KDatePicker*)this)->KDatePicker::fontSize();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setCloseButton(bool)
        this->KDatePicker::setCloseButton((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // bool hasCloseButton() const
        bool xret = ((const x_KDatePicker*)this)->KDatePicker::hasCloseButton();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDatePicker*>(this))) {
            bool xret = this->KDatePicker::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;
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDatePicker*>(this))) {
            this->KDatePicker::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_25(Smoke::Stack x) {
        // void dateChangedSlot(const QDate&)
        this->KDatePicker::dateChangedSlot(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void tableClickedSlot()
        this->KDatePicker::tableClickedSlot();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void monthForwardClicked()
        this->KDatePicker::monthForwardClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void monthBackwardClicked()
        this->KDatePicker::monthBackwardClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void yearForwardClicked()
        this->KDatePicker::yearForwardClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void yearBackwardClicked()
        this->KDatePicker::yearBackwardClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void selectMonthClicked()
        this->KDatePicker::selectMonthClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void selectYearClicked()
        this->KDatePicker::selectYearClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void uncheckYearSelector()
        this->KDatePicker::uncheckYearSelector();
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void lineEnterPressed()
        this->KDatePicker::lineEnterPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void todayButtonClicked()
        this->KDatePicker::todayButtonClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void weekSelected(int)
        this->KDatePicker::weekSelected((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void dateChanged(const QDate&)
        this->KDatePicker::dateChanged(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void dateSelected(const QDate&)
        this->KDatePicker::dateSelected(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void dateEntered(const QDate&)
        this->KDatePicker::dateEntered(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void tableClicked()
        this->KDatePicker::tableClicked();
        (void)x; // noop (for compiler warning)
    }
    static void x_41(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDatePicker::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_42(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDatePicker::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_43(Smoke::Stack x) {
        // KDatePicker* KDatePicker()
        x_KDatePicker* xret = new x_KDatePicker((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_44(Smoke::Stack x) {
        // KDatePicker* KDatePicker(const QDate&)
        x_KDatePicker* xret = new x_KDatePicker(*(const QDate*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_45(Smoke::Stack x) {
        // bool setCalendar()
        bool xret = this->KDatePicker::setCalendar((KCalendarSystem*)0);
        x[0].s_bool = xret;
    }
    static void x_46(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDatePicker::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1263, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDatePicker::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1264, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDatePicker::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(1269, (void*)this, x)) return (int)x[0].s_int;
        return this->KDatePicker::qt_metacall(x1, x2, x3);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(1285, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KDatePicker::eventFilter(x1, x2);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1286, (void*)this, x)) return;
        this->KDatePicker::resizeEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1272, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDatePicker::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(7415, (void*)this, x)) return;
        this->QFrame::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7811, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7416, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7414, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFrame::event(x1);
    }
    virtual 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_KDatePicker() { this->_binding->deleted(56, (void*)this); }
};
void xcall_KDatePicker(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDatePicker *xself = (x_KDatePicker*)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_KDatePicker::x_3(args);	break;
        case 4: x_KDatePicker::x_4(args);	break;
        case 5: x_KDatePicker::x_5(args);	break;
        case 6: x_KDatePicker::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDatePicker::x_8(args);	break;
        case 9: x_KDatePicker::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: x_KDatePicker::x_41(args);	break;
        case 42: x_KDatePicker::x_42(args);	break;
        case 43: x_KDatePicker::x_43(args);	break;
        case 44: x_KDatePicker::x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: x_KDatePicker::x_46(args);	break;
        case 47: delete (KDatePicker*)xself;	break;
    }
}
class x_KDateTable : public KDateTable, 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<KDateTable*>(this))) {
            const QMetaObject* xret = ((const x_KDateTable*)this)->KDateTable::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDateTable*)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<KDateTable*>(this))) {
            void* xret = this->KDateTable::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 = KDateTable::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 = KDateTable::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 = KDateTable::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 = KDateTable::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<KDateTable*>(this))) {
            int xret = this->KDateTable::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) {
        // KDateTable* KDateTable(QWidget*)
        x_KDateTable* xret = new x_KDateTable((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDateTable(QWidget* x1) : KDateTable(x1) {}
    static void x_9(Smoke::Stack x) {
        // KDateTable* KDateTable(const QDate&, QWidget*)
        x_KDateTable* xret = new x_KDateTable(*(const QDate*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDateTable(const QDate& x1, QWidget* x2) : KDateTable(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            QSize xret = ((const x_KDateTable*)this)->KDateTable::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KDateTable*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_11(Smoke::Stack x) {
        // void setFontSize(int)
        this->KDateTable::setFontSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool setDate(const QDate&)
        bool xret = this->KDateTable::setDate(*(const QDate*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // const QDate& date() const
        const QDate& xret = ((const x_KDateTable*)this)->KDateTable::date();
        x[0].s_class = (void*)&xret;
    }
    void x_14(Smoke::Stack x) {
        // const KCalendarSystem* calendar() const
        const KCalendarSystem* xret = ((const x_KDateTable*)this)->KDateTable::calendar();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // bool setCalendar(KCalendarSystem*)
        bool xret = this->KDateTable::setCalendar((KCalendarSystem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool setCalendar(const QString&)
        bool xret = this->KDateTable::setCalendar(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // bool setCalendarSystem(KLocale::CalendarSystem)
        bool xret = this->KDateTable::setCalendarSystem((KLocale::CalendarSystem)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setPopupMenuEnabled(bool)
        this->KDateTable::setPopupMenuEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // bool popupMenuEnabled() const
        bool xret = ((const x_KDateTable*)this)->KDateTable::popupMenuEnabled();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setCustomDatePainting(const QDate&, const QColor&, KDateTable::BackgroundMode, const QColor&)
        this->KDateTable::setCustomDatePainting(*(const QDate*)x[1].s_class,*(const QColor*)x[2].s_class,(KDateTable::BackgroundMode)x[3].s_enum,*(const QColor*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void unsetCustomDatePainting(const QDate&)
        this->KDateTable::unsetCustomDatePainting(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // virtual int posFromDate(const QDate&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            int xret = this->KDateTable::posFromDate(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->posFromDate(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual QDate dateFromPos(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            QDate xret = this->KDateTable::dateFromPos((int)x[1].s_int);
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = this->dateFromPos((int)x[1].s_int);
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            this->KDateTable::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_25(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            this->KDateTable::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_26(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            this->KDateTable::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_27(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            this->KDateTable::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_28(Smoke::Stack x) {
        // virtual void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            this->KDateTable::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_29(Smoke::Stack x) {
        // virtual void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            this->KDateTable::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_30(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateTable*>(this))) {
            bool xret = this->KDateTable::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_31(Smoke::Stack x) {
        // void dateChanged(const QDate&)
        this->KDateTable::dateChanged(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void dateChanged(const QDate&, const QDate&)
        this->KDateTable::dateChanged(*(const QDate*)x[1].s_class,*(const QDate*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void tableClicked()
        this->KDateTable::tableClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void aboutToShowContextMenu(KMenu*, const QDate&)
        this->KDateTable::aboutToShowContextMenu((KMenu*)x[1].s_class,*(const QDate*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_35(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDateTable::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDateTable::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // KDateTable* KDateTable()
        x_KDateTable* xret = new x_KDateTable((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_38(Smoke::Stack x) {
        // KDateTable* KDateTable(const QDate&)
        x_KDateTable* xret = new x_KDateTable(*(const QDate*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_39(Smoke::Stack x) {
        // bool setCalendar()
        bool xret = this->KDateTable::setCalendar((KCalendarSystem*)0);
        x[0].s_bool = xret;
    }
    void x_40(Smoke::Stack x) {
        // void setCustomDatePainting(const QDate&, const QColor&)
        this->KDateTable::setCustomDatePainting(*(const QDate*)x[1].s_class,*(const QColor*)x[2].s_class,(KDateTable::BackgroundMode)KDateTable::NoBgMode,(const QColor&)QColor());
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void setCustomDatePainting(const QDate&, const QColor&, KDateTable::BackgroundMode)
        this->KDateTable::setCustomDatePainting(*(const QDate*)x[1].s_class,*(const QColor*)x[2].s_class,(KDateTable::BackgroundMode)x[3].s_enum,(const QColor&)QColor());
        (void)x; // noop (for compiler warning)
    }
    static void x_42(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDateTable::staticMetaObject;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KDateTable::NoBgMode;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KDateTable::RectangleMode;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KDateTable::CircleMode;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1310, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDateTable::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1311, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDateTable::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(1316, (void*)this, x)) return (int)x[0].s_int;
        return this->KDateTable::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1319, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDateTable::sizeHint();
    }
    virtual int posFromDate(const QDate& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1331, (void*)this, x)) return (int)x[0].s_int;
        return this->KDateTable::posFromDate(x1);
    }
    virtual QDate dateFromPos(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1332, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDateTable::dateFromPos(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1333, (void*)this, x)) return;
        this->KDateTable::paintEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1334, (void*)this, x)) return;
        this->KDateTable::mousePressEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1335, (void*)this, x)) return;
        this->KDateTable::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1336, (void*)this, x)) return;
        this->KDateTable::keyPressEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1337, (void*)this, x)) return;
        this->KDateTable::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1338, (void*)this, x)) return;
        this->KDateTable::focusOutEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1339, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KDateTable::event(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 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 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 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 enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7809, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7811, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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 eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 83: //KDateTable::BackgroundMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDateTable::BackgroundMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KDateTable::BackgroundMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDateTable::BackgroundMode*)xdata = (KDateTable::BackgroundMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDateTable::BackgroundMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KDateTable() { this->_binding->deleted(57, (void*)this); }
};
void xenum_KDateTable(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KDateTable::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KDateTable(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDateTable *xself = (x_KDateTable*)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_KDateTable::x_3(args);	break;
        case 4: x_KDateTable::x_4(args);	break;
        case 5: x_KDateTable::x_5(args);	break;
        case 6: x_KDateTable::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDateTable::x_8(args);	break;
        case 9: x_KDateTable::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: x_KDateTable::x_35(args);	break;
        case 36: x_KDateTable::x_36(args);	break;
        case 37: x_KDateTable::x_37(args);	break;
        case 38: x_KDateTable::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: x_KDateTable::x_42(args);	break;
        case 43: x_KDateTable::x_43(args);	break;
        case 44: x_KDateTable::x_44(args);	break;
        case 45: x_KDateTable::x_45(args);	break;
        case 46: delete (KDateTable*)xself;	break;
    }
}
class x_KDateTimeWidget : public KDateTimeWidget, 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<KDateTimeWidget*>(this))) {
            const QMetaObject* xret = ((const x_KDateTimeWidget*)this)->KDateTimeWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDateTimeWidget*)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<KDateTimeWidget*>(this))) {
            void* xret = this->KDateTimeWidget::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 = KDateTimeWidget::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 = KDateTimeWidget::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 = KDateTimeWidget::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 = KDateTimeWidget::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<KDateTimeWidget*>(this))) {
            int xret = this->KDateTimeWidget::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) {
        // KDateTimeWidget* KDateTimeWidget(QWidget*)
        x_KDateTimeWidget* xret = new x_KDateTimeWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDateTimeWidget(QWidget* x1) : KDateTimeWidget(x1) {}
    static void x_9(Smoke::Stack x) {
        // KDateTimeWidget* KDateTimeWidget(const QDateTime&, QWidget*)
        x_KDateTimeWidget* xret = new x_KDateTimeWidget(*(const QDateTime*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDateTimeWidget(const QDateTime& x1, QWidget* x2) : KDateTimeWidget(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // QDateTime dateTime() const
        QDateTime xret = ((const x_KDateTimeWidget*)this)->KDateTimeWidget::dateTime();
        x[0].s_class = (void*)new QDateTime(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setDateTime(const QDateTime&)
        this->KDateTimeWidget::setDateTime(*(const QDateTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void valueChanged(const QDateTime&)
        this->KDateTimeWidget::valueChanged(*(const QDateTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_13(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDateTimeWidget::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 = KDateTimeWidget::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) {
        // KDateTimeWidget* KDateTimeWidget()
        x_KDateTimeWidget* xret = new x_KDateTimeWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_16(Smoke::Stack x) {
        // KDateTimeWidget* KDateTimeWidget(const QDateTime&)
        x_KDateTimeWidget* xret = new x_KDateTimeWidget(*(const QDateTime*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDateTimeWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1356, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDateTimeWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1357, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDateTimeWidget::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(1362, (void*)this, x)) return (int)x[0].s_int;
        return this->KDateTimeWidget::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(7807, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7809, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7811, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KDateTimeWidget() { this->_binding->deleted(58, (void*)this); }
};
void xcall_KDateTimeWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDateTimeWidget *xself = (x_KDateTimeWidget*)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_KDateTimeWidget::x_3(args);	break;
        case 4: x_KDateTimeWidget::x_4(args);	break;
        case 5: x_KDateTimeWidget::x_5(args);	break;
        case 6: x_KDateTimeWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDateTimeWidget::x_8(args);	break;
        case 9: x_KDateTimeWidget::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: x_KDateTimeWidget::x_13(args);	break;
        case 14: x_KDateTimeWidget::x_14(args);	break;
        case 15: x_KDateTimeWidget::x_15(args);	break;
        case 16: x_KDateTimeWidget::x_16(args);	break;
        case 17: x_KDateTimeWidget::x_17(args);	break;
        case 18: delete (KDateTimeWidget*)xself;	break;
    }
}

}
