//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__Connection : public KIO::Connection, 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::Connection*>(this))) {
            const QMetaObject* xret = ((const x_KIO__Connection*)this)->KIO::Connection::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__Connection*)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::Connection*>(this))) {
            void* xret = this->KIO::Connection::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::Connection::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::Connection::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::Connection::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::Connection::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::Connection*>(this))) {
            int xret = this->KIO::Connection::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // KIO::Connection* Connection(QObject*)
        x_KIO__Connection* xret = new x_KIO__Connection((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__Connection(QObject* x1) : Connection(x1) {}
    void x_9(Smoke::Stack x) {
        // void connectToRemote(const QString&)
        this->KIO::Connection::connectToRemote(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void close()
        this->KIO::Connection::close();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QString errorString() const
        QString xret = ((const x_KIO__Connection*)this)->KIO::Connection::errorString();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // bool isConnected() const
        bool xret = ((const x_KIO__Connection*)this)->KIO::Connection::isConnected();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool inited() const
        bool xret = ((const x_KIO__Connection*)this)->KIO::Connection::inited();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool send(int, const QByteArray&)
        bool xret = this->KIO::Connection::send((int)x[1].s_int,*(const QByteArray*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool sendnow(int, const QByteArray&)
        bool xret = this->KIO::Connection::sendnow((int)x[1].s_int,*(const QByteArray*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool hasTaskAvailable() const
        bool xret = ((const x_KIO__Connection*)this)->KIO::Connection::hasTaskAvailable();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // bool waitForIncomingTask(int)
        bool xret = this->KIO::Connection::waitForIncomingTask((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // int read(int*, QByteArray&)
        int xret = this->KIO::Connection::read((int*)x[1].s_class,*(QByteArray*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // void suspend()
        this->KIO::Connection::suspend();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void resume()
        this->KIO::Connection::resume();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // bool suspended() const
        bool xret = ((const x_KIO__Connection*)this)->KIO::Connection::suspended();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // void readyRead()
        this->KIO::Connection::readyRead();
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::Connection::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::Connection::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // KIO::Connection* Connection()
        x_KIO__Connection* xret = new x_KIO__Connection((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // bool send(int)
        bool xret = this->KIO::Connection::send((int)x[1].s_int,(const QByteArray&)QByteArray());
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // bool waitForIncomingTask()
        bool xret = this->KIO::Connection::waitForIncomingTask((int)30000);
        x[0].s_bool = xret;
    }
    static void x_28(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::Connection::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1747, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::Connection::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1748, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::Connection::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(1753, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::Connection::qt_metacall(x1, x2, x3);
    }
    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__Connection() { this->_binding->deleted(71, (void*)this); }
};
void xcall_KIO__Connection(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__Connection *xself = (x_KIO__Connection*)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__Connection::x_3(args);	break;
        case 4: x_KIO__Connection::x_4(args);	break;
        case 5: x_KIO__Connection::x_5(args);	break;
        case 6: x_KIO__Connection::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIO__Connection::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: x_KIO__Connection::x_23(args);	break;
        case 24: x_KIO__Connection::x_24(args);	break;
        case 25: x_KIO__Connection::x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: x_KIO__Connection::x_28(args);	break;
        case 29: delete (KIO::Connection*)xself;	break;
    }
}
class x_KIO__ConnectionServer : public KIO::ConnectionServer, 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::ConnectionServer*>(this))) {
            const QMetaObject* xret = ((const x_KIO__ConnectionServer*)this)->KIO::ConnectionServer::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__ConnectionServer*)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::ConnectionServer*>(this))) {
            void* xret = this->KIO::ConnectionServer::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::ConnectionServer::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::ConnectionServer::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::ConnectionServer::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::ConnectionServer::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::ConnectionServer*>(this))) {
            int xret = this->KIO::ConnectionServer::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // KIO::ConnectionServer* ConnectionServer(QObject*)
        x_KIO__ConnectionServer* xret = new x_KIO__ConnectionServer((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__ConnectionServer(QObject* x1) : ConnectionServer(x1) {}
    void x_9(Smoke::Stack x) {
        // void listenForRemote()
        this->KIO::ConnectionServer::listenForRemote();
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isListening() const
        bool xret = ((const x_KIO__ConnectionServer*)this)->KIO::ConnectionServer::isListening();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void close()
        this->KIO::ConnectionServer::close();
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString address() const
        QString xret = ((const x_KIO__ConnectionServer*)this)->KIO::ConnectionServer::address();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // KIO::Connection* nextPendingConnection()
        KIO::Connection* xret = this->KIO::ConnectionServer::nextPendingConnection();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // void setNextPendingConnection(KIO::Connection*)
        this->KIO::ConnectionServer::setNextPendingConnection((KIO::Connection*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void newConnection()
        this->KIO::ConnectionServer::newConnection();
        (void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::ConnectionServer::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 = KIO::ConnectionServer::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) {
        // KIO::ConnectionServer* ConnectionServer()
        x_KIO__ConnectionServer* xret = new x_KIO__ConnectionServer((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::ConnectionServer::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1776, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::ConnectionServer::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1777, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::ConnectionServer::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(1782, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::ConnectionServer::qt_metacall(x1, x2, x3);
    }
    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__ConnectionServer() { this->_binding->deleted(72, (void*)this); }
};
void xcall_KIO__ConnectionServer(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__ConnectionServer *xself = (x_KIO__ConnectionServer*)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__ConnectionServer::x_3(args);	break;
        case 4: x_KIO__ConnectionServer::x_4(args);	break;
        case 5: x_KIO__ConnectionServer::x_5(args);	break;
        case 6: x_KIO__ConnectionServer::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIO__ConnectionServer::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__ConnectionServer::x_16(args);	break;
        case 17: x_KIO__ConnectionServer::x_17(args);	break;
        case 18: x_KIO__ConnectionServer::x_18(args);	break;
        case 19: x_KIO__ConnectionServer::x_19(args);	break;
        case 20: delete (KIO::ConnectionServer*)xself;	break;
    }
}
class x_KIO__CopyInfo : public KIO::CopyInfo {
    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::CopyInfo* CopyInfo()
        x_KIO__CopyInfo* xret = new x_KIO__CopyInfo();
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__CopyInfo() : CopyInfo() {}
    static void x_2(Smoke::Stack x) {
        // KIO::CopyInfo* CopyInfo(const KIO::CopyInfo&)
        x_KIO__CopyInfo* xret = new x_KIO__CopyInfo(*(const KIO::CopyInfo*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__CopyInfo(const KIO::CopyInfo& x1) : CopyInfo(x1) {}
    void x_3(Smoke::Stack x) {
        // KUrl uSource
        x[0].s_class = (void*)&this->KIO::CopyInfo::uSource;
    }
    void x_4(Smoke::Stack x) {
        // KUrl uSource=
        this->KIO::CopyInfo::uSource = *(const KUrl*)x[1].s_class;
    }
    void x_5(Smoke::Stack x) {
        // KUrl uDest
        x[0].s_class = (void*)&this->KIO::CopyInfo::uDest;
    }
    void x_6(Smoke::Stack x) {
        // KUrl uDest=
        this->KIO::CopyInfo::uDest = *(const KUrl*)x[1].s_class;
    }
    void x_7(Smoke::Stack x) {
        // QString linkDest
        x[0].s_class = (void*)&this->KIO::CopyInfo::linkDest;
    }
    void x_8(Smoke::Stack x) {
        // QString linkDest=
        this->KIO::CopyInfo::linkDest = *(const QString*)x[1].s_class;
    }
    void x_9(Smoke::Stack x) {
        // int permissions
        x[0].s_int = this->KIO::CopyInfo::permissions;
    }
    void x_10(Smoke::Stack x) {
        // int permissions=
        this->KIO::CopyInfo::permissions = (int)x[1].s_int;
    }
    void x_11(Smoke::Stack x) {
        // time_t ctime
        x[0].s_class = (void*)new time_t(this->KIO::CopyInfo::ctime);
    }
    void x_12(Smoke::Stack x) {
        // time_t ctime=
        this->KIO::CopyInfo::ctime = *(time_t*)x[1].s_class;
    }
    void x_13(Smoke::Stack x) {
        // time_t mtime
        x[0].s_class = (void*)new time_t(this->KIO::CopyInfo::mtime);
    }
    void x_14(Smoke::Stack x) {
        // time_t mtime=
        this->KIO::CopyInfo::mtime = *(time_t*)x[1].s_class;
    }
    void x_15(Smoke::Stack x) {
        // unsigned long long size
        x[0].s_class = (void*)new unsigned long long(this->KIO::CopyInfo::size);
    }
    void x_16(Smoke::Stack x) {
        // unsigned long long size=
        this->KIO::CopyInfo::size = *(unsigned long long*)x[1].s_class;
    }
    ~x_KIO__CopyInfo() { this->_binding->deleted(73, (void*)this); }
};
void xcall_KIO__CopyInfo(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__CopyInfo *xself = (x_KIO__CopyInfo*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KIO__CopyInfo::x_1(args);	break;
        case 2: x_KIO__CopyInfo::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: delete (KIO::CopyInfo*)xself;	break;
    }
}
class x_KIO__CopyJob : public KIO::CopyJob, 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::CopyJob*>(this))) {
            const QMetaObject* xret = ((const x_KIO__CopyJob*)this)->KIO::CopyJob::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__CopyJob*)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::CopyJob*>(this))) {
            void* xret = this->KIO::CopyJob::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::CopyJob::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::CopyJob::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::CopyJob::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::CopyJob::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::CopyJob*>(this))) {
            int xret = this->KIO::CopyJob::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) {
        // KIO::CopyJob::CopyMode operationMode() const
        KIO::CopyJob::CopyMode xret = ((const x_KIO__CopyJob*)this)->KIO::CopyJob::operationMode();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // KUrl::List srcUrls() const
        KUrl::List xret = ((const x_KIO__CopyJob*)this)->KIO::CopyJob::srcUrls();
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    void x_10(Smoke::Stack x) {
        // KUrl destUrl() const
        KUrl xret = ((const x_KIO__CopyJob*)this)->KIO::CopyJob::destUrl();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setDefaultPermissions(bool)
        this->KIO::CopyJob::setDefaultPermissions((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setAutoSkip(bool)
        this->KIO::CopyJob::setAutoSkip((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void setAutoRename(bool)
        this->KIO::CopyJob::setAutoRename((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setWriteIntoExistingDirectories(bool)
        this->KIO::CopyJob::setWriteIntoExistingDirectories((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // virtual bool doSuspend()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::CopyJob*>(this))) {
            bool xret = this->KIO::CopyJob::doSuspend();
            x[0].s_bool = xret;
        } else {
            bool xret = this->doSuspend();
            x[0].s_bool = xret;
        }
    }
    void x_16(Smoke::Stack x) {
        // void totalFiles(KJob*, unsigned long)
        this->KIO::CopyJob::totalFiles((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void totalDirs(KJob*, unsigned long)
        this->KIO::CopyJob::totalDirs((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void aboutToCreate(KIO::Job*, const QList<KIO::CopyInfo>&)
        this->KIO::CopyJob::aboutToCreate((KIO::Job*)x[1].s_class,*(const QList<KIO::CopyInfo>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void processedFiles(KIO::Job*, unsigned long)
        this->KIO::CopyJob::processedFiles((KIO::Job*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void processedDirs(KIO::Job*, unsigned long)
        this->KIO::CopyJob::processedDirs((KIO::Job*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void copying(KIO::Job*, const KUrl&, const KUrl&)
        this->KIO::CopyJob::copying((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 linking(KIO::Job*, const QString&, const KUrl&)
        this->KIO::CopyJob::linking((KIO::Job*)x[1].s_class,*(const QString*)x[2].s_class,*(const KUrl*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void moving(KIO::Job*, const KUrl&, const KUrl&)
        this->KIO::CopyJob::moving((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_24(Smoke::Stack x) {
        // void creatingDir(KIO::Job*, const KUrl&)
        this->KIO::CopyJob::creatingDir((KIO::Job*)x[1].s_class,*(const KUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void renamed(KIO::Job*, const KUrl&, const KUrl&)
        this->KIO::CopyJob::renamed((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_26(Smoke::Stack x) {
        // void copyingDone(KIO::Job*, const KUrl&, const KUrl&, time_t, bool, bool)
        this->KIO::CopyJob::copyingDone((KIO::Job*)x[1].s_class,*(const KUrl*)x[2].s_class,*(const KUrl*)x[3].s_class,*(time_t*)x[4].s_class,(bool)x[5].s_bool,(bool)x[6].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void copyingLinkDone(KIO::Job*, const KUrl&, const QString&, const KUrl&)
        this->KIO::CopyJob::copyingLinkDone((KIO::Job*)x[1].s_class,*(const KUrl*)x[2].s_class,*(const QString*)x[3].s_class,*(const KUrl*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // virtual void slotResult(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::CopyJob*>(this))) {
            this->KIO::CopyJob::slotResult((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotResult((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_29(Smoke::Stack x) {
        // KIO::CopyJob* CopyJob(KIO::CopyJobPrivate&)
        x_KIO__CopyJob* xret = new x_KIO__CopyJob(*(KIO::CopyJobPrivate*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__CopyJob(KIO::CopyJobPrivate& x1) : CopyJob(x1) {}
    void x_30(Smoke::Stack x) {
        // void emitResult()
        this->KIO::CopyJob::emitResult();
        (void)x; // noop (for compiler warning)
    }
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::CopyJob::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::CopyJob::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::CopyJob::staticMetaObject;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::CopyJob::Copy;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::CopyJob::Move;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::CopyJob::Link;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1813, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::CopyJob::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1814, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::CopyJob::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(1819, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::CopyJob::qt_metacall(x1, x2, x3);
    }
    virtual bool doSuspend() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1827, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::CopyJob::doSuspend();
    }
    virtual void slotResult(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1840, (void*)this, x)) return;
        this->KIO::CopyJob::slotResult(x1);
    }
    virtual bool doKill() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2047, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doKill();
    }
    virtual bool doResume() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2049, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doResume();
    }
    virtual bool addSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2065, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::addSubjob(x1);
    }
    virtual bool removeSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2066, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::removeSubjob(x1);
    }
    virtual void slotInfoMessage(KJob* x1, const QString& x2, const QString& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(557, (void*)this, x)) return;
        this->KCompositeJob::slotInfoMessage(x1, x2, x3);
    }
    virtual void start() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2045, (void*)this, x)) return;
        this->KIO::Job::start();
    }
    virtual QString errorString() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2050, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KIO::Job::errorString();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3859, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3862, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 111: //KIO::CopyJob::CopyMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KIO::CopyJob::CopyMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KIO::CopyJob::CopyMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KIO::CopyJob::CopyMode*)xdata = (KIO::CopyJob::CopyMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KIO::CopyJob::CopyMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KIO__CopyJob() { this->_binding->deleted(74, (void*)this); }
};
void xenum_KIO__CopyJob(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KIO__CopyJob::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KIO__CopyJob(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__CopyJob *xself = (x_KIO__CopyJob*)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__CopyJob::x_3(args);	break;
        case 4: x_KIO__CopyJob::x_4(args);	break;
        case 5: x_KIO__CopyJob::x_5(args);	break;
        case 6: x_KIO__CopyJob::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: x_KIO__CopyJob::x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: x_KIO__CopyJob::x_31(args);	break;
        case 32: x_KIO__CopyJob::x_32(args);	break;
        case 33: x_KIO__CopyJob::x_33(args);	break;
        case 34: x_KIO__CopyJob::x_34(args);	break;
        case 35: x_KIO__CopyJob::x_35(args);	break;
        case 36: x_KIO__CopyJob::x_36(args);	break;
        case 37: delete (KIO::CopyJob*)xself;	break;
    }
}
class x_KIO__DavJob : public KIO::DavJob, 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::DavJob*>(this))) {
            const QMetaObject* xret = ((const x_KIO__DavJob*)this)->KIO::DavJob::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__DavJob*)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::DavJob*>(this))) {
            void* xret = this->KIO::DavJob::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::DavJob::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::DavJob::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::DavJob::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::DavJob::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::DavJob*>(this))) {
            int xret = this->KIO::DavJob::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) {
        // QDomDocument& response()
        QDomDocument& xret = this->KIO::DavJob::response();
        x[0].s_class = (void*)&xret;
    }
    void x_9(Smoke::Stack x) {
        // virtual void slotFinished()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::DavJob*>(this))) {
            this->KIO::DavJob::slotFinished();
            (void)x; // noop (for compiler warning)
        } else {
            this->slotFinished();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual void slotData(const QByteArray&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::DavJob*>(this))) {
            this->KIO::DavJob::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)
        }
    }
    static void x_11(Smoke::Stack x) {
        // KIO::DavJob* DavJob(KIO::DavJobPrivate&, int, const QString&)
        x_KIO__DavJob* xret = new x_KIO__DavJob(*(KIO::DavJobPrivate*)x[1].s_class,(int)x[2].s_int,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__DavJob(KIO::DavJobPrivate& x1, int x2, const QString& x3) : DavJob(x1, x2, x3) {}
    static void x_12(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::DavJob::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::DavJob::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::DavJob::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1850, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::DavJob::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1851, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::DavJob::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(1856, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::DavJob::qt_metacall(x1, x2, x3);
    }
    virtual void slotFinished() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1858, (void*)this, x)) return;
        this->KIO::DavJob::slotFinished();
    }
    virtual void slotData(const QByteArray& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(1859, (void*)this, x)) return;
        this->KIO::DavJob::slotData(x1);
    }
    virtual void slotResult(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2751, (void*)this, x)) return;
        this->KIO::TransferJob::slotResult(x1);
    }
    virtual bool doResume() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2752, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::TransferJob::doResume();
    }
    virtual void 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 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__DavJob() { this->_binding->deleted(76, (void*)this); }
};
void xcall_KIO__DavJob(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__DavJob *xself = (x_KIO__DavJob*)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__DavJob::x_3(args);	break;
        case 4: x_KIO__DavJob::x_4(args);	break;
        case 5: x_KIO__DavJob::x_5(args);	break;
        case 6: x_KIO__DavJob::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: x_KIO__DavJob::x_11(args);	break;
        case 12: x_KIO__DavJob::x_12(args);	break;
        case 13: x_KIO__DavJob::x_13(args);	break;
        case 14: x_KIO__DavJob::x_14(args);	break;
        case 15: delete (KIO::DavJob*)xself;	break;
    }
}
class x_KIO__DeleteJob : public KIO::DeleteJob, 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::DeleteJob*>(this))) {
            const QMetaObject* xret = ((const x_KIO__DeleteJob*)this)->KIO::DeleteJob::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__DeleteJob*)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::DeleteJob*>(this))) {
            void* xret = this->KIO::DeleteJob::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::DeleteJob::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::DeleteJob::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::DeleteJob::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::DeleteJob::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::DeleteJob*>(this))) {
            int xret = this->KIO::DeleteJob::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) {
        // KUrl::List urls() const
        KUrl::List xret = ((const x_KIO__DeleteJob*)this)->KIO::DeleteJob::urls();
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    void x_9(Smoke::Stack x) {
        // void totalFiles(KJob*, unsigned long)
        this->KIO::DeleteJob::totalFiles((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void totalDirs(KJob*, unsigned long)
        this->KIO::DeleteJob::totalDirs((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void processedFiles(KIO::Job*, unsigned long)
        this->KIO::DeleteJob::processedFiles((KIO::Job*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void processedDirs(KIO::Job*, unsigned long)
        this->KIO::DeleteJob::processedDirs((KIO::Job*)x[1].s_class,(unsigned long)x[2].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void deleting(KIO::Job*, const KUrl&)
        this->KIO::DeleteJob::deleting((KIO::Job*)x[1].s_class,*(const KUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // virtual void slotResult(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::DeleteJob*>(this))) {
            this->KIO::DeleteJob::slotResult((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotResult((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_15(Smoke::Stack x) {
        // KIO::DeleteJob* DeleteJob(KIO::DeleteJobPrivate&)
        x_KIO__DeleteJob* xret = new x_KIO__DeleteJob(*(KIO::DeleteJobPrivate*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__DeleteJob(KIO::DeleteJobPrivate& x1) : DeleteJob(x1) {}
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::DeleteJob::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 = KIO::DeleteJob::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::DeleteJob::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1865, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::DeleteJob::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1866, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::DeleteJob::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(1871, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::DeleteJob::qt_metacall(x1, x2, x3);
    }
    virtual void slotResult(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1878, (void*)this, x)) return;
        this->KIO::DeleteJob::slotResult(x1);
    }
    virtual bool doKill() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2047, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doKill();
    }
    virtual bool doSuspend() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2048, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doSuspend();
    }
    virtual bool doResume() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2049, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doResume();
    }
    virtual bool addSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2065, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::addSubjob(x1);
    }
    virtual bool removeSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2066, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::removeSubjob(x1);
    }
    virtual void slotInfoMessage(KJob* x1, const QString& x2, const QString& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(557, (void*)this, x)) return;
        this->KCompositeJob::slotInfoMessage(x1, x2, x3);
    }
    virtual void start() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2045, (void*)this, x)) return;
        this->KIO::Job::start();
    }
    virtual QString errorString() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2050, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KIO::Job::errorString();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3859, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3861, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3862, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3863, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KIO__DeleteJob() { this->_binding->deleted(78, (void*)this); }
};
void xcall_KIO__DeleteJob(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__DeleteJob *xself = (x_KIO__DeleteJob*)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__DeleteJob::x_3(args);	break;
        case 4: x_KIO__DeleteJob::x_4(args);	break;
        case 5: x_KIO__DeleteJob::x_5(args);	break;
        case 6: x_KIO__DeleteJob::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: x_KIO__DeleteJob::x_15(args);	break;
        case 16: x_KIO__DeleteJob::x_16(args);	break;
        case 17: x_KIO__DeleteJob::x_17(args);	break;
        case 18: x_KIO__DeleteJob::x_18(args);	break;
        case 19: delete (KIO::DeleteJob*)xself;	break;
    }
}

}
