//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__TCPSlaveBase : public KIO::TCPSlaveBase, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KIO::TCPSlaveBase* TCPSlaveBase(const QByteArray&, const QByteArray&, const QByteArray&, bool)
        x_KIO__TCPSlaveBase* xret = new x_KIO__TCPSlaveBase(*(const QByteArray*)x[1].s_class,*(const QByteArray*)x[2].s_class,*(const QByteArray*)x[3].s_class,(bool)x[4].s_bool);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__TCPSlaveBase(const QByteArray& x1, const QByteArray& x2, const QByteArray& x3, bool x4) : TCPSlaveBase(x1, x2, x3, x4) {}
    void x_2(Smoke::Stack x) {
        // virtual void write(const QByteArray&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TCPSlaveBase*>(this))) {
            this->KIO::TCPSlaveBase::write(*(const QByteArray*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->write(*(const QByteArray*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_3(Smoke::Stack x) {
        // ssize_t write(const char*, ssize_t)
        ssize_t xret = this->KIO::TCPSlaveBase::write((const char*)x[1].s_class,*(ssize_t*)x[2].s_class);
        x[0].s_class = (void*)new ssize_t(xret);
    }
    void x_4(Smoke::Stack x) {
        // virtual void read(unsigned long long)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TCPSlaveBase*>(this))) {
            this->KIO::TCPSlaveBase::read(*(unsigned long long*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->read(*(unsigned long long*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_5(Smoke::Stack x) {
        // ssize_t read(char*, ssize_t)
        ssize_t xret = this->KIO::TCPSlaveBase::read((char*)x[1].s_class,*(ssize_t*)x[2].s_class);
        x[0].s_class = (void*)new ssize_t(xret);
    }
    void x_6(Smoke::Stack x) {
        // ssize_t readLine(char*, ssize_t)
        ssize_t xret = this->KIO::TCPSlaveBase::readLine((char*)x[1].s_class,*(ssize_t*)x[2].s_class);
        x[0].s_class = (void*)new ssize_t(xret);
    }
    void x_7(Smoke::Stack x) {
        // bool connectToHost(const QString&, const QString&, unsigned short)
        bool xret = this->KIO::TCPSlaveBase::connectToHost(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned short)x[3].s_ushort);
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // int connectToHost(const QString&, unsigned short, QString*)
        int xret = this->KIO::TCPSlaveBase::connectToHost(*(const QString*)x[1].s_class,(unsigned short)x[2].s_ushort,(QString*)x[3].s_class);
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // unsigned short port() const
        unsigned short xret = ((const x_KIO__TCPSlaveBase*)this)->KIO::TCPSlaveBase::port();
        x[0].s_ushort = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool isAutoSsl() const
        bool xret = ((const x_KIO__TCPSlaveBase*)this)->KIO::TCPSlaveBase::isAutoSsl();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool isUsingSsl() const
        bool xret = ((const x_KIO__TCPSlaveBase*)this)->KIO::TCPSlaveBase::isUsingSsl();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool startSsl()
        bool xret = this->KIO::TCPSlaveBase::startSsl();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void disconnectFromHost()
        this->KIO::TCPSlaveBase::disconnectFromHost();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool atEnd() const
        bool xret = ((const x_KIO__TCPSlaveBase*)this)->KIO::TCPSlaveBase::atEnd();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool isConnected() const
        bool xret = ((const x_KIO__TCPSlaveBase*)this)->KIO::TCPSlaveBase::isConnected();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool waitForResponse(int)
        bool xret = this->KIO::TCPSlaveBase::waitForResponse((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setBlocking(bool)
        this->KIO::TCPSlaveBase::setBlocking((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QIODevice* socket() const
        QIODevice* xret = ((const x_KIO__TCPSlaveBase*)this)->KIO::TCPSlaveBase::socket();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // virtual void virtual_hook(int, void*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TCPSlaveBase*>(this))) {
            this->KIO::TCPSlaveBase::virtual_hook((int)x[1].s_int,(void*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->virtual_hook((int)x[1].s_int,(void*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_20(Smoke::Stack x) {
        // KIO::TCPSlaveBase* TCPSlaveBase(const KIO::TCPSlaveBase&)
        x_KIO__TCPSlaveBase* xret = new x_KIO__TCPSlaveBase(*(const KIO::TCPSlaveBase*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__TCPSlaveBase(const KIO::TCPSlaveBase& x1) : TCPSlaveBase(x1) {}
    static void x_21(Smoke::Stack x) {
        // KIO::TCPSlaveBase* TCPSlaveBase(const QByteArray&, const QByteArray&, const QByteArray&)
        x_KIO__TCPSlaveBase* xret = new x_KIO__TCPSlaveBase(*(const QByteArray*)x[1].s_class,*(const QByteArray*)x[2].s_class,*(const QByteArray*)x[3].s_class,(bool)false);
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // int connectToHost(const QString&, unsigned short)
        int xret = this->KIO::TCPSlaveBase::connectToHost(*(const QString*)x[1].s_class,(unsigned short)x[2].s_ushort,(QString*)0);
        x[0].s_int = xret;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::TCPSlaveBase::ResultOk;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::TCPSlaveBase::ResultOverridden;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::TCPSlaveBase::ResultFailed;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::TCPSlaveBase::ResultFailedEarly;
    }
    virtual void write(const QByteArray& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2710, (void*)this, x)) return;
        this->KIO::TCPSlaveBase::write(x1);
    }
    virtual void read(unsigned long long x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new unsigned long long(x1);
        if (this->_binding->callMethod(2712, (void*)this, x)) return;
        this->KIO::TCPSlaveBase::read(x1);
    }
    virtual void virtual_hook(int x1, void* x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(2727, (void*)this, x)) return;
        this->KIO::TCPSlaveBase::virtual_hook(x1, x2);
    }
    virtual void setHost(const QString& x1, unsigned short x2, const QString& x3, const QString& x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)&x1;
        x[2].s_ushort = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(2508, (void*)this, x)) return;
        this->KIO::SlaveBase::setHost(x1, x2, x3, x4);
    }
    virtual void setSubUrl(const KUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2509, (void*)this, x)) return;
        this->KIO::SlaveBase::setSubUrl(x1);
    }
    virtual void openConnection() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2510, (void*)this, x)) return;
        this->KIO::SlaveBase::openConnection();
    }
    virtual void closeConnection() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2511, (void*)this, x)) return;
        this->KIO::SlaveBase::closeConnection();
    }
    virtual void get(const KUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2512, (void*)this, x)) return;
        this->KIO::SlaveBase::get(x1);
    }
    virtual void open(const KUrl& x1, QFlags<QIODevice::OpenModeFlag> x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(2513, (void*)this, x)) return;
        this->KIO::SlaveBase::open(x1, x2);
    }
    virtual void seek(unsigned long long x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new unsigned long long(x1);
        if (this->_binding->callMethod(2516, (void*)this, x)) return;
        this->KIO::SlaveBase::seek(x1);
    }
    virtual void close() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2517, (void*)this, x)) return;
        this->KIO::SlaveBase::close();
    }
    virtual void put(const KUrl& x1, int x2, QFlags<KIO::JobFlag> x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_uint = (uint)x3;
        if (this->_binding->callMethod(2518, (void*)this, x)) return;
        this->KIO::SlaveBase::put(x1, x2, x3);
    }
    virtual void stat(const KUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2519, (void*)this, x)) return;
        this->KIO::SlaveBase::stat(x1);
    }
    virtual void mimetype(const KUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2520, (void*)this, x)) return;
        this->KIO::SlaveBase::mimetype(x1);
    }
    virtual void listDir(const KUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2521, (void*)this, x)) return;
        this->KIO::SlaveBase::listDir(x1);
    }
    virtual void mkdir(const KUrl& x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(2522, (void*)this, x)) return;
        this->KIO::SlaveBase::mkdir(x1, x2);
    }
    virtual void rename(const KUrl& x1, const KUrl& x2, QFlags<KIO::JobFlag> x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_uint = (uint)x3;
        if (this->_binding->callMethod(2523, (void*)this, x)) return;
        this->KIO::SlaveBase::rename(x1, x2, x3);
    }
    virtual void symlink(const QString& x1, const KUrl& x2, QFlags<KIO::JobFlag> x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_uint = (uint)x3;
        if (this->_binding->callMethod(2524, (void*)this, x)) return;
        this->KIO::SlaveBase::symlink(x1, x2, x3);
    }
    virtual void chmod(const KUrl& x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(2525, (void*)this, x)) return;
        this->KIO::SlaveBase::chmod(x1, x2);
    }
    virtual void chown(const KUrl& 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(2526, (void*)this, x)) return;
        this->KIO::SlaveBase::chown(x1, x2, x3);
    }
    virtual void setModificationTime(const KUrl& x1, const QDateTime& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(2527, (void*)this, x)) return;
        this->KIO::SlaveBase::setModificationTime(x1, x2);
    }
    virtual void copy(const KUrl& x1, const KUrl& x2, int x3, QFlags<KIO::JobFlag> x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        x[4].s_uint = (uint)x4;
        if (this->_binding->callMethod(2528, (void*)this, x)) return;
        this->KIO::SlaveBase::copy(x1, x2, x3, x4);
    }
    virtual void del(const KUrl& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(2529, (void*)this, x)) return;
        this->KIO::SlaveBase::del(x1, x2);
    }
    virtual void setLinkDest(const KUrl& x1, const QString& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(2530, (void*)this, x)) return;
        this->KIO::SlaveBase::setLinkDest(x1, x2);
    }
    virtual void special(const QByteArray& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2531, (void*)this, x)) return;
        this->KIO::SlaveBase::special(x1);
    }
    virtual void multiGet(const QByteArray& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2532, (void*)this, x)) return;
        this->KIO::SlaveBase::multiGet(x1);
    }
    virtual void slave_status() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2533, (void*)this, x)) return;
        this->KIO::SlaveBase::slave_status();
    }
    virtual void reparseConfiguration() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2534, (void*)this, x)) return;
        this->KIO::SlaveBase::reparseConfiguration();
    }
    virtual void dispatch(int x1, const QByteArray& x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(2540, (void*)this, x)) return;
        this->KIO::SlaveBase::dispatch(x1, x2);
    }
    virtual void dispatchOpenCommand(int x1, const QByteArray& x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(2541, (void*)this, x)) return;
        this->KIO::SlaveBase::dispatchOpenCommand(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 179: //KIO::TCPSlaveBase::SslResultDetail
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KIO::TCPSlaveBase::SslResultDetail;
                    break;
                case Smoke::EnumDelete:
                    delete (KIO::TCPSlaveBase::SslResultDetail*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KIO::TCPSlaveBase::SslResultDetail*)xdata = (KIO::TCPSlaveBase::SslResultDetail)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KIO::TCPSlaveBase::SslResultDetail*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KIO__TCPSlaveBase() { this->_binding->deleted(122, (void*)this); }
};
void xenum_KIO__TCPSlaveBase(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KIO__TCPSlaveBase::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KIO__TCPSlaveBase(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__TCPSlaveBase *xself = (x_KIO__TCPSlaveBase*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KIO__TCPSlaveBase::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: x_KIO__TCPSlaveBase::x_20(args);	break;
        case 21: x_KIO__TCPSlaveBase::x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: x_KIO__TCPSlaveBase::x_23(args);	break;
        case 24: x_KIO__TCPSlaveBase::x_24(args);	break;
        case 25: x_KIO__TCPSlaveBase::x_25(args);	break;
        case 26: x_KIO__TCPSlaveBase::x_26(args);	break;
        case 27: delete (KIO::TCPSlaveBase*)xself;	break;
    }
}
class x_KIO__TransferJob : public KIO::TransferJob, 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::TransferJob*>(this))) {
            const QMetaObject* xret = ((const x_KIO__TransferJob*)this)->KIO::TransferJob::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__TransferJob*)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::TransferJob*>(this))) {
            void* xret = this->KIO::TransferJob::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::TransferJob::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::TransferJob::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::TransferJob::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::TransferJob::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::TransferJob*>(this))) {
            int xret = this->KIO::TransferJob::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 setModificationTime(const QDateTime&)
        this->KIO::TransferJob::setModificationTime(*(const QDateTime*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // bool isErrorPage() const
        bool xret = ((const x_KIO__TransferJob*)this)->KIO::TransferJob::isErrorPage();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setAsyncDataEnabled(bool)
        this->KIO::TransferJob::setAsyncDataEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void sendAsyncData(const QByteArray&)
        this->KIO::TransferJob::sendAsyncData(*(const QByteArray*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setReportDataSent(bool)
        this->KIO::TransferJob::setReportDataSent((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool reportDataSent() const
        bool xret = ((const x_KIO__TransferJob*)this)->KIO::TransferJob::reportDataSent();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // QString mimetype() const
        QString xret = ((const x_KIO__TransferJob*)this)->KIO::TransferJob::mimetype();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setTotalSize(unsigned long long)
        this->KIO::TransferJob::setTotalSize(*(unsigned long long*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // virtual void slotResult(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TransferJob*>(this))) {
            this->KIO::TransferJob::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)
        }
    }
    void x_17(Smoke::Stack x) {
        // virtual bool doResume()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TransferJob*>(this))) {
            bool xret = this->KIO::TransferJob::doResume();
            x[0].s_bool = xret;
        } else {
            bool xret = this->doResume();
            x[0].s_bool = xret;
        }
    }
    void x_18(Smoke::Stack x) {
        // void data(KIO::Job*, const QByteArray&)
        this->KIO::TransferJob::data((KIO::Job*)x[1].s_class,*(const QByteArray*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void dataReq(KIO::Job*, QByteArray&)
        this->KIO::TransferJob::dataReq((KIO::Job*)x[1].s_class,*(QByteArray*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void redirection(KIO::Job*, const KUrl&)
        this->KIO::TransferJob::redirection((KIO::Job*)x[1].s_class,*(const KUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void permanentRedirection(KIO::Job*, const KUrl&, const KUrl&)
        this->KIO::TransferJob::permanentRedirection((KIO::Job*)x[1].s_class,*(const KUrl*)x[2].s_class,*(const KUrl*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void mimetype(KIO::Job*, const QString&)
        this->KIO::TransferJob::mimetype((KIO::Job*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void canResume(KIO::Job*, KIO::filesize_t)
        this->KIO::TransferJob::canResume((KIO::Job*)x[1].s_class,*(KIO::filesize_t*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // virtual void slotRedirection(const KUrl&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TransferJob*>(this))) {
            this->KIO::TransferJob::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_25(Smoke::Stack x) {
        // virtual void slotFinished()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TransferJob*>(this))) {
            this->KIO::TransferJob::slotFinished();
            (void)x; // noop (for compiler warning)
        } else {
            this->slotFinished();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual void slotData(const QByteArray&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TransferJob*>(this))) {
            this->KIO::TransferJob::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_27(Smoke::Stack x) {
        // virtual void slotDataReq()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TransferJob*>(this))) {
            this->KIO::TransferJob::slotDataReq();
            (void)x; // noop (for compiler warning)
        } else {
            this->slotDataReq();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual void slotMimetype(const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TransferJob*>(this))) {
            this->KIO::TransferJob::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)
        }
    }
    void x_29(Smoke::Stack x) {
        // virtual void slotMetaData(const KIO::MetaData&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::TransferJob*>(this))) {
            this->KIO::TransferJob::slotMetaData(*(const KIO::MetaData*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotMetaData(*(const KIO::MetaData*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_30(Smoke::Stack x) {
        // KIO::TransferJob* TransferJob(KIO::TransferJobPrivate&)
        x_KIO__TransferJob* xret = new x_KIO__TransferJob(*(KIO::TransferJobPrivate*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__TransferJob(KIO::TransferJobPrivate& x1) : TransferJob(x1) {}
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::TransferJob::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::TransferJob::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::TransferJob::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2736, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::TransferJob::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2737, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::TransferJob::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(2742, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::TransferJob::qt_metacall(x1, x2, x3);
    }
    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 slotRedirection(const KUrl& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2759, (void*)this, x)) return;
        this->KIO::TransferJob::slotRedirection(x1);
    }
    virtual void slotFinished() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2760, (void*)this, x)) return;
        this->KIO::TransferJob::slotFinished();
    }
    virtual void slotData(const QByteArray& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2761, (void*)this, x)) return;
        this->KIO::TransferJob::slotData(x1);
    }
    virtual void slotDataReq() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2762, (void*)this, x)) return;
        this->KIO::TransferJob::slotDataReq();
    }
    virtual void slotMimetype(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(2763, (void*)this, x)) return;
        this->KIO::TransferJob::slotMimetype(x1);
    }
    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__TransferJob() { this->_binding->deleted(123, (void*)this); }
};
void xcall_KIO__TransferJob(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__TransferJob *xself = (x_KIO__TransferJob*)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__TransferJob::x_3(args);	break;
        case 4: x_KIO__TransferJob::x_4(args);	break;
        case 5: x_KIO__TransferJob::x_5(args);	break;
        case 6: x_KIO__TransferJob::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_KIO__TransferJob::x_30(args);	break;
        case 31: x_KIO__TransferJob::x_31(args);	break;
        case 32: x_KIO__TransferJob::x_32(args);	break;
        case 33: x_KIO__TransferJob::x_33(args);	break;
        case 34: delete (KIO::TransferJob*)xself;	break;
    }
}
class x_KIO__UDSEntry : public KIO::UDSEntry {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KIO::UDSEntry* UDSEntry()
        x_KIO__UDSEntry* xret = new x_KIO__UDSEntry();
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__UDSEntry() : UDSEntry() {}
    static void x_2(Smoke::Stack x) {
        // KIO::UDSEntry* UDSEntry(const KIO::UDSEntry&)
        x_KIO__UDSEntry* xret = new x_KIO__UDSEntry(*(const KIO::UDSEntry*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__UDSEntry(const KIO::UDSEntry& x1) : UDSEntry(x1) {}
    void x_3(Smoke::Stack x) {
        // KIO::UDSEntry& operator=(const KIO::UDSEntry&)
        KIO::UDSEntry& xret = this->KIO::UDSEntry::operator=(*(const KIO::UDSEntry*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // QString stringValue(unsigned int) const
        QString xret = ((const x_KIO__UDSEntry*)this)->KIO::UDSEntry::stringValue((unsigned int)x[1].s_uint);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_5(Smoke::Stack x) {
        // long long numberValue(unsigned int, long long) const
        long long xret = ((const x_KIO__UDSEntry*)this)->KIO::UDSEntry::numberValue((unsigned int)x[1].s_uint,*(long long*)x[2].s_class);
        x[0].s_class = (void*)new long long(xret);
    }
    void x_6(Smoke::Stack x) {
        // bool isDir() const
        bool xret = ((const x_KIO__UDSEntry*)this)->KIO::UDSEntry::isDir();
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool isLink() const
        bool xret = ((const x_KIO__UDSEntry*)this)->KIO::UDSEntry::isLink();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // void insert(unsigned int, const QString&)
        this->KIO::UDSEntry::insert((unsigned int)x[1].s_uint,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void insert(unsigned int, long long)
        this->KIO::UDSEntry::insert((unsigned int)x[1].s_uint,*(long long*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_KIO__UDSEntry*)this)->KIO::UDSEntry::count();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool contains(unsigned int) const
        bool xret = ((const x_KIO__UDSEntry*)this)->KIO::UDSEntry::contains((unsigned int)x[1].s_uint);
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool remove(unsigned int)
        bool xret = this->KIO::UDSEntry::remove((unsigned int)x[1].s_uint);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // QList<unsigned int> listFields() const
        QList<unsigned int> xret = ((const x_KIO__UDSEntry*)this)->KIO::UDSEntry::listFields();
        x[0].s_class = (void*)new QList<unsigned int>(xret);
    }
    void x_14(Smoke::Stack x) {
        // void clear()
        this->KIO::UDSEntry::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // long long numberValue(unsigned int) const
        long long xret = ((const x_KIO__UDSEntry*)this)->KIO::UDSEntry::numberValue((unsigned int)x[1].s_uint,(long long)0);
        x[0].s_class = (void*)new long long(xret);
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_STRING;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_NUMBER;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_TIME;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_SIZE;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_SIZE_LARGE;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_USER;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_ICON_NAME;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_GROUP;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_NAME;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_LOCAL_PATH;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_HIDDEN;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_ACCESS;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_MODIFICATION_TIME;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_ACCESS_TIME;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_CREATION_TIME;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_FILE_TYPE;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_LINK_DEST;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_URL;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_MIME_TYPE;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_GUESSED_MIME_TYPE;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_XML_PROPERTIES;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_EXTENDED_ACL;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_ACL_STRING;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_DEFAULT_ACL_STRING;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_DISPLAY_NAME;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_TARGET_URL;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_DISPLAY_TYPE;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_NEPOMUK_URI;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_ICON_OVERLAY_NAMES;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_NEPOMUK_QUERY;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_COMMENT;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_DEVICE_ID;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_INODE;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_EXTRA;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::UDSEntry::UDS_EXTRA_END;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 185: //KIO::UDSEntry::StandardFieldTypes
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KIO::UDSEntry::StandardFieldTypes;
                    break;
                case Smoke::EnumDelete:
                    delete (KIO::UDSEntry::StandardFieldTypes*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KIO::UDSEntry::StandardFieldTypes*)xdata = (KIO::UDSEntry::StandardFieldTypes)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KIO::UDSEntry::StandardFieldTypes*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KIO__UDSEntry() { this->_binding->deleted(125, (void*)this); }
};
void xenum_KIO__UDSEntry(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KIO__UDSEntry::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KIO__UDSEntry(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__UDSEntry *xself = (x_KIO__UDSEntry*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KIO__UDSEntry::x_1(args);	break;
        case 2: x_KIO__UDSEntry::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_KIO__UDSEntry::x_16(args);	break;
        case 17: x_KIO__UDSEntry::x_17(args);	break;
        case 18: x_KIO__UDSEntry::x_18(args);	break;
        case 19: x_KIO__UDSEntry::x_19(args);	break;
        case 20: x_KIO__UDSEntry::x_20(args);	break;
        case 21: x_KIO__UDSEntry::x_21(args);	break;
        case 22: x_KIO__UDSEntry::x_22(args);	break;
        case 23: x_KIO__UDSEntry::x_23(args);	break;
        case 24: x_KIO__UDSEntry::x_24(args);	break;
        case 25: x_KIO__UDSEntry::x_25(args);	break;
        case 26: x_KIO__UDSEntry::x_26(args);	break;
        case 27: x_KIO__UDSEntry::x_27(args);	break;
        case 28: x_KIO__UDSEntry::x_28(args);	break;
        case 29: x_KIO__UDSEntry::x_29(args);	break;
        case 30: x_KIO__UDSEntry::x_30(args);	break;
        case 31: x_KIO__UDSEntry::x_31(args);	break;
        case 32: x_KIO__UDSEntry::x_32(args);	break;
        case 33: x_KIO__UDSEntry::x_33(args);	break;
        case 34: x_KIO__UDSEntry::x_34(args);	break;
        case 35: x_KIO__UDSEntry::x_35(args);	break;
        case 36: x_KIO__UDSEntry::x_36(args);	break;
        case 37: x_KIO__UDSEntry::x_37(args);	break;
        case 38: x_KIO__UDSEntry::x_38(args);	break;
        case 39: x_KIO__UDSEntry::x_39(args);	break;
        case 40: x_KIO__UDSEntry::x_40(args);	break;
        case 41: x_KIO__UDSEntry::x_41(args);	break;
        case 42: x_KIO__UDSEntry::x_42(args);	break;
        case 43: x_KIO__UDSEntry::x_43(args);	break;
        case 44: x_KIO__UDSEntry::x_44(args);	break;
        case 45: x_KIO__UDSEntry::x_45(args);	break;
        case 46: x_KIO__UDSEntry::x_46(args);	break;
        case 47: x_KIO__UDSEntry::x_47(args);	break;
        case 48: x_KIO__UDSEntry::x_48(args);	break;
        case 49: x_KIO__UDSEntry::x_49(args);	break;
        case 50: x_KIO__UDSEntry::x_50(args);	break;
        case 51: delete (KIO::UDSEntry*)xself;	break;
    }
}
class x_KIconButton : public KIconButton, 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<KIconButton*>(this))) {
            const QMetaObject* xret = ((const x_KIconButton*)this)->KIconButton::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIconButton*)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<KIconButton*>(this))) {
            void* xret = this->KIconButton::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 = KIconButton::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 = KIconButton::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 = KIconButton::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 = KIconButton::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<KIconButton*>(this))) {
            int xret = this->KIconButton::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) {
        // KIconButton* KIconButton(QWidget*)
        x_KIconButton* xret = new x_KIconButton((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIconButton(QWidget* x1) : KIconButton(x1) {}
    static void x_9(Smoke::Stack x) {
        // KIconButton* KIconButton(KIconLoader*, QWidget*)
        x_KIconButton* xret = new x_KIconButton((KIconLoader*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIconButton(KIconLoader* x1, QWidget* x2) : KIconButton(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void setStrictIconSize(bool)
        this->KIconButton::setStrictIconSize((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool strictIconSize() const
        bool xret = ((const x_KIconButton*)this)->KIconButton::strictIconSize();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setIconType(KIconLoader::Group, KIconLoader::Context, bool)
        this->KIconButton::setIconType((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setIcon(const QString&)
        this->KIconButton::setIcon(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setIcon(const QIcon&)
        this->KIconButton::setIcon(*(const QIcon*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void resetIcon()
        this->KIconButton::resetIcon();
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // const QString& icon() const
        const QString& xret = ((const x_KIconButton*)this)->KIconButton::icon();
        x[0].s_class = (void*)&xret;
    }
    void x_17(Smoke::Stack x) {
        // void setIconSize(int)
        this->KIconButton::setIconSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // int iconSize() const
        int xret = ((const x_KIconButton*)this)->KIconButton::iconSize();
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setButtonIconSize(int)
        this->KIconButton::setButtonIconSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // int buttonIconSize() const
        int xret = ((const x_KIconButton*)this)->KIconButton::buttonIconSize();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // void iconChanged(const QString&)
        this->KIconButton::iconChanged(*(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 = KIconButton::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 = KIconButton::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) {
        // KIconButton* KIconButton()
        x_KIconButton* xret = new x_KIconButton((QWidget*)0L);
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // void setIconType(KIconLoader::Group, KIconLoader::Context)
        this->KIconButton::setIconType((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    static void x_26(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIconButton::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2821, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIconButton::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2822, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIconButton::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(2827, (void*)this, x)) return (int)x[0].s_int;
        return this->KIconButton::qt_metacall(x1, x2, x3);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3868, (void*)this, x)) return;
        this->QPushButton::paintEvent(x1);
    }
    virtual bool hitButton(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3683, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractButton::hitButton(x1);
    }
    virtual void checkStateSet() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3684, (void*)this, x)) return;
        this->QAbstractButton::checkStateSet();
    }
    virtual void nextCheckState() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3685, (void*)this, x)) return;
        this->QAbstractButton::nextCheckState();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3873, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3865, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPushButton::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3866, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QPushButton::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(3687, (void*)this, x)) return;
        this->QAbstractButton::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3688, (void*)this, x)) return;
        this->QAbstractButton::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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(3689, (void*)this, x)) return;
        this->QAbstractButton::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(3869, (void*)this, x)) return;
        this->QPushButton::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3686, (void*)this, x)) return;
        this->QAbstractButton::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3870, (void*)this, x)) return;
        this->QPushButton::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3871, (void*)this, x)) return;
        this->QPushButton::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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 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(3690, (void*)this, x)) return;
        this->QAbstractButton::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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(3867, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QPushButton::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(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(3691, (void*)this, x)) return;
        this->QAbstractButton::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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_KIconButton() { this->_binding->deleted(126, (void*)this); }
};
void xcall_KIconButton(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIconButton *xself = (x_KIconButton*)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_KIconButton::x_3(args);	break;
        case 4: x_KIconButton::x_4(args);	break;
        case 5: x_KIconButton::x_5(args);	break;
        case 6: x_KIconButton::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIconButton::x_8(args);	break;
        case 9: x_KIconButton::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_KIconButton::x_22(args);	break;
        case 23: x_KIconButton::x_23(args);	break;
        case 24: x_KIconButton::x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: x_KIconButton::x_26(args);	break;
        case 27: delete (KIconButton*)xself;	break;
    }
}
class x_KIconCanvas : public KIconCanvas, 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<KIconCanvas*>(this))) {
            const QMetaObject* xret = ((const x_KIconCanvas*)this)->KIconCanvas::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIconCanvas*)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<KIconCanvas*>(this))) {
            void* xret = this->KIconCanvas::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 = KIconCanvas::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 = KIconCanvas::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 = KIconCanvas::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 = KIconCanvas::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<KIconCanvas*>(this))) {
            int xret = this->KIconCanvas::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) {
        // KIconCanvas* KIconCanvas(QWidget*)
        x_KIconCanvas* xret = new x_KIconCanvas((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIconCanvas(QWidget* x1) : KIconCanvas(x1) {}
    void x_9(Smoke::Stack x) {
        // void loadFiles(const QStringList&)
        this->KIconCanvas::loadFiles(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString getCurrent() const
        QString xret = ((const x_KIconCanvas*)this)->KIconCanvas::getCurrent();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void stopLoading()
        this->KIconCanvas::stopLoading();
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void nameChanged(const QString&)
        this->KIconCanvas::nameChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void startLoading(int)
        this->KIconCanvas::startLoading((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void progress(int)
        this->KIconCanvas::progress((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void finished()
        this->KIconCanvas::finished();
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIconCanvas::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIconCanvas::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // KIconCanvas* KIconCanvas()
        x_KIconCanvas* xret = new x_KIconCanvas((QWidget*)0L);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIconCanvas::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2848, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIconCanvas::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2849, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIconCanvas::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(2854, (void*)this, x)) return (int)x[0].s_int;
        return this->KIconCanvas::qt_metacall(x1, x2, x3);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2928, (void*)this, x)) return;
        this->KListWidget::keyPressEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2929, (void*)this, x)) return;
        this->KListWidget::focusOutEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2930, (void*)this, x)) return;
        this->KListWidget::leaveEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2931, (void*)this, x)) return;
        this->KListWidget::mousePressEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2932, (void*)this, x)) return;
        this->KListWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2933, (void*)this, x)) return;
        this->KListWidget::mouseReleaseEvent(x1);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3844, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListWidget::mimeTypes();
    }
    virtual QMimeData* mimeData(const QList<QListWidgetItem*> x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new const QList<QListWidgetItem*>(x1);
        if (this->_binding->callMethod(3845, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QListWidget::mimeData(x1);
    }
    virtual bool dropMimeData(int x1, const QMimeData* x2, Qt::DropAction x3) {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        x[3].s_enum = x3;
        if (this->_binding->callMethod(3846, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListWidget::dropMimeData(x1, x2, x3);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3847, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QListWidget::supportedDropActions();
    }
    virtual void setSelectionModel(QItemSelectionModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3714, (void*)this, x)) return;
        this->QAbstractItemView::setSelectionModel(x1);
    }
    virtual void keyboardSearch(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3715, (void*)this, x)) return;
        this->QAbstractItemView::keyboardSearch(x1);
    }
    virtual QRect visualRect(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3814, (void*)this, x)) {
            QRect* xptr = (QRect*)x[0].s_class;
            QRect xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::visualRect(x1);
    }
    virtual void scrollTo(const QModelIndex& x1, QAbstractItemView::ScrollHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3815, (void*)this, x)) return;
        this->QListView::scrollTo(x1, x2);
    }
    virtual QModelIndex indexAt(const QPoint& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3816, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::indexAt(x1);
    }
    virtual int sizeHintForRow(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3716, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForRow(x1);
    }
    virtual int sizeHintForColumn(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3717, (void*)this, x)) return (int)x[0].s_int;
        return this->QAbstractItemView::sizeHintForColumn(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3718, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemView::inputMethodQuery(x1);
    }
    virtual void reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3818, (void*)this, x)) return;
        this->QListView::reset();
    }
    virtual void setRootIndex(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3819, (void*)this, x)) return;
        this->QListView::setRootIndex(x1);
    }
    virtual void doItemsLayout() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3817, (void*)this, x)) return;
        this->QListView::doItemsLayout();
    }
    virtual void selectAll() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3719, (void*)this, x)) return;
        this->QAbstractItemView::selectAll();
    }
    virtual void dataChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3821, (void*)this, x)) return;
        this->QListView::dataChanged(x1, x2);
    }
    virtual void rowsInserted(const QModelIndex& x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(3822, (void*)this, x)) return;
        this->QListView::rowsInserted(x1, x2, x3);
    }
    virtual void rowsAboutToBeRemoved(const QModelIndex& x1, int x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(3823, (void*)this, x)) return;
        this->QListView::rowsAboutToBeRemoved(x1, x2, x3);
    }
    virtual void selectionChanged(const QItemSelection& x1, const QItemSelection& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3840, (void*)this, x)) return;
        this->QListView::selectionChanged(x1, x2);
    }
    virtual void currentChanged(const QModelIndex& x1, const QModelIndex& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3841, (void*)this, x)) return;
        this->QListView::currentChanged(x1, x2);
    }
    virtual void updateEditorData() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3720, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorData();
    }
    virtual void updateEditorGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3721, (void*)this, x)) return;
        this->QAbstractItemView::updateEditorGeometries();
    }
    virtual void updateGeometries() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3838, (void*)this, x)) return;
        this->QListView::updateGeometries();
    }
    virtual void verticalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3722, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarAction(x1);
    }
    virtual void horizontalScrollbarAction(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3723, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarAction(x1);
    }
    virtual void verticalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3724, (void*)this, x)) return;
        this->QAbstractItemView::verticalScrollbarValueChanged(x1);
    }
    virtual void horizontalScrollbarValueChanged(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3725, (void*)this, x)) return;
        this->QAbstractItemView::horizontalScrollbarValueChanged(x1);
    }
    virtual void closeEditor(QWidget* x1, QAbstractItemDelegate::EndEditHint x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(3726, (void*)this, x)) return;
        this->QAbstractItemView::closeEditor(x1, x2);
    }
    virtual void commitData(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3727, (void*)this, x)) return;
        this->QAbstractItemView::commitData(x1);
    }
    virtual void editorDestroyed(QObject* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3728, (void*)this, x)) return;
        this->QAbstractItemView::editorDestroyed(x1);
    }
    virtual QModelIndex moveCursor(QAbstractItemView::CursorAction x1, QFlags<Qt::KeyboardModifier> x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(3834, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::moveCursor(x1, x2);
    }
    virtual int horizontalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3832, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::horizontalOffset();
    }
    virtual int verticalOffset() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3833, (void*)this, x)) return (int)x[0].s_int;
        return this->QListView::verticalOffset();
    }
    virtual bool isIndexHidden(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3839, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListView::isIndexHidden(x1);
    }
    virtual void setSelection(const QRect& x1, QFlags<QItemSelectionModel::SelectionFlag> x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        if (this->_binding->callMethod(3835, (void*)this, x)) return;
        this->QListView::setSelection(x1, x2);
    }
    virtual QRegion visualRegionForSelection(const QItemSelection& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3836, (void*)this, x)) {
            QRegion* xptr = (QRegion*)x[0].s_class;
            QRegion xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::visualRegionForSelection(x1);
    }
    virtual QList<QModelIndex> selectedIndexes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3837, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::selectedIndexes();
    }
    virtual bool edit(const QModelIndex& x1, QAbstractItemView::EditTrigger x2, QEvent* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(3729, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::edit(x1, x2, x3);
    }
    virtual QFlags<QItemSelectionModel::SelectionFlag> selectionCommand(const QModelIndex& x1, const QEvent* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3730, (void*)this, x)) return (QFlags<QItemSelectionModel::SelectionFlag>)x[0].s_uint;
        return this->QAbstractItemView::selectionCommand(x1, x2);
    }
    virtual void startDrag(QFlags<Qt::DropAction> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(3829, (void*)this, x)) return;
        this->QListView::startDrag(x1);
    }
    virtual QStyleOptionViewItem viewOptions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3830, (void*)this, x)) {
            QStyleOptionViewItem* xptr = (QStyleOptionViewItem*)x[0].s_class;
            QStyleOptionViewItem xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QListView::viewOptions();
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3732, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::viewportEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(3820, (void*)this, x)) return;
        this->QListView::scrollContentsBy(x1, x2);
    }
    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(3758, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3757, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3824, (void*)this, x)) return;
        this->QListView::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3759, (void*)this, x)) return;
        this->QAbstractScrollArea::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(3734, (void*)this, x)) return;
        this->QAbstractItemView::focusInEvent(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 paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3831, (void*)this, x)) return;
        this->QListView::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(3826, (void*)this, x)) return;
        this->QListView::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(3760, (void*)this, x)) return;
        this->QAbstractScrollArea::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(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(3733, (void*)this, x)) return;
        this->QAbstractItemView::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3827, (void*)this, x)) return;
        this->QListView::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3828, (void*)this, x)) return;
        this->QListView::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3842, (void*)this, x)) return;
        this->QListWidget::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(3794, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3735, (void*)this, x)) return;
        this->QAbstractItemView::inputMethodEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3731, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemView::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(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(3843, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QListWidget::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(3825, (void*)this, x)) return;
        this->QListView::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_KIconCanvas() { this->_binding->deleted(127, (void*)this); }
};
void xcall_KIconCanvas(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIconCanvas *xself = (x_KIconCanvas*)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_KIconCanvas::x_3(args);	break;
        case 4: x_KIconCanvas::x_4(args);	break;
        case 5: x_KIconCanvas::x_5(args);	break;
        case 6: x_KIconCanvas::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIconCanvas::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_KIconCanvas::x_16(args);	break;
        case 17: x_KIconCanvas::x_17(args);	break;
        case 18: x_KIconCanvas::x_18(args);	break;
        case 19: x_KIconCanvas::x_19(args);	break;
        case 20: delete (KIconCanvas*)xself;	break;
    }
}
class x_KIconDialog : public KIconDialog, 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<KIconDialog*>(this))) {
            const QMetaObject* xret = ((const x_KIconDialog*)this)->KIconDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIconDialog*)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<KIconDialog*>(this))) {
            void* xret = this->KIconDialog::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 = KIconDialog::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 = KIconDialog::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 = KIconDialog::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 = KIconDialog::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<KIconDialog*>(this))) {
            int xret = this->KIconDialog::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) {
        // KIconDialog* KIconDialog(QWidget*)
        x_KIconDialog* xret = new x_KIconDialog((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIconDialog(QWidget* x1) : KIconDialog(x1) {}
    static void x_9(Smoke::Stack x) {
        // KIconDialog* KIconDialog(KIconLoader*, QWidget*)
        x_KIconDialog* xret = new x_KIconDialog((KIconLoader*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIconDialog(KIconLoader* x1, QWidget* x2) : KIconDialog(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void setStrictIconSize(bool)
        this->KIconDialog::setStrictIconSize((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool strictIconSize() const
        bool xret = ((const x_KIconDialog*)this)->KIconDialog::strictIconSize();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setCustomLocation(const QString&)
        this->KIconDialog::setCustomLocation(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setIconSize(int)
        this->KIconDialog::setIconSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int iconSize() const
        int xret = ((const x_KIconDialog*)this)->KIconDialog::iconSize();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setup(KIconLoader::Group, KIconLoader::Context, bool, int, bool, bool, bool)
        this->KIconDialog::setup((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)x[4].s_int,(bool)x[5].s_bool,(bool)x[6].s_bool,(bool)x[7].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QString openDialog()
        QString xret = this->KIconDialog::openDialog();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // void showDialog()
        this->KIconDialog::showDialog();
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static QString getIcon(KIconLoader::Group, KIconLoader::Context, bool, int, bool, QWidget*, const QString&)
        QString xret = KIconDialog::getIcon((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)x[4].s_int,(bool)x[5].s_bool,(QWidget*)x[6].s_class,*(const QString*)x[7].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_19(Smoke::Stack x) {
        // void newIconName(const QString&)
        this->KIconDialog::newIconName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void slotOk()
        this->KIconDialog::slotOk();
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIconDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIconDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // KIconDialog* KIconDialog()
        x_KIconDialog* xret = new x_KIconDialog((QWidget*)0L);
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // KIconDialog* KIconDialog(KIconLoader*)
        x_KIconDialog* xret = new x_KIconDialog((KIconLoader*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // void setup(KIconLoader::Group)
        this->KIconDialog::setup((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)KIconLoader::Application,(bool)false,(int)0,(bool)false,(bool)false,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setup(KIconLoader::Group, KIconLoader::Context)
        this->KIconDialog::setup((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)false,(int)0,(bool)false,(bool)false,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setup(KIconLoader::Group, KIconLoader::Context, bool)
        this->KIconDialog::setup((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)0,(bool)false,(bool)false,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setup(KIconLoader::Group, KIconLoader::Context, bool, int)
        this->KIconDialog::setup((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)x[4].s_int,(bool)false,(bool)false,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void setup(KIconLoader::Group, KIconLoader::Context, bool, int, bool)
        this->KIconDialog::setup((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)x[4].s_int,(bool)x[5].s_bool,(bool)false,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void setup(KIconLoader::Group, KIconLoader::Context, bool, int, bool, bool)
        this->KIconDialog::setup((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)x[4].s_int,(bool)x[5].s_bool,(bool)x[6].s_bool,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    static void x_31(Smoke::Stack x) {
        // static QString getIcon()
        QString xret = KIconDialog::getIcon((KIconLoader::Group)KIconLoader::Desktop,(KIconLoader::Context)KIconLoader::Application,(bool)false,(int)0,(bool)false,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QString getIcon(KIconLoader::Group)
        QString xret = KIconDialog::getIcon((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)KIconLoader::Application,(bool)false,(int)0,(bool)false,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static QString getIcon(KIconLoader::Group, KIconLoader::Context)
        QString xret = KIconDialog::getIcon((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)false,(int)0,(bool)false,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // static QString getIcon(KIconLoader::Group, KIconLoader::Context, bool)
        QString xret = KIconDialog::getIcon((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)0,(bool)false,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_35(Smoke::Stack x) {
        // static QString getIcon(KIconLoader::Group, KIconLoader::Context, bool, int)
        QString xret = KIconDialog::getIcon((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)x[4].s_int,(bool)false,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // static QString getIcon(KIconLoader::Group, KIconLoader::Context, bool, int, bool)
        QString xret = KIconDialog::getIcon((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)x[4].s_int,(bool)x[5].s_bool,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static QString getIcon(KIconLoader::Group, KIconLoader::Context, bool, int, bool, QWidget*)
        QString xret = KIconDialog::getIcon((KIconLoader::Group)x[1].s_enum,(KIconLoader::Context)x[2].s_enum,(bool)x[3].s_bool,(int)x[4].s_int,(bool)x[5].s_bool,(QWidget*)x[6].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIconDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2868, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIconDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2869, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIconDialog::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(2874, (void*)this, x)) return (int)x[0].s_int;
        return this->KIconDialog::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(676, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(677, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(678, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(679, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(680, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(681, (void*)this, x)) return;
        this->KDialog::hideEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(682, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(683, (void*)this, x)) return;
        this->KDialog::keyPressEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(684, (void*)this, x)) return;
        this->KDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3783, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3784, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3785, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3780, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3879, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3880, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3881, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3882, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3883, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3885, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3886, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3887, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3888, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3889, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3890, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3891, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3789, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3790, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3895, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3896, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3897, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3898, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3899, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3900, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3788, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3903, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3904, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3906, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3907, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3908, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3909, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3910, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3911, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3912, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3791, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3862, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3877, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KIconDialog() { this->_binding->deleted(128, (void*)this); }
};
void xcall_KIconDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIconDialog *xself = (x_KIconDialog*)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_KIconDialog::x_3(args);	break;
        case 4: x_KIconDialog::x_4(args);	break;
        case 5: x_KIconDialog::x_5(args);	break;
        case 6: x_KIconDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIconDialog::x_8(args);	break;
        case 9: x_KIconDialog::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: x_KIconDialog::x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: x_KIconDialog::x_21(args);	break;
        case 22: x_KIconDialog::x_22(args);	break;
        case 23: x_KIconDialog::x_23(args);	break;
        case 24: x_KIconDialog::x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: x_KIconDialog::x_31(args);	break;
        case 32: x_KIconDialog::x_32(args);	break;
        case 33: x_KIconDialog::x_33(args);	break;
        case 34: x_KIconDialog::x_34(args);	break;
        case 35: x_KIconDialog::x_35(args);	break;
        case 36: x_KIconDialog::x_36(args);	break;
        case 37: x_KIconDialog::x_37(args);	break;
        case 38: x_KIconDialog::x_38(args);	break;
        case 39: delete (KIconDialog*)xself;	break;
    }
}

}
