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

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

class __internal_SmokeClass {};

namespace __smokekio {

class x_KIO__MultiGetJob : public KIO::MultiGetJob, 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<KIO::MultiGetJob*>(this))) {
            const QMetaObject* xret = ((const x_KIO__MultiGetJob*)this)->KIO::MultiGetJob::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__MultiGetJob*)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<KIO::MultiGetJob*>(this))) {
            void* xret = this->KIO::MultiGetJob::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 = KIO::MultiGetJob::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 = KIO::MultiGetJob::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 = KIO::MultiGetJob::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 = KIO::MultiGetJob::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<KIO::MultiGetJob*>(this))) {
            int xret = this->KIO::MultiGetJob::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    void x_8(Smoke::Stack x) {
        // void get(long, const KUrl&, const KIO::MetaData&)
        this->KIO::MultiGetJob::get((long)x[1].s_long,*(const KUrl*)x[2].s_class,*(const KIO::MetaData*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void data(long, const QByteArray&)
        this->KIO::MultiGetJob::data((long)x[1].s_long,*(const QByteArray*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void mimetype(long, const QString&)
        this->KIO::MultiGetJob::mimetype((long)x[1].s_long,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void result(long)
        this->KIO::MultiGetJob::result((long)x[1].s_long);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // virtual void slotRedirection(const KUrl&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::MultiGetJob*>(this))) {
            this->KIO::MultiGetJob::slotRedirection(*(const KUrl*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotRedirection(*(const KUrl*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void slotFinished()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::MultiGetJob*>(this))) {
            this->KIO::MultiGetJob::slotFinished();
            (void)x; // noop (for compiler warning)
        } else {
            this->slotFinished();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual void slotData(const QByteArray&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::MultiGetJob*>(this))) {
            this->KIO::MultiGetJob::slotData(*(const QByteArray*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotData(*(const QByteArray*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual void slotMimetype(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::MultiGetJob*>(this))) {
            this->KIO::MultiGetJob::slotMimetype(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotMimetype(*(const QString*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_16(Smoke::Stack x) {
        // KIO::MultiGetJob* MultiGetJob(KIO::MultiGetJobPrivate&)
        x_KIO__MultiGetJob* xret = new x_KIO__MultiGetJob(*(KIO::MultiGetJobPrivate*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__MultiGetJob(KIO::MultiGetJobPrivate& x1) : MultiGetJob(x1) {}
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::MultiGetJob::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::MultiGetJob::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::MultiGetJob::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2168, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::MultiGetJob::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2169, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::MultiGetJob::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(2174, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::MultiGetJob::qt_metacall(x1, x2, x3);
    }
    virtual void slotRedirection(const KUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2179, (void*)this, x)) return;
        this->KIO::MultiGetJob::slotRedirection(x1);
    }
    virtual void slotFinished() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2180, (void*)this, x)) return;
        this->KIO::MultiGetJob::slotFinished();
    }
    virtual void slotData(const QByteArray& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2181, (void*)this, x)) return;
        this->KIO::MultiGetJob::slotData(x1);
    }
    virtual void slotMimetype(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2182, (void*)this, x)) return;
        this->KIO::MultiGetJob::slotMimetype(x1);
    }
    virtual void slotResult(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2751, (void*)this, x)) return;
        this->KIO::TransferJob::slotResult(x1);
    }
    virtual bool doResume() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2752, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::TransferJob::doResume();
    }
    virtual void slotDataReq() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2762, (void*)this, x)) return;
        this->KIO::TransferJob::slotDataReq();
    }
    virtual void slotMetaData(const KIO::MetaData& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2764, (void*)this, x)) return;
        this->KIO::TransferJob::slotMetaData(x1);
    }
    virtual bool doSuspend() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2395, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::SimpleJob::doSuspend();
    }
    virtual bool doKill() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2397, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::SimpleJob::doKill();
    }
    virtual void putOnHold() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2399, (void*)this, x)) return;
        this->KIO::SimpleJob::putOnHold();
    }
    virtual void slotWarning(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2405, (void*)this, x)) return;
        this->KIO::SimpleJob::slotWarning(x1);
    }
    virtual bool addSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2065, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::addSubjob(x1);
    }
    virtual bool removeSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2066, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::removeSubjob(x1);
    }
    virtual void slotInfoMessage(KJob* x1, const QString& x2, const QString& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(557, (void*)this, x)) return;
        this->KCompositeJob::slotInfoMessage(x1, x2, x3);
    }
    virtual void start() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2045, (void*)this, x)) return;
        this->KIO::Job::start();
    }
    virtual QString errorString() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2050, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KIO::Job::errorString();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3859, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3862, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KIO__MultiGetJob() { this->_binding->deleted(99, (void*)this); }
};
void xcall_KIO__MultiGetJob(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__MultiGetJob *xself = (x_KIO__MultiGetJob*)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_KIO__MultiGetJob::x_3(args);	break;
        case 4: x_KIO__MultiGetJob::x_4(args);	break;
        case 5: x_KIO__MultiGetJob::x_5(args);	break;
        case 6: x_KIO__MultiGetJob::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_KIO__MultiGetJob::x_16(args);	break;
        case 17: x_KIO__MultiGetJob::x_17(args);	break;
        case 18: x_KIO__MultiGetJob::x_18(args);	break;
        case 19: x_KIO__MultiGetJob::x_19(args);	break;
        case 20: delete (KIO::MultiGetJob*)xself;	break;
    }
}
class x_KIO__NetAccess : public KIO::NetAccess {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_KIO__NetAccess*)this)->KIO::NetAccess::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->KIO::NetAccess::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 = KIO::NetAccess::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 = KIO::NetAccess::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 = KIO::NetAccess::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 = KIO::NetAccess::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        int xret = this->KIO::NetAccess::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
        x[0].s_int = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static bool download(const KUrl&, QString&, QWidget*)
        bool xret = KIO::NetAccess::download(*(const KUrl*)x[1].s_class,*(QString*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_9(Smoke::Stack x) {
        // static void removeTempFile(const QString&)
        KIO::NetAccess::removeTempFile(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static bool upload(const QString&, const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::upload(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_11(Smoke::Stack x) {
        // static bool file_copy(const KUrl&, const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::file_copy(*(const KUrl*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_12(Smoke::Stack x) {
        // static bool copy(const KUrl&, const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::copy(*(const KUrl*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_13(Smoke::Stack x) {
        // static bool dircopy(const KUrl&, const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::dircopy(*(const KUrl*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_14(Smoke::Stack x) {
        // static bool dircopy(const KUrl::List&, const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::dircopy(*(const KUrl::List*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_15(Smoke::Stack x) {
        // static bool move(const KUrl&, const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::move(*(const KUrl*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_16(Smoke::Stack x) {
        // static bool move(const KUrl::List&, const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::move(*(const KUrl::List*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_17(Smoke::Stack x) {
        // static bool exists(const KUrl&, bool, QWidget*)
        bool xret = KIO::NetAccess::exists(*(const KUrl*)x[1].s_class,(bool)x[2].s_bool,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_18(Smoke::Stack x) {
        // static bool exists(const KUrl&, KIO::NetAccess::StatSide, QWidget*)
        bool xret = KIO::NetAccess::exists(*(const KUrl*)x[1].s_class,(KIO::NetAccess::StatSide)x[2].s_enum,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_19(Smoke::Stack x) {
        // static bool stat(const KUrl&, KIO::UDSEntry&, QWidget*)
        bool xret = KIO::NetAccess::stat(*(const KUrl*)x[1].s_class,*(KIO::UDSEntry*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static KUrl mostLocalUrl(const KUrl&, QWidget*)
        KUrl xret = KIO::NetAccess::mostLocalUrl(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static bool del(const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::del(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_22(Smoke::Stack x) {
        // static bool mkdir(const KUrl&, QWidget*, int)
        bool xret = KIO::NetAccess::mkdir(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class,(int)x[3].s_int);
        x[0].s_bool = xret;
    }
    static void x_23(Smoke::Stack x) {
        // static QString fish_execute(const KUrl&, const QString&, QWidget*)
        QString xret = KIO::NetAccess::fish_execute(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // static bool synchronousRun(KIO::Job*, QWidget*, QByteArray*, KUrl*, QMap<QString,QString>*)
        bool xret = KIO::NetAccess::synchronousRun((KIO::Job*)x[1].s_class,(QWidget*)x[2].s_class,(QByteArray*)x[3].s_class,(KUrl*)x[4].s_class,(QMap<QString,QString>*)x[5].s_class);
        x[0].s_bool = xret;
    }
    static void x_25(Smoke::Stack x) {
        // static QString mimetype(const KUrl&, QWidget*)
        QString xret = KIO::NetAccess::mimetype(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_26(Smoke::Stack x) {
        // static QString lastErrorString()
        QString xret = KIO::NetAccess::lastErrorString();
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static int lastError()
        int xret = KIO::NetAccess::lastError();
        x[0].s_int = xret;
    }
    void x_28(Smoke::Stack x) {
        // void leaveModality()
        this->KIO::NetAccess::leaveModality();
        (void)x; // noop (for compiler warning)
    }
    static void x_29(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::NetAccess::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::NetAccess::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static bool file_copy(const KUrl&, const KUrl&)
        bool xret = KIO::NetAccess::file_copy(*(const KUrl*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)0);
        x[0].s_bool = xret;
    }
    static void x_32(Smoke::Stack x) {
        // static bool copy(const KUrl&, const KUrl&)
        bool xret = KIO::NetAccess::copy(*(const KUrl*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)0);
        x[0].s_bool = xret;
    }
    static void x_33(Smoke::Stack x) {
        // static bool dircopy(const KUrl::List&, const KUrl&)
        bool xret = KIO::NetAccess::dircopy(*(const KUrl::List*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)0L);
        x[0].s_bool = xret;
    }
    static void x_34(Smoke::Stack x) {
        // static bool move(const KUrl&, const KUrl&)
        bool xret = KIO::NetAccess::move(*(const KUrl*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)0L);
        x[0].s_bool = xret;
    }
    static void x_35(Smoke::Stack x) {
        // static bool move(const KUrl::List&, const KUrl&)
        bool xret = KIO::NetAccess::move(*(const KUrl::List*)x[1].s_class,*(const KUrl*)x[2].s_class,(QWidget*)0L);
        x[0].s_bool = xret;
    }
    static void x_36(Smoke::Stack x) {
        // static bool mkdir(const KUrl&, QWidget*)
        bool xret = KIO::NetAccess::mkdir(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class,(int)-1);
        x[0].s_bool = xret;
    }
    static void x_37(Smoke::Stack x) {
        // static bool synchronousRun(KIO::Job*, QWidget*)
        bool xret = KIO::NetAccess::synchronousRun((KIO::Job*)x[1].s_class,(QWidget*)x[2].s_class,(QByteArray*)0,(KUrl*)0,(QMap<QString,QString>*)0);
        x[0].s_bool = xret;
    }
    static void x_38(Smoke::Stack x) {
        // static bool synchronousRun(KIO::Job*, QWidget*, QByteArray*)
        bool xret = KIO::NetAccess::synchronousRun((KIO::Job*)x[1].s_class,(QWidget*)x[2].s_class,(QByteArray*)x[3].s_class,(KUrl*)0,(QMap<QString,QString>*)0);
        x[0].s_bool = xret;
    }
    static void x_39(Smoke::Stack x) {
        // static bool synchronousRun(KIO::Job*, QWidget*, QByteArray*, KUrl*)
        bool xret = KIO::NetAccess::synchronousRun((KIO::Job*)x[1].s_class,(QWidget*)x[2].s_class,(QByteArray*)x[3].s_class,(KUrl*)x[4].s_class,(QMap<QString,QString>*)0);
        x[0].s_bool = xret;
    }
    static void x_40(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::NetAccess::staticMetaObject;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::NetAccess::SourceSide;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::NetAccess::DestinationSide;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 149: //KIO::NetAccess::StatSide
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KIO::NetAccess::StatSide;
                    break;
                case Smoke::EnumDelete:
                    delete (KIO::NetAccess::StatSide*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KIO::NetAccess::StatSide*)xdata = (KIO::NetAccess::StatSide)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KIO::NetAccess::StatSide*)xdata;
                    break;
            }
            break;
        }
    }
};
void xenum_KIO__NetAccess(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KIO__NetAccess::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KIO__NetAccess(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__NetAccess *xself = (x_KIO__NetAccess*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KIO__NetAccess::x_3(args);	break;
        case 4: x_KIO__NetAccess::x_4(args);	break;
        case 5: x_KIO__NetAccess::x_5(args);	break;
        case 6: x_KIO__NetAccess::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIO__NetAccess::x_8(args);	break;
        case 9: x_KIO__NetAccess::x_9(args);	break;
        case 10: x_KIO__NetAccess::x_10(args);	break;
        case 11: x_KIO__NetAccess::x_11(args);	break;
        case 12: x_KIO__NetAccess::x_12(args);	break;
        case 13: x_KIO__NetAccess::x_13(args);	break;
        case 14: x_KIO__NetAccess::x_14(args);	break;
        case 15: x_KIO__NetAccess::x_15(args);	break;
        case 16: x_KIO__NetAccess::x_16(args);	break;
        case 17: x_KIO__NetAccess::x_17(args);	break;
        case 18: x_KIO__NetAccess::x_18(args);	break;
        case 19: x_KIO__NetAccess::x_19(args);	break;
        case 20: x_KIO__NetAccess::x_20(args);	break;
        case 21: x_KIO__NetAccess::x_21(args);	break;
        case 22: x_KIO__NetAccess::x_22(args);	break;
        case 23: x_KIO__NetAccess::x_23(args);	break;
        case 24: x_KIO__NetAccess::x_24(args);	break;
        case 25: x_KIO__NetAccess::x_25(args);	break;
        case 26: x_KIO__NetAccess::x_26(args);	break;
        case 27: x_KIO__NetAccess::x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: x_KIO__NetAccess::x_29(args);	break;
        case 30: x_KIO__NetAccess::x_30(args);	break;
        case 31: x_KIO__NetAccess::x_31(args);	break;
        case 32: x_KIO__NetAccess::x_32(args);	break;
        case 33: x_KIO__NetAccess::x_33(args);	break;
        case 34: x_KIO__NetAccess::x_34(args);	break;
        case 35: x_KIO__NetAccess::x_35(args);	break;
        case 36: x_KIO__NetAccess::x_36(args);	break;
        case 37: x_KIO__NetAccess::x_37(args);	break;
        case 38: x_KIO__NetAccess::x_38(args);	break;
        case 39: x_KIO__NetAccess::x_39(args);	break;
        case 40: x_KIO__NetAccess::x_40(args);	break;
        case 41: x_KIO__NetAccess::x_41(args);	break;
        case 42: x_KIO__NetAccess::x_42(args);	break;
    }
}
class x_KIO__PasswordDialog : public KIO::PasswordDialog, 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<KIO::PasswordDialog*>(this))) {
            const QMetaObject* xret = ((const x_KIO__PasswordDialog*)this)->KIO::PasswordDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__PasswordDialog*)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<KIO::PasswordDialog*>(this))) {
            void* xret = this->KIO::PasswordDialog::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 = KIO::PasswordDialog::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 = KIO::PasswordDialog::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 = KIO::PasswordDialog::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 = KIO::PasswordDialog::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<KIO::PasswordDialog*>(this))) {
            int xret = this->KIO::PasswordDialog::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) {
        // KIO::PasswordDialog* PasswordDialog(const QString&, const QString&, bool, bool, QWidget*)
        x_KIO__PasswordDialog* xret = new x_KIO__PasswordDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool)x[3].s_bool,(bool)x[4].s_bool,(QWidget*)x[5].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__PasswordDialog(const QString& x1, const QString& x2, bool x3, bool x4, QWidget* x5) : PasswordDialog(x1, x2, x3, x4, x5) {}
    static void x_9(Smoke::Stack x) {
        // static int getNameAndPassword(QString&, QString&, bool*, const QString&, bool, const QString&, const QString&, const QString&)
        int xret = KIO::PasswordDialog::getNameAndPassword(*(QString*)x[1].s_class,*(QString*)x[2].s_class,(bool*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,*(const QString*)x[6].s_class,*(const QString*)x[7].s_class,*(const QString*)x[8].s_class);
        x[0].s_int = xret;
    }
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::PasswordDialog::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 = KIO::PasswordDialog::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) {
        // KIO::PasswordDialog* PasswordDialog(const QString&, const QString&)
        x_KIO__PasswordDialog* xret = new x_KIO__PasswordDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool)false,(bool)true,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // KIO::PasswordDialog* PasswordDialog(const QString&, const QString&, bool)
        x_KIO__PasswordDialog* xret = new x_KIO__PasswordDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool)x[3].s_bool,(bool)true,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // KIO::PasswordDialog* PasswordDialog(const QString&, const QString&, bool, bool)
        x_KIO__PasswordDialog* xret = new x_KIO__PasswordDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool)x[3].s_bool,(bool)x[4].s_bool,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // static int getNameAndPassword(QString&, QString&, bool*)
        int xret = KIO::PasswordDialog::getNameAndPassword(*(QString*)x[1].s_class,*(QString*)x[2].s_class,(bool*)x[3].s_class,(const QString&)QString(),(bool)false,(const QString&)QString(),(const QString&)QString(),(const QString&)QString());
        x[0].s_int = xret;
    }
    static void x_16(Smoke::Stack x) {
        // static int getNameAndPassword(QString&, QString&, bool*, const QString&)
        int xret = KIO::PasswordDialog::getNameAndPassword(*(QString*)x[1].s_class,*(QString*)x[2].s_class,(bool*)x[3].s_class,*(const QString*)x[4].s_class,(bool)false,(const QString&)QString(),(const QString&)QString(),(const QString&)QString());
        x[0].s_int = xret;
    }
    static void x_17(Smoke::Stack x) {
        // static int getNameAndPassword(QString&, QString&, bool*, const QString&, bool)
        int xret = KIO::PasswordDialog::getNameAndPassword(*(QString*)x[1].s_class,*(QString*)x[2].s_class,(bool*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,(const QString&)QString(),(const QString&)QString(),(const QString&)QString());
        x[0].s_int = xret;
    }
    static void x_18(Smoke::Stack x) {
        // static int getNameAndPassword(QString&, QString&, bool*, const QString&, bool, const QString&)
        int xret = KIO::PasswordDialog::getNameAndPassword(*(QString*)x[1].s_class,*(QString*)x[2].s_class,(bool*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,*(const QString*)x[6].s_class,(const QString&)QString(),(const QString&)QString());
        x[0].s_int = xret;
    }
    static void x_19(Smoke::Stack x) {
        // static int getNameAndPassword(QString&, QString&, bool*, const QString&, bool, const QString&, const QString&)
        int xret = KIO::PasswordDialog::getNameAndPassword(*(QString*)x[1].s_class,*(QString*)x[2].s_class,(bool*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,*(const QString*)x[6].s_class,*(const QString*)x[7].s_class,(const QString&)QString());
        x[0].s_int = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::PasswordDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2230, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::PasswordDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2231, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::PasswordDialog::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(2236, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::PasswordDialog::qt_metacall(x1, x2, x3);
    }
    virtual bool checkPassword() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3056, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KPasswordDialog::checkPassword();
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(676, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(677, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(678, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(679, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(680, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(681, (void*)this, x)) return;
        this->KDialog::hideEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(682, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(683, (void*)this, x)) return;
        this->KDialog::keyPressEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(684, (void*)this, x)) return;
        this->KDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3783, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3055, (void*)this, x)) return;
        this->KPasswordDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3785, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3780, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3879, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3880, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3881, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3882, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3883, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3885, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3886, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3887, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3888, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3889, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3890, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3891, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3789, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3790, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3895, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3896, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3897, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3898, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3899, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3900, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3788, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3903, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3904, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3906, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3907, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3908, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3909, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3910, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3911, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3912, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3791, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3862, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3877, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KIO__PasswordDialog() { this->_binding->deleted(102, (void*)this); }
};
void xcall_KIO__PasswordDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__PasswordDialog *xself = (x_KIO__PasswordDialog*)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_KIO__PasswordDialog::x_3(args);	break;
        case 4: x_KIO__PasswordDialog::x_4(args);	break;
        case 5: x_KIO__PasswordDialog::x_5(args);	break;
        case 6: x_KIO__PasswordDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIO__PasswordDialog::x_8(args);	break;
        case 9: x_KIO__PasswordDialog::x_9(args);	break;
        case 10: x_KIO__PasswordDialog::x_10(args);	break;
        case 11: x_KIO__PasswordDialog::x_11(args);	break;
        case 12: x_KIO__PasswordDialog::x_12(args);	break;
        case 13: x_KIO__PasswordDialog::x_13(args);	break;
        case 14: x_KIO__PasswordDialog::x_14(args);	break;
        case 15: x_KIO__PasswordDialog::x_15(args);	break;
        case 16: x_KIO__PasswordDialog::x_16(args);	break;
        case 17: x_KIO__PasswordDialog::x_17(args);	break;
        case 18: x_KIO__PasswordDialog::x_18(args);	break;
        case 19: x_KIO__PasswordDialog::x_19(args);	break;
        case 20: x_KIO__PasswordDialog::x_20(args);	break;
        case 21: delete (KIO::PasswordDialog*)xself;	break;
    }
}
class x_KIO__PreviewJob : public KIO::PreviewJob, 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<KIO::PreviewJob*>(this))) {
            const QMetaObject* xret = ((const x_KIO__PreviewJob*)this)->KIO::PreviewJob::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__PreviewJob*)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<KIO::PreviewJob*>(this))) {
            void* xret = this->KIO::PreviewJob::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 = KIO::PreviewJob::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 = KIO::PreviewJob::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 = KIO::PreviewJob::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 = KIO::PreviewJob::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<KIO::PreviewJob*>(this))) {
            int xret = this->KIO::PreviewJob::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) {
        // KIO::PreviewJob* PreviewJob(const KFileItemList&, int, int, int, int, bool, bool, const QStringList*)
        x_KIO__PreviewJob* xret = new x_KIO__PreviewJob(*(const KFileItemList*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int,(bool)x[6].s_bool,(bool)x[7].s_bool,(const QStringList*)x[8].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__PreviewJob(const KFileItemList& x1, int x2, int x3, int x4, int x5, bool x6, bool x7, const QStringList* x8) : PreviewJob(x1, x2, x3, x4, x5, x6, x7, x8) {}
    static void x_9(Smoke::Stack x) {
        // KIO::PreviewJob* PreviewJob(const KFileItemList&, const QSize&, const QStringList*)
        x_KIO__PreviewJob* xret = new x_KIO__PreviewJob(*(const KFileItemList*)x[1].s_class,*(const QSize*)x[2].s_class,(const QStringList*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__PreviewJob(const KFileItemList& x1, const QSize& x2, const QStringList* x3) : PreviewJob(x1, x2, x3) {}
    void x_10(Smoke::Stack x) {
        // void setOverlayIconSize(int)
        this->KIO::PreviewJob::setOverlayIconSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // int overlayIconSize() const
        int xret = ((const x_KIO__PreviewJob*)this)->KIO::PreviewJob::overlayIconSize();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setOverlayIconAlpha(int)
        this->KIO::PreviewJob::setOverlayIconAlpha((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // int overlayIconAlpha() const
        int xret = ((const x_KIO__PreviewJob*)this)->KIO::PreviewJob::overlayIconAlpha();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // void setScaleType(KIO::PreviewJob::ScaleType)
        this->KIO::PreviewJob::setScaleType((KIO::PreviewJob::ScaleType)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // KIO::PreviewJob::ScaleType scaleType() const
        KIO::PreviewJob::ScaleType xret = ((const x_KIO__PreviewJob*)this)->KIO::PreviewJob::scaleType();
        x[0].s_enum = xret;
    }
    void x_16(Smoke::Stack x) {
        // void removeItem(const KUrl&)
        this->KIO::PreviewJob::removeItem(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setIgnoreMaximumSize(bool)
        this->KIO::PreviewJob::setIgnoreMaximumSize((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setSequenceIndex(int)
        this->KIO::PreviewJob::setSequenceIndex((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // int sequenceIndex() const
        int xret = ((const x_KIO__PreviewJob*)this)->KIO::PreviewJob::sequenceIndex();
        x[0].s_int = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static QStringList availablePlugins()
        QStringList xret = KIO::PreviewJob::availablePlugins();
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QStringList supportedMimeTypes()
        QStringList xret = KIO::PreviewJob::supportedMimeTypes();
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static unsigned long long maximumFileSize()
        unsigned long long xret = KIO::PreviewJob::maximumFileSize();
        x[0].s_class = (void*)new unsigned long long(xret);
    }
    void x_23(Smoke::Stack x) {
        // void gotPreview(const KFileItem&, const QPixmap&)
        this->KIO::PreviewJob::gotPreview(*(const KFileItem*)x[1].s_class,*(const QPixmap*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void failed(const KFileItem&)
        this->KIO::PreviewJob::failed(*(const KFileItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // virtual void slotResult(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::PreviewJob*>(this))) {
            this->KIO::PreviewJob::slotResult((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotResult((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_26(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::PreviewJob::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::PreviewJob::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_28(Smoke::Stack x) {
        // KIO::PreviewJob* PreviewJob(const KFileItemList&, const QSize&)
        x_KIO__PreviewJob* xret = new x_KIO__PreviewJob(*(const KFileItemList*)x[1].s_class,*(const QSize*)x[2].s_class,(const QStringList*)0);
        x[0].s_class = (void*)xret;
    }
    void x_29(Smoke::Stack x) {
        // void setIgnoreMaximumSize()
        this->KIO::PreviewJob::setIgnoreMaximumSize((bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_30(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::PreviewJob::staticMetaObject;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::PreviewJob::Unscaled;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::PreviewJob::Scaled;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::PreviewJob::ScaledAndCached;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2251, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::PreviewJob::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2252, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::PreviewJob::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(2257, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::PreviewJob::qt_metacall(x1, x2, x3);
    }
    virtual void slotResult(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2275, (void*)this, x)) return;
        this->KIO::PreviewJob::slotResult(x1);
    }
    virtual bool doKill() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2047, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doKill();
    }
    virtual bool doSuspend() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2048, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doSuspend();
    }
    virtual bool doResume() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2049, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doResume();
    }
    virtual bool addSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2065, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::addSubjob(x1);
    }
    virtual bool removeSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2066, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::removeSubjob(x1);
    }
    virtual void slotInfoMessage(KJob* x1, const QString& x2, const QString& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(557, (void*)this, x)) return;
        this->KCompositeJob::slotInfoMessage(x1, x2, x3);
    }
    virtual void start() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2045, (void*)this, x)) return;
        this->KIO::Job::start();
    }
    virtual QString errorString() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2050, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KIO::Job::errorString();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3859, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3862, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 152: //KIO::PreviewJob::ScaleType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KIO::PreviewJob::ScaleType;
                    break;
                case Smoke::EnumDelete:
                    delete (KIO::PreviewJob::ScaleType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KIO::PreviewJob::ScaleType*)xdata = (KIO::PreviewJob::ScaleType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KIO::PreviewJob::ScaleType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KIO__PreviewJob() { this->_binding->deleted(103, (void*)this); }
};
void xenum_KIO__PreviewJob(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KIO__PreviewJob::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KIO__PreviewJob(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__PreviewJob *xself = (x_KIO__PreviewJob*)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_KIO__PreviewJob::x_3(args);	break;
        case 4: x_KIO__PreviewJob::x_4(args);	break;
        case 5: x_KIO__PreviewJob::x_5(args);	break;
        case 6: x_KIO__PreviewJob::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIO__PreviewJob::x_8(args);	break;
        case 9: x_KIO__PreviewJob::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: x_KIO__PreviewJob::x_20(args);	break;
        case 21: x_KIO__PreviewJob::x_21(args);	break;
        case 22: x_KIO__PreviewJob::x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: x_KIO__PreviewJob::x_26(args);	break;
        case 27: x_KIO__PreviewJob::x_27(args);	break;
        case 28: x_KIO__PreviewJob::x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_KIO__PreviewJob::x_30(args);	break;
        case 31: x_KIO__PreviewJob::x_31(args);	break;
        case 32: x_KIO__PreviewJob::x_32(args);	break;
        case 33: x_KIO__PreviewJob::x_33(args);	break;
        case 34: delete (KIO::PreviewJob*)xself;	break;
    }
}
class x_KIO__RenameDialog : public KIO::RenameDialog, 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<KIO::RenameDialog*>(this))) {
            const QMetaObject* xret = ((const x_KIO__RenameDialog*)this)->KIO::RenameDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__RenameDialog*)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<KIO::RenameDialog*>(this))) {
            void* xret = this->KIO::RenameDialog::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 = KIO::RenameDialog::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 = KIO::RenameDialog::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 = KIO::RenameDialog::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 = KIO::RenameDialog::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<KIO::RenameDialog*>(this))) {
            int xret = this->KIO::RenameDialog::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) {
        // KIO::RenameDialog* RenameDialog(QWidget*, const QString&, const KUrl&, const KUrl&, KIO::RenameDialog_Mode, unsigned long long, unsigned long long, time_t, time_t, time_t, time_t)
        x_KIO__RenameDialog* xret = new x_KIO__RenameDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const KUrl*)x[3].s_class,*(const KUrl*)x[4].s_class,(KIO::RenameDialog_Mode)x[5].s_enum,*(unsigned long long*)x[6].s_class,*(unsigned long long*)x[7].s_class,*(time_t*)x[8].s_class,*(time_t*)x[9].s_class,*(time_t*)x[10].s_class,*(time_t*)x[11].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__RenameDialog(QWidget* x1, const QString& x2, const KUrl& x3, const KUrl& x4, KIO::RenameDialog_Mode x5, unsigned long long x6, unsigned long long x7, time_t x8, time_t x9, time_t x10, time_t x11) : RenameDialog(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11) {}
    void x_9(Smoke::Stack x) {
        // KUrl newDestUrl()
        KUrl xret = this->KIO::RenameDialog::newDestUrl();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_10(Smoke::Stack x) {
        // KUrl autoDestUrl() const
        KUrl xret = ((const x_KIO__RenameDialog*)this)->KIO::RenameDialog::autoDestUrl();
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString suggestName(const KUrl&, const QString&)
        QString xret = KIO::RenameDialog::suggestName(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // void cancelPressed()
        this->KIO::RenameDialog::cancelPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void renamePressed()
        this->KIO::RenameDialog::renamePressed();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void skipPressed()
        this->KIO::RenameDialog::skipPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void autoSkipPressed()
        this->KIO::RenameDialog::autoSkipPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void overwritePressed()
        this->KIO::RenameDialog::overwritePressed();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void overwriteAllPressed()
        this->KIO::RenameDialog::overwriteAllPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void resumePressed()
        this->KIO::RenameDialog::resumePressed();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void resumeAllPressed()
        this->KIO::RenameDialog::resumeAllPressed();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void suggestNewNamePressed()
        this->KIO::RenameDialog::suggestNewNamePressed();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void enableRenameButton(const QString&)
        this->KIO::RenameDialog::enableRenameButton(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::RenameDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::RenameDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // KIO::RenameDialog* RenameDialog(QWidget*, const QString&, const KUrl&, const KUrl&, KIO::RenameDialog_Mode)
        x_KIO__RenameDialog* xret = new x_KIO__RenameDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const KUrl*)x[3].s_class,*(const KUrl*)x[4].s_class,(KIO::RenameDialog_Mode)x[5].s_enum,(unsigned long long)KIO::filesize_t(-1),(unsigned long long)KIO::filesize_t(-1),(time_t)time_t(-1),(time_t)time_t(-1),(time_t)time_t(-1),(time_t)time_t(-1));
        x[0].s_class = (void*)xret;
    }
    static void x_25(Smoke::Stack x) {
        // KIO::RenameDialog* RenameDialog(QWidget*, const QString&, const KUrl&, const KUrl&, KIO::RenameDialog_Mode, unsigned long long)
        x_KIO__RenameDialog* xret = new x_KIO__RenameDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const KUrl*)x[3].s_class,*(const KUrl*)x[4].s_class,(KIO::RenameDialog_Mode)x[5].s_enum,*(unsigned long long*)x[6].s_class,(unsigned long long)KIO::filesize_t(-1),(time_t)time_t(-1),(time_t)time_t(-1),(time_t)time_t(-1),(time_t)time_t(-1));
        x[0].s_class = (void*)xret;
    }
    static void x_26(Smoke::Stack x) {
        // KIO::RenameDialog* RenameDialog(QWidget*, const QString&, const KUrl&, const KUrl&, KIO::RenameDialog_Mode, unsigned long long, unsigned long long)
        x_KIO__RenameDialog* xret = new x_KIO__RenameDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const KUrl*)x[3].s_class,*(const KUrl*)x[4].s_class,(KIO::RenameDialog_Mode)x[5].s_enum,*(unsigned long long*)x[6].s_class,*(unsigned long long*)x[7].s_class,(time_t)time_t(-1),(time_t)time_t(-1),(time_t)time_t(-1),(time_t)time_t(-1));
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // KIO::RenameDialog* RenameDialog(QWidget*, const QString&, const KUrl&, const KUrl&, KIO::RenameDialog_Mode, unsigned long long, unsigned long long, time_t)
        x_KIO__RenameDialog* xret = new x_KIO__RenameDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const KUrl*)x[3].s_class,*(const KUrl*)x[4].s_class,(KIO::RenameDialog_Mode)x[5].s_enum,*(unsigned long long*)x[6].s_class,*(unsigned long long*)x[7].s_class,*(time_t*)x[8].s_class,(time_t)time_t(-1),(time_t)time_t(-1),(time_t)time_t(-1));
        x[0].s_class = (void*)xret;
    }
    static void x_28(Smoke::Stack x) {
        // KIO::RenameDialog* RenameDialog(QWidget*, const QString&, const KUrl&, const KUrl&, KIO::RenameDialog_Mode, unsigned long long, unsigned long long, time_t, time_t)
        x_KIO__RenameDialog* xret = new x_KIO__RenameDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const KUrl*)x[3].s_class,*(const KUrl*)x[4].s_class,(KIO::RenameDialog_Mode)x[5].s_enum,*(unsigned long long*)x[6].s_class,*(unsigned long long*)x[7].s_class,*(time_t*)x[8].s_class,*(time_t*)x[9].s_class,(time_t)time_t(-1),(time_t)time_t(-1));
        x[0].s_class = (void*)xret;
    }
    static void x_29(Smoke::Stack x) {
        // KIO::RenameDialog* RenameDialog(QWidget*, const QString&, const KUrl&, const KUrl&, KIO::RenameDialog_Mode, unsigned long long, unsigned long long, time_t, time_t, time_t)
        x_KIO__RenameDialog* xret = new x_KIO__RenameDialog((QWidget*)x[1].s_class,*(const QString*)x[2].s_class,*(const KUrl*)x[3].s_class,*(const KUrl*)x[4].s_class,(KIO::RenameDialog_Mode)x[5].s_enum,*(unsigned long long*)x[6].s_class,*(unsigned long long*)x[7].s_class,*(time_t*)x[8].s_class,*(time_t*)x[9].s_class,*(time_t*)x[10].s_class,(time_t)time_t(-1));
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::RenameDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2285, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::RenameDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2286, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::RenameDialog::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(2291, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::RenameDialog::qt_metacall(x1, x2, x3);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3783, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3784, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3785, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3780, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3781, (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(3782, (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(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3879, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3880, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3881, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3882, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3883, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3786, (void*)this, x)) return;
        this->QDialog::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3885, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3886, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3887, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3888, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3889, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3890, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3891, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3789, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3787, (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(3790, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3895, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3896, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3897, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3898, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3899, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3900, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3788, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3902, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3903, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3904, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3906, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3907, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3908, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3909, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3910, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3911, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3912, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3791, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3862, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3877, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KIO__RenameDialog() { this->_binding->deleted(104, (void*)this); }
};
void xcall_KIO__RenameDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__RenameDialog *xself = (x_KIO__RenameDialog*)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_KIO__RenameDialog::x_3(args);	break;
        case 4: x_KIO__RenameDialog::x_4(args);	break;
        case 5: x_KIO__RenameDialog::x_5(args);	break;
        case 6: x_KIO__RenameDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIO__RenameDialog::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: x_KIO__RenameDialog::x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_KIO__RenameDialog::x_22(args);	break;
        case 23: x_KIO__RenameDialog::x_23(args);	break;
        case 24: x_KIO__RenameDialog::x_24(args);	break;
        case 25: x_KIO__RenameDialog::x_25(args);	break;
        case 26: x_KIO__RenameDialog::x_26(args);	break;
        case 27: x_KIO__RenameDialog::x_27(args);	break;
        case 28: x_KIO__RenameDialog::x_28(args);	break;
        case 29: x_KIO__RenameDialog::x_29(args);	break;
        case 30: x_KIO__RenameDialog::x_30(args);	break;
        case 31: delete (KIO::RenameDialog*)xself;	break;
    }
}
class x_KIO__RenameDialogPlugin : public KIO::RenameDialogPlugin, 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<KIO::RenameDialogPlugin*>(this))) {
            const QMetaObject* xret = ((const x_KIO__RenameDialogPlugin*)this)->KIO::RenameDialogPlugin::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__RenameDialogPlugin*)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<KIO::RenameDialogPlugin*>(this))) {
            void* xret = this->KIO::RenameDialogPlugin::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 = KIO::RenameDialogPlugin::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 = KIO::RenameDialogPlugin::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 = KIO::RenameDialogPlugin::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 = KIO::RenameDialogPlugin::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<KIO::RenameDialogPlugin*>(this))) {
            int xret = this->KIO::RenameDialogPlugin::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) {
        // KIO::RenameDialogPlugin* RenameDialogPlugin(QDialog*)
        x_KIO__RenameDialogPlugin* xret = new x_KIO__RenameDialogPlugin((QDialog*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__RenameDialogPlugin(QDialog* x1) : RenameDialogPlugin(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual bool wantToHandle(KIO::RenameDialog_Mode, const KIO::RenameDialogPlugin::FileItem&, const KIO::RenameDialogPlugin::FileItem&) const = 0
        bool xret = ((const x_KIO__RenameDialogPlugin*)this)->wantToHandle((KIO::RenameDialog_Mode)x[1].s_enum,*(const KIO::RenameDialogPlugin::FileItem*)x[2].s_class,*(const KIO::RenameDialogPlugin::FileItem*)x[3].s_class);
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // virtual void handle(KIO::RenameDialog_Mode, const KIO::RenameDialogPlugin::FileItem&, const KIO::RenameDialogPlugin::FileItem&) = 0
        this->handle((KIO::RenameDialog_Mode)x[1].s_enum,*(const KIO::RenameDialogPlugin::FileItem*)x[2].s_class,*(const KIO::RenameDialogPlugin::FileItem*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::RenameDialogPlugin::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::RenameDialogPlugin::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::RenameDialogPlugin::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2316, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::RenameDialogPlugin::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2317, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::RenameDialogPlugin::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(2322, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::RenameDialogPlugin::qt_metacall(x1, x2, x3);
    }
    virtual bool wantToHandle(KIO::RenameDialog_Mode x1, const KIO::RenameDialogPlugin::FileItem& x2, const KIO::RenameDialogPlugin::FileItem& x3) const {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        this->_binding->callMethod(2324, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual void handle(KIO::RenameDialog_Mode x1, const KIO::RenameDialogPlugin::FileItem& x2, const KIO::RenameDialogPlugin::FileItem& x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        this->_binding->callMethod(2325, (void*)this, x, true /*pure virtual*/);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3873, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3874, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3875, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3879, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3880, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3881, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3882, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3883, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3884, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3885, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3886, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3887, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3888, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3889, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3890, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3891, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3892, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3893, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3894, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3895, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3896, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3897, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3898, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3899, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3900, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3901, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3902, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3903, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3904, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3906, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3907, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3908, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3909, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3910, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3911, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3912, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3859, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3862, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3877, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KIO__RenameDialogPlugin() { this->_binding->deleted(105, (void*)this); }
};
void xcall_KIO__RenameDialogPlugin(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__RenameDialogPlugin *xself = (x_KIO__RenameDialogPlugin*)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_KIO__RenameDialogPlugin::x_3(args);	break;
        case 4: x_KIO__RenameDialogPlugin::x_4(args);	break;
        case 5: x_KIO__RenameDialogPlugin::x_5(args);	break;
        case 6: x_KIO__RenameDialogPlugin::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIO__RenameDialogPlugin::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: x_KIO__RenameDialogPlugin::x_11(args);	break;
        case 12: x_KIO__RenameDialogPlugin::x_12(args);	break;
        case 13: x_KIO__RenameDialogPlugin::x_13(args);	break;
        case 14: delete (KIO::RenameDialogPlugin*)xself;	break;
    }
}

}
