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

#include <smoke.h>
#include <qt3support_smoke.h>

class __internal_SmokeClass {};

namespace __smokeqt3support {

class x_Q3EditorFactory : public Q3EditorFactory, 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) {
        // Q3EditorFactory* Q3EditorFactory(QObject*)
        x_Q3EditorFactory* xret = new x_Q3EditorFactory((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3EditorFactory(QObject* x1) : Q3EditorFactory(x1) {}
    void x_2(Smoke::Stack x) {
        // virtual QWidget* createEditor(QWidget*, const QVariant&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3EditorFactory*>(this))) {
            QWidget* xret = this->Q3EditorFactory::createEditor((QWidget*)x[1].s_class,*(const QVariant*)x[2].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QWidget* xret = this->createEditor((QWidget*)x[1].s_class,*(const QVariant*)x[2].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static Q3EditorFactory* defaultFactory()
        Q3EditorFactory* xret = Q3EditorFactory::defaultFactory();
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static void installDefaultFactory(Q3EditorFactory*)
        Q3EditorFactory::installDefaultFactory((Q3EditorFactory*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_5(Smoke::Stack x) {
        // Q3EditorFactory* Q3EditorFactory()
        x_Q3EditorFactory* xret = new x_Q3EditorFactory((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    virtual QWidget* createEditor(QWidget* x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(1243, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->Q3EditorFactory::createEditor(x1, x2);
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5235, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QObject::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5236, (void*)this, x)) return (void*)x[0].s_class;
        return this->QObject::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(5237, (void*)this, x)) return (int)x[0].s_int;
        return this->QObject::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5238, (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(5239, (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(5240, (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(5241, (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(5242, (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(5243, (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(5244, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_Q3EditorFactory() { this->_binding->deleted(40, (void*)this); }
};
void xcall_Q3EditorFactory(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Q3EditorFactory *xself = (x_Q3EditorFactory*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Q3EditorFactory::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Q3EditorFactory::x_3(args);	break;
        case 4: x_Q3EditorFactory::x_4(args);	break;
        case 5: x_Q3EditorFactory::x_5(args);	break;
        case 6: delete (Q3EditorFactory*)xself;	break;
    }
}
class x_Q3FileDialog : public Q3FileDialog, 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<Q3FileDialog*>(this))) {
            const QMetaObject* xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Q3FileDialog*)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<Q3FileDialog*>(this))) {
            void* xret = this->Q3FileDialog::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 = Q3FileDialog::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 = Q3FileDialog::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 = Q3FileDialog::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 = Q3FileDialog::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<Q3FileDialog*>(this))) {
            int xret = this->Q3FileDialog::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) {
        // Q3FileDialog* Q3FileDialog(const QString&, const QString&, QWidget*, const char*, bool)
        x_Q3FileDialog* xret = new x_Q3FileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,(bool)x[5].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3FileDialog(const QString& x1, const QString& x2, QWidget* x3, const char* x4, bool x5) : Q3FileDialog(x1, x2, x3, x4, x5) {}
    static void x_9(Smoke::Stack x) {
        // Q3FileDialog* Q3FileDialog(QWidget*, const char*, bool)
        x_Q3FileDialog* xret = new x_Q3FileDialog((QWidget*)x[1].s_class,(const char*)x[2].s_class,(bool)x[3].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3FileDialog(QWidget* x1, const char* x2, bool x3) : Q3FileDialog(x1, x2, x3) {}
    static void x_10(Smoke::Stack x) {
        // static QString getOpenFileName(const QString&, const QString&, QWidget*, const char*, const QString&, QString*, bool)
        QString xret = Q3FileDialog::getOpenFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)x[6].s_class,(bool)x[7].s_bool);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString getSaveFileName(const QString&, const QString&, QWidget*, const char*, const QString&, QString*, bool)
        QString xret = Q3FileDialog::getSaveFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)x[6].s_class,(bool)x[7].s_bool);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QString getExistingDirectory(const QString&, QWidget*, const char*, const QString&, bool, bool)
        QString xret = Q3FileDialog::getExistingDirectory(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const char*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,(bool)x[6].s_bool);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const QString&, const QString&, QWidget*, const char*, const QString&, QString*, bool)
        QStringList xret = Q3FileDialog::getOpenFileNames(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)x[6].s_class,(bool)x[7].s_bool);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static void setIconProvider(Q3FileIconProvider*)
        Q3FileDialog::setIconProvider((Q3FileIconProvider*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_15(Smoke::Stack x) {
        // static Q3FileIconProvider* iconProvider()
        Q3FileIconProvider* xret = Q3FileDialog::iconProvider();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // QString selectedFile() const
        QString xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::selectedFile();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // QString selectedFilter() const
        QString xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::selectedFilter();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // virtual void setSelectedFilter(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3FileDialog*>(this))) {
            this->Q3FileDialog::setSelectedFilter(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSelectedFilter(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // virtual void setSelectedFilter(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3FileDialog*>(this))) {
            this->Q3FileDialog::setSelectedFilter((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->setSelectedFilter((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // void setSelection(const QString&)
        this->Q3FileDialog::setSelection(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void selectAll(bool)
        this->Q3FileDialog::selectAll((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QStringList selectedFiles() const
        QStringList xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::selectedFiles();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_23(Smoke::Stack x) {
        // QString dirPath() const
        QString xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::dirPath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // void setDir(const QDir&)
        this->Q3FileDialog::setDir(*(const QDir*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // const QDir* dir() const
        const QDir* xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::dir();
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // void setShowHiddenFiles(bool)
        this->Q3FileDialog::setShowHiddenFiles((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // bool showHiddenFiles() const
        bool xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::showHiddenFiles();
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // void rereadDir()
        this->Q3FileDialog::rereadDir();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void resortDir()
        this->Q3FileDialog::resortDir();
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setMode(Q3FileDialog::Mode)
        this->Q3FileDialog::setMode((Q3FileDialog::Mode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // Q3FileDialog::Mode mode() const
        Q3FileDialog::Mode xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::mode();
        x[0].s_enum = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setViewMode(Q3FileDialog::ViewMode)
        this->Q3FileDialog::setViewMode((Q3FileDialog::ViewMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // Q3FileDialog::ViewMode viewMode() const
        Q3FileDialog::ViewMode xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::viewMode();
        x[0].s_enum = xret;
    }
    void x_34(Smoke::Stack x) {
        // void setPreviewMode(Q3FileDialog::PreviewMode)
        this->Q3FileDialog::setPreviewMode((Q3FileDialog::PreviewMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // Q3FileDialog::PreviewMode previewMode() const
        Q3FileDialog::PreviewMode xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::previewMode();
        x[0].s_enum = xret;
    }
    void x_36(Smoke::Stack x) {
        // bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3FileDialog*>(this))) {
            bool xret = this->Q3FileDialog::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_37(Smoke::Stack x) {
        // bool isInfoPreviewEnabled() const
        bool xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::isInfoPreviewEnabled();
        x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
        // bool isContentsPreviewEnabled() const
        bool xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::isContentsPreviewEnabled();
        x[0].s_bool = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setInfoPreviewEnabled(bool)
        this->Q3FileDialog::setInfoPreviewEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void setContentsPreviewEnabled(bool)
        this->Q3FileDialog::setContentsPreviewEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void setInfoPreview(QWidget*, Q3FilePreview*)
        this->Q3FileDialog::setInfoPreview((QWidget*)x[1].s_class,(Q3FilePreview*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void setContentsPreview(QWidget*, Q3FilePreview*)
        this->Q3FileDialog::setContentsPreview((QWidget*)x[1].s_class,(Q3FilePreview*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // Q3Url url() const
        Q3Url xret = ((const x_Q3FileDialog*)this)->Q3FileDialog::url();
        x[0].s_class = (void*)new Q3Url(xret);
    }
    void x_44(Smoke::Stack x) {
        // void addFilter(const QString&)
        this->Q3FileDialog::addFilter(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void done(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3FileDialog*>(this))) {
            this->Q3FileDialog::done((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->done((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // void setDir(const QString&)
        this->Q3FileDialog::setDir(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void setUrl(const Q3UrlOperator&)
        this->Q3FileDialog::setUrl(*(const Q3UrlOperator*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void setFilter(const QString&)
        this->Q3FileDialog::setFilter(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void setFilters(const QString&)
        this->Q3FileDialog::setFilters(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void setFilters(const char**)
        this->Q3FileDialog::setFilters((const char**)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void setFilters(const QStringList&)
        this->Q3FileDialog::setFilters(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3FileDialog*>(this))) {
            this->Q3FileDialog::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_53(Smoke::Stack x) {
        // void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3FileDialog*>(this))) {
            this->Q3FileDialog::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_54(Smoke::Stack x) {
        // void addWidgets(QLabel*, QWidget*, QPushButton*)
        this->Q3FileDialog::addWidgets((QLabel*)x[1].s_class,(QWidget*)x[2].s_class,(QPushButton*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // void addToolButton(QAbstractButton*, bool)
        this->Q3FileDialog::addToolButton((QAbstractButton*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void addLeftWidget(QWidget*)
        this->Q3FileDialog::addLeftWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void addRightWidget(QWidget*)
        this->Q3FileDialog::addRightWidget((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void fileHighlighted(const QString&)
        this->Q3FileDialog::fileHighlighted(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void fileSelected(const QString&)
        this->Q3FileDialog::fileSelected(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void filesSelected(const QStringList&)
        this->Q3FileDialog::filesSelected(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void dirEntered(const QString&)
        this->Q3FileDialog::dirEntered(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void filterSelected(const QString&)
        this->Q3FileDialog::filterSelected(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_63(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Q3FileDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_64(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Q3FileDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_65(Smoke::Stack x) {
        // Q3FileDialog* Q3FileDialog(const QString&)
        x_Q3FileDialog* xret = new x_Q3FileDialog(*(const QString*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const char*)0,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_66(Smoke::Stack x) {
        // Q3FileDialog* Q3FileDialog(const QString&, const QString&)
        x_Q3FileDialog* xret = new x_Q3FileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const char*)0,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_67(Smoke::Stack x) {
        // Q3FileDialog* Q3FileDialog(const QString&, const QString&, QWidget*)
        x_Q3FileDialog* xret = new x_Q3FileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)0,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_68(Smoke::Stack x) {
        // Q3FileDialog* Q3FileDialog(const QString&, const QString&, QWidget*, const char*)
        x_Q3FileDialog* xret = new x_Q3FileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_69(Smoke::Stack x) {
        // Q3FileDialog* Q3FileDialog()
        x_Q3FileDialog* xret = new x_Q3FileDialog((QWidget*)0,(const char*)0,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_70(Smoke::Stack x) {
        // Q3FileDialog* Q3FileDialog(QWidget*)
        x_Q3FileDialog* xret = new x_Q3FileDialog((QWidget*)x[1].s_class,(const char*)0,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_71(Smoke::Stack x) {
        // Q3FileDialog* Q3FileDialog(QWidget*, const char*)
        x_Q3FileDialog* xret = new x_Q3FileDialog((QWidget*)x[1].s_class,(const char*)x[2].s_class,(bool)false);
        x[0].s_class = (void*)xret;
    }
    static void x_72(Smoke::Stack x) {
        // static QString getOpenFileName()
        QString xret = Q3FileDialog::getOpenFileName((const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_73(Smoke::Stack x) {
        // static QString getOpenFileName(const QString&)
        QString xret = Q3FileDialog::getOpenFileName(*(const QString*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_74(Smoke::Stack x) {
        // static QString getOpenFileName(const QString&, const QString&)
        QString xret = Q3FileDialog::getOpenFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_75(Smoke::Stack x) {
        // static QString getOpenFileName(const QString&, const QString&, QWidget*)
        QString xret = Q3FileDialog::getOpenFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_76(Smoke::Stack x) {
        // static QString getOpenFileName(const QString&, const QString&, QWidget*, const char*)
        QString xret = Q3FileDialog::getOpenFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_77(Smoke::Stack x) {
        // static QString getOpenFileName(const QString&, const QString&, QWidget*, const char*, const QString&)
        QString xret = Q3FileDialog::getOpenFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_78(Smoke::Stack x) {
        // static QString getOpenFileName(const QString&, const QString&, QWidget*, const char*, const QString&, QString*)
        QString xret = Q3FileDialog::getOpenFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)x[6].s_class,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_79(Smoke::Stack x) {
        // static QString getSaveFileName()
        QString xret = Q3FileDialog::getSaveFileName((const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_80(Smoke::Stack x) {
        // static QString getSaveFileName(const QString&)
        QString xret = Q3FileDialog::getSaveFileName(*(const QString*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_81(Smoke::Stack x) {
        // static QString getSaveFileName(const QString&, const QString&)
        QString xret = Q3FileDialog::getSaveFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_82(Smoke::Stack x) {
        // static QString getSaveFileName(const QString&, const QString&, QWidget*)
        QString xret = Q3FileDialog::getSaveFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_83(Smoke::Stack x) {
        // static QString getSaveFileName(const QString&, const QString&, QWidget*, const char*)
        QString xret = Q3FileDialog::getSaveFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_84(Smoke::Stack x) {
        // static QString getSaveFileName(const QString&, const QString&, QWidget*, const char*, const QString&)
        QString xret = Q3FileDialog::getSaveFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)0,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_85(Smoke::Stack x) {
        // static QString getSaveFileName(const QString&, const QString&, QWidget*, const char*, const QString&, QString*)
        QString xret = Q3FileDialog::getSaveFileName(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)x[6].s_class,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_86(Smoke::Stack x) {
        // static QString getExistingDirectory()
        QString xret = Q3FileDialog::getExistingDirectory((const QString&)QString(),(QWidget*)0,(const char*)0,(const QString&)QString(),(bool)true,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_87(Smoke::Stack x) {
        // static QString getExistingDirectory(const QString&)
        QString xret = Q3FileDialog::getExistingDirectory(*(const QString*)x[1].s_class,(QWidget*)0,(const char*)0,(const QString&)QString(),(bool)true,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_88(Smoke::Stack x) {
        // static QString getExistingDirectory(const QString&, QWidget*)
        QString xret = Q3FileDialog::getExistingDirectory(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const char*)0,(const QString&)QString(),(bool)true,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_89(Smoke::Stack x) {
        // static QString getExistingDirectory(const QString&, QWidget*, const char*)
        QString xret = Q3FileDialog::getExistingDirectory(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const char*)x[3].s_class,(const QString&)QString(),(bool)true,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_90(Smoke::Stack x) {
        // static QString getExistingDirectory(const QString&, QWidget*, const char*, const QString&)
        QString xret = Q3FileDialog::getExistingDirectory(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const char*)x[3].s_class,*(const QString*)x[4].s_class,(bool)true,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_91(Smoke::Stack x) {
        // static QString getExistingDirectory(const QString&, QWidget*, const char*, const QString&, bool)
        QString xret = Q3FileDialog::getExistingDirectory(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class,(const char*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,(bool)true);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_92(Smoke::Stack x) {
        // static QStringList getOpenFileNames()
        QStringList xret = Q3FileDialog::getOpenFileNames((const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_93(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const QString&)
        QStringList xret = Q3FileDialog::getOpenFileNames(*(const QString*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_94(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const QString&, const QString&)
        QStringList xret = Q3FileDialog::getOpenFileNames(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_95(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const QString&, const QString&, QWidget*)
        QStringList xret = Q3FileDialog::getOpenFileNames(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)0,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_96(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const QString&, const QString&, QWidget*, const char*)
        QStringList xret = Q3FileDialog::getOpenFileNames(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,(const QString&)QString(),(QString*)0,(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_97(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const QString&, const QString&, QWidget*, const char*, const QString&)
        QStringList xret = Q3FileDialog::getOpenFileNames(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)0,(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_98(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const QString&, const QString&, QWidget*, const char*, const QString&, QString*)
        QStringList xret = Q3FileDialog::getOpenFileNames(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const char*)x[4].s_class,*(const QString*)x[5].s_class,(QString*)x[6].s_class,(bool)true);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_99(Smoke::Stack x) {
        // void addToolButton(QAbstractButton*)
        this->Q3FileDialog::addToolButton((QAbstractButton*)x[1].s_class,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    static void x_100(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Q3FileDialog::staticMetaObject;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::AnyFile;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::ExistingFile;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::Directory;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::ExistingFiles;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::DirectoryOnly;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::Detail;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::List;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::NoPreview;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::Contents;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)Q3FileDialog::Info;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1248, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Q3FileDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1249, (void*)this, x)) return (void*)x[0].s_class;
        return this->Q3FileDialog::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(1254, (void*)this, x)) return (int)x[0].s_int;
        return this->Q3FileDialog::qt_metacall(x1, x2, x3);
    }
    virtual void setSelectedFilter(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1265, (void*)this, x)) return;
        this->Q3FileDialog::setSelectedFilter(x1);
    }
    virtual void setSelectedFilter(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1266, (void*)this, x)) return;
        this->Q3FileDialog::setSelectedFilter(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(1292, (void*)this, x)) return;
        this->Q3FileDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5130, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5131, (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(5126, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5127, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5128, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDialog::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(5256, (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(5259, (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(5260, (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(5261, (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(5262, (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(5263, (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(1300, (void*)this, x)) return;
        this->Q3FileDialog::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5265, (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(5266, (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(5267, (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(5268, (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(5269, (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(5270, (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(5271, (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(1299, (void*)this, x)) return;
        this->Q3FileDialog::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5133, (void*)this, x)) return;
        this->QDialog::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5136, (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(5275, (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(5276, (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(5277, (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(5278, (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(5279, (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(5280, (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(5134, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5282, (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(5283, (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(5284, (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(5286, (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(5287, (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(5288, (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(5289, (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(5290, (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(5291, (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(5292, (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(5293, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5294, (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(5258, (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(1283, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Q3FileDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5240, (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(5241, (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(5242, (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(5243, (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(5244, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5252, (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(5257, (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(5285, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 59: //Q3FileDialog::Mode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Q3FileDialog::Mode;
                    break;
                case Smoke::EnumDelete:
                    delete (Q3FileDialog::Mode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Q3FileDialog::Mode*)xdata = (Q3FileDialog::Mode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Q3FileDialog::Mode*)xdata;
                    break;
            }
            break;
        case 62: //Q3FileDialog::ViewMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Q3FileDialog::ViewMode;
                    break;
                case Smoke::EnumDelete:
                    delete (Q3FileDialog::ViewMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Q3FileDialog::ViewMode*)xdata = (Q3FileDialog::ViewMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Q3FileDialog::ViewMode*)xdata;
                    break;
            }
            break;
        case 61: //Q3FileDialog::PreviewMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Q3FileDialog::PreviewMode;
                    break;
                case Smoke::EnumDelete:
                    delete (Q3FileDialog::PreviewMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Q3FileDialog::PreviewMode*)xdata = (Q3FileDialog::PreviewMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Q3FileDialog::PreviewMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Q3FileDialog() { this->_binding->deleted(41, (void*)this); }
};
void xenum_Q3FileDialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Q3FileDialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Q3FileDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Q3FileDialog *xself = (x_Q3FileDialog*)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_Q3FileDialog::x_3(args);	break;
        case 4: x_Q3FileDialog::x_4(args);	break;
        case 5: x_Q3FileDialog::x_5(args);	break;
        case 6: x_Q3FileDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Q3FileDialog::x_8(args);	break;
        case 9: x_Q3FileDialog::x_9(args);	break;
        case 10: x_Q3FileDialog::x_10(args);	break;
        case 11: x_Q3FileDialog::x_11(args);	break;
        case 12: x_Q3FileDialog::x_12(args);	break;
        case 13: x_Q3FileDialog::x_13(args);	break;
        case 14: x_Q3FileDialog::x_14(args);	break;
        case 15: x_Q3FileDialog::x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: x_Q3FileDialog::x_63(args);	break;
        case 64: x_Q3FileDialog::x_64(args);	break;
        case 65: x_Q3FileDialog::x_65(args);	break;
        case 66: x_Q3FileDialog::x_66(args);	break;
        case 67: x_Q3FileDialog::x_67(args);	break;
        case 68: x_Q3FileDialog::x_68(args);	break;
        case 69: x_Q3FileDialog::x_69(args);	break;
        case 70: x_Q3FileDialog::x_70(args);	break;
        case 71: x_Q3FileDialog::x_71(args);	break;
        case 72: x_Q3FileDialog::x_72(args);	break;
        case 73: x_Q3FileDialog::x_73(args);	break;
        case 74: x_Q3FileDialog::x_74(args);	break;
        case 75: x_Q3FileDialog::x_75(args);	break;
        case 76: x_Q3FileDialog::x_76(args);	break;
        case 77: x_Q3FileDialog::x_77(args);	break;
        case 78: x_Q3FileDialog::x_78(args);	break;
        case 79: x_Q3FileDialog::x_79(args);	break;
        case 80: x_Q3FileDialog::x_80(args);	break;
        case 81: x_Q3FileDialog::x_81(args);	break;
        case 82: x_Q3FileDialog::x_82(args);	break;
        case 83: x_Q3FileDialog::x_83(args);	break;
        case 84: x_Q3FileDialog::x_84(args);	break;
        case 85: x_Q3FileDialog::x_85(args);	break;
        case 86: x_Q3FileDialog::x_86(args);	break;
        case 87: x_Q3FileDialog::x_87(args);	break;
        case 88: x_Q3FileDialog::x_88(args);	break;
        case 89: x_Q3FileDialog::x_89(args);	break;
        case 90: x_Q3FileDialog::x_90(args);	break;
        case 91: x_Q3FileDialog::x_91(args);	break;
        case 92: x_Q3FileDialog::x_92(args);	break;
        case 93: x_Q3FileDialog::x_93(args);	break;
        case 94: x_Q3FileDialog::x_94(args);	break;
        case 95: x_Q3FileDialog::x_95(args);	break;
        case 96: x_Q3FileDialog::x_96(args);	break;
        case 97: x_Q3FileDialog::x_97(args);	break;
        case 98: x_Q3FileDialog::x_98(args);	break;
        case 99: xself->x_99(args);	break;
        case 100: x_Q3FileDialog::x_100(args);	break;
        case 101: x_Q3FileDialog::x_101(args);	break;
        case 102: x_Q3FileDialog::x_102(args);	break;
        case 103: x_Q3FileDialog::x_103(args);	break;
        case 104: x_Q3FileDialog::x_104(args);	break;
        case 105: x_Q3FileDialog::x_105(args);	break;
        case 106: x_Q3FileDialog::x_106(args);	break;
        case 107: x_Q3FileDialog::x_107(args);	break;
        case 108: x_Q3FileDialog::x_108(args);	break;
        case 109: x_Q3FileDialog::x_109(args);	break;
        case 110: x_Q3FileDialog::x_110(args);	break;
        case 111: delete (Q3FileDialog*)xself;	break;
    }
}
class x_Q3FileIconProvider : public Q3FileIconProvider, 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<Q3FileIconProvider*>(this))) {
            const QMetaObject* xret = ((const x_Q3FileIconProvider*)this)->Q3FileIconProvider::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Q3FileIconProvider*)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<Q3FileIconProvider*>(this))) {
            void* xret = this->Q3FileIconProvider::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 = Q3FileIconProvider::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 = Q3FileIconProvider::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 = Q3FileIconProvider::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 = Q3FileIconProvider::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<Q3FileIconProvider*>(this))) {
            int xret = this->Q3FileIconProvider::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) {
        // Q3FileIconProvider* Q3FileIconProvider(QObject*, const char*)
        x_Q3FileIconProvider* xret = new x_Q3FileIconProvider((QObject*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3FileIconProvider(QObject* x1, const char* x2) : Q3FileIconProvider(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // virtual const QPixmap* pixmap(const QFileInfo&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3FileIconProvider*>(this))) {
            const QPixmap* xret = this->Q3FileIconProvider::pixmap(*(const QFileInfo*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            const QPixmap* xret = this->pixmap(*(const QFileInfo*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Q3FileIconProvider::tr((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 QString trUtf8(const char*)
        QString xret = Q3FileIconProvider::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // Q3FileIconProvider* Q3FileIconProvider()
        x_Q3FileIconProvider* xret = new x_Q3FileIconProvider((QObject*)0,(const char*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // Q3FileIconProvider* Q3FileIconProvider(QObject*)
        x_Q3FileIconProvider* xret = new x_Q3FileIconProvider((QObject*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Q3FileIconProvider::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1359, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Q3FileIconProvider::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1360, (void*)this, x)) return (void*)x[0].s_class;
        return this->Q3FileIconProvider::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(1365, (void*)this, x)) return (int)x[0].s_int;
        return this->Q3FileIconProvider::qt_metacall(x1, x2, x3);
    }
    virtual const QPixmap* pixmap(const QFileInfo& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1367, (void*)this, x)) return (const QPixmap*)x[0].s_class;
        return this->Q3FileIconProvider::pixmap(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5238, (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(5239, (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(5240, (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(5241, (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(5242, (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(5243, (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(5244, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_Q3FileIconProvider() { this->_binding->deleted(42, (void*)this); }
};
void xcall_Q3FileIconProvider(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Q3FileIconProvider *xself = (x_Q3FileIconProvider*)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_Q3FileIconProvider::x_3(args);	break;
        case 4: x_Q3FileIconProvider::x_4(args);	break;
        case 5: x_Q3FileIconProvider::x_5(args);	break;
        case 6: x_Q3FileIconProvider::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Q3FileIconProvider::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_Q3FileIconProvider::x_10(args);	break;
        case 11: x_Q3FileIconProvider::x_11(args);	break;
        case 12: x_Q3FileIconProvider::x_12(args);	break;
        case 13: x_Q3FileIconProvider::x_13(args);	break;
        case 14: x_Q3FileIconProvider::x_14(args);	break;
        case 15: delete (Q3FileIconProvider*)xself;	break;
    }
}
class x_Q3FilePreview : public Q3FilePreview, 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) {
        // Q3FilePreview* Q3FilePreview()
        x_Q3FilePreview* xret = new x_Q3FilePreview();
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3FilePreview() : Q3FilePreview() {}
    void x_2(Smoke::Stack x) {
        // virtual void previewUrl(const Q3Url&) = 0
        this->previewUrl(*(const Q3Url*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // Q3FilePreview* Q3FilePreview(const Q3FilePreview&)
        x_Q3FilePreview* xret = new x_Q3FilePreview(*(const Q3FilePreview*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3FilePreview(const Q3FilePreview& x1) : Q3FilePreview(x1) {}
    virtual void previewUrl(const Q3Url& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(1375, (void*)this, x, true /*pure virtual*/);
    }
    ~x_Q3FilePreview() { this->_binding->deleted(43, (void*)this); }
};
void xcall_Q3FilePreview(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Q3FilePreview *xself = (x_Q3FilePreview*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Q3FilePreview::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Q3FilePreview::x_3(args);	break;
        case 4: delete (Q3FilePreview*)xself;	break;
    }
}
class x_Q3Frame : public Q3Frame, 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<Q3Frame*>(this))) {
            const QMetaObject* xret = ((const x_Q3Frame*)this)->Q3Frame::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Q3Frame*)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<Q3Frame*>(this))) {
            void* xret = this->Q3Frame::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 = Q3Frame::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 = Q3Frame::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 = Q3Frame::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 = Q3Frame::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<Q3Frame*>(this))) {
            int xret = this->Q3Frame::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) {
        // Q3Frame* Q3Frame(QWidget*, const char*, QFlags<Qt::WindowType>)
        x_Q3Frame* xret = new x_Q3Frame((QWidget*)x[1].s_class,(const char*)x[2].s_class,(QFlags<Qt::WindowType>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3Frame(QWidget* x1, const char* x2, QFlags<Qt::WindowType> x3) : Q3Frame(x1, x2, x3) {}
    void x_9(Smoke::Stack x) {
        // bool lineShapesOk() const
        bool xret = ((const x_Q3Frame*)this)->Q3Frame::lineShapesOk();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // int margin() const
        int xret = ((const x_Q3Frame*)this)->Q3Frame::margin();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setMargin(int)
        this->Q3Frame::setMargin((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QRect contentsRect() const
        QRect xret = ((const x_Q3Frame*)this)->Q3Frame::contentsRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_13(Smoke::Stack x) {
        // int frameWidth() const
        int xret = ((const x_Q3Frame*)this)->Q3Frame::frameWidth();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Frame*>(this))) {
            this->Q3Frame::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_15(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Frame*>(this))) {
            this->Q3Frame::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_16(Smoke::Stack x) {
        // virtual void frameChanged()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Frame*>(this))) {
            this->Q3Frame::frameChanged();
            (void)x; // noop (for compiler warning)
        } else {
            this->frameChanged();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_17(Smoke::Stack x) {
        // virtual void drawFrame(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Frame*>(this))) {
            this->Q3Frame::drawFrame((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->drawFrame((QPainter*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_18(Smoke::Stack x) {
        // virtual void drawContents(QPainter*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Frame*>(this))) {
            this->Q3Frame::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_19(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Q3Frame::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Q3Frame::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // Q3Frame* Q3Frame(QWidget*)
        x_Q3Frame* xret = new x_Q3Frame((QWidget*)x[1].s_class,(const char*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // Q3Frame* Q3Frame(QWidget*, const char*)
        x_Q3Frame* xret = new x_Q3Frame((QWidget*)x[1].s_class,(const char*)x[2].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Q3Frame::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1378, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Q3Frame::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1379, (void*)this, x)) return (void*)x[0].s_class;
        return this->Q3Frame::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(1384, (void*)this, x)) return (int)x[0].s_int;
        return this->Q3Frame::qt_metacall(x1, x2, x3);
    }
    virtual void frameChanged() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1393, (void*)this, x)) return;
        this->Q3Frame::frameChanged();
    }
    virtual void drawFrame(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1394, (void*)this, x)) return;
        this->Q3Frame::drawFrame(x1);
    }
    virtual void drawContents(QPainter* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1395, (void*)this, x)) return;
        this->Q3Frame::drawContents(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(5253, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5138, (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(5255, (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(5256, (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(5259, (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(5260, (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(5261, (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(5262, (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(5263, (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(5264, (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(5265, (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(5266, (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(5267, (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(5268, (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(5269, (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(1391, (void*)this, x)) return;
        this->Q3Frame::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5271, (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(1392, (void*)this, x)) return;
        this->Q3Frame::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5273, (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(5274, (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(5275, (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(5276, (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(5277, (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(5278, (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(5279, (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(5280, (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(5281, (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(5282, (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(5283, (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(5140, (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(5286, (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(5287, (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(5288, (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(5289, (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(5290, (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(5291, (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(5292, (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(5293, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5294, (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(5139, (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(5239, (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(5240, (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(5241, (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(5242, (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(5243, (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(5244, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(5252, (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(5257, (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(5285, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_Q3Frame() { this->_binding->deleted(44, (void*)this); }
};
void xcall_Q3Frame(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Q3Frame *xself = (x_Q3Frame*)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_Q3Frame::x_3(args);	break;
        case 4: x_Q3Frame::x_4(args);	break;
        case 5: x_Q3Frame::x_5(args);	break;
        case 6: x_Q3Frame::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Q3Frame::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: x_Q3Frame::x_19(args);	break;
        case 20: x_Q3Frame::x_20(args);	break;
        case 21: x_Q3Frame::x_21(args);	break;
        case 22: x_Q3Frame::x_22(args);	break;
        case 23: x_Q3Frame::x_23(args);	break;
        case 24: delete (Q3Frame*)xself;	break;
    }
}
class x_Q3Ftp : public Q3Ftp, 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<Q3Ftp*>(this))) {
            const QMetaObject* xret = ((const x_Q3Ftp*)this)->Q3Ftp::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Q3Ftp*)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<Q3Ftp*>(this))) {
            void* xret = this->Q3Ftp::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 = Q3Ftp::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 = Q3Ftp::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 = Q3Ftp::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 = Q3Ftp::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<Q3Ftp*>(this))) {
            int xret = this->Q3Ftp::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) {
        // Q3Ftp* Q3Ftp()
        x_Q3Ftp* xret = new x_Q3Ftp();
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3Ftp() : Q3Ftp() {}
    static void x_9(Smoke::Stack x) {
        // Q3Ftp* Q3Ftp(QObject*, const char*)
        x_Q3Ftp* xret = new x_Q3Ftp((QObject*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Q3Ftp(QObject* x1, const char* x2) : Q3Ftp(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // int supportedOperations() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Ftp*>(this))) {
            int xret = ((const x_Q3Ftp*)this)->Q3Ftp::supportedOperations();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_Q3Ftp*)this)->supportedOperations();
            x[0].s_int = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // int connectToHost(const QString&, Q_UINT16)
        int xret = this->Q3Ftp::connectToHost(*(const QString*)x[1].s_class,*(Q_UINT16*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // int login(const QString&, const QString&)
        int xret = this->Q3Ftp::login(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // int close()
        int xret = this->Q3Ftp::close();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // int list(const QString&)
        int xret = this->Q3Ftp::list(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // int cd(const QString&)
        int xret = this->Q3Ftp::cd(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // int get(const QString&, QIODevice*)
        int xret = this->Q3Ftp::get(*(const QString*)x[1].s_class,(QIODevice*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // int put(const QByteArray&, const QString&)
        int xret = this->Q3Ftp::put(*(const QByteArray*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // int put(QIODevice*, const QString&)
        int xret = this->Q3Ftp::put((QIODevice*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // int remove(const QString&)
        int xret = this->Q3Ftp::remove(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_20(Smoke::Stack x) {
        // int mkdir(const QString&)
        int xret = this->Q3Ftp::mkdir(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // int rmdir(const QString&)
        int xret = this->Q3Ftp::rmdir(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_22(Smoke::Stack x) {
        // int rename(const QString&, const QString&)
        int xret = this->Q3Ftp::rename(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // int rawCommand(const QString&)
        int xret = this->Q3Ftp::rawCommand(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_24(Smoke::Stack x) {
        // Q_ULONG bytesAvailable() const
        Q_ULONG xret = ((const x_Q3Ftp*)this)->Q3Ftp::bytesAvailable();
        x[0].s_class = (void*)new Q_ULONG(xret);
    }
    void x_25(Smoke::Stack x) {
        // Q_LONG readBlock(char*, Q_ULONG)
        Q_LONG xret = this->Q3Ftp::readBlock((char*)x[1].s_class,*(Q_ULONG*)x[2].s_class);
        x[0].s_class = (void*)new Q_LONG(xret);
    }
    void x_26(Smoke::Stack x) {
        // QByteArray readAll()
        QByteArray xret = this->Q3Ftp::readAll();
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_27(Smoke::Stack x) {
        // int currentId() const
        int xret = ((const x_Q3Ftp*)this)->Q3Ftp::currentId();
        x[0].s_int = xret;
    }
    void x_28(Smoke::Stack x) {
        // QIODevice* currentDevice() const
        QIODevice* xret = ((const x_Q3Ftp*)this)->Q3Ftp::currentDevice();
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // Q3Ftp::Command currentCommand() const
        Q3Ftp::Command xret = ((const x_Q3Ftp*)this)->Q3Ftp::currentCommand();
        x[0].s_enum = xret;
    }
    void x_30(Smoke::Stack x) {
        // bool hasPendingCommands() const
        bool xret = ((const x_Q3Ftp*)this)->Q3Ftp::hasPendingCommands();
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // void clearPendingCommands()
        this->Q3Ftp::clearPendingCommands();
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // Q3Ftp::State state() const
        Q3Ftp::State xret = ((const x_Q3Ftp*)this)->Q3Ftp::state();
        x[0].s_enum = xret;
    }
    void x_33(Smoke::Stack x) {
        // Q3Ftp::Error error() const
        Q3Ftp::Error xret = ((const x_Q3Ftp*)this)->Q3Ftp::error();
        x[0].s_enum = xret;
    }
    void x_34(Smoke::Stack x) {
        // QString errorString() const
        QString xret = ((const x_Q3Ftp*)this)->Q3Ftp::errorString();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_35(Smoke::Stack x) {
        // void abort()
        this->Q3Ftp::abort();
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void stateChanged(int)
        this->Q3Ftp::stateChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void listInfo(const QUrlInfo&)
        this->Q3Ftp::listInfo(*(const QUrlInfo*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void readyRead()
        this->Q3Ftp::readyRead();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void dataTransferProgress(int, int)
        this->Q3Ftp::dataTransferProgress((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void rawCommandReply(int, const QString&)
        this->Q3Ftp::rawCommandReply((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void commandStarted(int)
        this->Q3Ftp::commandStarted((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void commandFinished(int, bool)
        this->Q3Ftp::commandFinished((int)x[1].s_int,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void done(bool)
        this->Q3Ftp::done((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void parseDir(const QString&, QUrlInfo&)
        this->Q3Ftp::parseDir(*(const QString*)x[1].s_class,*(QUrlInfo*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void operationListChildren(Q3NetworkOperation*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Ftp*>(this))) {
            this->Q3Ftp::operationListChildren((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->operationListChildren((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // void operationMkDir(Q3NetworkOperation*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Ftp*>(this))) {
            this->Q3Ftp::operationMkDir((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->operationMkDir((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // void operationRemove(Q3NetworkOperation*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Ftp*>(this))) {
            this->Q3Ftp::operationRemove((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->operationRemove((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // void operationRename(Q3NetworkOperation*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Ftp*>(this))) {
            this->Q3Ftp::operationRename((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->operationRename((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // void operationGet(Q3NetworkOperation*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Ftp*>(this))) {
            this->Q3Ftp::operationGet((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->operationGet((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // void operationPut(Q3NetworkOperation*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Q3Ftp*>(this))) {
            this->Q3Ftp::operationPut((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->operationPut((Q3NetworkOperation*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_51(Smoke::Stack x) {
        // void hostFound()
        this->Q3Ftp::hostFound();
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void connected()
        this->Q3Ftp::connected();
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // void closed()
        this->Q3Ftp::closed();
        (void)x; // noop (for compiler warning)
    }
    void x_54(Smoke::Stack x) {
        // void dataHostFound()
        this->Q3Ftp::dataHostFound();
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // void dataConnected()
        this->Q3Ftp::dataConnected();
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void dataClosed()
        this->Q3Ftp::dataClosed();
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void dataReadyRead()
        this->Q3Ftp::dataReadyRead();
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void dataBytesWritten(int)
        this->Q3Ftp::dataBytesWritten((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void error(int)
        this->Q3Ftp::error((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_60(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Q3Ftp::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_61(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Q3Ftp::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_62(Smoke::Stack x) {
        // Q3Ftp* Q3Ftp(QObject*)
        x_Q3Ftp* xret = new x_Q3Ftp((QObject*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)xret;
    }
    void x_63(Smoke::Stack x) {
        // int connectToHost(const QString&)
        int xret = this->Q3Ftp::connectToHost(*(const QString*)x[1].s_class,(Q_UINT16)21);
        x[0].s_int = xret;
    }
    void x_64(Smoke::Stack x) {
        // int login()
        int xret = this->Q3Ftp::login((const QString&)QString(),(const QString&)QString());
        x[0].s_int = xret;
    }
    void x_65(Smoke::Stack x) {
        // int login(const QString&)
        int xret = this->Q3Ftp::login(*(const QString*)x[1].s_class,(const QString&)QString());
        x[0].s_int = xret;
    }
    void x_66(Smoke::Stack x) {
        // int list()
        int xret = this->Q3Ftp::list((const QString&)QString());
        x[0].s_int = xret;
    }
    void x_67(Smoke::Stack x) {
        // int get(const QString&)
        int xret = this->Q3Ftp::get(*(const QString*)x[1].s_class,(QIODevice*)0);
        x[0].s_int = xret;
    }
    static void x_68(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Q3Ftp::staticMetaObject;
    }
    void x_69(Smoke::Stack x) {
        // Q3Socket* commandSocket
        x[0].s_class = (void*)this->Q3Ftp::commandSocket;
    }
    void x_70(Smoke::Stack x) {
        // Q3Socket* commandSocket=
        this->Q3Ftp::commandSocket = (Q3Socket*)x[1].s_class;
    }
    void x_71(Smoke::Stack x) {
        // Q3Socket* dataSocket
        x[0].s_class = (void*)this->Q3Ftp::dataSocket;
    }
    void x_72(Smoke::Stack x) {
        // Q3Socket* dataSocket=
        this->Q3Ftp::dataSocket = (Q3Socket*)x[1].s_class;
    }
    void x_73(Smoke::Stack x) {
        // bool connectionReady
        x[0].s_bool = this->Q3Ftp::connectionReady;
    }
    void x_74(Smoke::Stack x) {
        // bool connectionReady=
        this->Q3Ftp::connectionReady = (bool)x[1].s_bool;
    }
    void x_75(Smoke::Stack x) {
        // bool passiveMode
        x[0].s_bool = this->Q3Ftp::passiveMode;
    }
    void x_76(Smoke::Stack x) {
        // bool passiveMode=
        this->Q3Ftp::passiveMode = (bool)x[1].s_bool;
    }
    void x_77(Smoke::Stack x) {
        // int getTotalSize
        x[0].s_int = this->Q3Ftp::getTotalSize;
    }
    void x_78(Smoke::Stack x) {
        // int getTotalSize=
        this->Q3Ftp::getTotalSize = (int)x[1].s_int;
    }
    void x_79(Smoke::Stack x) {
        // int getDoneSize
        x[0].s_int = this->Q3Ftp::getDoneSize;
    }
    void x_80(Smoke::Stack x) {
        // int getDoneSize=
        this->Q3Ftp::getDoneSize = (int)x[1].s_int;
    }
    void x_81(Smoke::Stack x) {
        // bool startGetOnFail
        x[0].s_bool = this->Q3Ftp::startGetOnFail;
    }
    void x_82(Smoke::Stack x) {
        // bool startGetOnFail=
        this->Q3Ftp::startGetOnFail = (bool)x[1].s_bool;
    }
    void x_83(Smoke::Stack x) {
        // int putToWrite
        x[0].s_int = this->Q3Ftp::putToWrite;
    }
    void x_84(Smoke::Stack x) {
        // int putToWrite=
        this->Q3Ftp::putToWrite = (int)x[1].s_int;
    }
    void x_85(Smoke::Stack x) {
        // int putWritten
        x[0].s_int = this->Q3Ftp::putWritten;
    }
    void x_86(Smoke::Stack x) {
        // int putWritten=
        this->Q3Ftp::putWritten = (int)x[1].s_int;
    }
    void x_87(Smoke::Stack x) {
        // bool errorInListChildren
        x[0].s_bool = this->Q3Ftp::errorInListChildren;
    }
    void x_88(Smoke::Stack x) {
        // bool errorInListChildren=
        this->Q3Ftp::errorInListChildren = (bool)x[1].s_bool;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Unconnected;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::HostLookup;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Connecting;
    }
    static void x_92(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Connected;
    }
    static void x_93(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::LoggedIn;
    }
    static void x_94(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Closing;
    }
    static void x_95(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::NoError;
    }
    static void x_96(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::UnknownError;
    }
    static void x_97(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::HostNotFound;
    }
    static void x_98(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::ConnectionRefused;
    }
    static void x_99(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::NotConnected;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::None;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::ConnectToHost;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Login;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Close;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::List;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Cd;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Get;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Put;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Remove;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Mkdir;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Rmdir;
    }
    static void x_111(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::Rename;
    }
    static void x_112(Smoke::Stack x) {
        x[0].s_enum = (long)Q3Ftp::RawCommand;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1402, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Q3Ftp::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1403, (void*)this, x)) return (void*)x[0].s_class;
        return this->Q3Ftp::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(1408, (void*)this, x)) return (int)x[0].s_int;
        return this->Q3Ftp::qt_metacall(x1, x2, x3);
    }
    virtual void setUrl(Q3UrlOperator* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2935, (void*)this, x)) return;
        this->Q3NetworkProtocol::setUrl(x1);
    }
    virtual void setAutoDelete(bool x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_bool = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(2936, (void*)this, x)) return;
        this->Q3NetworkProtocol::setAutoDelete(x1, x2);
    }
    virtual int supportedOperations() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1411, (void*)this, x)) return (int)x[0].s_int;
        return this->Q3Ftp::supportedOperations();
    }
    virtual void addOperation(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2942, (void*)this, x)) return;
        this->Q3NetworkProtocol::addOperation(x1);
    }
    virtual void clearOperationQueue() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2945, (void*)this, x)) return;
        this->Q3NetworkProtocol::clearOperationQueue();
    }
    virtual void stop() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2946, (void*)this, x)) return;
        this->Q3NetworkProtocol::stop();
    }
    virtual void processOperation(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2957, (void*)this, x)) return;
        this->Q3NetworkProtocol::processOperation(x1);
    }
    virtual void operationListChildren(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1446, (void*)this, x)) return;
        this->Q3Ftp::operationListChildren(x1);
    }
    virtual void operationMkDir(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1447, (void*)this, x)) return;
        this->Q3Ftp::operationMkDir(x1);
    }
    virtual void operationRemove(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1448, (void*)this, x)) return;
        this->Q3Ftp::operationRemove(x1);
    }
    virtual void operationRename(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1449, (void*)this, x)) return;
        this->Q3Ftp::operationRename(x1);
    }
    virtual void operationGet(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1450, (void*)this, x)) return;
        this->Q3Ftp::operationGet(x1);
    }
    virtual void operationPut(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1451, (void*)this, x)) return;
        this->Q3Ftp::operationPut(x1);
    }
    virtual void operationPutChunk(Q3NetworkOperation* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2964, (void*)this, x)) return;
        this->Q3NetworkProtocol::operationPutChunk(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(5238, (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(5239, (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(5240, (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(5241, (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(5242, (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(5243, (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(5244, (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 69: //Q3Ftp::State
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Q3Ftp::State;
                    break;
                case Smoke::EnumDelete:
                    delete (Q3Ftp::State*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Q3Ftp::State*)xdata = (Q3Ftp::State)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Q3Ftp::State*)xdata;
                    break;
            }
            break;
        case 68: //Q3Ftp::Error
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Q3Ftp::Error;
                    break;
                case Smoke::EnumDelete:
                    delete (Q3Ftp::Error*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Q3Ftp::Error*)xdata = (Q3Ftp::Error)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Q3Ftp::Error*)xdata;
                    break;
            }
            break;
        case 67: //Q3Ftp::Command
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Q3Ftp::Command;
                    break;
                case Smoke::EnumDelete:
                    delete (Q3Ftp::Command*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Q3Ftp::Command*)xdata = (Q3Ftp::Command)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Q3Ftp::Command*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Q3Ftp() { this->_binding->deleted(45, (void*)this); }
};
void xenum_Q3Ftp(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Q3Ftp::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Q3Ftp(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Q3Ftp *xself = (x_Q3Ftp*)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_Q3Ftp::x_3(args);	break;
        case 4: x_Q3Ftp::x_4(args);	break;
        case 5: x_Q3Ftp::x_5(args);	break;
        case 6: x_Q3Ftp::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Q3Ftp::x_8(args);	break;
        case 9: x_Q3Ftp::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: x_Q3Ftp::x_60(args);	break;
        case 61: x_Q3Ftp::x_61(args);	break;
        case 62: x_Q3Ftp::x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: x_Q3Ftp::x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: xself->x_88(args);	break;
        case 89: x_Q3Ftp::x_89(args);	break;
        case 90: x_Q3Ftp::x_90(args);	break;
        case 91: x_Q3Ftp::x_91(args);	break;
        case 92: x_Q3Ftp::x_92(args);	break;
        case 93: x_Q3Ftp::x_93(args);	break;
        case 94: x_Q3Ftp::x_94(args);	break;
        case 95: x_Q3Ftp::x_95(args);	break;
        case 96: x_Q3Ftp::x_96(args);	break;
        case 97: x_Q3Ftp::x_97(args);	break;
        case 98: x_Q3Ftp::x_98(args);	break;
        case 99: x_Q3Ftp::x_99(args);	break;
        case 100: x_Q3Ftp::x_100(args);	break;
        case 101: x_Q3Ftp::x_101(args);	break;
        case 102: x_Q3Ftp::x_102(args);	break;
        case 103: x_Q3Ftp::x_103(args);	break;
        case 104: x_Q3Ftp::x_104(args);	break;
        case 105: x_Q3Ftp::x_105(args);	break;
        case 106: x_Q3Ftp::x_106(args);	break;
        case 107: x_Q3Ftp::x_107(args);	break;
        case 108: x_Q3Ftp::x_108(args);	break;
        case 109: x_Q3Ftp::x_109(args);	break;
        case 110: x_Q3Ftp::x_110(args);	break;
        case 111: x_Q3Ftp::x_111(args);	break;
        case 112: x_Q3Ftp::x_112(args);	break;
        case 113: delete (Q3Ftp*)xself;	break;
    }
}

}
