//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_KDateValidator : public KDateValidator, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KDateValidator* KDateValidator(QWidget*)
        x_KDateValidator* xret = new x_KDateValidator((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDateValidator(QWidget* x1) : KDateValidator(x1) {}
    void x_2(Smoke::Stack x) {
        // virtual QValidator::State validate(QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateValidator*>(this))) {
            QValidator::State xret = ((const x_KDateValidator*)this)->KDateValidator::validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        } else {
            QValidator::State xret = ((const x_KDateValidator*)this)->validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        }
    }
    void x_3(Smoke::Stack x) {
        // virtual void fixup(QString&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDateValidator*>(this))) {
            ((const x_KDateValidator*)this)->KDateValidator::fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KDateValidator*)this)->fixup(*(QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_4(Smoke::Stack x) {
        // QValidator::State date(const QString&, QDate&) const
        QValidator::State xret = ((const x_KDateValidator*)this)->KDateValidator::date(*(const QString*)x[1].s_class,*(QDate*)x[2].s_class);
        x[0].s_enum = xret;
    }
    static void x_5(Smoke::Stack x) {
        // KDateValidator* KDateValidator()
        x_KDateValidator* xret = new x_KDateValidator((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    virtual QValidator::State validate(QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1375, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->KDateValidator::validate(x1, x2);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1376, (void*)this, x)) return;
        this->KDateValidator::fixup(x1);
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7782, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QValidator::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7783, (void*)this, x)) return (void*)x[0].s_class;
        return this->QValidator::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(7784, (void*)this, x)) return (int)x[0].s_int;
        return this->QValidator::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_KDateValidator() { this->_binding->deleted(59, (void*)this); }
};
void xcall_KDateValidator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDateValidator *xself = (x_KDateValidator*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KDateValidator::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: x_KDateValidator::x_5(args);	break;
        case 6: delete (KDateValidator*)xself;	break;
    }
}
class x_KDateWidget : public KDateWidget, 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<KDateWidget*>(this))) {
            const QMetaObject* xret = ((const x_KDateWidget*)this)->KDateWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDateWidget*)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<KDateWidget*>(this))) {
            void* xret = this->KDateWidget::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 = KDateWidget::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 = KDateWidget::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 = KDateWidget::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 = KDateWidget::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<KDateWidget*>(this))) {
            int xret = this->KDateWidget::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) {
        // KDateWidget* KDateWidget(QWidget*)
        x_KDateWidget* xret = new x_KDateWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDateWidget(QWidget* x1) : KDateWidget(x1) {}
    static void x_9(Smoke::Stack x) {
        // KDateWidget* KDateWidget(const QDate&, QWidget*)
        x_KDateWidget* xret = new x_KDateWidget(*(const QDate*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDateWidget(const QDate& x1, QWidget* x2) : KDateWidget(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // const QDate& date() const
        const QDate& xret = ((const x_KDateWidget*)this)->KDateWidget::date();
        x[0].s_class = (void*)&xret;
    }
    void x_11(Smoke::Stack x) {
        // bool setDate(const QDate&)
        bool xret = this->KDateWidget::setDate(*(const QDate*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // const KCalendarSystem* calendar() const
        const KCalendarSystem* xret = ((const x_KDateWidget*)this)->KDateWidget::calendar();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // bool setCalendar(KCalendarSystem*)
        bool xret = this->KDateWidget::setCalendar((KCalendarSystem*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool setCalendar(const QString&)
        bool xret = this->KDateWidget::setCalendar(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool setCalendarSystem(KLocale::CalendarSystem)
        bool xret = this->KDateWidget::setCalendarSystem((KLocale::CalendarSystem)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void changed(const QDate&)
        this->KDateWidget::changed(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void init(const QDate&)
        this->KDateWidget::init(*(const QDate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void slotDateChanged()
        this->KDateWidget::slotDateChanged();
        (void)x; // noop (for compiler warning)
    }
    static void x_19(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDateWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDateWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // KDateWidget* KDateWidget()
        x_KDateWidget* xret = new x_KDateWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // KDateWidget* KDateWidget(const QDate&)
        x_KDateWidget* xret = new x_KDateWidget(*(const QDate*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_23(Smoke::Stack x) {
        // bool setCalendar()
        bool xret = this->KDateWidget::setCalendar((KCalendarSystem*)0);
        x[0].s_bool = xret;
    }
    static void x_24(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDateWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1380, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDateWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1381, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDateWidget::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(1386, (void*)this, x)) return (int)x[0].s_int;
        return this->KDateWidget::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_KDateWidget() { this->_binding->deleted(60, (void*)this); }
};
void xcall_KDateWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDateWidget *xself = (x_KDateWidget*)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_KDateWidget::x_3(args);	break;
        case 4: x_KDateWidget::x_4(args);	break;
        case 5: x_KDateWidget::x_5(args);	break;
        case 6: x_KDateWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDateWidget::x_8(args);	break;
        case 9: x_KDateWidget::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: x_KDateWidget::x_19(args);	break;
        case 20: x_KDateWidget::x_20(args);	break;
        case 21: x_KDateWidget::x_21(args);	break;
        case 22: x_KDateWidget::x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_KDateWidget::x_24(args);	break;
        case 25: delete (KDateWidget*)xself;	break;
    }
}
class x_KDialog : public KDialog, 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<KDialog*>(this))) {
            const QMetaObject* xret = ((const x_KDialog*)this)->KDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDialog*)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<KDialog*>(this))) {
            void* xret = this->KDialog::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 = KDialog::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 = KDialog::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 = KDialog::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 = KDialog::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<KDialog*>(this))) {
            int xret = this->KDialog::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) {
        // KDialog* KDialog(QWidget*, QFlags<Qt::WindowType>)
        x_KDialog* xret = new x_KDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDialog(QWidget* x1, QFlags<Qt::WindowType> x2) : KDialog(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void setButtons(QFlags<KDialog::ButtonCode>)
        this->KDialog::setButtons((QFlags<KDialog::ButtonCode>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void setButtonsOrientation(Qt::Orientation)
        this->KDialog::setButtonsOrientation((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setEscapeButton(KDialog::ButtonCode)
        this->KDialog::setEscapeButton((KDialog::ButtonCode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setDefaultButton(KDialog::ButtonCode)
        this->KDialog::setDefaultButton((KDialog::ButtonCode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // KDialog::ButtonCode defaultButton() const
        KDialog::ButtonCode xret = ((const x_KDialog*)this)->KDialog::defaultButton();
        x[0].s_enum = xret;
    }
    void x_14(Smoke::Stack x) {
        // void showButtonSeparator(bool)
        this->KDialog::showButtonSeparator((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void showButton(KDialog::ButtonCode, bool)
        this->KDialog::showButton((KDialog::ButtonCode)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setButtonText(KDialog::ButtonCode, const QString&)
        this->KDialog::setButtonText((KDialog::ButtonCode)x[1].s_enum,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QString buttonText(KDialog::ButtonCode) const
        QString xret = ((const x_KDialog*)this)->KDialog::buttonText((KDialog::ButtonCode)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setButtonIcon(KDialog::ButtonCode, const KIcon&)
        this->KDialog::setButtonIcon((KDialog::ButtonCode)x[1].s_enum,*(const KIcon*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // KIcon buttonIcon(KDialog::ButtonCode) const
        KIcon xret = ((const x_KDialog*)this)->KDialog::buttonIcon((KDialog::ButtonCode)x[1].s_enum);
        x[0].s_class = (void*)new KIcon(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setButtonToolTip(KDialog::ButtonCode, const QString&)
        this->KDialog::setButtonToolTip((KDialog::ButtonCode)x[1].s_enum,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QString buttonToolTip(KDialog::ButtonCode) const
        QString xret = ((const x_KDialog*)this)->KDialog::buttonToolTip((KDialog::ButtonCode)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // void setButtonWhatsThis(KDialog::ButtonCode, const QString&)
        this->KDialog::setButtonWhatsThis((KDialog::ButtonCode)x[1].s_enum,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QString buttonWhatsThis(KDialog::ButtonCode) const
        QString xret = ((const x_KDialog*)this)->KDialog::buttonWhatsThis((KDialog::ButtonCode)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // void setButtonGuiItem(KDialog::ButtonCode, const KGuiItem&)
        this->KDialog::setButtonGuiItem((KDialog::ButtonCode)x[1].s_enum,*(const KGuiItem*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setButtonMenu(KDialog::ButtonCode, QMenu*, KDialog::ButtonPopupMode)
        this->KDialog::setButtonMenu((KDialog::ButtonCode)x[1].s_enum,(QMenu*)x[2].s_class,(KDialog::ButtonPopupMode)x[3].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setButtonFocus(KDialog::ButtonCode)
        this->KDialog::setButtonFocus((KDialog::ButtonCode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setInitialSize(const QSize&)
        this->KDialog::setInitialSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void incrementInitialSize(const QSize&)
        this->KDialog::incrementInitialSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void restoreDialogSize(const KConfigGroup&)
        this->KDialog::restoreDialogSize(*(const KConfigGroup*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void saveDialogSize(KConfigGroup&, KConfigGroup::WriteConfigFlags) const
        ((const x_KDialog*)this)->KDialog::saveDialogSize(*(KConfigGroup*)x[1].s_class,*(KConfigGroup::WriteConfigFlags*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // QString helpLinkText() const
        QString xret = ((const x_KDialog*)this)->KDialog::helpLinkText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_32(Smoke::Stack x) {
        // bool isButtonEnabled(KDialog::ButtonCode) const
        bool xret = ((const x_KDialog*)this)->KDialog::isButtonEnabled((KDialog::ButtonCode)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // KPushButton* button(KDialog::ButtonCode) const
        KPushButton* xret = ((const x_KDialog*)this)->KDialog::button((KDialog::ButtonCode)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    static void x_34(Smoke::Stack x) {
        // static int marginHint()
        int xret = KDialog::marginHint();
        x[0].s_int = xret;
    }
    static void x_35(Smoke::Stack x) {
        // static int spacingHint()
        int xret = KDialog::spacingHint();
        x[0].s_int = xret;
    }
    static void x_36(Smoke::Stack x) {
        // static int groupSpacingHint()
        int xret = KDialog::groupSpacingHint();
        x[0].s_int = xret;
    }
    static void x_37(Smoke::Stack x) {
        // static QString makeStandardCaption(const QString&, QWidget*, QFlags<KDialog::CaptionFlag>)
        QString xret = KDialog::makeStandardCaption(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<KDialog::CaptionFlag>)x[3].s_uint);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static void resizeLayout(QWidget*, int, int)
        KDialog::resizeLayout((QWidget*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_39(Smoke::Stack x) {
        // static void resizeLayout(QLayout*, int, int)
        KDialog::resizeLayout((QLayout*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_40(Smoke::Stack x) {
        // static void centerOnScreen(QWidget*, int)
        KDialog::centerOnScreen((QWidget*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_41(Smoke::Stack x) {
        // static bool avoidArea(QWidget*, const QRect&, int)
        bool xret = KDialog::avoidArea((QWidget*)x[1].s_class,*(const QRect*)x[2].s_class,(int)x[3].s_int);
        x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
        // void setMainWidget(QWidget*)
        this->KDialog::setMainWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // QWidget* mainWidget()
        QWidget* xret = this->KDialog::mainWidget();
        x[0].s_class = (void*)xret;
    }
    void x_44(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            QSize xret = ((const x_KDialog*)this)->KDialog::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KDialog*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_45(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            QSize xret = ((const x_KDialog*)this)->KDialog::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KDialog*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    static void x_46(Smoke::Stack x) {
        // static void setAllowEmbeddingInGraphicsView(bool)
        KDialog::setAllowEmbeddingInGraphicsView((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // virtual void setCaption(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            this->KDialog::setCaption(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCaption(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // virtual void setCaption(const QString&, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            this->KDialog::setCaption(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCaption(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // virtual void setPlainCaption(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            this->KDialog::setPlainCaption(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setPlainCaption(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // void enableButton(KDialog::ButtonCode, bool)
        this->KDialog::enableButton((KDialog::ButtonCode)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void enableButtonOk(bool)
        this->KDialog::enableButtonOk((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void enableButtonApply(bool)
        this->KDialog::enableButtonApply((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // void enableButtonCancel(bool)
        this->KDialog::enableButtonCancel((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_54(Smoke::Stack x) {
        // void enableLinkedHelp(bool)
        this->KDialog::enableLinkedHelp((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // void setHelpLinkText(const QString&)
        this->KDialog::setHelpLinkText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void setHelp(const QString&, const QString&)
        this->KDialog::setHelp(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // bool isDetailsWidgetVisible() const
        bool xret = ((const x_KDialog*)this)->KDialog::isDetailsWidgetVisible();
        x[0].s_bool = xret;
    }
    void x_58(Smoke::Stack x) {
        // void setDetailsWidgetVisible(bool)
        this->KDialog::setDetailsWidgetVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void setDetailsWidget(QWidget*)
        this->KDialog::setDetailsWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void delayedDestruct()
        this->KDialog::delayedDestruct();
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void layoutHintChanged()
        this->KDialog::layoutHintChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void helpClicked()
        this->KDialog::helpClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void defaultClicked()
        this->KDialog::defaultClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void resetClicked()
        this->KDialog::resetClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // void user3Clicked()
        this->KDialog::user3Clicked();
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // void user2Clicked()
        this->KDialog::user2Clicked();
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void user1Clicked()
        this->KDialog::user1Clicked();
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void applyClicked()
        this->KDialog::applyClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // void tryClicked()
        this->KDialog::tryClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_70(Smoke::Stack x) {
        // void okClicked()
        this->KDialog::okClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // void yesClicked()
        this->KDialog::yesClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_72(Smoke::Stack x) {
        // void noClicked()
        this->KDialog::noClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_73(Smoke::Stack x) {
        // void cancelClicked()
        this->KDialog::cancelClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // void closeClicked()
        this->KDialog::closeClicked();
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void buttonClicked(KDialog::ButtonCode)
        this->KDialog::buttonClicked((KDialog::ButtonCode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // void hidden()
        this->KDialog::hidden();
        (void)x; // noop (for compiler warning)
    }
    void x_77(Smoke::Stack x) {
        // void finished()
        this->KDialog::finished();
        (void)x; // noop (for compiler warning)
    }
    void x_78(Smoke::Stack x) {
        // void aboutToShowDetails()
        this->KDialog::aboutToShowDetails();
        (void)x; // noop (for compiler warning)
    }
    void x_79(Smoke::Stack x) {
        // virtual void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            this->KDialog::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_80(Smoke::Stack x) {
        // virtual void closeEvent(QCloseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            this->KDialog::closeEvent((QCloseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->closeEvent((QCloseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_81(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            this->KDialog::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_82(Smoke::Stack x) {
        // virtual void slotButtonClicked(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialog*>(this))) {
            this->KDialog::slotButtonClicked((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotButtonClicked((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_83(Smoke::Stack x) {
        // void updateGeometry()
        this->KDialog::updateGeometry();
        (void)x; // noop (for compiler warning)
    }
    static void x_84(Smoke::Stack x) {
        // KDialog* KDialog(KDialogPrivate&, QWidget*, QFlags<Qt::WindowType>)
        x_KDialog* xret = new x_KDialog(*(KDialogPrivate*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDialog(KDialogPrivate& x1, QWidget* x2, QFlags<Qt::WindowType> x3) : KDialog(x1, x2, x3) {}
    static void x_85(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_86(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_87(Smoke::Stack x) {
        // KDialog* KDialog()
        x_KDialog* xret = new x_KDialog((QWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_88(Smoke::Stack x) {
        // KDialog* KDialog(QWidget*)
        x_KDialog* xret = new x_KDialog((QWidget*)x[1].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    void x_89(Smoke::Stack x) {
        // void setButtonMenu(KDialog::ButtonCode, QMenu*)
        this->KDialog::setButtonMenu((KDialog::ButtonCode)x[1].s_enum,(QMenu*)x[2].s_class,(KDialog::ButtonPopupMode)KDialog::InstantPopup);
        (void)x; // noop (for compiler warning)
    }
    void x_90(Smoke::Stack x) {
        // void saveDialogSize(KConfigGroup&) const
        ((const x_KDialog*)this)->KDialog::saveDialogSize(*(KConfigGroup*)x[1].s_class,(KConfigGroup::WriteConfigFlags)KConfigGroup::Normal);
        (void)x; // noop (for compiler warning)
    }
    static void x_91(Smoke::Stack x) {
        // static QString makeStandardCaption(const QString&)
        QString xret = KDialog::makeStandardCaption(*(const QString*)x[1].s_class,(QWidget*)0,(QFlags<KDialog::CaptionFlag>)KDialog::HIGCompliantCaption);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_92(Smoke::Stack x) {
        // static QString makeStandardCaption(const QString&, QWidget*)
        QString xret = KDialog::makeStandardCaption(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<KDialog::CaptionFlag>)KDialog::HIGCompliantCaption);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_93(Smoke::Stack x) {
        // static void centerOnScreen(QWidget*)
        KDialog::centerOnScreen((QWidget*)x[1].s_class,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    static void x_94(Smoke::Stack x) {
        // static bool avoidArea(QWidget*, const QRect&)
        bool xret = KDialog::avoidArea((QWidget*)x[1].s_class,*(const QRect*)x[2].s_class,(int)-1);
        x[0].s_bool = xret;
    }
    void x_95(Smoke::Stack x) {
        // void setHelp(const QString&)
        this->KDialog::setHelp(*(const QString*)x[1].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_96(Smoke::Stack x) {
        // KDialog* KDialog(KDialogPrivate&, QWidget*)
        x_KDialog* xret = new x_KDialog(*(KDialogPrivate*)x[1].s_class,(QWidget*)x[2].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_97(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDialog::staticMetaObject;
    }
    static void x_98(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::None;
    }
    static void x_99(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Help;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Default;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Ok;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Apply;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Try;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Cancel;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Close;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::No;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Yes;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Reset;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::Details;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::User1;
    }
    static void x_111(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::User2;
    }
    static void x_112(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::User3;
    }
    static void x_113(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::NoDefault;
    }
    static void x_114(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::InstantPopup;
    }
    static void x_115(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::DelayedPopup;
    }
    static void x_116(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::NoCaptionFlags;
    }
    static void x_117(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::AppNameCaption;
    }
    static void x_118(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::ModifiedCaption;
    }
    static void x_119(Smoke::Stack x) {
        x[0].s_enum = (long)KDialog::HIGCompliantCaption;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1405, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1406, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDialog::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(1411, (void*)this, x)) return (int)x[0].s_int;
        return this->KDialog::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1448, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1449, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1451, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(1452, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1453, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1483, (void*)this, x)) return;
        this->KDialog::hideEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1484, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1485, (void*)this, x)) return;
        this->KDialog::keyPressEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1486, (void*)this, x)) return;
        this->KDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7371, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7372, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7373, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7370, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7796, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7797, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7799, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7803, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7804, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7807, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7375, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7376, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7374, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7821, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7377, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 88: //KDialog::ButtonCode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDialog::ButtonCode;
                    break;
                case Smoke::EnumDelete:
                    delete (KDialog::ButtonCode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDialog::ButtonCode*)xdata = (KDialog::ButtonCode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDialog::ButtonCode*)xdata;
                    break;
            }
            break;
        case 89: //KDialog::ButtonPopupMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDialog::ButtonPopupMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KDialog::ButtonPopupMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDialog::ButtonPopupMode*)xdata = (KDialog::ButtonPopupMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDialog::ButtonPopupMode*)xdata;
                    break;
            }
            break;
        case 90: //KDialog::CaptionFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDialog::CaptionFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (KDialog::CaptionFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDialog::CaptionFlag*)xdata = (KDialog::CaptionFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDialog::CaptionFlag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KDialog() { this->_binding->deleted(61, (void*)this); }
};
void xenum_KDialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KDialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDialog *xself = (x_KDialog*)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_KDialog::x_3(args);	break;
        case 4: x_KDialog::x_4(args);	break;
        case 5: x_KDialog::x_5(args);	break;
        case 6: x_KDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDialog::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_KDialog::x_34(args);	break;
        case 35: x_KDialog::x_35(args);	break;
        case 36: x_KDialog::x_36(args);	break;
        case 37: x_KDialog::x_37(args);	break;
        case 38: x_KDialog::x_38(args);	break;
        case 39: x_KDialog::x_39(args);	break;
        case 40: x_KDialog::x_40(args);	break;
        case 41: x_KDialog::x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: x_KDialog::x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: x_KDialog::x_84(args);	break;
        case 85: x_KDialog::x_85(args);	break;
        case 86: x_KDialog::x_86(args);	break;
        case 87: x_KDialog::x_87(args);	break;
        case 88: x_KDialog::x_88(args);	break;
        case 89: xself->x_89(args);	break;
        case 90: xself->x_90(args);	break;
        case 91: x_KDialog::x_91(args);	break;
        case 92: x_KDialog::x_92(args);	break;
        case 93: x_KDialog::x_93(args);	break;
        case 94: x_KDialog::x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: x_KDialog::x_96(args);	break;
        case 97: x_KDialog::x_97(args);	break;
        case 98: x_KDialog::x_98(args);	break;
        case 99: x_KDialog::x_99(args);	break;
        case 100: x_KDialog::x_100(args);	break;
        case 101: x_KDialog::x_101(args);	break;
        case 102: x_KDialog::x_102(args);	break;
        case 103: x_KDialog::x_103(args);	break;
        case 104: x_KDialog::x_104(args);	break;
        case 105: x_KDialog::x_105(args);	break;
        case 106: x_KDialog::x_106(args);	break;
        case 107: x_KDialog::x_107(args);	break;
        case 108: x_KDialog::x_108(args);	break;
        case 109: x_KDialog::x_109(args);	break;
        case 110: x_KDialog::x_110(args);	break;
        case 111: x_KDialog::x_111(args);	break;
        case 112: x_KDialog::x_112(args);	break;
        case 113: x_KDialog::x_113(args);	break;
        case 114: x_KDialog::x_114(args);	break;
        case 115: x_KDialog::x_115(args);	break;
        case 116: x_KDialog::x_116(args);	break;
        case 117: x_KDialog::x_117(args);	break;
        case 118: x_KDialog::x_118(args);	break;
        case 119: x_KDialog::x_119(args);	break;
        case 120: delete (KDialog*)xself;	break;
    }
}
class x_KDialogButtonBox : public KDialogButtonBox, 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<KDialogButtonBox*>(this))) {
            const QMetaObject* xret = ((const x_KDialogButtonBox*)this)->KDialogButtonBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDialogButtonBox*)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<KDialogButtonBox*>(this))) {
            void* xret = this->KDialogButtonBox::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 = KDialogButtonBox::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 = KDialogButtonBox::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 = KDialogButtonBox::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 = KDialogButtonBox::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<KDialogButtonBox*>(this))) {
            int xret = this->KDialogButtonBox::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) {
        // KDialogButtonBox* KDialogButtonBox(QWidget*, Qt::Orientation)
        x_KDialogButtonBox* xret = new x_KDialogButtonBox((QWidget*)x[1].s_class,(Qt::Orientation)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDialogButtonBox(QWidget* x1, Qt::Orientation x2) : KDialogButtonBox(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // QPushButton* addButton(const QString&, QDialogButtonBox::ButtonRole, QObject*, const char*)
        QPushButton* xret = this->KDialogButtonBox::addButton(*(const QString*)x[1].s_class,(QDialogButtonBox::ButtonRole)x[2].s_enum,(QObject*)x[3].s_class,(const char*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // KPushButton* addButton(const KGuiItem&, QDialogButtonBox::ButtonRole, QObject*, const char*)
        KPushButton* xret = this->KDialogButtonBox::addButton(*(const KGuiItem*)x[1].s_class,(QDialogButtonBox::ButtonRole)x[2].s_enum,(QObject*)x[3].s_class,(const char*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void addButton(QAbstractButton*, QDialogButtonBox::ButtonRole)
        this->KDialogButtonBox::addButton((QAbstractButton*)x[1].s_class,(QDialogButtonBox::ButtonRole)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QPushButton* addButton(const QString&, QDialogButtonBox::ButtonRole)
        QPushButton* xret = this->KDialogButtonBox::addButton(*(const QString*)x[1].s_class,(QDialogButtonBox::ButtonRole)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QPushButton* addButton(QDialogButtonBox::StandardButton)
        QPushButton* xret = this->KDialogButtonBox::addButton((QDialogButtonBox::StandardButton)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDialogButtonBox::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDialogButtonBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // KDialogButtonBox* KDialogButtonBox(QWidget*)
        x_KDialogButtonBox* xret = new x_KDialogButtonBox((QWidget*)x[1].s_class,(Qt::Orientation)Qt::Horizontal);
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // KPushButton* addButton(const KGuiItem&, QDialogButtonBox::ButtonRole)
        KPushButton* xret = this->KDialogButtonBox::addButton(*(const KGuiItem*)x[1].s_class,(QDialogButtonBox::ButtonRole)x[2].s_enum,(QObject*)0,(const char*)0);
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // KPushButton* addButton(const KGuiItem&, QDialogButtonBox::ButtonRole, QObject*)
        KPushButton* xret = this->KDialogButtonBox::addButton(*(const KGuiItem*)x[1].s_class,(QDialogButtonBox::ButtonRole)x[2].s_enum,(QObject*)x[3].s_class,(const char*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDialogButtonBox::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1525, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDialogButtonBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1526, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDialogButtonBox::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(1531, (void*)this, x)) return (int)x[0].s_int;
        return this->KDialogButtonBox::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(7378, (void*)this, x)) return;
        this->QDialogButtonBox::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(7379, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialogButtonBox::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_KDialogButtonBox() { this->_binding->deleted(62, (void*)this); }
};
void xcall_KDialogButtonBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDialogButtonBox *xself = (x_KDialogButtonBox*)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_KDialogButtonBox::x_3(args);	break;
        case 4: x_KDialogButtonBox::x_4(args);	break;
        case 5: x_KDialogButtonBox::x_5(args);	break;
        case 6: x_KDialogButtonBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDialogButtonBox::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: x_KDialogButtonBox::x_14(args);	break;
        case 15: x_KDialogButtonBox::x_15(args);	break;
        case 16: x_KDialogButtonBox::x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: x_KDialogButtonBox::x_19(args);	break;
        case 20: delete (KDialogButtonBox*)xself;	break;
    }
}
class x_KDialogJobUiDelegate : public KDialogJobUiDelegate, 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<KDialogJobUiDelegate*>(this))) {
            const QMetaObject* xret = ((const x_KDialogJobUiDelegate*)this)->KDialogJobUiDelegate::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDialogJobUiDelegate*)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<KDialogJobUiDelegate*>(this))) {
            void* xret = this->KDialogJobUiDelegate::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 = KDialogJobUiDelegate::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 = KDialogJobUiDelegate::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 = KDialogJobUiDelegate::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 = KDialogJobUiDelegate::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<KDialogJobUiDelegate*>(this))) {
            int xret = this->KDialogJobUiDelegate::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) {
        // KDialogJobUiDelegate* KDialogJobUiDelegate()
        x_KDialogJobUiDelegate* xret = new x_KDialogJobUiDelegate();
        x[0].s_class = (void*)xret;
    }
    explicit x_KDialogJobUiDelegate() : KDialogJobUiDelegate() {}
    void x_9(Smoke::Stack x) {
        // virtual void setWindow(QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialogJobUiDelegate*>(this))) {
            this->KDialogJobUiDelegate::setWindow((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setWindow((QWidget*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // QWidget* window() const
        QWidget* xret = ((const x_KDialogJobUiDelegate*)this)->KDialogJobUiDelegate::window();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void updateUserTimestamp(unsigned long)
        this->KDialogJobUiDelegate::updateUserTimestamp((unsigned long)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // unsigned long userTimestamp() const
        unsigned long xret = ((const x_KDialogJobUiDelegate*)this)->KDialogJobUiDelegate::userTimestamp();
        x[0].s_ulong = xret;
    }
    void x_13(Smoke::Stack x) {
        // virtual void showErrorMessage()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialogJobUiDelegate*>(this))) {
            this->KDialogJobUiDelegate::showErrorMessage();
            (void)x; // noop (for compiler warning)
        } else {
            this->showErrorMessage();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual void slotWarning(KJob*, const QString&, const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDialogJobUiDelegate*>(this))) {
            this->KDialogJobUiDelegate::slotWarning((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotWarning((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_15(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDialogJobUiDelegate::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDialogJobUiDelegate::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDialogJobUiDelegate::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1545, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDialogJobUiDelegate::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1546, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDialogJobUiDelegate::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(1551, (void*)this, x)) return (int)x[0].s_int;
        return this->KDialogJobUiDelegate::qt_metacall(x1, x2, x3);
    }
    virtual void setWindow(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1553, (void*)this, x)) return;
        this->KDialogJobUiDelegate::setWindow(x1);
    }
    virtual void showErrorMessage() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1557, (void*)this, x)) return;
        this->KDialogJobUiDelegate::showErrorMessage();
    }
    virtual void slotWarning(KJob* x1, const QString& x2, const QString& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(1558, (void*)this, x)) return;
        this->KDialogJobUiDelegate::slotWarning(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_KDialogJobUiDelegate() { this->_binding->deleted(63, (void*)this); }
};
void xcall_KDialogJobUiDelegate(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDialogJobUiDelegate *xself = (x_KDialogJobUiDelegate*)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_KDialogJobUiDelegate::x_3(args);	break;
        case 4: x_KDialogJobUiDelegate::x_4(args);	break;
        case 5: x_KDialogJobUiDelegate::x_5(args);	break;
        case 6: x_KDialogJobUiDelegate::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDialogJobUiDelegate::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: x_KDialogJobUiDelegate::x_15(args);	break;
        case 16: x_KDialogJobUiDelegate::x_16(args);	break;
        case 17: x_KDialogJobUiDelegate::x_17(args);	break;
        case 18: delete (KDialogJobUiDelegate*)xself;	break;
    }
}
class x_KDoubleNumInput : public KDoubleNumInput, 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<KDoubleNumInput*>(this))) {
            const QMetaObject* xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDoubleNumInput*)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<KDoubleNumInput*>(this))) {
            void* xret = this->KDoubleNumInput::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 = KDoubleNumInput::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 = KDoubleNumInput::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 = KDoubleNumInput::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 = KDoubleNumInput::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<KDoubleNumInput*>(this))) {
            int xret = this->KDoubleNumInput::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) {
        // KDoubleNumInput* KDoubleNumInput(QWidget*)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDoubleNumInput(QWidget* x1) : KDoubleNumInput(x1) {}
    static void x_9(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput(double, double, double, QWidget*, double, int)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(QWidget*)x[4].s_class,(double)x[5].s_double,(int)x[6].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDoubleNumInput(double x1, double x2, double x3, QWidget* x4, double x5, int x6) : KDoubleNumInput(x1, x2, x3, x4, x5, x6) {}
    static void x_10(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput(KNumInput*, double, double, double, QWidget*, double, int)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((KNumInput*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(QWidget*)x[5].s_class,(double)x[6].s_double,(int)x[7].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDoubleNumInput(KNumInput* x1, double x2, double x3, double x4, QWidget* x5, double x6, int x7) : KDoubleNumInput(x1, x2, x3, x4, x5, x6, x7) {}
    void x_11(Smoke::Stack x) {
        // double value() const
        double xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::value();
        x[0].s_double = xret;
    }
    void x_12(Smoke::Stack x) {
        // QString suffix() const
        QString xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::suffix();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QString prefix() const
        QString xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::prefix();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // int decimals() const
        int xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::decimals();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // QString specialValueText() const
        QString xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::specialValueText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setRange(double, double, double, bool)
        this->KDoubleNumInput::setRange((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(bool)x[4].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setSliderEnabled(bool)
        this->KDoubleNumInput::setSliderEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setMinimum(double)
        this->KDoubleNumInput::setMinimum((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // double minimum() const
        double xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::minimum();
        x[0].s_double = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setMaximum(double)
        this->KDoubleNumInput::setMaximum((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // double maximum() const
        double xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::maximum();
        x[0].s_double = xret;
    }
    void x_22(Smoke::Stack x) {
        // double singleStep() const
        double xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::singleStep();
        x[0].s_double = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setSingleStep(double)
        this->KDoubleNumInput::setSingleStep((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setDecimals(int)
        this->KDoubleNumInput::setDecimals((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setPrecision(int)
        this->KDoubleNumInput::setPrecision((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // double referencePoint() const
        double xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::referencePoint();
        x[0].s_double = xret;
    }
    void x_27(Smoke::Stack x) {
        // double relativeValue() const
        double xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::relativeValue();
        x[0].s_double = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setSpecialValueText(const QString&)
        this->KDoubleNumInput::setSpecialValueText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // virtual void setLabel(const QString&, QFlags<Qt::AlignmentFlag>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDoubleNumInput*>(this))) {
            this->KDoubleNumInput::setLabel(*(const QString*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
            (void)x; // noop (for compiler warning)
        } else {
            this->setLabel(*(const QString*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)x[2].s_uint);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_30(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDoubleNumInput*>(this))) {
            QSize xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KDoubleNumInput*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_31(Smoke::Stack x) {
        // double exponentRatio() const
        double xret = ((const x_KDoubleNumInput*)this)->KDoubleNumInput::exponentRatio();
        x[0].s_double = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setExponentRatio(double)
        this->KDoubleNumInput::setExponentRatio((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setValue(double)
        this->KDoubleNumInput::setValue((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setRelativeValue(double)
        this->KDoubleNumInput::setRelativeValue((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setReferencePoint(double)
        this->KDoubleNumInput::setReferencePoint((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void setSuffix(const QString&)
        this->KDoubleNumInput::setSuffix(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void setPrefix(const QString&)
        this->KDoubleNumInput::setPrefix(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void valueChanged(double)
        this->KDoubleNumInput::valueChanged((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void relativeValueChanged(double)
        this->KDoubleNumInput::relativeValueChanged((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // virtual void doLayout()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDoubleNumInput*>(this))) {
            this->KDoubleNumInput::doLayout();
            (void)x; // noop (for compiler warning)
        } else {
            this->doLayout();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_41(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDoubleNumInput*>(this))) {
            this->KDoubleNumInput::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)
        }
    }
    static void x_42(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDoubleNumInput::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_43(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDoubleNumInput::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_44(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput()
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_45(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput(double, double, double)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(QWidget*)0,(double)0.01,(int)2);
        x[0].s_class = (void*)xret;
    }
    static void x_46(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput(double, double, double, QWidget*)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(QWidget*)x[4].s_class,(double)0.01,(int)2);
        x[0].s_class = (void*)xret;
    }
    static void x_47(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput(double, double, double, QWidget*, double)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(QWidget*)x[4].s_class,(double)x[5].s_double,(int)2);
        x[0].s_class = (void*)xret;
    }
    static void x_48(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput(KNumInput*, double, double, double)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((KNumInput*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(QWidget*)0,(double)0.02,(int)2);
        x[0].s_class = (void*)xret;
    }
    static void x_49(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput(KNumInput*, double, double, double, QWidget*)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((KNumInput*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(QWidget*)x[5].s_class,(double)0.02,(int)2);
        x[0].s_class = (void*)xret;
    }
    static void x_50(Smoke::Stack x) {
        // KDoubleNumInput* KDoubleNumInput(KNumInput*, double, double, double, QWidget*, double)
        x_KDoubleNumInput* xret = new x_KDoubleNumInput((KNumInput*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double,(double)x[4].s_double,(QWidget*)x[5].s_class,(double)x[6].s_double,(int)2);
        x[0].s_class = (void*)xret;
    }
    void x_51(Smoke::Stack x) {
        // void setRange(double, double)
        this->KDoubleNumInput::setRange((double)x[1].s_double,(double)x[2].s_double,(double)1,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void setRange(double, double, double)
        this->KDoubleNumInput::setRange((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // void setLabel(const QString&)
        this->KDoubleNumInput::setLabel(*(const QString*)x[1].s_class,(QFlags<Qt::AlignmentFlag>)Qt::AlignLeft|Qt::AlignTop);
        (void)x; // noop (for compiler warning)
    }
    static void x_54(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDoubleNumInput::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1563, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDoubleNumInput::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1564, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDoubleNumInput::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(1569, (void*)this, x)) return (int)x[0].s_int;
        return this->KDoubleNumInput::qt_metacall(x1, x2, x3);
    }
    virtual void setLabel(const QString& x1, QFlags<Qt::AlignmentFlag> x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(1591, (void*)this, x)) return;
        this->KDoubleNumInput::setLabel(x1, x2);
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1592, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDoubleNumInput::minimumSizeHint();
    }
    virtual void doLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1602, (void*)this, x)) return;
        this->KDoubleNumInput::doLayout();
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3606, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KNumInput::sizeHint();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7796, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7797, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7799, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7801, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7803, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7804, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void 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(1603, (void*)this, x)) return;
        this->KDoubleNumInput::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_KDoubleNumInput() { this->_binding->deleted(65, (void*)this); }
};
void xcall_KDoubleNumInput(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDoubleNumInput *xself = (x_KDoubleNumInput*)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_KDoubleNumInput::x_3(args);	break;
        case 4: x_KDoubleNumInput::x_4(args);	break;
        case 5: x_KDoubleNumInput::x_5(args);	break;
        case 6: x_KDoubleNumInput::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDoubleNumInput::x_8(args);	break;
        case 9: x_KDoubleNumInput::x_9(args);	break;
        case 10: x_KDoubleNumInput::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: x_KDoubleNumInput::x_42(args);	break;
        case 43: x_KDoubleNumInput::x_43(args);	break;
        case 44: x_KDoubleNumInput::x_44(args);	break;
        case 45: x_KDoubleNumInput::x_45(args);	break;
        case 46: x_KDoubleNumInput::x_46(args);	break;
        case 47: x_KDoubleNumInput::x_47(args);	break;
        case 48: x_KDoubleNumInput::x_48(args);	break;
        case 49: x_KDoubleNumInput::x_49(args);	break;
        case 50: x_KDoubleNumInput::x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: x_KDoubleNumInput::x_54(args);	break;
        case 55: delete (KDoubleNumInput*)xself;	break;
    }
}
class x_KDoubleValidator : public KDoubleValidator, 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<KDoubleValidator*>(this))) {
            const QMetaObject* xret = ((const x_KDoubleValidator*)this)->KDoubleValidator::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDoubleValidator*)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<KDoubleValidator*>(this))) {
            void* xret = this->KDoubleValidator::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 = KDoubleValidator::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 = KDoubleValidator::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 = KDoubleValidator::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 = KDoubleValidator::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<KDoubleValidator*>(this))) {
            int xret = this->KDoubleValidator::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) {
        // KDoubleValidator* KDoubleValidator(QObject*)
        x_KDoubleValidator* xret = new x_KDoubleValidator((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDoubleValidator(QObject* x1) : KDoubleValidator(x1) {}
    static void x_9(Smoke::Stack x) {
        // KDoubleValidator* KDoubleValidator(double, double, int, QObject*)
        x_KDoubleValidator* xret = new x_KDoubleValidator((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDoubleValidator(double x1, double x2, int x3, QObject* x4) : KDoubleValidator(x1, x2, x3, x4) {}
    void x_10(Smoke::Stack x) {
        // virtual QValidator::State validate(QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDoubleValidator*>(this))) {
            QValidator::State xret = ((const x_KDoubleValidator*)this)->KDoubleValidator::validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        } else {
            QValidator::State xret = ((const x_KDoubleValidator*)this)->validate(*(QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_enum = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // bool acceptLocalizedNumbers() const
        bool xret = ((const x_KDoubleValidator*)this)->KDoubleValidator::acceptLocalizedNumbers();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setAcceptLocalizedNumbers(bool)
        this->KDoubleValidator::setAcceptLocalizedNumbers((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_13(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDoubleValidator::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 = KDoubleValidator::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) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDoubleValidator::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1618, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDoubleValidator::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1619, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDoubleValidator::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(1624, (void*)this, x)) return (int)x[0].s_int;
        return this->KDoubleValidator::qt_metacall(x1, x2, x3);
    }
    virtual QValidator::State validate(QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1627, (void*)this, x)) return (QValidator::State)x[0].s_enum;
        return this->KDoubleValidator::validate(x1, x2);
    }
    virtual void setRange(double x1, double x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_double = x1;
        x[2].s_double = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(7412, (void*)this, x)) return;
        this->QDoubleValidator::setRange(x1, x2, x3);
    }
    virtual void fixup(QString& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7785, (void*)this, x)) return;
        this->QValidator::fixup(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7575, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KDoubleValidator() { this->_binding->deleted(66, (void*)this); }
};
void xcall_KDoubleValidator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDoubleValidator *xself = (x_KDoubleValidator*)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_KDoubleValidator::x_3(args);	break;
        case 4: x_KDoubleValidator::x_4(args);	break;
        case 5: x_KDoubleValidator::x_5(args);	break;
        case 6: x_KDoubleValidator::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDoubleValidator::x_8(args);	break;
        case 9: x_KDoubleValidator::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_KDoubleValidator::x_13(args);	break;
        case 14: x_KDoubleValidator::x_14(args);	break;
        case 15: x_KDoubleValidator::x_15(args);	break;
        case 16: delete (KDoubleValidator*)xself;	break;
    }
}
class x_KEditListBox : public KEditListBox, 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<KEditListBox*>(this))) {
            const QMetaObject* xret = ((const x_KEditListBox*)this)->KEditListBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KEditListBox*)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<KEditListBox*>(this))) {
            void* xret = this->KEditListBox::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 = KEditListBox::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 = KEditListBox::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 = KEditListBox::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 = KEditListBox::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<KEditListBox*>(this))) {
            int xret = this->KEditListBox::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) {
        // KEditListBox* KEditListBox(QWidget*)
        x_KEditListBox* xret = new x_KEditListBox((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditListBox(QWidget* x1) : KEditListBox(x1) {}
    static void x_9(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, QWidget*)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditListBox(const QString& x1, QWidget* x2) : KEditListBox(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // KEditListBox* KEditListBox(QWidget*, const char*, bool, QFlags<KEditListBox::Button>)
        x_KEditListBox* xret = new x_KEditListBox((QWidget*)x[1].s_class,(const char*)x[2].s_class,(bool)x[3].s_bool,(QFlags<KEditListBox::Button>)x[4].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditListBox(QWidget* x1, const char* x2, bool x3, QFlags<KEditListBox::Button> x4) : KEditListBox(x1, x2, x3, x4) {}
    static void x_11(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, QWidget*, const char*, bool, QFlags<KEditListBox::Button>)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const char*)x[3].s_class,(bool)x[4].s_bool,(QFlags<KEditListBox::Button>)x[5].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditListBox(const QString& x1, QWidget* x2, const char* x3, bool x4, QFlags<KEditListBox::Button> x5) : KEditListBox(x1, x2, x3, x4, x5) {}
    static void x_12(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, const KEditListBox::CustomEditor&, QWidget*, const char*, bool, QFlags<KEditListBox::Button>)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,*(const KEditListBox::CustomEditor*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,(bool)x[5].s_bool,(QFlags<KEditListBox::Button>)x[6].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditListBox(const QString& x1, const KEditListBox::CustomEditor& x2, QWidget* x3, const char* x4, bool x5, QFlags<KEditListBox::Button> x6) : KEditListBox(x1, x2, x3, x4, x5, x6) {}
    void x_13(Smoke::Stack x) {
        // QListView* listView() const
        QListView* xret = ((const x_KEditListBox*)this)->KEditListBox::listView();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // KLineEdit* lineEdit() const
        KLineEdit* xret = ((const x_KEditListBox*)this)->KEditListBox::lineEdit();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // QPushButton* addButton() const
        QPushButton* xret = ((const x_KEditListBox*)this)->KEditListBox::addButton();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // QPushButton* removeButton() const
        QPushButton* xret = ((const x_KEditListBox*)this)->KEditListBox::removeButton();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // QPushButton* upButton() const
        QPushButton* xret = ((const x_KEditListBox*)this)->KEditListBox::upButton();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // QPushButton* downButton() const
        QPushButton* xret = ((const x_KEditListBox*)this)->KEditListBox::downButton();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_KEditListBox*)this)->KEditListBox::count();
        x[0].s_int = xret;
    }
    void x_20(Smoke::Stack x) {
        // void insertStringList(const QStringList&, int)
        this->KEditListBox::insertStringList(*(const QStringList*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void insertItem(const QString&, int)
        this->KEditListBox::insertItem(*(const QString*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void clear()
        this->KEditListBox::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QString text(int) const
        QString xret = ((const x_KEditListBox*)this)->KEditListBox::text((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // int currentItem() const
        int xret = ((const x_KEditListBox*)this)->KEditListBox::currentItem();
        x[0].s_int = xret;
    }
    void x_25(Smoke::Stack x) {
        // QString currentText() const
        QString xret = ((const x_KEditListBox*)this)->KEditListBox::currentText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_26(Smoke::Stack x) {
        // QStringList items() const
        QStringList xret = ((const x_KEditListBox*)this)->KEditListBox::items();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_27(Smoke::Stack x) {
        // void setItems(const QStringList&)
        this->KEditListBox::setItems(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QFlags<KEditListBox::Button> buttons() const
        QFlags<KEditListBox::Button> xret = ((const x_KEditListBox*)this)->KEditListBox::buttons();
        x[0].s_uint = (uint)xret;
    }
    void x_29(Smoke::Stack x) {
        // void setButtons(QFlags<KEditListBox::Button>)
        this->KEditListBox::setButtons((QFlags<KEditListBox::Button>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setCheckAtEntering(bool)
        this->KEditListBox::setCheckAtEntering((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // bool checkAtEntering()
        bool xret = this->KEditListBox::checkAtEntering();
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setCustomEditor(const KEditListBox::CustomEditor&)
        this->KEditListBox::setCustomEditor(*(const KEditListBox::CustomEditor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KEditListBox*>(this))) {
            bool xret = this->KEditListBox::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_34(Smoke::Stack x) {
        // void changed()
        this->KEditListBox::changed();
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void added(const QString&)
        this->KEditListBox::added(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void removed(const QString&)
        this->KEditListBox::removed(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void moveItemUp()
        this->KEditListBox::moveItemUp();
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void moveItemDown()
        this->KEditListBox::moveItemDown();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void addItem()
        this->KEditListBox::addItem();
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void removeItem()
        this->KEditListBox::removeItem();
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void enableMoveButtons(const QModelIndex&, const QModelIndex&)
        this->KEditListBox::enableMoveButtons(*(const QModelIndex*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void typedSomething(const QString&)
        this->KEditListBox::typedSomething(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_43(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KEditListBox::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_44(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KEditListBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_45(Smoke::Stack x) {
        // KEditListBox* KEditListBox()
        x_KEditListBox* xret = new x_KEditListBox((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_46(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_47(Smoke::Stack x) {
        // KEditListBox* KEditListBox(QWidget*, const char*)
        x_KEditListBox* xret = new x_KEditListBox((QWidget*)x[1].s_class,(const char*)x[2].s_class,(bool)false,(QFlags<KEditListBox::Button>)KEditListBox::All);
        x[0].s_class = (void*)xret;
    }
    static void x_48(Smoke::Stack x) {
        // KEditListBox* KEditListBox(QWidget*, const char*, bool)
        x_KEditListBox* xret = new x_KEditListBox((QWidget*)x[1].s_class,(const char*)x[2].s_class,(bool)x[3].s_bool,(QFlags<KEditListBox::Button>)KEditListBox::All);
        x[0].s_class = (void*)xret;
    }
    static void x_49(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, QWidget*, const char*)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const char*)x[3].s_class,(bool)false,(QFlags<KEditListBox::Button>)KEditListBox::All);
        x[0].s_class = (void*)xret;
    }
    static void x_50(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, QWidget*, const char*, bool)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const char*)x[3].s_class,(bool)x[4].s_bool,(QFlags<KEditListBox::Button>)KEditListBox::All);
        x[0].s_class = (void*)xret;
    }
    static void x_51(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, const KEditListBox::CustomEditor&)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,*(const KEditListBox::CustomEditor*)x[2].s_class,(QWidget*)0,(const char*)0,(bool)false,(QFlags<KEditListBox::Button>)KEditListBox::All);
        x[0].s_class = (void*)xret;
    }
    static void x_52(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, const KEditListBox::CustomEditor&, QWidget*)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,*(const KEditListBox::CustomEditor*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)0,(bool)false,(QFlags<KEditListBox::Button>)KEditListBox::All);
        x[0].s_class = (void*)xret;
    }
    static void x_53(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, const KEditListBox::CustomEditor&, QWidget*, const char*)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,*(const KEditListBox::CustomEditor*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,(bool)false,(QFlags<KEditListBox::Button>)KEditListBox::All);
        x[0].s_class = (void*)xret;
    }
    static void x_54(Smoke::Stack x) {
        // KEditListBox* KEditListBox(const QString&, const KEditListBox::CustomEditor&, QWidget*, const char*, bool)
        x_KEditListBox* xret = new x_KEditListBox(*(const QString*)x[1].s_class,*(const KEditListBox::CustomEditor*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,(bool)x[5].s_bool,(QFlags<KEditListBox::Button>)KEditListBox::All);
        x[0].s_class = (void*)xret;
    }
    void x_55(Smoke::Stack x) {
        // void insertStringList(const QStringList&)
        this->KEditListBox::insertStringList(*(const QStringList*)x[1].s_class,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void insertItem(const QString&)
        this->KEditListBox::insertItem(*(const QString*)x[1].s_class,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    static void x_57(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KEditListBox::staticMetaObject;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)KEditListBox::Add;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)KEditListBox::Remove;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)KEditListBox::UpDown;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)KEditListBox::All;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1634, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KEditListBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1635, (void*)this, x)) return (void*)x[0].s_class;
        return this->KEditListBox::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(1640, (void*)this, x)) return (int)x[0].s_int;
        return this->KEditListBox::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(7482, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGroupBox::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(7489, (void*)this, x)) return;
        this->QGroupBox::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7491, (void*)this, x)) return;
        this->QGroupBox::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(7490, (void*)this, x)) return;
        this->QGroupBox::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(7487, (void*)this, x)) return;
        this->QGroupBox::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(7486, (void*)this, x)) return;
        this->QGroupBox::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(7485, (void*)this, x)) return;
        this->QGroupBox::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(7488, (void*)this, x)) return;
        this->QGroupBox::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(7483, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGroupBox::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(1666, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KEditListBox::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(7484, (void*)this, x)) return;
        this->QGroupBox::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 97: //KEditListBox::Button
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KEditListBox::Button;
                    break;
                case Smoke::EnumDelete:
                    delete (KEditListBox::Button*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KEditListBox::Button*)xdata = (KEditListBox::Button)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KEditListBox::Button*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KEditListBox() { this->_binding->deleted(67, (void*)this); }
};
void xenum_KEditListBox(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KEditListBox::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KEditListBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KEditListBox *xself = (x_KEditListBox*)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_KEditListBox::x_3(args);	break;
        case 4: x_KEditListBox::x_4(args);	break;
        case 5: x_KEditListBox::x_5(args);	break;
        case 6: x_KEditListBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KEditListBox::x_8(args);	break;
        case 9: x_KEditListBox::x_9(args);	break;
        case 10: x_KEditListBox::x_10(args);	break;
        case 11: x_KEditListBox::x_11(args);	break;
        case 12: x_KEditListBox::x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: x_KEditListBox::x_43(args);	break;
        case 44: x_KEditListBox::x_44(args);	break;
        case 45: x_KEditListBox::x_45(args);	break;
        case 46: x_KEditListBox::x_46(args);	break;
        case 47: x_KEditListBox::x_47(args);	break;
        case 48: x_KEditListBox::x_48(args);	break;
        case 49: x_KEditListBox::x_49(args);	break;
        case 50: x_KEditListBox::x_50(args);	break;
        case 51: x_KEditListBox::x_51(args);	break;
        case 52: x_KEditListBox::x_52(args);	break;
        case 53: x_KEditListBox::x_53(args);	break;
        case 54: x_KEditListBox::x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: x_KEditListBox::x_57(args);	break;
        case 58: x_KEditListBox::x_58(args);	break;
        case 59: x_KEditListBox::x_59(args);	break;
        case 60: x_KEditListBox::x_60(args);	break;
        case 61: x_KEditListBox::x_61(args);	break;
        case 62: delete (KEditListBox*)xself;	break;
    }
}
class x_KEditListBox__CustomEditor : public KEditListBox::CustomEditor, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KEditListBox::CustomEditor* CustomEditor()
        x_KEditListBox__CustomEditor* xret = new x_KEditListBox__CustomEditor();
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditListBox__CustomEditor() : CustomEditor() {}
    static void x_2(Smoke::Stack x) {
        // KEditListBox::CustomEditor* CustomEditor(QWidget*, KLineEdit*)
        x_KEditListBox__CustomEditor* xret = new x_KEditListBox__CustomEditor((QWidget*)x[1].s_class,(KLineEdit*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditListBox__CustomEditor(QWidget* x1, KLineEdit* x2) : CustomEditor(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // KEditListBox::CustomEditor* CustomEditor(KComboBox*)
        x_KEditListBox__CustomEditor* xret = new x_KEditListBox__CustomEditor((KComboBox*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditListBox__CustomEditor(KComboBox* x1) : CustomEditor(x1) {}
    void x_4(Smoke::Stack x) {
        // void setRepresentationWidget(QWidget*)
        this->KEditListBox::CustomEditor::setRepresentationWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // void setLineEdit(KLineEdit*)
        this->KEditListBox::CustomEditor::setLineEdit((KLineEdit*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // virtual QWidget* representationWidget() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KEditListBox::CustomEditor*>(this))) {
            QWidget* xret = ((const x_KEditListBox__CustomEditor*)this)->KEditListBox::CustomEditor::representationWidget();
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = ((const x_KEditListBox__CustomEditor*)this)->representationWidget();
            x[0].s_class = (void*)xret;
        }
    }
    void x_7(Smoke::Stack x) {
        // virtual KLineEdit* lineEdit() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KEditListBox::CustomEditor*>(this))) {
            KLineEdit* xret = ((const x_KEditListBox__CustomEditor*)this)->KEditListBox::CustomEditor::lineEdit();
            x[0].s_class = (void*)xret;
        } else {
            KLineEdit* xret = ((const x_KEditListBox__CustomEditor*)this)->lineEdit();
            x[0].s_class = (void*)xret;
        }
    }
    virtual QWidget* representationWidget() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1701, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->KEditListBox::CustomEditor::representationWidget();
    }
    virtual KLineEdit* lineEdit() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1702, (void*)this, x)) return (KLineEdit*)x[0].s_class;
        return this->KEditListBox::CustomEditor::lineEdit();
    }
    ~x_KEditListBox__CustomEditor() { this->_binding->deleted(68, (void*)this); }
};
void xcall_KEditListBox__CustomEditor(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KEditListBox__CustomEditor *xself = (x_KEditListBox__CustomEditor*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KEditListBox__CustomEditor::x_1(args);	break;
        case 2: x_KEditListBox__CustomEditor::x_2(args);	break;
        case 3: x_KEditListBox__CustomEditor::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: delete (KEditListBox::CustomEditor*)xself;	break;
    }
}
class x_KEditToolBar : public KEditToolBar, 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<KEditToolBar*>(this))) {
            const QMetaObject* xret = ((const x_KEditToolBar*)this)->KEditToolBar::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KEditToolBar*)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<KEditToolBar*>(this))) {
            void* xret = this->KEditToolBar::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 = KEditToolBar::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 = KEditToolBar::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 = KEditToolBar::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 = KEditToolBar::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<KEditToolBar*>(this))) {
            int xret = this->KEditToolBar::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) {
        // KEditToolBar* KEditToolBar(KActionCollection*, QWidget*)
        x_KEditToolBar* xret = new x_KEditToolBar((KActionCollection*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditToolBar(KActionCollection* x1, QWidget* x2) : KEditToolBar(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // KEditToolBar* KEditToolBar(KXMLGUIFactory*, QWidget*)
        x_KEditToolBar* xret = new x_KEditToolBar((KXMLGUIFactory*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEditToolBar(KXMLGUIFactory* x1, QWidget* x2) : KEditToolBar(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void setDefaultToolBar(const QString&)
        this->KEditToolBar::setDefaultToolBar(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setResourceFile(const QString&, bool)
        this->KEditToolBar::setResourceFile(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // static void setGlobalDefaultToolBar(const char*)
        KEditToolBar::setGlobalDefaultToolBar((const char*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void newToolBarConfig()
        this->KEditToolBar::newToolBarConfig();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void newToolbarConfig()
        this->KEditToolBar::newToolbarConfig();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // virtual void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KEditToolBar*>(this))) {
            this->KEditToolBar::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // virtual void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KEditToolBar*>(this))) {
            this->KEditToolBar::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KEditToolBar::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KEditToolBar::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // KEditToolBar* KEditToolBar(KActionCollection*)
        x_KEditToolBar* xret = new x_KEditToolBar((KActionCollection*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // KEditToolBar* KEditToolBar(KXMLGUIFactory*)
        x_KEditToolBar* xret = new x_KEditToolBar((KXMLGUIFactory*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // void setResourceFile(const QString&)
        this->KEditToolBar::setResourceFile(*(const QString*)x[1].s_class,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KEditToolBar::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1704, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KEditToolBar::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1705, (void*)this, x)) return (void*)x[0].s_class;
        return this->KEditToolBar::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(1710, (void*)this, x)) return (int)x[0].s_int;
        return this->KEditToolBar::qt_metacall(x1, x2, x3);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1718, (void*)this, x)) return;
        this->KEditToolBar::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1719, (void*)this, x)) return;
        this->KEditToolBar::hideEvent(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 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_KEditToolBar() { this->_binding->deleted(69, (void*)this); }
};
void xcall_KEditToolBar(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KEditToolBar *xself = (x_KEditToolBar*)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_KEditToolBar::x_3(args);	break;
        case 4: x_KEditToolBar::x_4(args);	break;
        case 5: x_KEditToolBar::x_5(args);	break;
        case 6: x_KEditToolBar::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KEditToolBar::x_8(args);	break;
        case 9: x_KEditToolBar::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: x_KEditToolBar::x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: x_KEditToolBar::x_17(args);	break;
        case 18: x_KEditToolBar::x_18(args);	break;
        case 19: x_KEditToolBar::x_19(args);	break;
        case 20: x_KEditToolBar::x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_KEditToolBar::x_22(args);	break;
        case 23: delete (KEditToolBar*)xself;	break;
    }
}
class x_KExtendableItemDelegate : public KExtendableItemDelegate, 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<KExtendableItemDelegate*>(this))) {
            const QMetaObject* xret = ((const x_KExtendableItemDelegate*)this)->KExtendableItemDelegate::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KExtendableItemDelegate*)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<KExtendableItemDelegate*>(this))) {
            void* xret = this->KExtendableItemDelegate::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 = KExtendableItemDelegate::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 = KExtendableItemDelegate::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 = KExtendableItemDelegate::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 = KExtendableItemDelegate::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<KExtendableItemDelegate*>(this))) {
            int xret = this->KExtendableItemDelegate::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) {
        // KExtendableItemDelegate* KExtendableItemDelegate(QAbstractItemView*)
        x_KExtendableItemDelegate* xret = new x_KExtendableItemDelegate((QAbstractItemView*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KExtendableItemDelegate(QAbstractItemView* x1) : KExtendableItemDelegate(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual QSize sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KExtendableItemDelegate*>(this))) {
            QSize xret = ((const x_KExtendableItemDelegate*)this)->KExtendableItemDelegate::sizeHint(*(const QStyleOptionViewItem*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KExtendableItemDelegate*)this)->sizeHint(*(const QStyleOptionViewItem*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual void paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KExtendableItemDelegate*>(this))) {
            ((const x_KExtendableItemDelegate*)this)->KExtendableItemDelegate::paint((QPainter*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KExtendableItemDelegate*)this)->paint((QPainter*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // void extendItem(QWidget*, const QModelIndex&)
        this->KExtendableItemDelegate::extendItem((QWidget*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void contractItem(const QModelIndex&)
        this->KExtendableItemDelegate::contractItem(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void contractAll()
        this->KExtendableItemDelegate::contractAll();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool isExtended(const QModelIndex&) const
        bool xret = ((const x_KExtendableItemDelegate*)this)->KExtendableItemDelegate::isExtended(*(const QModelIndex*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // virtual void updateExtenderGeometry(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KExtendableItemDelegate*>(this))) {
            ((const x_KExtendableItemDelegate*)this)->KExtendableItemDelegate::updateExtenderGeometry((QWidget*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KExtendableItemDelegate*)this)->updateExtenderGeometry((QWidget*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // void extenderCreated(QWidget*, const QModelIndex&)
        this->KExtendableItemDelegate::extenderCreated((QWidget*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void extenderDestroyed(QWidget*, const QModelIndex&)
        this->KExtendableItemDelegate::extenderDestroyed((QWidget*)x[1].s_class,*(const QModelIndex*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QRect extenderRect(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const
        QRect xret = ((const x_KExtendableItemDelegate*)this)->KExtendableItemDelegate::extenderRect((QWidget*)x[1].s_class,*(const QStyleOptionViewItem*)x[2].s_class,*(const QModelIndex*)x[3].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_19(Smoke::Stack x) {
        // void setExtendPixmap(const QPixmap&)
        this->KExtendableItemDelegate::setExtendPixmap(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setContractPixmap(const QPixmap&)
        this->KExtendableItemDelegate::setContractPixmap(*(const QPixmap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QPixmap extendPixmap()
        QPixmap xret = this->KExtendableItemDelegate::extendPixmap();
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_22(Smoke::Stack x) {
        // QPixmap contractPixmap()
        QPixmap xret = this->KExtendableItemDelegate::contractPixmap();
        x[0].s_class = (void*)new QPixmap(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KExtendableItemDelegate::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KExtendableItemDelegate::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KExtendableItemDelegate::staticMetaObject;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)KExtendableItemDelegate::ShowExtensionIndicatorRole;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1727, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KExtendableItemDelegate::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1728, (void*)this, x)) return (void*)x[0].s_class;
        return this->KExtendableItemDelegate::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(1733, (void*)this, x)) return (int)x[0].s_int;
        return this->KExtendableItemDelegate::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint(const QStyleOptionViewItem& x1, const QModelIndex& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1735, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KExtendableItemDelegate::sizeHint(x1, x2);
    }
    virtual void paint(QPainter* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(1736, (void*)this, x)) return;
        this->KExtendableItemDelegate::paint(x1, x2, x3);
    }
    virtual void updateExtenderGeometry(QWidget* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(1741, (void*)this, x)) return;
        this->KExtendableItemDelegate::updateExtenderGeometry(x1, x2, x3);
    }
    virtual QString displayText(const QVariant& x1, const QLocale& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7635, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QStyledItemDelegate::displayText(x1, x2);
    }
    virtual void initStyleOption(QStyleOptionViewItem* x1, const QModelIndex& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7636, (void*)this, x)) return;
        this->QStyledItemDelegate::initStyleOption(x1, x2);
    }
    virtual QWidget* createEditor(QWidget* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(7631, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->QStyledItemDelegate::createEditor(x1, x2, x3);
    }
    virtual void setEditorData(QWidget* x1, const QModelIndex& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7632, (void*)this, x)) return;
        this->QStyledItemDelegate::setEditorData(x1, x2);
    }
    virtual void setModelData(QWidget* x1, QAbstractItemModel* x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(7633, (void*)this, x)) return;
        this->QStyledItemDelegate::setModelData(x1, x2, x3);
    }
    virtual void updateEditorGeometry(QWidget* x1, const QStyleOptionViewItem& x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(7634, (void*)this, x)) return;
        this->QStyledItemDelegate::updateEditorGeometry(x1, x2, x3);
    }
    virtual bool editorEvent(QEvent* x1, QAbstractItemModel* x2, const QStyleOptionViewItem& x3, const QModelIndex& x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(7638, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QStyledItemDelegate::editorEvent(x1, x2, x3, x4);
    }
    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(7637, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QStyledItemDelegate::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 102: //KExtendableItemDelegate::auxDataRoles
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KExtendableItemDelegate::auxDataRoles;
                    break;
                case Smoke::EnumDelete:
                    delete (KExtendableItemDelegate::auxDataRoles*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KExtendableItemDelegate::auxDataRoles*)xdata = (KExtendableItemDelegate::auxDataRoles)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KExtendableItemDelegate::auxDataRoles*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KExtendableItemDelegate() { this->_binding->deleted(70, (void*)this); }
};
void xenum_KExtendableItemDelegate(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KExtendableItemDelegate::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KExtendableItemDelegate(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KExtendableItemDelegate *xself = (x_KExtendableItemDelegate*)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_KExtendableItemDelegate::x_3(args);	break;
        case 4: x_KExtendableItemDelegate::x_4(args);	break;
        case 5: x_KExtendableItemDelegate::x_5(args);	break;
        case 6: x_KExtendableItemDelegate::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KExtendableItemDelegate::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: x_KExtendableItemDelegate::x_23(args);	break;
        case 24: x_KExtendableItemDelegate::x_24(args);	break;
        case 25: x_KExtendableItemDelegate::x_25(args);	break;
        case 26: x_KExtendableItemDelegate::x_26(args);	break;
        case 27: delete (KExtendableItemDelegate*)xself;	break;
    }
}

}
