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

#include <smoke.h>
#include <kdecore_smoke.h>

class __internal_SmokeClass {};

namespace __smokekdecore {

class x_KJob : public KJob, 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<KJob*>(this))) {
            const QMetaObject* xret = ((const x_KJob*)this)->KJob::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KJob*)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<KJob*>(this))) {
            void* xret = this->KJob::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 = KJob::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 = KJob::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 = KJob::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 = KJob::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<KJob*>(this))) {
            int xret = this->KJob::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) {
        // KJob* KJob(QObject*)
        x_KJob* xret = new x_KJob((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KJob(QObject* x1) : KJob(x1) {}
    void x_9(Smoke::Stack x) {
        // void setUiDelegate(KJobUiDelegate*)
        this->KJob::setUiDelegate((KJobUiDelegate*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // KJobUiDelegate* uiDelegate() const
        KJobUiDelegate* xret = ((const x_KJob*)this)->KJob::uiDelegate();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // QFlags<KJob::Capability> capabilities() const
        QFlags<KJob::Capability> xret = ((const x_KJob*)this)->KJob::capabilities();
        x[0].s_uint = (uint)xret;
    }
    void x_12(Smoke::Stack x) {
        // bool isSuspended() const
        bool xret = ((const x_KJob*)this)->KJob::isSuspended();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // virtual void start() = 0
        this->start();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool kill(KJob::KillVerbosity)
        bool xret = this->KJob::kill((KJob::KillVerbosity)x[1].s_enum);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool suspend()
        bool xret = this->KJob::suspend();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool resume()
        bool xret = this->KJob::resume();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // virtual bool doKill()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJob*>(this))) {
            bool xret = this->KJob::doKill();
            x[0].s_bool = xret;
        } else {
            bool xret = this->doKill();
            x[0].s_bool = xret;
        }
    }
    void x_18(Smoke::Stack x) {
        // virtual bool doSuspend()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJob*>(this))) {
            bool xret = this->KJob::doSuspend();
            x[0].s_bool = xret;
        } else {
            bool xret = this->doSuspend();
            x[0].s_bool = xret;
        }
    }
    void x_19(Smoke::Stack x) {
        // virtual bool doResume()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJob*>(this))) {
            bool xret = this->KJob::doResume();
            x[0].s_bool = xret;
        } else {
            bool xret = this->doResume();
            x[0].s_bool = xret;
        }
    }
    void x_20(Smoke::Stack x) {
        // void setCapabilities(QFlags<KJob::Capability>)
        this->KJob::setCapabilities((QFlags<KJob::Capability>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // bool exec()
        bool xret = this->KJob::exec();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // int error() const
        int xret = ((const x_KJob*)this)->KJob::error();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // QString errorText() const
        QString xret = ((const x_KJob*)this)->KJob::errorText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // virtual QString errorString() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJob*>(this))) {
            QString xret = ((const x_KJob*)this)->KJob::errorString();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KJob*)this)->errorString();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_25(Smoke::Stack x) {
        // unsigned long long processedAmount(KJob::Unit) const
        unsigned long long xret = ((const x_KJob*)this)->KJob::processedAmount((KJob::Unit)x[1].s_enum);
        x[0].s_class = (void*)new unsigned long long(xret);
    }
    void x_26(Smoke::Stack x) {
        // unsigned long long totalAmount(KJob::Unit) const
        unsigned long long xret = ((const x_KJob*)this)->KJob::totalAmount((KJob::Unit)x[1].s_enum);
        x[0].s_class = (void*)new unsigned long long(xret);
    }
    void x_27(Smoke::Stack x) {
        // unsigned long percent() const
        unsigned long xret = ((const x_KJob*)this)->KJob::percent();
        x[0].s_ulong = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setAutoDelete(bool)
        this->KJob::setAutoDelete((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // bool isAutoDelete() const
        bool xret = ((const x_KJob*)this)->KJob::isAutoDelete();
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // void description(KJob*, const QString&, const QPair<QString,QString>&, const QPair<QString,QString>&)
        this->KJob::description((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPair<QString,QString>*)x[3].s_class,*(const QPair<QString,QString>*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void infoMessage(KJob*, const QString&, const QString&)
        this->KJob::infoMessage((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void warning(KJob*, const QString&, const QString&)
        this->KJob::warning((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void setError(int)
        this->KJob::setError((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setErrorText(const QString&)
        this->KJob::setErrorText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setProcessedAmount(KJob::Unit, unsigned long long)
        this->KJob::setProcessedAmount((KJob::Unit)x[1].s_enum,*(unsigned long long*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void setTotalAmount(KJob::Unit, unsigned long long)
        this->KJob::setTotalAmount((KJob::Unit)x[1].s_enum,*(unsigned long long*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void setPercent(unsigned long)
        this->KJob::setPercent((unsigned long)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void emitResult()
        this->KJob::emitResult();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void emitPercent(unsigned long long, unsigned long long)
        this->KJob::emitPercent(*(unsigned long long*)x[1].s_class,*(unsigned long long*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void emitSpeed(unsigned long)
        this->KJob::emitSpeed((unsigned long)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    static void x_41(Smoke::Stack x) {
        // KJob* KJob(KJobPrivate&, QObject*)
        x_KJob* xret = new x_KJob(*(KJobPrivate*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KJob(KJobPrivate& x1, QObject* x2) : KJob(x1, x2) {}
    static void x_42(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KJob::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_43(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KJob::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_44(Smoke::Stack x) {
        // KJob* KJob()
        x_KJob* xret = new x_KJob((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_45(Smoke::Stack x) {
        // bool kill()
        bool xret = this->KJob::kill((KJob::KillVerbosity)KJob::Quietly);
        x[0].s_bool = xret;
    }
    void x_46(Smoke::Stack x) {
        // void description(KJob*, const QString&)
        this->KJob::description((KJob*)x[1].s_class,*(const QString*)x[2].s_class,(const QPair<QString,QString>&)qMakePair(QString(),QString()),(const QPair<QString,QString>&)qMakePair(QString(),QString()));
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void description(KJob*, const QString&, const QPair<QString,QString>&)
        this->KJob::description((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPair<QString,QString>*)x[3].s_class,(const QPair<QString,QString>&)qMakePair(QString(),QString()));
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void infoMessage(KJob*, const QString&)
        this->KJob::infoMessage((KJob*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void warning(KJob*, const QString&)
        this->KJob::warning((KJob*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_50(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KJob::staticMetaObject;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::Bytes;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::Files;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::Directories;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::NoCapabilities;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::Killable;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::Suspendable;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::Quietly;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::EmitResult;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::NoError;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::KilledJobError;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)KJob::UserDefinedError;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1494, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KJob::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1495, (void*)this, x)) return (void*)x[0].s_class;
        return this->KJob::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(1500, (void*)this, x)) return (int)x[0].s_int;
        return this->KJob::qt_metacall(x1, x2, x3);
    }
    virtual void start() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(1506, (void*)this, x, true /*pure virtual*/);
    }
    virtual bool doKill() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1510, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KJob::doKill();
    }
    virtual bool doSuspend() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1511, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KJob::doSuspend();
    }
    virtual bool doResume() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1512, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KJob::doResume();
    }
    virtual QString errorString() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1517, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KJob::errorString();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3501, (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(3502, (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(3503, (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(3504, (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(3505, (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(3506, (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(3507, (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 112: //KJob::Unit
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KJob::Unit;
                    break;
                case Smoke::EnumDelete:
                    delete (KJob::Unit*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KJob::Unit*)xdata = (KJob::Unit)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KJob::Unit*)xdata;
                    break;
            }
            break;
        case 110: //KJob::Capability
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KJob::Capability;
                    break;
                case Smoke::EnumDelete:
                    delete (KJob::Capability*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KJob::Capability*)xdata = (KJob::Capability)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KJob::Capability*)xdata;
                    break;
            }
            break;
        case 111: //KJob::KillVerbosity
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KJob::KillVerbosity;
                    break;
                case Smoke::EnumDelete:
                    delete (KJob::KillVerbosity*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KJob::KillVerbosity*)xdata = (KJob::KillVerbosity)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KJob::KillVerbosity*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KJob() { this->_binding->deleted(63, (void*)this); }
};
void xenum_KJob(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KJob::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KJob(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KJob *xself = (x_KJob*)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_KJob::x_3(args);	break;
        case 4: x_KJob::x_4(args);	break;
        case 5: x_KJob::x_5(args);	break;
        case 6: x_KJob::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KJob::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: x_KJob::x_41(args);	break;
        case 42: x_KJob::x_42(args);	break;
        case 43: x_KJob::x_43(args);	break;
        case 44: x_KJob::x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: x_KJob::x_50(args);	break;
        case 51: x_KJob::x_51(args);	break;
        case 52: x_KJob::x_52(args);	break;
        case 53: x_KJob::x_53(args);	break;
        case 54: x_KJob::x_54(args);	break;
        case 55: x_KJob::x_55(args);	break;
        case 56: x_KJob::x_56(args);	break;
        case 57: x_KJob::x_57(args);	break;
        case 58: x_KJob::x_58(args);	break;
        case 59: x_KJob::x_59(args);	break;
        case 60: x_KJob::x_60(args);	break;
        case 61: x_KJob::x_61(args);	break;
        case 62: delete (KJob*)xself;	break;
    }
}
class x_KJobTrackerInterface : public KJobTrackerInterface, 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<KJobTrackerInterface*>(this))) {
            const QMetaObject* xret = ((const x_KJobTrackerInterface*)this)->KJobTrackerInterface::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KJobTrackerInterface*)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<KJobTrackerInterface*>(this))) {
            void* xret = this->KJobTrackerInterface::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 = KJobTrackerInterface::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 = KJobTrackerInterface::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 = KJobTrackerInterface::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 = KJobTrackerInterface::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<KJobTrackerInterface*>(this))) {
            int xret = this->KJobTrackerInterface::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) {
        // KJobTrackerInterface* KJobTrackerInterface(QObject*)
        x_KJobTrackerInterface* xret = new x_KJobTrackerInterface((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KJobTrackerInterface(QObject* x1) : KJobTrackerInterface(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void registerJob(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::registerJob((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->registerJob((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual void unregisterJob(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::unregisterJob((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->unregisterJob((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // virtual void finished(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::finished((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->finished((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual void suspended(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::suspended((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->suspended((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void resumed(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::resumed((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resumed((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // virtual void description(KJob*, const QString&, const QPair<QString,QString>&, const QPair<QString,QString>&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::description((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPair<QString,QString>*)x[3].s_class,*(const QPair<QString,QString>*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->description((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QPair<QString,QString>*)x[3].s_class,*(const QPair<QString,QString>*)x[4].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual void infoMessage(KJob*, const QString&, const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::infoMessage((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->infoMessage((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // virtual void warning(KJob*, const QString&, const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::warning((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->warning((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_17(Smoke::Stack x) {
        // virtual void totalAmount(KJob*, KJob::Unit, qulonglong)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::totalAmount((KJob*)x[1].s_class,(KJob::Unit)x[2].s_enum,*(qulonglong*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->totalAmount((KJob*)x[1].s_class,(KJob::Unit)x[2].s_enum,*(qulonglong*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_18(Smoke::Stack x) {
        // virtual void processedAmount(KJob*, KJob::Unit, qulonglong)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::processedAmount((KJob*)x[1].s_class,(KJob::Unit)x[2].s_enum,*(qulonglong*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->processedAmount((KJob*)x[1].s_class,(KJob::Unit)x[2].s_enum,*(qulonglong*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // virtual void percent(KJob*, unsigned long)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::percent((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
            (void)x; // noop (for compiler warning)
        } else {
            this->percent((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual void speed(KJob*, unsigned long)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobTrackerInterface*>(this))) {
            this->KJobTrackerInterface::speed((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
            (void)x; // noop (for compiler warning)
        } else {
            this->speed((KJob*)x[1].s_class,(unsigned long)x[2].s_ulong);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_21(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KJobTrackerInterface::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 = KJobTrackerInterface::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) {
        // KJobTrackerInterface* KJobTrackerInterface()
        x_KJobTrackerInterface* xret = new x_KJobTrackerInterface((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KJobTrackerInterface::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1556, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KJobTrackerInterface::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1557, (void*)this, x)) return (void*)x[0].s_class;
        return this->KJobTrackerInterface::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(1562, (void*)this, x)) return (int)x[0].s_int;
        return this->KJobTrackerInterface::qt_metacall(x1, x2, x3);
    }
    virtual void registerJob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1564, (void*)this, x)) return;
        this->KJobTrackerInterface::registerJob(x1);
    }
    virtual void unregisterJob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1565, (void*)this, x)) return;
        this->KJobTrackerInterface::unregisterJob(x1);
    }
    virtual void finished(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1566, (void*)this, x)) return;
        this->KJobTrackerInterface::finished(x1);
    }
    virtual void suspended(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1567, (void*)this, x)) return;
        this->KJobTrackerInterface::suspended(x1);
    }
    virtual void resumed(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1568, (void*)this, x)) return;
        this->KJobTrackerInterface::resumed(x1);
    }
    virtual void description(KJob* x1, const QString& x2, const QPair<QString,QString>& x3, const QPair<QString,QString>& x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        if (this->_binding->callMethod(1569, (void*)this, x)) return;
        this->KJobTrackerInterface::description(x1, x2, x3, x4);
    }
    virtual void infoMessage(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(1570, (void*)this, x)) return;
        this->KJobTrackerInterface::infoMessage(x1, x2, x3);
    }
    virtual void warning(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(1571, (void*)this, x)) return;
        this->KJobTrackerInterface::warning(x1, x2, x3);
    }
    virtual void totalAmount(KJob* x1, KJob::Unit x2, qulonglong x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)new unsigned long long(x3);
        if (this->_binding->callMethod(1572, (void*)this, x)) return;
        this->KJobTrackerInterface::totalAmount(x1, x2, x3);
    }
    virtual void processedAmount(KJob* x1, KJob::Unit x2, qulonglong x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)new unsigned long long(x3);
        if (this->_binding->callMethod(1573, (void*)this, x)) return;
        this->KJobTrackerInterface::processedAmount(x1, x2, x3);
    }
    virtual void percent(KJob* x1, unsigned long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_ulong = x2;
        if (this->_binding->callMethod(1574, (void*)this, x)) return;
        this->KJobTrackerInterface::percent(x1, x2);
    }
    virtual void speed(KJob* x1, unsigned long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_ulong = x2;
        if (this->_binding->callMethod(1575, (void*)this, x)) return;
        this->KJobTrackerInterface::speed(x1, x2);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3501, (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(3502, (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(3503, (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(3504, (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(3505, (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(3506, (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(3507, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KJobTrackerInterface() { this->_binding->deleted(65, (void*)this); }
};
void xcall_KJobTrackerInterface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KJobTrackerInterface *xself = (x_KJobTrackerInterface*)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_KJobTrackerInterface::x_3(args);	break;
        case 4: x_KJobTrackerInterface::x_4(args);	break;
        case 5: x_KJobTrackerInterface::x_5(args);	break;
        case 6: x_KJobTrackerInterface::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KJobTrackerInterface::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: x_KJobTrackerInterface::x_21(args);	break;
        case 22: x_KJobTrackerInterface::x_22(args);	break;
        case 23: x_KJobTrackerInterface::x_23(args);	break;
        case 24: x_KJobTrackerInterface::x_24(args);	break;
        case 25: delete (KJobTrackerInterface*)xself;	break;
    }
}
class x_KJobUiDelegate : public KJobUiDelegate, 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<KJobUiDelegate*>(this))) {
            const QMetaObject* xret = ((const x_KJobUiDelegate*)this)->KJobUiDelegate::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KJobUiDelegate*)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<KJobUiDelegate*>(this))) {
            void* xret = this->KJobUiDelegate::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 = KJobUiDelegate::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 = KJobUiDelegate::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 = KJobUiDelegate::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 = KJobUiDelegate::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<KJobUiDelegate*>(this))) {
            int xret = this->KJobUiDelegate::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) {
        // KJobUiDelegate* KJobUiDelegate()
        x_KJobUiDelegate* xret = new x_KJobUiDelegate();
        x[0].s_class = (void*)xret;
    }
    explicit x_KJobUiDelegate() : KJobUiDelegate() {}
    void x_9(Smoke::Stack x) {
        // KJob* job()
        KJob* xret = this->KJobUiDelegate::job();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // virtual void showErrorMessage()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobUiDelegate*>(this))) {
            this->KJobUiDelegate::showErrorMessage();
            (void)x; // noop (for compiler warning)
        } else {
            this->showErrorMessage();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_11(Smoke::Stack x) {
        // void setAutoErrorHandlingEnabled(bool)
        this->KJobUiDelegate::setAutoErrorHandlingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool isAutoErrorHandlingEnabled() const
        bool xret = ((const x_KJobUiDelegate*)this)->KJobUiDelegate::isAutoErrorHandlingEnabled();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setAutoWarningHandlingEnabled(bool)
        this->KJobUiDelegate::setAutoWarningHandlingEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool isAutoWarningHandlingEnabled() const
        bool xret = ((const x_KJobUiDelegate*)this)->KJobUiDelegate::isAutoWarningHandlingEnabled();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // virtual void slotWarning(KJob*, const QString&, const QString&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KJobUiDelegate*>(this))) {
            this->KJobUiDelegate::slotWarning((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotWarning((KJob*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KJobUiDelegate::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 = KJobUiDelegate::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*)&KJobUiDelegate::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1581, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KJobUiDelegate::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1582, (void*)this, x)) return (void*)x[0].s_class;
        return this->KJobUiDelegate::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(1587, (void*)this, x)) return (int)x[0].s_int;
        return this->KJobUiDelegate::qt_metacall(x1, x2, x3);
    }
    virtual void showErrorMessage() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1590, (void*)this, x)) return;
        this->KJobUiDelegate::showErrorMessage();
    }
    virtual void slotWarning(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(1595, (void*)this, x)) return;
        this->KJobUiDelegate::slotWarning(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3501, (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(3502, (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(3503, (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(3504, (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(3505, (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(3506, (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(3507, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KJobUiDelegate() { this->_binding->deleted(66, (void*)this); }
};
void xcall_KJobUiDelegate(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KJobUiDelegate *xself = (x_KJobUiDelegate*)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_KJobUiDelegate::x_3(args);	break;
        case 4: x_KJobUiDelegate::x_4(args);	break;
        case 5: x_KJobUiDelegate::x_5(args);	break;
        case 6: x_KJobUiDelegate::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KJobUiDelegate::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_KJobUiDelegate::x_16(args);	break;
        case 17: x_KJobUiDelegate::x_17(args);	break;
        case 18: x_KJobUiDelegate::x_18(args);	break;
        case 19: delete (KJobUiDelegate*)xself;	break;
    }
}
class x_KLibLoader : public KLibLoader {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_KLibLoader*)this)->KLibLoader::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->KLibLoader::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 = KLibLoader::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 = KLibLoader::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 = KLibLoader::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 = KLibLoader::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        int xret = this->KLibLoader::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) {
        // KPluginFactory* factory(const QString&, QFlags<QLibrary::LoadHint>)
        KPluginFactory* xret = this->KLibLoader::factory(*(const QString*)x[1].s_class,(QFlags<QLibrary::LoadHint>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    void x_9(Smoke::Stack x) {
        // KLibrary* library(const QString&, QFlags<QLibrary::LoadHint>)
        KLibrary* xret = this->KLibLoader::library(*(const QString*)x[1].s_class,(QFlags<QLibrary::LoadHint>)x[2].s_uint);
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // QString lastErrorMessage() const
        QString xret = ((const x_KLibLoader*)this)->KLibLoader::lastErrorMessage();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void unloadLibrary(const QString&)
        this->KLibLoader::unloadLibrary(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // static KLibLoader* self()
        KLibLoader* xret = KLibLoader::self();
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // static QString findLibrary(const QString&, const KComponentData&)
        QString xret = KLibLoader::findLibrary(*(const QString*)x[1].s_class,*(const KComponentData*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QString errorString(int)
        QString xret = KLibLoader::errorString((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KLibLoader::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KLibLoader::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // KPluginFactory* factory(const QString&)
        KPluginFactory* xret = this->KLibLoader::factory(*(const QString*)x[1].s_class,(QFlags<QLibrary::LoadHint>)0);
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // KLibrary* library(const QString&)
        KLibrary* xret = this->KLibLoader::library(*(const QString*)x[1].s_class,(QFlags<QLibrary::LoadHint>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // static QString findLibrary(const QString&)
        QString xret = KLibLoader::findLibrary(*(const QString*)x[1].s_class,(const KComponentData&)KGlobal::mainComponent());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KLibLoader::staticMetaObject;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)KLibLoader::ErrNoLibrary;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)KLibLoader::ErrNoFactory;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)KLibLoader::ErrNoComponent;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KLibLoader::ErrServiceProvidesNoLibrary;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KLibLoader::ErrNoServiceFound;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 117: //KLibLoader::ComponentLoadingError
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KLibLoader::ComponentLoadingError;
                    break;
                case Smoke::EnumDelete:
                    delete (KLibLoader::ComponentLoadingError*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KLibLoader::ComponentLoadingError*)xdata = (KLibLoader::ComponentLoadingError)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KLibLoader::ComponentLoadingError*)xdata;
                    break;
            }
            break;
        }
    }
};
void xenum_KLibLoader(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KLibLoader::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KLibLoader(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KLibLoader *xself = (x_KLibLoader*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KLibLoader::x_3(args);	break;
        case 4: x_KLibLoader::x_4(args);	break;
        case 5: x_KLibLoader::x_5(args);	break;
        case 6: x_KLibLoader::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: x_KLibLoader::x_12(args);	break;
        case 13: x_KLibLoader::x_13(args);	break;
        case 14: x_KLibLoader::x_14(args);	break;
        case 15: x_KLibLoader::x_15(args);	break;
        case 16: x_KLibLoader::x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: x_KLibLoader::x_19(args);	break;
        case 20: x_KLibLoader::x_20(args);	break;
        case 21: x_KLibLoader::x_21(args);	break;
        case 22: x_KLibLoader::x_22(args);	break;
        case 23: x_KLibLoader::x_23(args);	break;
        case 24: x_KLibLoader::x_24(args);	break;
        case 25: x_KLibLoader::x_25(args);	break;
    }
}
class x_KLibrary : public KLibrary, 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<KLibrary*>(this))) {
            const QMetaObject* xret = ((const x_KLibrary*)this)->KLibrary::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KLibrary*)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<KLibrary*>(this))) {
            void* xret = this->KLibrary::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 = KLibrary::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 = KLibrary::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 = KLibrary::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 = KLibrary::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<KLibrary*>(this))) {
            int xret = this->KLibrary::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) {
        // KLibrary* KLibrary(QObject*)
        x_KLibrary* xret = new x_KLibrary((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KLibrary(QObject* x1) : KLibrary(x1) {}
    static void x_9(Smoke::Stack x) {
        // KLibrary* KLibrary(const QString&, const KComponentData&, QObject*)
        x_KLibrary* xret = new x_KLibrary(*(const QString*)x[1].s_class,*(const KComponentData*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KLibrary(const QString& x1, const KComponentData& x2, QObject* x3) : KLibrary(x1, x2, x3) {}
    static void x_10(Smoke::Stack x) {
        // KLibrary* KLibrary(const QString&, int, const KComponentData&, QObject*)
        x_KLibrary* xret = new x_KLibrary(*(const QString*)x[1].s_class,(int)x[2].s_int,*(const KComponentData*)x[3].s_class,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KLibrary(const QString& x1, int x2, const KComponentData& x3, QObject* x4) : KLibrary(x1, x2, x3, x4) {}
    void x_11(Smoke::Stack x) {
        // KPluginFactory* factory(const char*)
        KPluginFactory* xret = this->KLibrary::factory((const char*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // void* resolveSymbol(const char*)
        void* xret = this->KLibrary::resolveSymbol((const char*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // void(*)() resolveFunction(const char*)
        void(*xret)() = this->KLibrary::resolveFunction((const char*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // void setFileName(const QString&, const KComponentData&)
        this->KLibrary::setFileName(*(const QString*)x[1].s_class,*(const KComponentData*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool unload()
        bool xret = this->KLibrary::unload();
        x[0].s_bool = xret;
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KLibrary::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 = KLibrary::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) {
        // KLibrary* KLibrary()
        x_KLibrary* xret = new x_KLibrary((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // KLibrary* KLibrary(const QString&)
        x_KLibrary* xret = new x_KLibrary(*(const QString*)x[1].s_class,(const KComponentData&)KGlobal::mainComponent(),(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // KLibrary* KLibrary(const QString&, const KComponentData&)
        x_KLibrary* xret = new x_KLibrary(*(const QString*)x[1].s_class,*(const KComponentData*)x[2].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // KLibrary* KLibrary(const QString&, int)
        x_KLibrary* xret = new x_KLibrary(*(const QString*)x[1].s_class,(int)x[2].s_int,(const KComponentData&)KGlobal::mainComponent(),(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // KLibrary* KLibrary(const QString&, int, const KComponentData&)
        x_KLibrary* xret = new x_KLibrary(*(const QString*)x[1].s_class,(int)x[2].s_int,*(const KComponentData*)x[3].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_23(Smoke::Stack x) {
        // KPluginFactory* factory()
        KPluginFactory* xret = this->KLibrary::factory((const char*)0);
        x[0].s_class = (void*)xret;
    }
    void x_24(Smoke::Stack x) {
        // void setFileName(const QString&)
        this->KLibrary::setFileName(*(const QString*)x[1].s_class,(const KComponentData&)KGlobal::mainComponent());
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KLibrary::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1625, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KLibrary::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1626, (void*)this, x)) return (void*)x[0].s_class;
        return this->KLibrary::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(1631, (void*)this, x)) return (int)x[0].s_int;
        return this->KLibrary::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3501, (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(3502, (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(3503, (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(3504, (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(3505, (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(3506, (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(3507, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KLibrary() { this->_binding->deleted(68, (void*)this); }
};
void xcall_KLibrary(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KLibrary *xself = (x_KLibrary*)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_KLibrary::x_3(args);	break;
        case 4: x_KLibrary::x_4(args);	break;
        case 5: x_KLibrary::x_5(args);	break;
        case 6: x_KLibrary::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KLibrary::x_8(args);	break;
        case 9: x_KLibrary::x_9(args);	break;
        case 10: x_KLibrary::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_KLibrary::x_16(args);	break;
        case 17: x_KLibrary::x_17(args);	break;
        case 18: x_KLibrary::x_18(args);	break;
        case 19: x_KLibrary::x_19(args);	break;
        case 20: x_KLibrary::x_20(args);	break;
        case 21: x_KLibrary::x_21(args);	break;
        case 22: x_KLibrary::x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: x_KLibrary::x_25(args);	break;
        case 26: delete (KLibrary*)xself;	break;
    }
}
class x_KLocalSocket : public KLocalSocket, 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<KLocalSocket*>(this))) {
            const QMetaObject* xret = ((const x_KLocalSocket*)this)->KLocalSocket::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KLocalSocket*)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<KLocalSocket*>(this))) {
            void* xret = this->KLocalSocket::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 = KLocalSocket::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 = KLocalSocket::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 = KLocalSocket::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 = KLocalSocket::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<KLocalSocket*>(this))) {
            int xret = this->KLocalSocket::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) {
        // KLocalSocket* KLocalSocket(QObject*)
        x_KLocalSocket* xret = new x_KLocalSocket((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KLocalSocket(QObject* x1) : KLocalSocket(x1) {}
    void x_9(Smoke::Stack x) {
        // void connectToPath(const QString&, QFlags<QIODevice::OpenModeFlag>)
        this->KLocalSocket::connectToPath(*(const QString*)x[1].s_class,(QFlags<QIODevice::OpenModeFlag>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void connectToPath(const QString&, KLocalSocket::LocalSocketType, QFlags<QIODevice::OpenModeFlag>)
        this->KLocalSocket::connectToPath(*(const QString*)x[1].s_class,(KLocalSocket::LocalSocketType)x[2].s_enum,(QFlags<QIODevice::OpenModeFlag>)x[3].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void disconnectFromPath()
        this->KLocalSocket::disconnectFromPath();
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // KLocalSocket::LocalSocketType localSocketType() const
        KLocalSocket::LocalSocketType xret = ((const x_KLocalSocket*)this)->KLocalSocket::localSocketType();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // QString localPath() const
        QString xret = ((const x_KLocalSocket*)this)->KLocalSocket::localPath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // QString peerPath() const
        QString xret = ((const x_KLocalSocket*)this)->KLocalSocket::peerPath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // void connectToHostImplementation(const QString&, quint16, QIODevice::OpenMode)
        this->KLocalSocket::connectToHostImplementation(*(const QString*)x[1].s_class,(quint16)x[2].s_ushort,(QIODevice::OpenMode)x[3].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void disconnectFromHostImplementation()
        this->KLocalSocket::disconnectFromHostImplementation();
        (void)x; // noop (for compiler warning)
    }
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KLocalSocket::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KLocalSocket::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // KLocalSocket* KLocalSocket()
        x_KLocalSocket* xret = new x_KLocalSocket((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // void connectToPath(const QString&)
        this->KLocalSocket::connectToPath(*(const QString*)x[1].s_class,(QFlags<QIODevice::OpenModeFlag>)ReadWrite);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void connectToPath(const QString&, KLocalSocket::LocalSocketType)
        this->KLocalSocket::connectToPath(*(const QString*)x[1].s_class,(KLocalSocket::LocalSocketType)x[2].s_enum,(QFlags<QIODevice::OpenModeFlag>)ReadWrite);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KLocalSocket::staticMetaObject;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)KLocalSocket::UnixSocket;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KLocalSocket::AbstractUnixSocket;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KLocalSocket::UnknownLocalSocketType;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1651, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KLocalSocket::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1652, (void*)this, x)) return (void*)x[0].s_class;
        return this->KLocalSocket::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(1657, (void*)this, x)) return (int)x[0].s_int;
        return this->KLocalSocket::qt_metacall(x1, x2, x3);
    }
    virtual bool isSequential() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3301, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractSocket::isSequential();
    }
    virtual bool open(QFlags<QIODevice::OpenModeFlag> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(3482, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::open(x1);
    }
    virtual void close() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3300, (void*)this, x)) return;
        this->QAbstractSocket::close();
    }
    virtual long long pos() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3483, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QIODevice::pos();
    }
    virtual long long size() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3484, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QIODevice::size();
    }
    virtual bool seek(long long x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new long long(x1);
        if (this->_binding->callMethod(3485, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::seek(x1);
    }
    virtual bool atEnd() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3302, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractSocket::atEnd();
    }
    virtual bool reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3486, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::reset();
    }
    virtual long long bytesAvailable() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3297, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSocket::bytesAvailable();
    }
    virtual long long bytesToWrite() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3298, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSocket::bytesToWrite();
    }
    virtual bool canReadLine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3299, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractSocket::canReadLine();
    }
    virtual bool waitForReadyRead(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3303, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractSocket::waitForReadyRead(x1);
    }
    virtual bool waitForBytesWritten(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3304, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractSocket::waitForBytesWritten(x1);
    }
    virtual long long readData(char* x1, long long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)new long long(x2);
        if (this->_binding->callMethod(3305, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSocket::readData(x1, x2);
    }
    virtual long long readLineData(char* x1, long long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)new long long(x2);
        if (this->_binding->callMethod(3306, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSocket::readLineData(x1, x2);
    }
    virtual long long writeData(const char* x1, long long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)new long long(x2);
        if (this->_binding->callMethod(3307, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractSocket::writeData(x1, x2);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3501, (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(3502, (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(3503, (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(3504, (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(3505, (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(3506, (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(3507, (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 120: //KLocalSocket::LocalSocketType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KLocalSocket::LocalSocketType;
                    break;
                case Smoke::EnumDelete:
                    delete (KLocalSocket::LocalSocketType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KLocalSocket::LocalSocketType*)xdata = (KLocalSocket::LocalSocketType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KLocalSocket::LocalSocketType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KLocalSocket() { this->_binding->deleted(69, (void*)this); }
};
void xenum_KLocalSocket(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KLocalSocket::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KLocalSocket(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KLocalSocket *xself = (x_KLocalSocket*)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_KLocalSocket::x_3(args);	break;
        case 4: x_KLocalSocket::x_4(args);	break;
        case 5: x_KLocalSocket::x_5(args);	break;
        case 6: x_KLocalSocket::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KLocalSocket::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: x_KLocalSocket::x_17(args);	break;
        case 18: x_KLocalSocket::x_18(args);	break;
        case 19: x_KLocalSocket::x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_KLocalSocket::x_22(args);	break;
        case 23: x_KLocalSocket::x_23(args);	break;
        case 24: x_KLocalSocket::x_24(args);	break;
        case 25: x_KLocalSocket::x_25(args);	break;
        case 26: delete (KLocalSocket*)xself;	break;
    }
}

}
