//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_KColorButton : public KColorButton, 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<KColorButton*>(this))) {
            const QMetaObject* xret = ((const x_KColorButton*)this)->KColorButton::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KColorButton*)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<KColorButton*>(this))) {
            void* xret = this->KColorButton::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 = KColorButton::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 = KColorButton::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 = KColorButton::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 = KColorButton::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<KColorButton*>(this))) {
            int xret = this->KColorButton::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) {
        // KColorButton* KColorButton(QWidget*)
        x_KColorButton* xret = new x_KColorButton((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorButton(QWidget* x1) : KColorButton(x1) {}
    static void x_9(Smoke::Stack x) {
        // KColorButton* KColorButton(const QColor&, QWidget*)
        x_KColorButton* xret = new x_KColorButton(*(const QColor*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorButton(const QColor& x1, QWidget* x2) : KColorButton(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // KColorButton* KColorButton(const QColor&, const QColor&, QWidget*)
        x_KColorButton* xret = new x_KColorButton(*(const QColor*)x[1].s_class,*(const QColor*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorButton(const QColor& x1, const QColor& x2, QWidget* x3) : KColorButton(x1, x2, x3) {}
    void x_11(Smoke::Stack x) {
        // QColor color() const
        QColor xret = ((const x_KColorButton*)this)->KColorButton::color();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setColor(const QColor&)
        this->KColorButton::setColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setAlphaChannelEnabled(bool)
        this->KColorButton::setAlphaChannelEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool isAlphaChannelEnabled() const
        bool xret = ((const x_KColorButton*)this)->KColorButton::isAlphaChannelEnabled();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // QColor defaultColor() const
        QColor xret = ((const x_KColorButton*)this)->KColorButton::defaultColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setDefaultColor(const QColor&)
        this->KColorButton::setDefaultColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorButton*>(this))) {
            QSize xret = ((const x_KColorButton*)this)->KColorButton::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KColorButton*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_18(Smoke::Stack x) {
        // QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorButton*>(this))) {
            QSize xret = ((const x_KColorButton*)this)->KColorButton::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KColorButton*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_19(Smoke::Stack x) {
        // void changed(const QColor&)
        this->KColorButton::changed(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorButton*>(this))) {
            this->KColorButton::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorButton*>(this))) {
            this->KColorButton::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorButton*>(this))) {
            this->KColorButton::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorButton*>(this))) {
            this->KColorButton::mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorButton*>(this))) {
            this->KColorButton::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorButton*>(this))) {
            this->KColorButton::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)
        }
    }
    static void x_26(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KColorButton::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KColorButton::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_28(Smoke::Stack x) {
        // KColorButton* KColorButton()
        x_KColorButton* xret = new x_KColorButton((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_29(Smoke::Stack x) {
        // KColorButton* KColorButton(const QColor&)
        x_KColorButton* xret = new x_KColorButton(*(const QColor*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // KColorButton* KColorButton(const QColor&, const QColor&)
        x_KColorButton* xret = new x_KColorButton(*(const QColor*)x[1].s_class,*(const QColor*)x[2].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KColorButton::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(687, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KColorButton::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(688, (void*)this, x)) return (void*)x[0].s_class;
        return this->KColorButton::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(693, (void*)this, x)) return (int)x[0].s_int;
        return this->KColorButton::qt_metacall(x1, x2, x3);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(706, (void*)this, x)) return;
        this->KColorButton::paintEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(707, (void*)this, x)) return;
        this->KColorButton::dragEnterEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(708, (void*)this, x)) return;
        this->KColorButton::dropEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(709, (void*)this, x)) return;
        this->KColorButton::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(710, (void*)this, x)) return;
        this->KColorButton::mouseMoveEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(711, (void*)this, x)) return;
        this->KColorButton::keyPressEvent(x1);
    }
    virtual bool hitButton(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7185, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractButton::hitButton(x1);
    }
    virtual void checkStateSet() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7186, (void*)this, x)) return;
        this->QAbstractButton::checkStateSet();
    }
    virtual void nextCheckState() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7187, (void*)this, x)) return;
        this->QAbstractButton::nextCheckState();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(703, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KColorButton::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(704, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KColorButton::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7191, (void*)this, x)) return;
        this->QAbstractButton::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7189, (void*)this, x)) return;
        this->QAbstractButton::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7586, (void*)this, x)) return;
        this->QPushButton::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7587, (void*)this, x)) return;
        this->QPushButton::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7809, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7811, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void 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 showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7195, (void*)this, x)) return;
        this->QAbstractButton::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7584, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QPushButton::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7196, (void*)this, x)) return;
        this->QAbstractButton::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KColorButton() { this->_binding->deleted(28, (void*)this); }
};
void xcall_KColorButton(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KColorButton *xself = (x_KColorButton*)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_KColorButton::x_3(args);	break;
        case 4: x_KColorButton::x_4(args);	break;
        case 5: x_KColorButton::x_5(args);	break;
        case 6: x_KColorButton::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KColorButton::x_8(args);	break;
        case 9: x_KColorButton::x_9(args);	break;
        case 10: x_KColorButton::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: x_KColorButton::x_26(args);	break;
        case 27: x_KColorButton::x_27(args);	break;
        case 28: x_KColorButton::x_28(args);	break;
        case 29: x_KColorButton::x_29(args);	break;
        case 30: x_KColorButton::x_30(args);	break;
        case 31: x_KColorButton::x_31(args);	break;
        case 32: delete (KColorButton*)xself;	break;
    }
}
class x_KColorCells : public KColorCells, 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<KColorCells*>(this))) {
            const QMetaObject* xret = ((const x_KColorCells*)this)->KColorCells::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KColorCells*)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<KColorCells*>(this))) {
            void* xret = this->KColorCells::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 = KColorCells::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 = KColorCells::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 = KColorCells::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 = KColorCells::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<KColorCells*>(this))) {
            int xret = this->KColorCells::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) {
        // KColorCells* KColorCells(QWidget*, int, int)
        x_KColorCells* xret = new x_KColorCells((QWidget*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorCells(QWidget* x1, int x2, int x3) : KColorCells(x1, x2, x3) {}
    void x_9(Smoke::Stack x) {
        // void setColor(int, const QColor&)
        this->KColorCells::setColor((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QColor color(int) const
        QColor xret = ((const x_KColorCells*)this)->KColorCells::color((int)x[1].s_int);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_11(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_KColorCells*)this)->KColorCells::count();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setShading(bool)
        this->KColorCells::setShading((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool shading() const
        bool xret = ((const x_KColorCells*)this)->KColorCells::shading();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setAcceptDrags(bool)
        this->KColorCells::setAcceptDrags((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool acceptDrags() const
        bool xret = ((const x_KColorCells*)this)->KColorCells::acceptDrags();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setSelected(int)
        this->KColorCells::setSelected((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // int selectedIndex() const
        int xret = ((const x_KColorCells*)this)->KColorCells::selectedIndex();
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // void colorSelected(int, const QColor&)
        this->KColorCells::colorSelected((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void colorDoubleClicked(int, const QColor&)
        this->KColorCells::colorDoubleClicked((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // virtual int sizeHintForColumn(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            int xret = ((const x_KColorCells*)this)->KColorCells::sizeHintForColumn((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KColorCells*)this)->sizeHintForColumn((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual int sizeHintForRow(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            int xret = ((const x_KColorCells*)this)->KColorCells::sizeHintForRow((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KColorCells*)this)->sizeHintForRow((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            this->KColorCells::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            this->KColorCells::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            this->KColorCells::mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            this->KColorCells::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            this->KColorCells::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            this->KColorCells::dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            this->KColorCells::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_29(Smoke::Stack x) {
        // virtual void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCells*>(this))) {
            this->KColorCells::mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_30(Smoke::Stack x) {
        // int positionToCell(const QPoint&, bool) const
        int xret = ((const x_KColorCells*)this)->KColorCells::positionToCell(*(const QPoint*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_int = xret;
    }
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KColorCells::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KColorCells::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_33(Smoke::Stack x) {
        // int positionToCell(const QPoint&) const
        int xret = ((const x_KColorCells*)this)->KColorCells::positionToCell(*(const QPoint*)x[1].s_class,(bool)false);
        x[0].s_int = xret;
    }
    static void x_34(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KColorCells::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(719, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KColorCells::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(720, (void*)this, x)) return (void*)x[0].s_class;
        return this->KColorCells::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(725, (void*)this, x)) return (int)x[0].s_int;
        return this->KColorCells::qt_metacall(x1, x2, x3);
    }
    virtual int sizeHintForColumn(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(738, (void*)this, x)) return (int)x[0].s_int;
        return this->KColorCells::sizeHintForColumn(x1);
    }
    virtual int sizeHintForRow(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(739, (void*)this, x)) return (int)x[0].s_int;
        return this->KColorCells::sizeHintForRow(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(740, (void*)this, x)) return;
        this->KColorCells::resizeEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(741, (void*)this, x)) return;
        this->KColorCells::mouseReleaseEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(742, (void*)this, x)) return;
        this->KColorCells::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(743, (void*)this, x)) return;
        this->KColorCells::mouseMoveEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(744, (void*)this, x)) return;
        this->KColorCells::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(745, (void*)this, x)) return;
        this->KColorCells::dragMoveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(746, (void*)this, x)) return;
        this->KColorCells::dropEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(747, (void*)this, x)) return;
        this->KColorCells::mouseDoubleClickEvent(x1);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7681, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTableWidget::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QTableWidgetItem*> x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new const QList<QTableWidgetItem*>(x1);
        if (this->_binding->callMethod(7682, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QTableWidget::mimeData(x1);
    }
    virtual bool dropMimeData(int x1, int x2, const QMimeData* x3, Qt::DropAction x4) {
        Smoke::StackItem x[5];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        x[4].s_enum = x4;
        if (this->_binding->callMethod(7683, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTableWidget::dropMimeData(x1, x2, x3, x4);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7684, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QTableWidget::supportedDropActions();
    }
    virtual void setSelectionModel(QItemSelectionModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7659, (void*)this, x)) return;
        this->QTableView::setSelectionModel(x1);
    }
    virtual void keyboardSearch(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7238, (void*)this, x)) return;
        this->QAbstractItemView::keyboardSearch(x1);
    }
    virtual QRect visualRect(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7661, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTableView::visualRect(x1);
    }
    virtual void scrollTo(const QModelIndex& x1, QAbstractItemView::ScrollHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(7662, (void*)this, x)) return;
        this->QTableView::scrollTo(x1, x2);
    }
    virtual QModelIndex indexAt(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7663, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTableView::indexAt(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7241, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::inputMethodQuery(x1);
    }
    virtual void reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7242, (void*)this, x)) return;
        this->QAbstractItemView::reset();
    }
    virtual void setRootIndex(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7658, (void*)this, x)) return;
        this->QTableView::setRootIndex(x1);
    }
    virtual void doItemsLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7660, (void*)this, x)) return;
        this->QTableView::doItemsLayout();
    }
    virtual void selectAll() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7243, (void*)this, x)) return;
        this->QAbstractItemView::selectAll();
    }
    virtual void dataChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7244, (void*)this, x)) return;
        this->QAbstractItemView::dataChanged(x1, x2);
    }
    virtual void rowsInserted(const QModelIndex& x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(7245, (void*)this, x)) return;
        this->QAbstractItemView::rowsInserted(x1, x2, x3);
    }
    virtual void rowsAboutToBeRemoved(const QModelIndex& x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(7246, (void*)this, x)) return;
        this->QAbstractItemView::rowsAboutToBeRemoved(x1, x2, x3);
    }
    virtual void selectionChanged(const QItemSelection& x1, const QItemSelection& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7678, (void*)this, x)) return;
        this->QTableView::selectionChanged(x1, x2);
    }
    virtual void currentChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(7679, (void*)this, x)) return;
        this->QTableView::currentChanged(x1, x2);
    }
    virtual void updateEditorData() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7247, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorData();
    }
    virtual void updateEditorGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7248, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorGeometries();
    }
    virtual void updateGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7674, (void*)this, x)) return;
        this->QTableView::updateGeometries();
    }
    virtual void verticalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7675, (void*)this, x)) return;
        this->QTableView::verticalScrollbarAction(x1);
    }
    virtual void horizontalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7676, (void*)this, x)) return;
        this->QTableView::horizontalScrollbarAction(x1);
    }
    virtual void verticalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7251, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarValueChanged(x1);
    }
    virtual void horizontalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7252, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarValueChanged(x1);
    }
    virtual void closeEditor(QWidget* x1, QAbstractItemDelegate::EndEditHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(7253, (void*)this, x)) return;
        this->QAbstractItemView::closeEditor(x1, x2);
    }
    virtual void commitData(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7254, (void*)this, x)) return;
        this->QAbstractItemView::commitData(x1);
    }
    virtual void editorDestroyed(QObject* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7255, (void*)this, x)) return;
        this->QAbstractItemView::editorDestroyed(x1);
    }
    virtual QModelIndex moveCursor(QAbstractItemView::CursorAction x1, QFlags<Qt::KeyboardModifier> x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(7670, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTableView::moveCursor(x1, x2);
    }
    virtual int horizontalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7668, (void*)this, x)) return (int)x[0].s_int;
        return this->QTableView::horizontalOffset();
    }
    virtual int verticalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7669, (void*)this, x)) return (int)x[0].s_int;
        return this->QTableView::verticalOffset();
    }
    virtual bool isIndexHidden(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7677, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTableView::isIndexHidden(x1);
    }
    virtual void setSelection(const QRect& x1, QFlags<QItemSelectionModel::SelectionFlag> x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(7671, (void*)this, x)) return;
        this->QTableView::setSelection(x1, x2);
    }
    virtual QRegion visualRegionForSelection(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7672, (void*)this, x)) {
            QRegion* xptr = (QRegion*)x[0].s_class;
            QRegion xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTableView::visualRegionForSelection(x1);
    }
    virtual QList<QModelIndex> selectedIndexes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7673, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTableView::selectedIndexes();
    }
    virtual bool edit(const QModelIndex& x1, QAbstractItemView::EditTrigger x2, QEvent* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(7256, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::edit(x1, x2, x3);
    }
    virtual QFlags<QItemSelectionModel::SelectionFlag> selectionCommand(const QModelIndex& x1, const QEvent* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7257, (void*)this, x)) return (QFlags<QItemSelectionModel::SelectionFlag>)x[0].s_uint;
        return this->QAbstractItemView::selectionCommand(x1, x2);
    }
    virtual void startDrag(QFlags<Qt::DropAction> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(7258, (void*)this, x)) return;
        this->QAbstractItemView::startDrag(x1);
    }
    virtual QStyleOptionViewItem viewOptions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7665, (void*)this, x)) {
            QStyleOptionViewItem* xptr = (QStyleOptionViewItem*)x[0].s_class;
            QStyleOptionViewItem xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTableView::viewOptions();
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7261, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::viewportEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(7664, (void*)this, x)) return;
        this->QTableView::scrollContentsBy(x1, x2);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7308, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7307, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7310, (void*)this, x)) return;
        this->QAbstractScrollArea::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7267, (void*)this, x)) return;
        this->QAbstractItemView::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(7265, (void*)this, x)) return;
        this->QAbstractItemView::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7266, (void*)this, x)) return;
        this->QAbstractItemView::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(7666, (void*)this, x)) return;
        this->QTableView::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7311, (void*)this, x)) return;
        this->QAbstractScrollArea::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7264, (void*)this, x)) return;
        this->QAbstractItemView::dragLeaveEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7416, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7269, (void*)this, x)) return;
        this->QAbstractItemView::inputMethodEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7260, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7680, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTableWidget::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(7667, (void*)this, x)) return;
        this->QTableView::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_KColorCells() { this->_binding->deleted(29, (void*)this); }
};
void xcall_KColorCells(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KColorCells *xself = (x_KColorCells*)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_KColorCells::x_3(args);	break;
        case 4: x_KColorCells::x_4(args);	break;
        case 5: x_KColorCells::x_5(args);	break;
        case 6: x_KColorCells::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KColorCells::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: x_KColorCells::x_31(args);	break;
        case 32: x_KColorCells::x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: x_KColorCells::x_34(args);	break;
        case 35: delete (KColorCells*)xself;	break;
    }
}
class x_KColorCollection : public KColorCollection {
    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) {
        // static QStringList installedCollections()
        QStringList xret = KColorCollection::installedCollections();
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_2(Smoke::Stack x) {
        // KColorCollection* KColorCollection(const QString&)
        x_KColorCollection* xret = new x_KColorCollection(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorCollection(const QString& x1) : KColorCollection(x1) {}
    static void x_3(Smoke::Stack x) {
        // KColorCollection* KColorCollection(const KColorCollection&)
        x_KColorCollection* xret = new x_KColorCollection(*(const KColorCollection*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorCollection(const KColorCollection& x1) : KColorCollection(x1) {}
    void x_4(Smoke::Stack x) {
        // KColorCollection& operator=(const KColorCollection&)
        KColorCollection& xret = this->KColorCollection::operator=(*(const KColorCollection*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // bool save()
        bool xret = this->KColorCollection::save();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // QString description() const
        QString xret = ((const x_KColorCollection*)this)->KColorCollection::description();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // void setDescription(const QString&)
        this->KColorCollection::setDescription(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_KColorCollection*)this)->KColorCollection::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // void setName(const QString&)
        this->KColorCollection::setName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // KColorCollection::Editable editable() const
        KColorCollection::Editable xret = ((const x_KColorCollection*)this)->KColorCollection::editable();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setEditable(KColorCollection::Editable)
        this->KColorCollection::setEditable((KColorCollection::Editable)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_KColorCollection*)this)->KColorCollection::count();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // QColor color(int) const
        QColor xret = ((const x_KColorCollection*)this)->KColorCollection::color((int)x[1].s_int);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_14(Smoke::Stack x) {
        // int findColor(const QColor&) const
        int xret = ((const x_KColorCollection*)this)->KColorCollection::findColor(*(const QColor*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // QString name(int) const
        QString xret = ((const x_KColorCollection*)this)->KColorCollection::name((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // QString name(const QColor&) const
        QString xret = ((const x_KColorCollection*)this)->KColorCollection::name(*(const QColor*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // int addColor(const QColor&, const QString&)
        int xret = this->KColorCollection::addColor(*(const QColor*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // int changeColor(int, const QColor&, const QString&)
        int xret = this->KColorCollection::changeColor((int)x[1].s_int,*(const QColor*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // int changeColor(const QColor&, const QColor&, const QString&)
        int xret = this->KColorCollection::changeColor(*(const QColor*)x[1].s_class,*(const QColor*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_int = xret;
    }
    static void x_20(Smoke::Stack x) {
        // KColorCollection* KColorCollection()
        x_KColorCollection* xret = new x_KColorCollection((const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // int addColor(const QColor&)
        int xret = this->KColorCollection::addColor(*(const QColor*)x[1].s_class,(const QString&)QString());
        x[0].s_int = xret;
    }
    void x_22(Smoke::Stack x) {
        // int changeColor(int, const QColor&)
        int xret = this->KColorCollection::changeColor((int)x[1].s_int,*(const QColor*)x[2].s_class,(const QString&)QString());
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // int changeColor(const QColor&, const QColor&)
        int xret = this->KColorCollection::changeColor(*(const QColor*)x[1].s_class,*(const QColor*)x[2].s_class,(const QString&)QString());
        x[0].s_int = xret;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KColorCollection::Yes;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KColorCollection::No;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)KColorCollection::Ask;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 42: //KColorCollection::Editable
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KColorCollection::Editable;
                    break;
                case Smoke::EnumDelete:
                    delete (KColorCollection::Editable*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KColorCollection::Editable*)xdata = (KColorCollection::Editable)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KColorCollection::Editable*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KColorCollection() { this->_binding->deleted(30, (void*)this); }
};
void xenum_KColorCollection(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KColorCollection::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KColorCollection(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KColorCollection *xself = (x_KColorCollection*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KColorCollection::x_1(args);	break;
        case 2: x_KColorCollection::x_2(args);	break;
        case 3: x_KColorCollection::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: x_KColorCollection::x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_KColorCollection::x_24(args);	break;
        case 25: x_KColorCollection::x_25(args);	break;
        case 26: x_KColorCollection::x_26(args);	break;
        case 27: delete (KColorCollection*)xself;	break;
    }
}
class x_KColorCombo : public KColorCombo, 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<KColorCombo*>(this))) {
            const QMetaObject* xret = ((const x_KColorCombo*)this)->KColorCombo::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KColorCombo*)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<KColorCombo*>(this))) {
            void* xret = this->KColorCombo::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 = KColorCombo::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 = KColorCombo::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 = KColorCombo::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 = KColorCombo::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<KColorCombo*>(this))) {
            int xret = this->KColorCombo::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) {
        // KColorCombo* KColorCombo(QWidget*)
        x_KColorCombo* xret = new x_KColorCombo((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorCombo(QWidget* x1) : KColorCombo(x1) {}
    void x_9(Smoke::Stack x) {
        // void setColor(const QColor&)
        this->KColorCombo::setColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QColor color() const
        QColor xret = ((const x_KColorCombo*)this)->KColorCombo::color();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_11(Smoke::Stack x) {
        // bool isCustomColor() const
        bool xret = ((const x_KColorCombo*)this)->KColorCombo::isCustomColor();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setColors(const QList<QColor>&)
        this->KColorCombo::setColors(*(const QList<QColor>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QList<QColor> colors() const
        QList<QColor> xret = ((const x_KColorCombo*)this)->KColorCombo::colors();
        x[0].s_class = (void*)new QList<QColor>(xret);
    }
    void x_14(Smoke::Stack x) {
        // void showEmptyList()
        this->KColorCombo::showEmptyList();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void activated(const QColor&)
        this->KColorCombo::activated(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void highlighted(const QColor&)
        this->KColorCombo::highlighted(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorCombo*>(this))) {
            this->KColorCombo::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_18(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KColorCombo::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KColorCombo::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // KColorCombo* KColorCombo()
        x_KColorCombo* xret = new x_KColorCombo((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KColorCombo::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(781, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KColorCombo::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(782, (void*)this, x)) return (void*)x[0].s_class;
        return this->KColorCombo::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(787, (void*)this, x)) return (int)x[0].s_int;
        return this->KColorCombo::qt_metacall(x1, x2, x3);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(797, (void*)this, x)) return;
        this->KColorCombo::paintEvent(x1);
    }
    virtual void showPopup() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7352, (void*)this, x)) return;
        this->QComboBox::showPopup();
    }
    virtual void hidePopup() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7353, (void*)this, x)) return;
        this->QComboBox::hidePopup();
    }
    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(7350, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QComboBox::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7351, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QComboBox::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(7362, (void*)this, x)) return;
        this->QComboBox::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7363, (void*)this, x)) return;
        this->QComboBox::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(7366, (void*)this, x)) return;
        this->QComboBox::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7364, (void*)this, x)) return;
        this->QComboBox::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7365, (void*)this, x)) return;
        this->QComboBox::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7355, (void*)this, x)) return;
        this->QComboBox::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7356, (void*)this, x)) return;
        this->QComboBox::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7358, (void*)this, x)) return;
        this->QComboBox::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(7367, (void*)this, x)) return;
        this->QComboBox::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(7360, (void*)this, x)) return;
        this->QComboBox::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7361, (void*)this, x)) return;
        this->QComboBox::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(7357, (void*)this, x)) return;
        this->QComboBox::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7368, (void*)this, x)) return;
        this->QComboBox::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7369, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QComboBox::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(7354, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QComboBox::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_KColorCombo() { this->_binding->deleted(31, (void*)this); }
};
void xcall_KColorCombo(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KColorCombo *xself = (x_KColorCombo*)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_KColorCombo::x_3(args);	break;
        case 4: x_KColorCombo::x_4(args);	break;
        case 5: x_KColorCombo::x_5(args);	break;
        case 6: x_KColorCombo::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KColorCombo::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: x_KColorCombo::x_18(args);	break;
        case 19: x_KColorCombo::x_19(args);	break;
        case 20: x_KColorCombo::x_20(args);	break;
        case 21: x_KColorCombo::x_21(args);	break;
        case 22: delete (KColorCombo*)xself;	break;
    }
}
class x_KColorDialog : public KColorDialog, 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<KColorDialog*>(this))) {
            const QMetaObject* xret = ((const x_KColorDialog*)this)->KColorDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KColorDialog*)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<KColorDialog*>(this))) {
            void* xret = this->KColorDialog::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 = KColorDialog::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 = KColorDialog::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 = KColorDialog::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 = KColorDialog::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<KColorDialog*>(this))) {
            int xret = this->KColorDialog::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) {
        // KColorDialog* KColorDialog(QWidget*, bool)
        x_KColorDialog* xret = new x_KColorDialog((QWidget*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorDialog(QWidget* x1, bool x2) : KColorDialog(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // QColor color() const
        QColor xret = ((const x_KColorDialog*)this)->KColorDialog::color();
        x[0].s_class = (void*)new QColor(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static int getColor(QColor&, QWidget*)
        int xret = KColorDialog::getColor(*(QColor*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_int = xret;
    }
    static void x_11(Smoke::Stack x) {
        // static int getColor(QColor&, const QColor&, QWidget*)
        int xret = KColorDialog::getColor(*(QColor*)x[1].s_class,*(const QColor*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_int = xret;
    }
    static void x_12(Smoke::Stack x) {
        // static QColor grabColor(const QPoint&)
        QColor xret = KColorDialog::grabColor(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setDefaultColor(const QColor&)
        this->KColorDialog::setDefaultColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QColor defaultColor() const
        QColor xret = ((const x_KColorDialog*)this)->KColorDialog::defaultColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setAlphaChannelEnabled(bool)
        this->KColorDialog::setAlphaChannelEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // bool isAlphaChannelEnabled() const
        bool xret = ((const x_KColorDialog*)this)->KColorDialog::isAlphaChannelEnabled();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setColor(const QColor&)
        this->KColorDialog::setColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void colorSelected(const QColor&)
        this->KColorDialog::colorSelected(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorDialog*>(this))) {
            this->KColorDialog::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorDialog*>(this))) {
            this->KColorDialog::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorDialog*>(this))) {
            this->KColorDialog::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_22(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorDialog*>(this))) {
            bool xret = this->KColorDialog::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_23(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KColorDialog::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 = KColorDialog::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) {
        // KColorDialog* KColorDialog()
        x_KColorDialog* xret = new x_KColorDialog((QWidget*)0L,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_26(Smoke::Stack x) {
        // KColorDialog* KColorDialog(QWidget*)
        x_KColorDialog* xret = new x_KColorDialog((QWidget*)x[1].s_class,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // static int getColor(QColor&)
        int xret = KColorDialog::getColor(*(QColor*)x[1].s_class,(QWidget*)0L);
        x[0].s_int = xret;
    }
    static void x_28(Smoke::Stack x) {
        // static int getColor(QColor&, const QColor&)
        int xret = KColorDialog::getColor(*(QColor*)x[1].s_class,*(const QColor*)x[2].s_class,(QWidget*)0L);
        x[0].s_int = xret;
    }
    static void x_29(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KColorDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(803, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KColorDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(804, (void*)this, x)) return (void*)x[0].s_class;
        return this->KColorDialog::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(809, (void*)this, x)) return (int)x[0].s_int;
        return this->KColorDialog::qt_metacall(x1, x2, x3);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(821, (void*)this, x)) return;
        this->KColorDialog::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(822, (void*)this, x)) return;
        this->KColorDialog::mouseReleaseEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(823, (void*)this, x)) return;
        this->KColorDialog::keyPressEvent(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(824, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KColorDialog::eventFilter(x1, x2);
    }
    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 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 mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void 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 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_KColorDialog() { this->_binding->deleted(32, (void*)this); }
};
void xcall_KColorDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KColorDialog *xself = (x_KColorDialog*)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_KColorDialog::x_3(args);	break;
        case 4: x_KColorDialog::x_4(args);	break;
        case 5: x_KColorDialog::x_5(args);	break;
        case 6: x_KColorDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KColorDialog::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KColorDialog::x_10(args);	break;
        case 11: x_KColorDialog::x_11(args);	break;
        case 12: x_KColorDialog::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_KColorDialog::x_23(args);	break;
        case 24: x_KColorDialog::x_24(args);	break;
        case 25: x_KColorDialog::x_25(args);	break;
        case 26: x_KColorDialog::x_26(args);	break;
        case 27: x_KColorDialog::x_27(args);	break;
        case 28: x_KColorDialog::x_28(args);	break;
        case 29: x_KColorDialog::x_29(args);	break;
        case 30: delete (KColorDialog*)xself;	break;
    }
}
class x_KColorPatch : public KColorPatch, 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<KColorPatch*>(this))) {
            const QMetaObject* xret = ((const x_KColorPatch*)this)->KColorPatch::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KColorPatch*)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<KColorPatch*>(this))) {
            void* xret = this->KColorPatch::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 = KColorPatch::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 = KColorPatch::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 = KColorPatch::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 = KColorPatch::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<KColorPatch*>(this))) {
            int xret = this->KColorPatch::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) {
        // KColorPatch* KColorPatch(QWidget*)
        x_KColorPatch* xret = new x_KColorPatch((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorPatch(QWidget* x1) : KColorPatch(x1) {}
    void x_9(Smoke::Stack x) {
        // QColor color() const
        QColor xret = ((const x_KColorPatch*)this)->KColorPatch::color();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_10(Smoke::Stack x) {
        // void setColor(const QColor&)
        this->KColorPatch::setColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void colorChanged(const QColor&)
        this->KColorPatch::colorChanged(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorPatch*>(this))) {
            this->KColorPatch::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorPatch*>(this))) {
            this->KColorPatch::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorPatch*>(this))) {
            this->KColorPatch::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorPatch*>(this))) {
            this->KColorPatch::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KColorPatch::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KColorPatch::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KColorPatch::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(837, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KColorPatch::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(838, (void*)this, x)) return (void*)x[0].s_class;
        return this->KColorPatch::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(843, (void*)this, x)) return (int)x[0].s_int;
        return this->KColorPatch::qt_metacall(x1, x2, x3);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(848, (void*)this, x)) return;
        this->KColorPatch::paintEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(849, (void*)this, x)) return;
        this->KColorPatch::mouseMoveEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(850, (void*)this, x)) return;
        this->KColorPatch::dragEnterEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(851, (void*)this, x)) return;
        this->KColorPatch::dropEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7413, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFrame::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7792, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(7793, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7796, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7797, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7798, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7800, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7801, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7803, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7804, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void 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 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 showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7416, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7823, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7824, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7825, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7826, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7827, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7828, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(7829, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7830, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7831, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7414, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFrame::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(7576, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KColorPatch() { this->_binding->deleted(34, (void*)this); }
};
void xcall_KColorPatch(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KColorPatch *xself = (x_KColorPatch*)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_KColorPatch::x_3(args);	break;
        case 4: x_KColorPatch::x_4(args);	break;
        case 5: x_KColorPatch::x_5(args);	break;
        case 6: x_KColorPatch::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KColorPatch::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_KColorPatch::x_16(args);	break;
        case 17: x_KColorPatch::x_17(args);	break;
        case 18: x_KColorPatch::x_18(args);	break;
        case 19: delete (KColorPatch*)xself;	break;
    }
}
class x_KColorScheme : public KColorScheme, 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) {
        // KColorScheme* KColorScheme(const KColorScheme&)
        x_KColorScheme* xret = new x_KColorScheme(*(const KColorScheme*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorScheme(const KColorScheme& x1) : KColorScheme(x1) {}
    void x_2(Smoke::Stack x) {
        // KColorScheme& operator=(const KColorScheme&)
        KColorScheme& xret = this->KColorScheme::operator=(*(const KColorScheme*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_3(Smoke::Stack x) {
        // KColorScheme* KColorScheme(QPalette::ColorGroup, KColorScheme::ColorSet, KSharedPtr<KSharedConfig>)
        x_KColorScheme* xret = new x_KColorScheme((QPalette::ColorGroup)x[1].s_enum,(KColorScheme::ColorSet)x[2].s_enum,*(KSharedPtr<KSharedConfig>*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorScheme(QPalette::ColorGroup x1, KColorScheme::ColorSet x2, KSharedPtr<KSharedConfig> x3) : KColorScheme(x1, x2, x3) {}
    void x_4(Smoke::Stack x) {
        // QBrush background(KColorScheme::BackgroundRole) const
        QBrush xret = ((const x_KColorScheme*)this)->KColorScheme::background((KColorScheme::BackgroundRole)x[1].s_enum);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_5(Smoke::Stack x) {
        // QBrush foreground(KColorScheme::ForegroundRole) const
        QBrush xret = ((const x_KColorScheme*)this)->KColorScheme::foreground((KColorScheme::ForegroundRole)x[1].s_enum);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_6(Smoke::Stack x) {
        // QBrush decoration(KColorScheme::DecorationRole) const
        QBrush xret = ((const x_KColorScheme*)this)->KColorScheme::decoration((KColorScheme::DecorationRole)x[1].s_enum);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_7(Smoke::Stack x) {
        // QColor shade(KColorScheme::ShadeRole) const
        QColor xret = ((const x_KColorScheme*)this)->KColorScheme::shade((KColorScheme::ShadeRole)x[1].s_enum);
        x[0].s_class = (void*)new QColor(xret);
    }
    static void x_8(Smoke::Stack x) {
        // static QColor shade(const QColor&, KColorScheme::ShadeRole)
        QColor xret = KColorScheme::shade(*(const QColor*)x[1].s_class,(KColorScheme::ShadeRole)x[2].s_enum);
        x[0].s_class = (void*)new QColor(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static QColor shade(const QColor&, KColorScheme::ShadeRole, double, double)
        QColor xret = KColorScheme::shade(*(const QColor*)x[1].s_class,(KColorScheme::ShadeRole)x[2].s_enum,(double)x[3].s_double,(double)x[4].s_double);
        x[0].s_class = (void*)new QColor(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static void adjustBackground(QPalette&, KColorScheme::BackgroundRole, QPalette::ColorRole, KColorScheme::ColorSet, KSharedPtr<KSharedConfig>)
        KColorScheme::adjustBackground(*(QPalette*)x[1].s_class,(KColorScheme::BackgroundRole)x[2].s_enum,(QPalette::ColorRole)x[3].s_enum,(KColorScheme::ColorSet)x[4].s_enum,*(KSharedPtr<KSharedConfig>*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // static void adjustForeground(QPalette&, KColorScheme::ForegroundRole, QPalette::ColorRole, KColorScheme::ColorSet, KSharedPtr<KSharedConfig>)
        KColorScheme::adjustForeground(*(QPalette*)x[1].s_class,(KColorScheme::ForegroundRole)x[2].s_enum,(QPalette::ColorRole)x[3].s_enum,(KColorScheme::ColorSet)x[4].s_enum,*(KSharedPtr<KSharedConfig>*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // KColorScheme* KColorScheme(QPalette::ColorGroup)
        x_KColorScheme* xret = new x_KColorScheme((QPalette::ColorGroup)x[1].s_enum,(KColorScheme::ColorSet)KColorScheme::View,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // KColorScheme* KColorScheme(QPalette::ColorGroup, KColorScheme::ColorSet)
        x_KColorScheme* xret = new x_KColorScheme((QPalette::ColorGroup)x[1].s_enum,(KColorScheme::ColorSet)x[2].s_enum,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // QBrush background() const
        QBrush xret = ((const x_KColorScheme*)this)->KColorScheme::background((KColorScheme::BackgroundRole)KColorScheme::NormalBackground);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_15(Smoke::Stack x) {
        // QBrush foreground() const
        QBrush xret = ((const x_KColorScheme*)this)->KColorScheme::foreground((KColorScheme::ForegroundRole)KColorScheme::NormalText);
        x[0].s_class = (void*)new QBrush(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QColor shade(const QColor&, KColorScheme::ShadeRole, double)
        QColor xret = KColorScheme::shade(*(const QColor*)x[1].s_class,(KColorScheme::ShadeRole)x[2].s_enum,(double)x[3].s_double,(double)0.0);
        x[0].s_class = (void*)new QColor(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static void adjustBackground(QPalette&)
        KColorScheme::adjustBackground(*(QPalette*)x[1].s_class,(KColorScheme::BackgroundRole)KColorScheme::NormalBackground,(QPalette::ColorRole)QPalette::Base,(KColorScheme::ColorSet)KColorScheme::View,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static void adjustBackground(QPalette&, KColorScheme::BackgroundRole)
        KColorScheme::adjustBackground(*(QPalette*)x[1].s_class,(KColorScheme::BackgroundRole)x[2].s_enum,(QPalette::ColorRole)QPalette::Base,(KColorScheme::ColorSet)KColorScheme::View,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        (void)x; // noop (for compiler warning)
    }
    static void x_19(Smoke::Stack x) {
        // static void adjustBackground(QPalette&, KColorScheme::BackgroundRole, QPalette::ColorRole)
        KColorScheme::adjustBackground(*(QPalette*)x[1].s_class,(KColorScheme::BackgroundRole)x[2].s_enum,(QPalette::ColorRole)x[3].s_enum,(KColorScheme::ColorSet)KColorScheme::View,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        (void)x; // noop (for compiler warning)
    }
    static void x_20(Smoke::Stack x) {
        // static void adjustBackground(QPalette&, KColorScheme::BackgroundRole, QPalette::ColorRole, KColorScheme::ColorSet)
        KColorScheme::adjustBackground(*(QPalette*)x[1].s_class,(KColorScheme::BackgroundRole)x[2].s_enum,(QPalette::ColorRole)x[3].s_enum,(KColorScheme::ColorSet)x[4].s_enum,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // static void adjustForeground(QPalette&)
        KColorScheme::adjustForeground(*(QPalette*)x[1].s_class,(KColorScheme::ForegroundRole)KColorScheme::NormalText,(QPalette::ColorRole)QPalette::Text,(KColorScheme::ColorSet)KColorScheme::View,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static void adjustForeground(QPalette&, KColorScheme::ForegroundRole)
        KColorScheme::adjustForeground(*(QPalette*)x[1].s_class,(KColorScheme::ForegroundRole)x[2].s_enum,(QPalette::ColorRole)QPalette::Text,(KColorScheme::ColorSet)KColorScheme::View,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static void adjustForeground(QPalette&, KColorScheme::ForegroundRole, QPalette::ColorRole)
        KColorScheme::adjustForeground(*(QPalette*)x[1].s_class,(KColorScheme::ForegroundRole)x[2].s_enum,(QPalette::ColorRole)x[3].s_enum,(KColorScheme::ColorSet)KColorScheme::View,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        (void)x; // noop (for compiler warning)
    }
    static void x_24(Smoke::Stack x) {
        // static void adjustForeground(QPalette&, KColorScheme::ForegroundRole, QPalette::ColorRole, KColorScheme::ColorSet)
        KColorScheme::adjustForeground(*(QPalette*)x[1].s_class,(KColorScheme::ForegroundRole)x[2].s_enum,(QPalette::ColorRole)x[3].s_enum,(KColorScheme::ColorSet)x[4].s_enum,(KSharedPtr<KSharedConfig>)KSharedConfigPtr());
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::View;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::Window;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::Button;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::Selection;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::Tooltip;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::NormalBackground;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::AlternateBackground;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::ActiveBackground;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::LinkBackground;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::VisitedBackground;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::NegativeBackground;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::NeutralBackground;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::PositiveBackground;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::NormalText;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::InactiveText;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::ActiveText;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::LinkText;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::VisitedText;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::NegativeText;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::NeutralText;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::PositiveText;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::FocusColor;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::HoverColor;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::LightShade;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::MidlightShade;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::MidShade;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::DarkShade;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)KColorScheme::ShadowShade;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 49: //KColorScheme::ColorSet
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KColorScheme::ColorSet;
                    break;
                case Smoke::EnumDelete:
                    delete (KColorScheme::ColorSet*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KColorScheme::ColorSet*)xdata = (KColorScheme::ColorSet)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KColorScheme::ColorSet*)xdata;
                    break;
            }
            break;
        case 48: //KColorScheme::BackgroundRole
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KColorScheme::BackgroundRole;
                    break;
                case Smoke::EnumDelete:
                    delete (KColorScheme::BackgroundRole*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KColorScheme::BackgroundRole*)xdata = (KColorScheme::BackgroundRole)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KColorScheme::BackgroundRole*)xdata;
                    break;
            }
            break;
        case 51: //KColorScheme::ForegroundRole
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KColorScheme::ForegroundRole;
                    break;
                case Smoke::EnumDelete:
                    delete (KColorScheme::ForegroundRole*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KColorScheme::ForegroundRole*)xdata = (KColorScheme::ForegroundRole)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KColorScheme::ForegroundRole*)xdata;
                    break;
            }
            break;
        case 50: //KColorScheme::DecorationRole
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KColorScheme::DecorationRole;
                    break;
                case Smoke::EnumDelete:
                    delete (KColorScheme::DecorationRole*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KColorScheme::DecorationRole*)xdata = (KColorScheme::DecorationRole)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KColorScheme::DecorationRole*)xdata;
                    break;
            }
            break;
        case 52: //KColorScheme::ShadeRole
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KColorScheme::ShadeRole;
                    break;
                case Smoke::EnumDelete:
                    delete (KColorScheme::ShadeRole*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KColorScheme::ShadeRole*)xdata = (KColorScheme::ShadeRole)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KColorScheme::ShadeRole*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KColorScheme() { this->_binding->deleted(35, (void*)this); }
};
void xenum_KColorScheme(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KColorScheme::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KColorScheme(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KColorScheme *xself = (x_KColorScheme*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KColorScheme::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KColorScheme::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: x_KColorScheme::x_8(args);	break;
        case 9: x_KColorScheme::x_9(args);	break;
        case 10: x_KColorScheme::x_10(args);	break;
        case 11: x_KColorScheme::x_11(args);	break;
        case 12: x_KColorScheme::x_12(args);	break;
        case 13: x_KColorScheme::x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_KColorScheme::x_16(args);	break;
        case 17: x_KColorScheme::x_17(args);	break;
        case 18: x_KColorScheme::x_18(args);	break;
        case 19: x_KColorScheme::x_19(args);	break;
        case 20: x_KColorScheme::x_20(args);	break;
        case 21: x_KColorScheme::x_21(args);	break;
        case 22: x_KColorScheme::x_22(args);	break;
        case 23: x_KColorScheme::x_23(args);	break;
        case 24: x_KColorScheme::x_24(args);	break;
        case 25: x_KColorScheme::x_25(args);	break;
        case 26: x_KColorScheme::x_26(args);	break;
        case 27: x_KColorScheme::x_27(args);	break;
        case 28: x_KColorScheme::x_28(args);	break;
        case 29: x_KColorScheme::x_29(args);	break;
        case 30: x_KColorScheme::x_30(args);	break;
        case 31: x_KColorScheme::x_31(args);	break;
        case 32: x_KColorScheme::x_32(args);	break;
        case 33: x_KColorScheme::x_33(args);	break;
        case 34: x_KColorScheme::x_34(args);	break;
        case 35: x_KColorScheme::x_35(args);	break;
        case 36: x_KColorScheme::x_36(args);	break;
        case 37: x_KColorScheme::x_37(args);	break;
        case 38: x_KColorScheme::x_38(args);	break;
        case 39: x_KColorScheme::x_39(args);	break;
        case 40: x_KColorScheme::x_40(args);	break;
        case 41: x_KColorScheme::x_41(args);	break;
        case 42: x_KColorScheme::x_42(args);	break;
        case 43: x_KColorScheme::x_43(args);	break;
        case 44: x_KColorScheme::x_44(args);	break;
        case 45: x_KColorScheme::x_45(args);	break;
        case 46: x_KColorScheme::x_46(args);	break;
        case 47: x_KColorScheme::x_47(args);	break;
        case 48: x_KColorScheme::x_48(args);	break;
        case 49: x_KColorScheme::x_49(args);	break;
        case 50: x_KColorScheme::x_50(args);	break;
        case 51: x_KColorScheme::x_51(args);	break;
        case 52: x_KColorScheme::x_52(args);	break;
        case 53: delete (KColorScheme*)xself;	break;
    }
}
class x_KColorValueSelector : public KColorValueSelector, 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<KColorValueSelector*>(this))) {
            const QMetaObject* xret = ((const x_KColorValueSelector*)this)->KColorValueSelector::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KColorValueSelector*)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<KColorValueSelector*>(this))) {
            void* xret = this->KColorValueSelector::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 = KColorValueSelector::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 = KColorValueSelector::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 = KColorValueSelector::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 = KColorValueSelector::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<KColorValueSelector*>(this))) {
            int xret = this->KColorValueSelector::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) {
        // KColorValueSelector* KColorValueSelector(QWidget*)
        x_KColorValueSelector* xret = new x_KColorValueSelector((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorValueSelector(QWidget* x1) : KColorValueSelector(x1) {}
    static void x_9(Smoke::Stack x) {
        // KColorValueSelector* KColorValueSelector(Qt::Orientation, QWidget*)
        x_KColorValueSelector* xret = new x_KColorValueSelector((Qt::Orientation)x[1].s_enum,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KColorValueSelector(Qt::Orientation x1, QWidget* x2) : KColorValueSelector(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void updateContents()
        this->KColorValueSelector::updateContents();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // int hue() const
        int xret = ((const x_KColorValueSelector*)this)->KColorValueSelector::hue();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setHue(int)
        this->KColorValueSelector::setHue((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // int saturation() const
        int xret = ((const x_KColorValueSelector*)this)->KColorValueSelector::saturation();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setSaturation(int)
        this->KColorValueSelector::setSaturation((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // int colorValue() const
        int xret = ((const x_KColorValueSelector*)this)->KColorValueSelector::colorValue();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setColorValue(int)
        this->KColorValueSelector::setColorValue((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setChooserMode(KColorChooserMode)
        this->KColorValueSelector::setChooserMode((KColorChooserMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // KColorChooserMode chooserMode() const
        KColorChooserMode xret = ((const x_KColorValueSelector*)this)->KColorValueSelector::chooserMode();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // virtual void drawPalette(QPixmap*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorValueSelector*>(this))) {
            this->KColorValueSelector::drawPalette((QPixmap*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawPalette((QPixmap*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorValueSelector*>(this))) {
            this->KColorValueSelector::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual void drawContents(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KColorValueSelector*>(this))) {
            this->KColorValueSelector::drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawContents((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_22(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KColorValueSelector::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KColorValueSelector::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // KColorValueSelector* KColorValueSelector()
        x_KColorValueSelector* xret = new x_KColorValueSelector((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_25(Smoke::Stack x) {
        // KColorValueSelector* KColorValueSelector(Qt::Orientation)
        x_KColorValueSelector* xret = new x_KColorValueSelector((Qt::Orientation)x[1].s_enum,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_26(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KColorValueSelector::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(925, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KColorValueSelector::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(926, (void*)this, x)) return (void*)x[0].s_class;
        return this->KColorValueSelector::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(931, (void*)this, x)) return (int)x[0].s_int;
        return this->KColorValueSelector::qt_metacall(x1, x2, x3);
    }
    virtual void drawPalette(QPixmap* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(943, (void*)this, x)) return;
        this->KColorValueSelector::drawPalette(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(944, (void*)this, x)) return;
        this->KColorValueSelector::resizeEvent(x1);
    }
    virtual void drawContents(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(945, (void*)this, x)) return;
        this->KColorValueSelector::drawContents(x1);
    }
    virtual void drawArrow(QPainter* x1, const QPoint& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(4787, (void*)this, x)) return;
        this->KSelector::drawArrow(x1, x2);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4788, (void*)this, x)) return;
        this->KSelector::paintEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4789, (void*)this, x)) return;
        this->KSelector::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4790, (void*)this, x)) return;
        this->KSelector::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4791, (void*)this, x)) return;
        this->KSelector::mouseReleaseEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(4792, (void*)this, x)) return;
        this->KSelector::wheelEvent(x1);
    }
    virtual void sliderChange(QAbstractSlider::SliderChange x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7313, (void*)this, x)) return;
        this->QAbstractSlider::sliderChange(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(7790, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(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 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 keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7314, (void*)this, x)) return;
        this->QAbstractSlider::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7802, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7803, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7804, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7805, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7806, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7808, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7810, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7811, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7812, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7813, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7814, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7815, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7816, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7817, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7818, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7819, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7820, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7317, (void*)this, x)) return;
        this->QAbstractSlider::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(7312, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractSlider::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(7315, (void*)this, x)) return;
        this->QAbstractSlider::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_KColorValueSelector() { this->_binding->deleted(37, (void*)this); }
};
void xcall_KColorValueSelector(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KColorValueSelector *xself = (x_KColorValueSelector*)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_KColorValueSelector::x_3(args);	break;
        case 4: x_KColorValueSelector::x_4(args);	break;
        case 5: x_KColorValueSelector::x_5(args);	break;
        case 6: x_KColorValueSelector::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KColorValueSelector::x_8(args);	break;
        case 9: x_KColorValueSelector::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_KColorValueSelector::x_22(args);	break;
        case 23: x_KColorValueSelector::x_23(args);	break;
        case 24: x_KColorValueSelector::x_24(args);	break;
        case 25: x_KColorValueSelector::x_25(args);	break;
        case 26: x_KColorValueSelector::x_26(args);	break;
        case 27: delete (KColorValueSelector*)xself;	break;
    }
}
class x_KComboBox : public KComboBox, 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<KComboBox*>(this))) {
            const QMetaObject* xret = ((const x_KComboBox*)this)->KComboBox::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KComboBox*)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<KComboBox*>(this))) {
            void* xret = this->KComboBox::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 = KComboBox::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 = KComboBox::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 = KComboBox::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 = KComboBox::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<KComboBox*>(this))) {
            int xret = this->KComboBox::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) {
        // KComboBox* KComboBox(QWidget*)
        x_KComboBox* xret = new x_KComboBox((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KComboBox(QWidget* x1) : KComboBox(x1) {}
    static void x_9(Smoke::Stack x) {
        // KComboBox* KComboBox(bool, QWidget*)
        x_KComboBox* xret = new x_KComboBox((bool)x[1].s_bool,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KComboBox(bool x1, QWidget* x2) : KComboBox(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void insertURL(const KUrl&, int)
        this->KComboBox::insertURL(*(const KUrl*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void insertURL(const QPixmap&, const KUrl&, int)
        this->KComboBox::insertURL(*(const QPixmap*)x[1].s_class,*(const KUrl*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void changeURL(const KUrl&, int)
        this->KComboBox::changeURL(*(const KUrl*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void changeURL(const QPixmap&, const KUrl&, int)
        this->KComboBox::changeURL(*(const QPixmap*)x[1].s_class,*(const KUrl*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setEditUrl(const KUrl&)
        this->KComboBox::setEditUrl(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void addUrl(const KUrl&)
        this->KComboBox::addUrl(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void addUrl(const QIcon&, const KUrl&)
        this->KComboBox::addUrl(*(const QIcon*)x[1].s_class,*(const KUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void insertUrl(int, const KUrl&)
        this->KComboBox::insertUrl((int)x[1].s_int,*(const KUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void insertUrl(int, const QIcon&, const KUrl&)
        this->KComboBox::insertUrl((int)x[1].s_int,*(const QIcon*)x[2].s_class,*(const KUrl*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void changeUrl(int, const KUrl&)
        this->KComboBox::changeUrl((int)x[1].s_int,*(const KUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void changeUrl(int, const QIcon&, const KUrl&)
        this->KComboBox::changeUrl((int)x[1].s_int,*(const QIcon*)x[2].s_class,*(const KUrl*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // int cursorPosition() const
        int xret = ((const x_KComboBox*)this)->KComboBox::cursorPosition();
        x[0].s_int = xret;
    }
    void x_22(Smoke::Stack x) {
        // virtual void setAutoCompletion(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::setAutoCompletion((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setAutoCompletion((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // bool autoCompletion() const
        bool xret = ((const x_KComboBox*)this)->KComboBox::autoCompletion();
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // virtual void setContextMenuEnabled(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::setContextMenuEnabled((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setContextMenuEnabled((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // void setUrlDropsEnabled(bool)
        this->KComboBox::setUrlDropsEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // bool urlDropsEnabled() const
        bool xret = ((const x_KComboBox*)this)->KComboBox::urlDropsEnabled();
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // bool contains(const QString&) const
        bool xret = ((const x_KComboBox*)this)->KComboBox::contains(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setTrapReturnKey(bool)
        this->KComboBox::setTrapReturnKey((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // bool trapReturnKey() const
        bool xret = ((const x_KComboBox*)this)->KComboBox::trapReturnKey();
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            bool xret = this->KComboBox::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_31(Smoke::Stack x) {
        // KCompletionBox* completionBox(bool)
        KCompletionBox* xret = this->KComboBox::completionBox((bool)x[1].s_bool);
        x[0].s_class = (void*)xret;
    }
    void x_32(Smoke::Stack x) {
        // virtual void setLineEdit(QLineEdit*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::setLineEdit((QLineEdit*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setLineEdit((QLineEdit*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_33(Smoke::Stack x) {
        // void setEditable(bool)
        this->KComboBox::setEditable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void returnPressed()
        this->KComboBox::returnPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void returnPressed(const QString&)
        this->KComboBox::returnPressed(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void completion(const QString&)
        this->KComboBox::completion(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void substringCompletion(const QString&)
        this->KComboBox::substringCompletion(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void textRotation(KCompletionBase::KeyBindingType)
        this->KComboBox::textRotation((KCompletionBase::KeyBindingType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void completionModeChanged(KGlobalSettings::Completion)
        this->KComboBox::completionModeChanged((KGlobalSettings::Completion)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void aboutToShowContextMenu(QMenu*)
        this->KComboBox::aboutToShowContextMenu((QMenu*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void rotateText(KCompletionBase::KeyBindingType)
        this->KComboBox::rotateText((KCompletionBase::KeyBindingType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // virtual void setCompletedText(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::setCompletedText(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCompletedText(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // void setCompletedItems(const QStringList&, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::setCompletedItems(*(const QStringList*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCompletedItems(*(const QStringList*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // void setCurrentItem(const QString&, bool, int)
        this->KComboBox::setCurrentItem(*(const QString*)x[1].s_class,(bool)x[2].s_bool,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // virtual void makeCompletion(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::makeCompletion(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->makeCompletion(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // virtual void setCompletedText(const QString&, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::setCompletedText(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCompletedText(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // virtual void create(unsigned long, bool, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::create((unsigned long)x[1].s_ulong,(bool)x[2].s_bool,(bool)x[3].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->create((unsigned long)x[1].s_ulong,(bool)x[2].s_bool,(bool)x[3].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            this->KComboBox::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // virtual QSize minimumSizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KComboBox*>(this))) {
            QSize xret = ((const x_KComboBox*)this)->KComboBox::minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KComboBox*)this)->minimumSizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    static void x_50(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KComboBox::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_51(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KComboBox::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_52(Smoke::Stack x) {
        // KComboBox* KComboBox()
        x_KComboBox* xret = new x_KComboBox((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_53(Smoke::Stack x) {
        // KComboBox* KComboBox(bool)
        x_KComboBox* xret = new x_KComboBox((bool)x[1].s_bool,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_54(Smoke::Stack x) {
        // void insertURL(const KUrl&)
        this->KComboBox::insertURL(*(const KUrl*)x[1].s_class,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // void insertURL(const QPixmap&, const KUrl&)
        this->KComboBox::insertURL(*(const QPixmap*)x[1].s_class,*(const KUrl*)x[2].s_class,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // KCompletionBox* completionBox()
        KCompletionBox* xret = this->KComboBox::completionBox((bool)true);
        x[0].s_class = (void*)xret;
    }
    void x_57(Smoke::Stack x) {
        // void setCompletedItems(const QStringList&)
        this->KComboBox::setCompletedItems(*(const QStringList*)x[1].s_class,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void setCurrentItem(const QString&)
        this->KComboBox::setCurrentItem(*(const QString*)x[1].s_class,(bool)false,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void setCurrentItem(const QString&, bool)
        this->KComboBox::setCurrentItem(*(const QString*)x[1].s_class,(bool)x[2].s_bool,(int)-1);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void create()
        this->KComboBox::create((unsigned long)0,(bool)true,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void create(unsigned long)
        this->KComboBox::create((unsigned long)x[1].s_ulong,(bool)true,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void create(unsigned long, bool)
        this->KComboBox::create((unsigned long)x[1].s_ulong,(bool)x[2].s_bool,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_63(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KComboBox::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(952, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KComboBox::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(953, (void*)this, x)) return (void*)x[0].s_class;
        return this->KComboBox::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(958, (void*)this, x)) return (int)x[0].s_int;
        return this->KComboBox::qt_metacall(x1, x2, x3);
    }
    virtual void setAutoCompletion(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(973, (void*)this, x)) return;
        this->KComboBox::setAutoCompletion(x1);
    }
    virtual void setContextMenuEnabled(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(975, (void*)this, x)) return;
        this->KComboBox::setContextMenuEnabled(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(981, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KComboBox::eventFilter(x1, x2);
    }
    virtual void setLineEdit(QLineEdit* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(983, (void*)this, x)) return;
        this->KComboBox::setLineEdit(x1);
    }
    virtual void setCompletedText(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(993, (void*)this, x)) return;
        this->KComboBox::setCompletedText(x1);
    }
    virtual void makeCompletion(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(996, (void*)this, x)) return;
        this->KComboBox::makeCompletion(x1);
    }
    virtual void setCompletedText(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(997, (void*)this, x)) return;
        this->KComboBox::setCompletedText(x1, x2);
    }
    virtual void create(unsigned long x1, bool x2, bool x3) {
        Smoke::StackItem x[4];
        x[1].s_ulong = x1;
        x[2].s_bool = x2;
        x[3].s_bool = x3;
        if (this->_binding->callMethod(998, (void*)this, x)) return;
        this->KComboBox::create(x1, x2, x3);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(999, (void*)this, x)) return;
        this->KComboBox::wheelEvent(x1);
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1000, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KComboBox::minimumSizeHint();
    }
    virtual void showPopup() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7352, (void*)this, x)) return;
        this->QComboBox::showPopup();
    }
    virtual void hidePopup() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7353, (void*)this, x)) return;
        this->QComboBox::hidePopup();
    }
    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(7350, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QComboBox::sizeHint();
    }
    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(7362, (void*)this, x)) return;
        this->QComboBox::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7363, (void*)this, x)) return;
        this->QComboBox::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 keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7364, (void*)this, x)) return;
        this->QComboBox::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7365, (void*)this, x)) return;
        this->QComboBox::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7355, (void*)this, x)) return;
        this->QComboBox::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7356, (void*)this, x)) return;
        this->QComboBox::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(7359, (void*)this, x)) return;
        this->QComboBox::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(7358, (void*)this, x)) return;
        this->QComboBox::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(7367, (void*)this, x)) return;
        this->QComboBox::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(7360, (void*)this, x)) return;
        this->QComboBox::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7361, (void*)this, x)) return;
        this->QComboBox::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(7357, (void*)this, x)) return;
        this->QComboBox::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7368, (void*)this, x)) return;
        this->QComboBox::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7369, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QComboBox::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(7354, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QComboBox::event(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7577, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7578, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7579, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7580, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(7581, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7789, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(7794, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(7822, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    virtual void setCompletionObject(KCompletion* x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(1068, (void*)this, x)) return;
        this->KCompletionBase::setCompletionObject(x1, x2);
    }
    virtual void setHandleSignals(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1069, (void*)this, x)) return;
        this->KCompletionBase::setHandleSignals(x1);
    }
    virtual void setCompletionMode(KGlobalSettings::Completion x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(1075, (void*)this, x)) return;
        this->KCompletionBase::setCompletionMode(x1);
    }
    virtual void setCompletedItems(const QStringList& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(994, (void*)this, x)) return;
        this->KComboBox::setCompletedItems(x1, x2);
    }
    ~x_KComboBox() { this->_binding->deleted(38, (void*)this); }
};
void xcall_KComboBox(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KComboBox *xself = (x_KComboBox*)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_KComboBox::x_3(args);	break;
        case 4: x_KComboBox::x_4(args);	break;
        case 5: x_KComboBox::x_5(args);	break;
        case 6: x_KComboBox::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KComboBox::x_8(args);	break;
        case 9: x_KComboBox::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: x_KComboBox::x_50(args);	break;
        case 51: x_KComboBox::x_51(args);	break;
        case 52: x_KComboBox::x_52(args);	break;
        case 53: x_KComboBox::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: x_KComboBox::x_63(args);	break;
        case 64: delete (KComboBox*)xself;	break;
    }
}
class x_KCompletion : public KCompletion, 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<KCompletion*>(this))) {
            const QMetaObject* xret = ((const x_KCompletion*)this)->KCompletion::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KCompletion*)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<KCompletion*>(this))) {
            void* xret = this->KCompletion::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 = KCompletion::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 = KCompletion::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 = KCompletion::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 = KCompletion::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<KCompletion*>(this))) {
            int xret = this->KCompletion::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) {
        // KCompletion* KCompletion()
        x_KCompletion* xret = new x_KCompletion();
        x[0].s_class = (void*)xret;
    }
    explicit x_KCompletion() : KCompletion() {}
    void x_9(Smoke::Stack x) {
        // virtual QString makeCompletion(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            QString xret = this->KCompletion::makeCompletion(*(const QString*)x[1].s_class);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = this->makeCompletion(*(const QString*)x[1].s_class);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_10(Smoke::Stack x) {
        // QStringList substringCompletion(const QString&) const
        QStringList xret = ((const x_KCompletion*)this)->KCompletion::substringCompletion(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_11(Smoke::Stack x) {
        // QString previousMatch()
        QString xret = this->KCompletion::previousMatch();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // QString nextMatch()
        QString xret = this->KCompletion::nextMatch();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // virtual const QString& lastMatch() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            const QString& xret = ((const x_KCompletion*)this)->KCompletion::lastMatch();
            x[0].s_class = (void*)&xret;
        } else {
            const QString& xret = ((const x_KCompletion*)this)->lastMatch();
            x[0].s_class = (void*)&xret;
        }
    }
    void x_14(Smoke::Stack x) {
        // QStringList items() const
        QStringList xret = ((const x_KCompletion*)this)->KCompletion::items();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_15(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_KCompletion*)this)->KCompletion::isEmpty();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // virtual void setCompletionMode(KGlobalSettings::Completion)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            this->KCompletion::setCompletionMode((KGlobalSettings::Completion)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCompletionMode((KGlobalSettings::Completion)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_17(Smoke::Stack x) {
        // KGlobalSettings::Completion completionMode() const
        KGlobalSettings::Completion xret = ((const x_KCompletion*)this)->KCompletion::completionMode();
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // virtual void setOrder(KCompletion::CompOrder)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            this->KCompletion::setOrder((KCompletion::CompOrder)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->setOrder((KCompletion::CompOrder)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // KCompletion::CompOrder order() const
        KCompletion::CompOrder xret = ((const x_KCompletion*)this)->KCompletion::order();
        x[0].s_enum = xret;
    }
    void x_20(Smoke::Stack x) {
        // virtual void setIgnoreCase(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            this->KCompletion::setIgnoreCase((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setIgnoreCase((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // bool ignoreCase() const
        bool xret = ((const x_KCompletion*)this)->KCompletion::ignoreCase();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // QStringList allMatches()
        QStringList xret = this->KCompletion::allMatches();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_23(Smoke::Stack x) {
        // QStringList allMatches(const QString&)
        QStringList xret = this->KCompletion::allMatches(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_24(Smoke::Stack x) {
        // KCompletionMatches allWeightedMatches()
        KCompletionMatches xret = this->KCompletion::allWeightedMatches();
        x[0].s_class = (void*)new KCompletionMatches(xret);
    }
    void x_25(Smoke::Stack x) {
        // KCompletionMatches allWeightedMatches(const QString&)
        KCompletionMatches xret = this->KCompletion::allWeightedMatches(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KCompletionMatches(xret);
    }
    void x_26(Smoke::Stack x) {
        // virtual void setSoundsEnabled(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            this->KCompletion::setSoundsEnabled((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSoundsEnabled((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // bool soundsEnabled() const
        bool xret = ((const x_KCompletion*)this)->KCompletion::soundsEnabled();
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // bool hasMultipleMatches() const
        bool xret = ((const x_KCompletion*)this)->KCompletion::hasMultipleMatches();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // void slotMakeCompletion(const QString&)
        this->KCompletion::slotMakeCompletion(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void slotPreviousMatch()
        this->KCompletion::slotPreviousMatch();
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void slotNextMatch()
        this->KCompletion::slotNextMatch();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void insertItems(const QStringList&)
        this->KCompletion::insertItems(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // virtual void setItems(const QStringList&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            this->KCompletion::setItems(*(const QStringList*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setItems(*(const QStringList*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_34(Smoke::Stack x) {
        // void addItem(const QString&)
        this->KCompletion::addItem(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void addItem(const QString&, uint)
        this->KCompletion::addItem(*(const QString*)x[1].s_class,(uint)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void removeItem(const QString&)
        this->KCompletion::removeItem(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // virtual void clear()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            this->KCompletion::clear();
            (void)x; // noop (for compiler warning)
        } else {
            this->clear();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_38(Smoke::Stack x) {
        // void match(const QString&)
        this->KCompletion::match(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void matches(const QStringList&)
        this->KCompletion::matches(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void multipleMatches()
        this->KCompletion::multipleMatches();
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // virtual void postProcessMatch(QString*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            ((const x_KCompletion*)this)->KCompletion::postProcessMatch((QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KCompletion*)this)->postProcessMatch((QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_42(Smoke::Stack x) {
        // virtual void postProcessMatches(QStringList*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            ((const x_KCompletion*)this)->KCompletion::postProcessMatches((QStringList*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KCompletion*)this)->postProcessMatches((QStringList*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // virtual void postProcessMatches(KCompletionMatches*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletion*>(this))) {
            ((const x_KCompletion*)this)->KCompletion::postProcessMatches((KCompletionMatches*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KCompletion*)this)->postProcessMatches((KCompletionMatches*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_44(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KCompletion::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_45(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KCompletion::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_46(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KCompletion::staticMetaObject;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)KCompletion::Sorted;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)KCompletion::Insertion;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)KCompletion::Weighted;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1016, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KCompletion::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1017, (void*)this, x)) return (void*)x[0].s_class;
        return this->KCompletion::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(1022, (void*)this, x)) return (int)x[0].s_int;
        return this->KCompletion::qt_metacall(x1, x2, x3);
    }
    virtual QString makeCompletion(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1024, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCompletion::makeCompletion(x1);
    }
    virtual const QString& lastMatch() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1028, (void*)this, x)) {
            const QString* xptr = (const QString*)x[0].s_class;
            const QString& xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCompletion::lastMatch();
    }
    virtual void setCompletionMode(KGlobalSettings::Completion x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(1031, (void*)this, x)) return;
        this->KCompletion::setCompletionMode(x1);
    }
    virtual void setOrder(KCompletion::CompOrder x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(1033, (void*)this, x)) return;
        this->KCompletion::setOrder(x1);
    }
    virtual void setIgnoreCase(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1035, (void*)this, x)) return;
        this->KCompletion::setIgnoreCase(x1);
    }
    virtual void setSoundsEnabled(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1041, (void*)this, x)) return;
        this->KCompletion::setSoundsEnabled(x1);
    }
    virtual void setItems(const QStringList& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1048, (void*)this, x)) return;
        this->KCompletion::setItems(x1);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1052, (void*)this, x)) return;
        this->KCompletion::clear();
    }
    virtual void postProcessMatch(QString* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1056, (void*)this, x)) return;
        this->KCompletion::postProcessMatch(x1);
    }
    virtual void postProcessMatches(QStringList* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1057, (void*)this, x)) return;
        this->KCompletion::postProcessMatches(x1);
    }
    virtual void postProcessMatches(KCompletionMatches* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1058, (void*)this, x)) return;
        this->KCompletion::postProcessMatches(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);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 57: //KCompletion::CompOrder
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KCompletion::CompOrder;
                    break;
                case Smoke::EnumDelete:
                    delete (KCompletion::CompOrder*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KCompletion::CompOrder*)xdata = (KCompletion::CompOrder)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KCompletion::CompOrder*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KCompletion() { this->_binding->deleted(39, (void*)this); }
};
void xenum_KCompletion(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KCompletion::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KCompletion(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCompletion *xself = (x_KCompletion*)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_KCompletion::x_3(args);	break;
        case 4: x_KCompletion::x_4(args);	break;
        case 5: x_KCompletion::x_5(args);	break;
        case 6: x_KCompletion::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KCompletion::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: x_KCompletion::x_44(args);	break;
        case 45: x_KCompletion::x_45(args);	break;
        case 46: x_KCompletion::x_46(args);	break;
        case 47: x_KCompletion::x_47(args);	break;
        case 48: x_KCompletion::x_48(args);	break;
        case 49: x_KCompletion::x_49(args);	break;
        case 50: delete (KCompletion*)xself;	break;
    }
}
class x_KCompletionBase : public KCompletionBase, 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) {
        // KCompletionBase* KCompletionBase()
        x_KCompletionBase* xret = new x_KCompletionBase();
        x[0].s_class = (void*)xret;
    }
    explicit x_KCompletionBase() : KCompletionBase() {}
    void x_2(Smoke::Stack x) {
        // KCompletion* completionObject(bool)
        KCompletion* xret = this->KCompletionBase::completionObject((bool)x[1].s_bool);
        x[0].s_class = (void*)xret;
    }
    void x_3(Smoke::Stack x) {
        // virtual void setCompletionObject(KCompletion*, bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBase*>(this))) {
            this->KCompletionBase::setCompletionObject((KCompletion*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCompletionObject((KCompletion*)x[1].s_class,(bool)x[2].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_4(Smoke::Stack x) {
        // virtual void setHandleSignals(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBase*>(this))) {
            this->KCompletionBase::setHandleSignals((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        } else {
            this->setHandleSignals((bool)x[1].s_bool);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_5(Smoke::Stack x) {
        // bool isCompletionObjectAutoDeleted() const
        bool xret = ((const x_KCompletionBase*)this)->KCompletionBase::isCompletionObjectAutoDeleted();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // void setAutoDeleteCompletionObject(bool)
        this->KCompletionBase::setAutoDeleteCompletionObject((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // void setEnableSignals(bool)
        this->KCompletionBase::setEnableSignals((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // bool handleSignals() const
        bool xret = ((const x_KCompletionBase*)this)->KCompletionBase::handleSignals();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool emitSignals() const
        bool xret = ((const x_KCompletionBase*)this)->KCompletionBase::emitSignals();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // virtual void setCompletionMode(KGlobalSettings::Completion)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCompletionBase*>(this))) {
            this->KCompletionBase::setCompletionMode((KGlobalSettings::Completion)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->setCompletionMode((KGlobalSettings::Completion)x[1].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // KGlobalSettings::Completion completionMode() const
        KGlobalSettings::Completion xret = ((const x_KCompletionBase*)this)->KCompletionBase::completionMode();
        x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool setKeyBinding(KCompletionBase::KeyBindingType, const KShortcut&)
        bool xret = this->KCompletionBase::setKeyBinding((KCompletionBase::KeyBindingType)x[1].s_enum,*(const KShortcut*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // KShortcut getKeyBinding(KCompletionBase::KeyBindingType) const
        KShortcut xret = ((const x_KCompletionBase*)this)->KCompletionBase::getKeyBinding((KCompletionBase::KeyBindingType)x[1].s_enum);
        x[0].s_class = (void*)new KShortcut(xret);
    }
    void x_14(Smoke::Stack x) {
        // void useGlobalKeyBindings()
        this->KCompletionBase::useGlobalKeyBindings();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // virtual void setCompletedText(const QString&) = 0
        this->setCompletedText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // virtual void setCompletedItems(const QStringList&, bool) = 0
        this->setCompletedItems(*(const QStringList*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // KCompletion* compObj() const
        KCompletion* xret = ((const x_KCompletionBase*)this)->KCompletionBase::compObj();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // QMap<KCompletionBase::KeyBindingType,KShortcut> getKeyBindings() const
        QMap<KCompletionBase::KeyBindingType,KShortcut> xret = ((const x_KCompletionBase*)this)->KCompletionBase::getKeyBindings();
        x[0].s_class = (void*)new QMap<KCompletionBase::KeyBindingType,KShortcut>(xret);
    }
    void x_19(Smoke::Stack x) {
        // void setDelegate(KCompletionBase*)
        this->KCompletionBase::setDelegate((KCompletionBase*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // KCompletionBase* delegate() const
        KCompletionBase* xret = ((const x_KCompletionBase*)this)->KCompletionBase::delegate();
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // KCompletion* completionObject()
        KCompletion* xret = this->KCompletionBase::completionObject((bool)true);
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // void setCompletionObject(KCompletion*)
        this->KCompletionBase::setCompletionObject((KCompletion*)x[1].s_class,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setCompletedItems(const QStringList&)
        this->setCompletedItems(*(const QStringList*)x[1].s_class,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KCompletionBase::TextCompletion;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KCompletionBase::PrevCompletionMatch;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)KCompletionBase::NextCompletionMatch;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)KCompletionBase::SubstringCompletion;
    }
    virtual void setCompletionObject(KCompletion* x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(1068, (void*)this, x)) return;
        this->KCompletionBase::setCompletionObject(x1, x2);
    }
    virtual void setHandleSignals(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(1069, (void*)this, x)) return;
        this->KCompletionBase::setHandleSignals(x1);
    }
    virtual void setCompletionMode(KGlobalSettings::Completion x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(1075, (void*)this, x)) return;
        this->KCompletionBase::setCompletionMode(x1);
    }
    virtual void setCompletedText(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(1080, (void*)this, x, true /*pure virtual*/);
    }
    virtual void setCompletedItems(const QStringList& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        this->_binding->callMethod(1081, (void*)this, x, true /*pure virtual*/);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 59: //KCompletionBase::KeyBindingType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KCompletionBase::KeyBindingType;
                    break;
                case Smoke::EnumDelete:
                    delete (KCompletionBase::KeyBindingType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KCompletionBase::KeyBindingType*)xdata = (KCompletionBase::KeyBindingType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KCompletionBase::KeyBindingType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KCompletionBase() { this->_binding->deleted(40, (void*)this); }
};
void xenum_KCompletionBase(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KCompletionBase::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KCompletionBase(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCompletionBase *xself = (x_KCompletionBase*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KCompletionBase::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_KCompletionBase::x_24(args);	break;
        case 25: x_KCompletionBase::x_25(args);	break;
        case 26: x_KCompletionBase::x_26(args);	break;
        case 27: x_KCompletionBase::x_27(args);	break;
        case 28: delete (KCompletionBase*)xself;	break;
    }
}

}
