//Auto-generated by /usr/bin/smokegen. DO NOT EDIT.
#include <kio_includes.h>
#include <typeinfo>

#include <smoke.h>
#include <kio_smoke.h>

class __internal_SmokeClass {};

namespace __smokekio {

class x_KSambaShare : public KSambaShare, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_KSambaShare*)this)->KSambaShare::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->KSambaShare::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 = KSambaShare::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 = KSambaShare::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 = KSambaShare::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 = KSambaShare::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        int xret = this->KSambaShare::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) {
        // static KSambaShare* instance()
        KSambaShare* xret = KSambaShare::instance();
        x[0].s_class = (void*)xret;
    }
    void x_9(Smoke::Stack x) {
        // bool isDirectoryShared(const QString&) const
        bool xret = ((const x_KSambaShare*)this)->KSambaShare::isDirectoryShared(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // QStringList sharedDirectories() const
        QStringList xret = ((const x_KSambaShare*)this)->KSambaShare::sharedDirectories();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_11(Smoke::Stack x) {
        // bool isShareNameAvailable(const QString&) const
        bool xret = ((const x_KSambaShare*)this)->KSambaShare::isShareNameAvailable(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // QStringList shareNames() const
        QStringList xret = ((const x_KSambaShare*)this)->KSambaShare::shareNames();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_13(Smoke::Stack x) {
        // KSambaShareData getShareByName(const QString&) const
        KSambaShareData xret = ((const x_KSambaShare*)this)->KSambaShare::getShareByName(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KSambaShareData(xret);
    }
    void x_14(Smoke::Stack x) {
        // QList<KSambaShareData> getSharesByPath(const QString&) const
        QList<KSambaShareData> xret = ((const x_KSambaShare*)this)->KSambaShare::getSharesByPath(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QList<KSambaShareData>(xret);
    }
    void x_15(Smoke::Stack x) {
        // QString smbConfPath() const
        QString xret = ((const x_KSambaShare*)this)->KSambaShare::smbConfPath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // void changed()
        this->KSambaShare::changed();
        (void)x; // noop (for compiler warning)
    }
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KSambaShare::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KSambaShare::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KSambaShare::staticMetaObject;
    }
};
void xcall_KSambaShare(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KSambaShare *xself = (x_KSambaShare*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KSambaShare::x_3(args);	break;
        case 4: x_KSambaShare::x_4(args);	break;
        case 5: x_KSambaShare::x_5(args);	break;
        case 6: x_KSambaShare::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KSambaShare::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: x_KSambaShare::x_17(args);	break;
        case 18: x_KSambaShare::x_18(args);	break;
        case 19: x_KSambaShare::x_19(args);	break;
        case 20: delete (KSambaShare*)xself;	break;
    }
}
class x_KScanDialog : public KScanDialog, 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<KScanDialog*>(this))) {
            const QMetaObject* xret = ((const x_KScanDialog*)this)->KScanDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KScanDialog*)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<KScanDialog*>(this))) {
            void* xret = this->KScanDialog::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 = KScanDialog::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 = KScanDialog::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 = KScanDialog::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 = KScanDialog::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<KScanDialog*>(this))) {
            int xret = this->KScanDialog::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) {
        // static KScanDialog* getScanDialog(QWidget*)
        KScanDialog* xret = KScanDialog::getScanDialog((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_9(Smoke::Stack x) {
        // virtual bool setup()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KScanDialog*>(this))) {
            bool xret = this->KScanDialog::setup();
            x[0].s_bool = xret;
        } else {
            bool xret = this->setup();
            x[0].s_bool = xret;
        }
    }
    static void x_10(Smoke::Stack x) {
        // KScanDialog* KScanDialog(int, int, QWidget*)
        x_KScanDialog* xret = new x_KScanDialog((int)x[1].s_int,(int)x[2].s_int,(QWidget*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KScanDialog(int x1, int x2, QWidget* x3) : KScanDialog(x1, x2, x3) {}
    void x_11(Smoke::Stack x) {
        // int id() const
        int xret = ((const x_KScanDialog*)this)->KScanDialog::id();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // int nextId()
        int xret = this->KScanDialog::nextId();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // void preview(const QImage&, int)
        this->KScanDialog::preview(*(const QImage*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void finalImage(const QImage&, int)
        this->KScanDialog::finalImage(*(const QImage*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void textRecognized(const QString&, int)
        this->KScanDialog::textRecognized(*(const QString*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KScanDialog::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 = KScanDialog::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 KScanDialog* getScanDialog()
        KScanDialog* xret = KScanDialog::getScanDialog((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // KScanDialog* KScanDialog()
        x_KScanDialog* xret = new x_KScanDialog((int)Tabbed,(int)Close|Help,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // KScanDialog* KScanDialog(int)
        x_KScanDialog* xret = new x_KScanDialog((int)x[1].s_int,(int)Close|Help,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // KScanDialog* KScanDialog(int, int)
        x_KScanDialog* xret = new x_KScanDialog((int)x[1].s_int,(int)x[2].s_int,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KScanDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3264, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KScanDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3265, (void*)this, x)) return (void*)x[0].s_class;
        return this->KScanDialog::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(3270, (void*)this, x)) return (int)x[0].s_int;
        return this->KScanDialog::qt_metacall(x1, x2, x3);
    }
    virtual bool setup() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3272, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KScanDialog::setup();
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(676, (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(677, (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(678, (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(679, (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(680, (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(681, (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(682, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(683, (void*)this, x)) return;
        this->KDialog::keyPressEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(684, (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(3783, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3784, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3785, (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(3780, (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(3876, (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(3879, (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(3880, (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(3881, (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(3882, (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(3883, (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(3885, (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(3886, (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(3887, (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(3888, (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(3889, (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(3890, (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(3891, (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(3789, (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(3790, (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(3895, (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(3896, (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(3897, (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(3898, (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(3899, (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(3900, (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(3788, (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(3903, (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(3904, (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(3906, (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(3907, (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(3908, (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(3909, (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(3910, (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(3911, (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(3912, (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(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (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(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3791, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (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(3877, (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(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KScanDialog() { this->_binding->deleted(154, (void*)this); }
};
void xcall_KScanDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KScanDialog *xself = (x_KScanDialog*)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_KScanDialog::x_3(args);	break;
        case 4: x_KScanDialog::x_4(args);	break;
        case 5: x_KScanDialog::x_5(args);	break;
        case 6: x_KScanDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KScanDialog::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KScanDialog::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_KScanDialog::x_16(args);	break;
        case 17: x_KScanDialog::x_17(args);	break;
        case 18: x_KScanDialog::x_18(args);	break;
        case 19: x_KScanDialog::x_19(args);	break;
        case 20: x_KScanDialog::x_20(args);	break;
        case 21: x_KScanDialog::x_21(args);	break;
        case 22: x_KScanDialog::x_22(args);	break;
        case 23: delete (KScanDialog*)xself;	break;
    }
}
class x_KShellCompletion : public KShellCompletion, 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<KShellCompletion*>(this))) {
            const QMetaObject* xret = ((const x_KShellCompletion*)this)->KShellCompletion::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KShellCompletion*)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<KShellCompletion*>(this))) {
            void* xret = this->KShellCompletion::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 = KShellCompletion::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 = KShellCompletion::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 = KShellCompletion::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 = KShellCompletion::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<KShellCompletion*>(this))) {
            int xret = this->KShellCompletion::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) {
        // KShellCompletion* KShellCompletion()
        x_KShellCompletion* xret = new x_KShellCompletion();
        x[0].s_class = (void*)xret;
    }
    explicit x_KShellCompletion() : KShellCompletion() {}
    void x_9(Smoke::Stack x) {
        // QString makeCompletion(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KShellCompletion*>(this))) {
            QString xret = this->KShellCompletion::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) {
        // void postProcessMatch(QString*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KShellCompletion*>(this))) {
            ((const x_KShellCompletion*)this)->KShellCompletion::postProcessMatch((QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KShellCompletion*)this)->postProcessMatch((QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // void postProcessMatches(QStringList*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KShellCompletion*>(this))) {
            ((const x_KShellCompletion*)this)->KShellCompletion::postProcessMatches((QStringList*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KShellCompletion*)this)->postProcessMatches((QStringList*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // void postProcessMatches(KCompletionMatches*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KShellCompletion*>(this))) {
            ((const x_KShellCompletion*)this)->KShellCompletion::postProcessMatches((KCompletionMatches*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_KShellCompletion*)this)->postProcessMatches((KCompletionMatches*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_13(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KShellCompletion::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KShellCompletion::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KShellCompletion::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3287, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KShellCompletion::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3288, (void*)this, x)) return (void*)x[0].s_class;
        return this->KShellCompletion::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(3293, (void*)this, x)) return (int)x[0].s_int;
        return this->KShellCompletion::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(3295, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KShellCompletion::makeCompletion(x1);
    }
    virtual void setDir(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3465, (void*)this, x)) return;
        this->KUrlCompletion::setDir(x1);
    }
    virtual QString dir() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3466, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KUrlCompletion::dir();
    }
    virtual bool isRunning() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3467, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KUrlCompletion::isRunning();
    }
    virtual void stop() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3468, (void*)this, x)) return;
        this->KUrlCompletion::stop();
    }
    virtual KUrlCompletion::Mode mode() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3469, (void*)this, x)) return (KUrlCompletion::Mode)x[0].s_enum;
        return this->KUrlCompletion::mode();
    }
    virtual void setMode(KUrlCompletion::Mode x1) {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3470, (void*)this, x)) return;
        this->KUrlCompletion::setMode(x1);
    }
    virtual bool replaceEnv() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3471, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KUrlCompletion::replaceEnv();
    }
    virtual void setReplaceEnv(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3472, (void*)this, x)) return;
        this->KUrlCompletion::setReplaceEnv(x1);
    }
    virtual bool replaceHome() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3473, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KUrlCompletion::replaceHome();
    }
    virtual void setReplaceHome(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3474, (void*)this, x)) return;
        this->KUrlCompletion::setReplaceHome(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3480, (void*)this, x)) return;
        this->KUrlCompletion::customEvent(x1);
    }
    virtual const QString& lastMatch() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(543, (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(544, (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(545, (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(546, (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(547, (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(548, (void*)this, x)) return;
        this->KCompletion::setItems(x1);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(549, (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(3296, (void*)this, x)) return;
        this->KShellCompletion::postProcessMatch(x1);
    }
    virtual void postProcessMatches(QStringList* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3297, (void*)this, x)) return;
        this->KShellCompletion::postProcessMatches(x1);
    }
    virtual void postProcessMatches(KCompletionMatches* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3298, (void*)this, x)) return;
        this->KShellCompletion::postProcessMatches(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (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(3859, (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(3860, (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(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KShellCompletion() { this->_binding->deleted(157, (void*)this); }
};
void xcall_KShellCompletion(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KShellCompletion *xself = (x_KShellCompletion*)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_KShellCompletion::x_3(args);	break;
        case 4: x_KShellCompletion::x_4(args);	break;
        case 5: x_KShellCompletion::x_5(args);	break;
        case 6: x_KShellCompletion::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KShellCompletion::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: x_KShellCompletion::x_13(args);	break;
        case 14: x_KShellCompletion::x_14(args);	break;
        case 15: x_KShellCompletion::x_15(args);	break;
        case 16: delete (KShellCompletion*)xself;	break;
    }
}
class x_KStatusBarOfflineIndicator : public KStatusBarOfflineIndicator, 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<KStatusBarOfflineIndicator*>(this))) {
            const QMetaObject* xret = ((const x_KStatusBarOfflineIndicator*)this)->KStatusBarOfflineIndicator::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KStatusBarOfflineIndicator*)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<KStatusBarOfflineIndicator*>(this))) {
            void* xret = this->KStatusBarOfflineIndicator::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 = KStatusBarOfflineIndicator::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 = KStatusBarOfflineIndicator::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 = KStatusBarOfflineIndicator::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 = KStatusBarOfflineIndicator::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<KStatusBarOfflineIndicator*>(this))) {
            int xret = this->KStatusBarOfflineIndicator::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) {
        // KStatusBarOfflineIndicator* KStatusBarOfflineIndicator(QWidget*)
        x_KStatusBarOfflineIndicator* xret = new x_KStatusBarOfflineIndicator((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KStatusBarOfflineIndicator(QWidget* x1) : KStatusBarOfflineIndicator(x1) {}
    static void x_9(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KStatusBarOfflineIndicator::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KStatusBarOfflineIndicator::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KStatusBarOfflineIndicator::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3303, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KStatusBarOfflineIndicator::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3304, (void*)this, x)) return (void*)x[0].s_class;
        return this->KStatusBarOfflineIndicator::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(3309, (void*)this, x)) return (int)x[0].s_int;
        return this->KStatusBarOfflineIndicator::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3873, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3874, (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(3875, (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(3876, (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(3879, (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(3880, (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(3881, (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(3882, (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(3883, (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(3884, (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(3885, (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(3886, (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(3887, (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(3888, (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(3889, (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(3890, (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(3891, (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(3892, (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(3893, (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(3894, (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(3895, (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(3896, (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(3897, (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(3898, (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(3899, (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(3900, (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(3901, (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(3902, (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(3903, (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(3904, (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(3906, (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(3907, (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(3908, (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(3909, (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(3910, (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(3911, (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(3912, (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(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (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(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3859, (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(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (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(3877, (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(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KStatusBarOfflineIndicator() { this->_binding->deleted(159, (void*)this); }
};
void xcall_KStatusBarOfflineIndicator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KStatusBarOfflineIndicator *xself = (x_KStatusBarOfflineIndicator*)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_KStatusBarOfflineIndicator::x_3(args);	break;
        case 4: x_KStatusBarOfflineIndicator::x_4(args);	break;
        case 5: x_KStatusBarOfflineIndicator::x_5(args);	break;
        case 6: x_KStatusBarOfflineIndicator::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KStatusBarOfflineIndicator::x_8(args);	break;
        case 9: x_KStatusBarOfflineIndicator::x_9(args);	break;
        case 10: x_KStatusBarOfflineIndicator::x_10(args);	break;
        case 11: x_KStatusBarOfflineIndicator::x_11(args);	break;
        case 12: delete (KStatusBarOfflineIndicator*)xself;	break;
    }
}
class x_KTar : public KTar, 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) {
        // KTar* KTar(const QString&, const QString&)
        x_KTar* xret = new x_KTar(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTar(const QString& x1, const QString& x2) : KTar(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // KTar* KTar(QIODevice*)
        x_KTar* xret = new x_KTar((QIODevice*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTar(QIODevice* x1) : KTar(x1) {}
    void x_3(Smoke::Stack x) {
        // void setOrigFileName(const QByteArray&)
        this->KTar::setOrigFileName(*(const QByteArray*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // virtual bool doWriteSymLink(const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTar*>(this))) {
            bool xret = this->KTar::doWriteSymLink(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(mode_t*)x[5].s_class,*(time_t*)x[6].s_class,*(time_t*)x[7].s_class,*(time_t*)x[8].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->doWriteSymLink(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,*(mode_t*)x[5].s_class,*(time_t*)x[6].s_class,*(time_t*)x[7].s_class,*(time_t*)x[8].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_5(Smoke::Stack x) {
        // virtual bool doWriteDir(const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTar*>(this))) {
            bool xret = this->KTar::doWriteDir(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(mode_t*)x[4].s_class,*(time_t*)x[5].s_class,*(time_t*)x[6].s_class,*(time_t*)x[7].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->doWriteDir(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(mode_t*)x[4].s_class,*(time_t*)x[5].s_class,*(time_t*)x[6].s_class,*(time_t*)x[7].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_6(Smoke::Stack x) {
        // virtual bool doPrepareWriting(const QString&, const QString&, const QString&, long long, mode_t, time_t, time_t, time_t)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTar*>(this))) {
            bool xret = this->KTar::doPrepareWriting(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(long long*)x[4].s_class,*(mode_t*)x[5].s_class,*(time_t*)x[6].s_class,*(time_t*)x[7].s_class,*(time_t*)x[8].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->doPrepareWriting(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(long long*)x[4].s_class,*(mode_t*)x[5].s_class,*(time_t*)x[6].s_class,*(time_t*)x[7].s_class,*(time_t*)x[8].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_7(Smoke::Stack x) {
        // virtual bool doFinishWriting(long long)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTar*>(this))) {
            bool xret = this->KTar::doFinishWriting(*(long long*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->doFinishWriting(*(long long*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_8(Smoke::Stack x) {
        // virtual bool openArchive(QFlags<QIODevice::OpenModeFlag>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTar*>(this))) {
            bool xret = this->KTar::openArchive((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
            x[0].s_bool = xret;
        } else {
            bool xret = this->openArchive((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
            x[0].s_bool = xret;
        }
    }
    void x_9(Smoke::Stack x) {
        // virtual bool closeArchive()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTar*>(this))) {
            bool xret = this->KTar::closeArchive();
            x[0].s_bool = xret;
        } else {
            bool xret = this->closeArchive();
            x[0].s_bool = xret;
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual bool createDevice(QFlags<QIODevice::OpenModeFlag>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTar*>(this))) {
            bool xret = this->KTar::createDevice((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
            x[0].s_bool = xret;
        } else {
            bool xret = this->createDevice((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
            x[0].s_bool = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // virtual void virtual_hook(int, void*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KTar*>(this))) {
            this->KTar::virtual_hook((int)x[1].s_int,(void*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->virtual_hook((int)x[1].s_int,(void*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_12(Smoke::Stack x) {
        // KTar* KTar(const KTar&)
        x_KTar* xret = new x_KTar(*(const KTar*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTar(const KTar& x1) : KTar(x1) {}
    static void x_13(Smoke::Stack x) {
        // KTar* KTar(const QString&)
        x_KTar* xret = new x_KTar(*(const QString*)x[1].s_class,(const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    virtual bool doWriteSymLink(const QString& x1, const QString& x2, const QString& x3, const QString& x4, mode_t x5, time_t x6, time_t x7, time_t x8) {
        Smoke::StackItem x[9];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        x[5].s_class = (void*)new mode_t(x5);
        x[6].s_class = (void*)new time_t(x6);
        x[7].s_class = (void*)new time_t(x7);
        x[8].s_class = (void*)new time_t(x8);
        if (this->_binding->callMethod(3318, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KTar::doWriteSymLink(x1, x2, x3, x4, x5, x6, x7, x8);
    }
    virtual bool doWriteDir(const QString& x1, const QString& x2, const QString& x3, mode_t x4, time_t x5, time_t x6, time_t x7) {
        Smoke::StackItem x[8];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)new mode_t(x4);
        x[5].s_class = (void*)new time_t(x5);
        x[6].s_class = (void*)new time_t(x6);
        x[7].s_class = (void*)new time_t(x7);
        if (this->_binding->callMethod(3319, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KTar::doWriteDir(x1, x2, x3, x4, x5, x6, x7);
    }
    virtual bool doPrepareWriting(const QString& x1, const QString& x2, const QString& x3, long long x4, mode_t x5, time_t x6, time_t x7, time_t x8) {
        Smoke::StackItem x[9];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)new long long(x4);
        x[5].s_class = (void*)new mode_t(x5);
        x[6].s_class = (void*)new time_t(x6);
        x[7].s_class = (void*)new time_t(x7);
        x[8].s_class = (void*)new time_t(x8);
        if (this->_binding->callMethod(3320, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KTar::doPrepareWriting(x1, x2, x3, x4, x5, x6, x7, x8);
    }
    virtual bool doFinishWriting(long long x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new long long(x1);
        if (this->_binding->callMethod(3321, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KTar::doFinishWriting(x1);
    }
    virtual bool openArchive(QFlags<QIODevice::OpenModeFlag> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(3322, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KTar::openArchive(x1);
    }
    virtual bool closeArchive() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3323, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KTar::closeArchive();
    }
    virtual bool createDevice(QFlags<QIODevice::OpenModeFlag> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(3324, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KTar::createDevice(x1);
    }
    virtual void virtual_hook(int x1, void* x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3325, (void*)this, x)) return;
        this->KTar::virtual_hook(x1, x2);
    }
    virtual bool open(QFlags<QIODevice::OpenModeFlag> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(108, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchive::open(x1);
    }
    virtual bool close() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(109, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchive::close();
    }
    virtual bool writeDir(const QString& x1, const QString& x2, const QString& x3, mode_t x4, time_t x5, time_t x6, time_t x7) {
        Smoke::StackItem x[8];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)new mode_t(x4);
        x[5].s_class = (void*)new time_t(x5);
        x[6].s_class = (void*)new time_t(x6);
        x[7].s_class = (void*)new time_t(x7);
        if (this->_binding->callMethod(117, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchive::writeDir(x1, x2, x3, x4, x5, x6, x7);
    }
    virtual bool writeSymLink(const QString& x1, const QString& x2, const QString& x3, const QString& x4, mode_t x5, time_t x6, time_t x7, time_t x8) {
        Smoke::StackItem x[9];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        x[5].s_class = (void*)new mode_t(x5);
        x[6].s_class = (void*)new time_t(x6);
        x[7].s_class = (void*)new time_t(x7);
        x[8].s_class = (void*)new time_t(x8);
        if (this->_binding->callMethod(118, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchive::writeSymLink(x1, x2, x3, x4, x5, x6, x7, x8);
    }
    virtual bool writeFile(const QString& x1, const QString& x2, const QString& x3, const char* x4, long long x5, mode_t x6, time_t x7, time_t x8, time_t x9) {
        Smoke::StackItem x[10];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)x4;
        x[5].s_class = (void*)new long long(x5);
        x[6].s_class = (void*)new mode_t(x6);
        x[7].s_class = (void*)new time_t(x7);
        x[8].s_class = (void*)new time_t(x8);
        x[9].s_class = (void*)new time_t(x9);
        if (this->_binding->callMethod(119, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchive::writeFile(x1, x2, x3, x4, x5, x6, x7, x8, x9);
    }
    virtual bool prepareWriting(const QString& x1, const QString& x2, const QString& x3, long long x4, mode_t x5, time_t x6, time_t x7, time_t x8) {
        Smoke::StackItem x[9];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)new long long(x4);
        x[5].s_class = (void*)new mode_t(x5);
        x[6].s_class = (void*)new time_t(x6);
        x[7].s_class = (void*)new time_t(x7);
        x[8].s_class = (void*)new time_t(x8);
        if (this->_binding->callMethod(120, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchive::prepareWriting(x1, x2, x3, x4, x5, x6, x7, x8);
    }
    virtual bool writeData(const char* x1, long long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)new long long(x2);
        if (this->_binding->callMethod(121, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchive::writeData(x1, x2);
    }
    virtual bool finishWriting(long long x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new long long(x1);
        if (this->_binding->callMethod(122, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchive::finishWriting(x1);
    }
    virtual KArchiveDirectory* rootDir() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(125, (void*)this, x)) return (KArchiveDirectory*)x[0].s_class;
        return this->KArchive::rootDir();
    }
    ~x_KTar() { this->_binding->deleted(160, (void*)this); }
};
void xcall_KTar(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTar *xself = (x_KTar*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KTar::x_1(args);	break;
        case 2: x_KTar::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: x_KTar::x_12(args);	break;
        case 13: x_KTar::x_13(args);	break;
        case 14: delete (KTar*)xself;	break;
    }
}
class x_KUriFilterData : public KUriFilterData {
    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) {
        // KUriFilterData* KUriFilterData()
        x_KUriFilterData* xret = new x_KUriFilterData();
        x[0].s_class = (void*)xret;
    }
    explicit x_KUriFilterData() : KUriFilterData() {}
    static void x_2(Smoke::Stack x) {
        // KUriFilterData* KUriFilterData(const KUrl&)
        x_KUriFilterData* xret = new x_KUriFilterData(*(const KUrl*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KUriFilterData(const KUrl& x1) : KUriFilterData(x1) {}
    static void x_3(Smoke::Stack x) {
        // KUriFilterData* KUriFilterData(const QString&)
        x_KUriFilterData* xret = new x_KUriFilterData(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KUriFilterData(const QString& x1) : KUriFilterData(x1) {}
    static void x_4(Smoke::Stack x) {
        // KUriFilterData* KUriFilterData(const KUriFilterData&)
        x_KUriFilterData* xret = new x_KUriFilterData(*(const KUriFilterData*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KUriFilterData(const KUriFilterData& x1) : KUriFilterData(x1) {}
    void x_5(Smoke::Stack x) {
        // KUrl uri() const
        KUrl xret = ((const x_KUriFilterData*)this)->KUriFilterData::uri();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_6(Smoke::Stack x) {
        // QString errorMsg() const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::errorMsg();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // KUriFilterData::UriTypes uriType() const
        KUriFilterData::UriTypes xret = ((const x_KUriFilterData*)this)->KUriFilterData::uriType();
        x[0].s_enum = xret;
    }
    void x_8(Smoke::Stack x) {
        // QString absolutePath() const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::absolutePath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // bool hasAbsolutePath() const
        bool xret = ((const x_KUriFilterData*)this)->KUriFilterData::hasAbsolutePath();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // QString argsAndOptions() const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::argsAndOptions();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // bool hasArgsAndOptions() const
        bool xret = ((const x_KUriFilterData*)this)->KUriFilterData::hasArgsAndOptions();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool checkForExecutables() const
        bool xret = ((const x_KUriFilterData*)this)->KUriFilterData::checkForExecutables();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // QString typedString() const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::typedString();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // QString searchTerm() const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::searchTerm();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // QChar searchTermSeparator() const
        QChar xret = ((const x_KUriFilterData*)this)->KUriFilterData::searchTermSeparator();
        x[0].s_class = (void*)new QChar(xret);
    }
    void x_16(Smoke::Stack x) {
        // QString searchProvider() const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::searchProvider();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // QStringList preferredSearchProviders() const
        QStringList xret = ((const x_KUriFilterData*)this)->KUriFilterData::preferredSearchProviders();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_18(Smoke::Stack x) {
        // KUriFilterSearchProvider queryForSearchProvider(const QString&) const
        KUriFilterSearchProvider xret = ((const x_KUriFilterData*)this)->KUriFilterData::queryForSearchProvider(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KUriFilterSearchProvider(xret);
    }
    void x_19(Smoke::Stack x) {
        // QString queryForPreferredSearchProvider(const QString&) const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::queryForPreferredSearchProvider(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // QStringList allQueriesForSearchProvider(const QString&) const
        QStringList xret = ((const x_KUriFilterData*)this)->KUriFilterData::allQueriesForSearchProvider(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_21(Smoke::Stack x) {
        // QString iconNameForPreferredSearchProvider(const QString&) const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::iconNameForPreferredSearchProvider(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // QStringList alternateSearchProviders() const
        QStringList xret = ((const x_KUriFilterData*)this)->KUriFilterData::alternateSearchProviders();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_23(Smoke::Stack x) {
        // QString alternateDefaultSearchProvider() const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::alternateDefaultSearchProvider();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // QString defaultUrlScheme() const
        QString xret = ((const x_KUriFilterData*)this)->KUriFilterData::defaultUrlScheme();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_25(Smoke::Stack x) {
        // QFlags<KUriFilterData::SearchFilterOption> searchFilteringOptions() const
        QFlags<KUriFilterData::SearchFilterOption> xret = ((const x_KUriFilterData*)this)->KUriFilterData::searchFilteringOptions();
        x[0].s_uint = (uint)xret;
    }
    void x_26(Smoke::Stack x) {
        // QString iconName()
        QString xret = this->KUriFilterData::iconName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_27(Smoke::Stack x) {
        // void setCheckForExecutables(bool)
        this->KUriFilterData::setCheckForExecutables((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setData(const KUrl&)
        this->KUriFilterData::setData(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setData(const QString&)
        this->KUriFilterData::setData(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // bool setAbsolutePath(const QString&)
        bool xret = this->KUriFilterData::setAbsolutePath(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // void setAlternateSearchProviders(const QStringList&)
        this->KUriFilterData::setAlternateSearchProviders(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void setAlternateDefaultSearchProvider(const QString&)
        this->KUriFilterData::setAlternateDefaultSearchProvider(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setDefaultUrlScheme(const QString&)
        this->KUriFilterData::setDefaultUrlScheme(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setSearchFilteringOptions(QFlags<KUriFilterData::SearchFilterOption>)
        this->KUriFilterData::setSearchFilteringOptions((QFlags<KUriFilterData::SearchFilterOption>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // KUriFilterData& operator=(const KUrl&)
        KUriFilterData& xret = this->KUriFilterData::operator=(*(const KUrl*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_36(Smoke::Stack x) {
        // KUriFilterData& operator=(const QString&)
        KUriFilterData& xret = this->KUriFilterData::operator=(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::NetProtocol;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::LocalFile;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::LocalDir;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::Executable;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::Help;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::Shell;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::Blocked;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::Error;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::Unknown;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::SearchFilterOptionNone;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::RetrieveSearchProvidersOnly;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::RetrievePreferredSearchProvidersOnly;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)KUriFilterData::RetrieveAvailableSearchProvidersOnly;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 232: //KUriFilterData::UriTypes
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KUriFilterData::UriTypes;
                    break;
                case Smoke::EnumDelete:
                    delete (KUriFilterData::UriTypes*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KUriFilterData::UriTypes*)xdata = (KUriFilterData::UriTypes)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KUriFilterData::UriTypes*)xdata;
                    break;
            }
            break;
        case 231: //KUriFilterData::SearchFilterOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KUriFilterData::SearchFilterOption;
                    break;
                case Smoke::EnumDelete:
                    delete (KUriFilterData::SearchFilterOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KUriFilterData::SearchFilterOption*)xdata = (KUriFilterData::SearchFilterOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KUriFilterData::SearchFilterOption*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KUriFilterData() { this->_binding->deleted(163, (void*)this); }
};
void xenum_KUriFilterData(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KUriFilterData::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KUriFilterData(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KUriFilterData *xself = (x_KUriFilterData*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KUriFilterData::x_1(args);	break;
        case 2: x_KUriFilterData::x_2(args);	break;
        case 3: x_KUriFilterData::x_3(args);	break;
        case 4: x_KUriFilterData::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: 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: x_KUriFilterData::x_37(args);	break;
        case 38: x_KUriFilterData::x_38(args);	break;
        case 39: x_KUriFilterData::x_39(args);	break;
        case 40: x_KUriFilterData::x_40(args);	break;
        case 41: x_KUriFilterData::x_41(args);	break;
        case 42: x_KUriFilterData::x_42(args);	break;
        case 43: x_KUriFilterData::x_43(args);	break;
        case 44: x_KUriFilterData::x_44(args);	break;
        case 45: x_KUriFilterData::x_45(args);	break;
        case 46: x_KUriFilterData::x_46(args);	break;
        case 47: x_KUriFilterData::x_47(args);	break;
        case 48: x_KUriFilterData::x_48(args);	break;
        case 49: x_KUriFilterData::x_49(args);	break;
        case 50: delete (KUriFilterData*)xself;	break;
    }
}

}
