//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_KProcess : public KProcess, 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<KProcess*>(this))) {
            const QMetaObject* xret = ((const x_KProcess*)this)->KProcess::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KProcess*)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<KProcess*>(this))) {
            void* xret = this->KProcess::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 = KProcess::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 = KProcess::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 = KProcess::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 = KProcess::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<KProcess*>(this))) {
            int xret = this->KProcess::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) {
        // KProcess* KProcess(QObject*)
        x_KProcess* xret = new x_KProcess((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KProcess(QObject* x1) : KProcess(x1) {}
    void x_9(Smoke::Stack x) {
        // void setOutputChannelMode(KProcess::OutputChannelMode)
        this->KProcess::setOutputChannelMode((KProcess::OutputChannelMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // KProcess::OutputChannelMode outputChannelMode() const
        KProcess::OutputChannelMode xret = ((const x_KProcess*)this)->KProcess::outputChannelMode();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setNextOpenMode(QFlags<QIODevice::OpenModeFlag>)
        this->KProcess::setNextOpenMode((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setEnv(const QString&, const QString&, bool)
        this->KProcess::setEnv(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void unsetEnv(const QString&)
        this->KProcess::unsetEnv(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void clearEnvironment()
        this->KProcess::clearEnvironment();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setProgram(const QString&, const QStringList&)
        this->KProcess::setProgram(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setProgram(const QStringList&)
        this->KProcess::setProgram(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // KProcess& operator<<(const QString&)
        KProcess& xret = this->KProcess::operator<<(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_18(Smoke::Stack x) {
        // KProcess& operator<<(const QStringList&)
        KProcess& xret = this->KProcess::operator<<(*(const QStringList*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_19(Smoke::Stack x) {
        // void clearProgram()
        this->KProcess::clearProgram();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setShellCommand(const QString&)
        this->KProcess::setShellCommand(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QStringList program() const
        QStringList xret = ((const x_KProcess*)this)->KProcess::program();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_22(Smoke::Stack x) {
        // void start()
        this->KProcess::start();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // int execute(int)
        int xret = this->KProcess::execute((int)x[1].s_int);
        x[0].s_int = xret;
    }
    static void x_24(Smoke::Stack x) {
        // static int execute(const QString&, const QStringList&, int)
        int xret = KProcess::execute(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,(int)x[3].s_int);
        x[0].s_int = xret;
    }
    static void x_25(Smoke::Stack x) {
        // static int execute(const QStringList&, int)
        int xret = KProcess::execute(*(const QStringList*)x[1].s_class,(int)x[2].s_int);
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // int startDetached()
        int xret = this->KProcess::startDetached();
        x[0].s_int = xret;
    }
    static void x_27(Smoke::Stack x) {
        // static int startDetached(const QString&, const QStringList&)
        int xret = KProcess::startDetached(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class);
        x[0].s_int = xret;
    }
    static void x_28(Smoke::Stack x) {
        // static int startDetached(const QStringList&)
        int xret = KProcess::startDetached(*(const QStringList*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_29(Smoke::Stack x) {
        // int pid() const
        int xret = ((const x_KProcess*)this)->KProcess::pid();
        x[0].s_int = xret;
    }
    static void x_30(Smoke::Stack x) {
        // KProcess* KProcess(KProcessPrivate*, QObject*)
        x_KProcess* xret = new x_KProcess((KProcessPrivate*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KProcess(KProcessPrivate* x1, QObject* x2) : KProcess(x1, x2) {}
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KProcess::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 = KProcess::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) {
        // KProcess* KProcess()
        x_KProcess* xret = new x_KProcess((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_34(Smoke::Stack x) {
        // void setEnv(const QString&, const QString&)
        this->KProcess::setEnv(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setProgram(const QString&)
        this->KProcess::setProgram(*(const QString*)x[1].s_class,(const QStringList&)QStringList());
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // int execute()
        int xret = this->KProcess::execute((int)-1);
        x[0].s_int = xret;
    }
    static void x_37(Smoke::Stack x) {
        // static int execute(const QString&)
        int xret = KProcess::execute(*(const QString*)x[1].s_class,(const QStringList&)QStringList(),(int)-1);
        x[0].s_int = xret;
    }
    static void x_38(Smoke::Stack x) {
        // static int execute(const QString&, const QStringList&)
        int xret = KProcess::execute(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,(int)-1);
        x[0].s_int = xret;
    }
    static void x_39(Smoke::Stack x) {
        // static int execute(const QStringList&)
        int xret = KProcess::execute(*(const QStringList*)x[1].s_class,(int)-1);
        x[0].s_int = xret;
    }
    static void x_40(Smoke::Stack x) {
        // static int startDetached(const QString&)
        int xret = KProcess::startDetached(*(const QString*)x[1].s_class,(const QStringList&)QStringList());
        x[0].s_int = xret;
    }
    static void x_41(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KProcess::staticMetaObject;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KProcess::SeparateChannels;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KProcess::MergedChannels;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KProcess::ForwardedChannels;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KProcess::OnlyStdoutChannel;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)KProcess::OnlyStderrChannel;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2285, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KProcess::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2286, (void*)this, x)) return (void*)x[0].s_class;
        return this->KProcess::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(2291, (void*)this, x)) return (int)x[0].s_int;
        return this->KProcess::qt_metacall(x1, x2, x3);
    }
    virtual void setupChildProcess() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3516, (void*)this, x)) return;
        this->QProcess::setupChildProcess();
    }
    virtual bool isSequential() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3512, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProcess::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(3514, (void*)this, x)) return;
        this->QProcess::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(3515, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProcess::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(3510, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProcess::bytesAvailable();
    }
    virtual long long bytesToWrite() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3511, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProcess::bytesToWrite();
    }
    virtual bool canReadLine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3513, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProcess::canReadLine();
    }
    virtual bool waitForReadyRead(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3508, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProcess::waitForReadyRead(x1);
    }
    virtual bool waitForBytesWritten(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3509, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QProcess::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(3517, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProcess::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(3492, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QIODevice::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(3518, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QProcess::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 165: //KProcess::OutputChannelMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KProcess::OutputChannelMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KProcess::OutputChannelMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KProcess::OutputChannelMode*)xdata = (KProcess::OutputChannelMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KProcess::OutputChannelMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KProcess() { this->_binding->deleted(87, (void*)this); }
};
void xenum_KProcess(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KProcess::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KProcess(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KProcess *xself = (x_KProcess*)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_KProcess::x_3(args);	break;
        case 4: x_KProcess::x_4(args);	break;
        case 5: x_KProcess::x_5(args);	break;
        case 6: x_KProcess::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KProcess::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: x_KProcess::x_24(args);	break;
        case 25: x_KProcess::x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: x_KProcess::x_27(args);	break;
        case 28: x_KProcess::x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_KProcess::x_30(args);	break;
        case 31: x_KProcess::x_31(args);	break;
        case 32: x_KProcess::x_32(args);	break;
        case 33: x_KProcess::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: x_KProcess::x_37(args);	break;
        case 38: x_KProcess::x_38(args);	break;
        case 39: x_KProcess::x_39(args);	break;
        case 40: x_KProcess::x_40(args);	break;
        case 41: x_KProcess::x_41(args);	break;
        case 42: x_KProcess::x_42(args);	break;
        case 43: x_KProcess::x_43(args);	break;
        case 44: x_KProcess::x_44(args);	break;
        case 45: x_KProcess::x_45(args);	break;
        case 46: x_KProcess::x_46(args);	break;
        case 47: delete (KProcess*)xself;	break;
    }
}
class x_KProtocolInfo : public KProtocolInfo, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // static QStringList protocols()
        QStringList xret = KProtocolInfo::protocols();
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_2(Smoke::Stack x) {
        // static bool isKnownProtocol(const KUrl&)
        bool xret = KProtocolInfo::isKnownProtocol(*(const KUrl*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_3(Smoke::Stack x) {
        // static bool isKnownProtocol(const QString&)
        bool xret = KProtocolInfo::isKnownProtocol(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_4(Smoke::Stack x) {
        // static QString exec(const QString&)
        QString xret = KProtocolInfo::exec(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QList<KProtocolInfo::ExtraField> extraFields(const KUrl&)
        QList<KProtocolInfo::ExtraField> xret = KProtocolInfo::extraFields(*(const KUrl*)x[1].s_class);
        x[0].s_class = (void*)new QList<KProtocolInfo::ExtraField>(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static bool isHelperProtocol(const KUrl&)
        bool xret = KProtocolInfo::isHelperProtocol(*(const KUrl*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_7(Smoke::Stack x) {
        // static bool isHelperProtocol(const QString&)
        bool xret = KProtocolInfo::isHelperProtocol(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static bool isFilterProtocol(const KUrl&)
        bool xret = KProtocolInfo::isFilterProtocol(*(const KUrl*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_9(Smoke::Stack x) {
        // static bool isFilterProtocol(const QString&)
        bool xret = KProtocolInfo::isFilterProtocol(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_10(Smoke::Stack x) {
        // static QString icon(const QString&)
        QString xret = KProtocolInfo::icon(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString config(const QString&)
        QString xret = KProtocolInfo::config(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static int maxSlaves(const QString&)
        int xret = KProtocolInfo::maxSlaves(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    static void x_13(Smoke::Stack x) {
        // static int maxSlavesPerHost(const QString&)
        int xret = KProtocolInfo::maxSlavesPerHost(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    static void x_14(Smoke::Stack x) {
        // static bool determineMimetypeFromExtension(const QString&)
        bool xret = KProtocolInfo::determineMimetypeFromExtension(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_15(Smoke::Stack x) {
        // static QString docPath(const QString&)
        QString xret = KProtocolInfo::docPath(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QString protocolClass(const QString&)
        QString xret = KProtocolInfo::protocolClass(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static bool showFilePreview(const QString&)
        bool xret = KProtocolInfo::showFilePreview(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_18(Smoke::Stack x) {
        // static QStringList capabilities(const QString&)
        QStringList xret = KProtocolInfo::capabilities(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static QString proxiedBy(const QString&)
        QString xret = KProtocolInfo::proxiedBy(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // KProtocolInfo* KProtocolInfo(QDataStream&, int)
        x_KProtocolInfo* xret = new x_KProtocolInfo(*(QDataStream*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_KProtocolInfo(QDataStream& x1, int x2) : KProtocolInfo(x1, x2) {}
    void x_21(Smoke::Stack x) {
        // QString defaultMimeType() const
        QString xret = ((const x_KProtocolInfo*)this)->KProtocolInfo::defaultMimeType();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // QStringList archiveMimeTypes() const
        QStringList xret = ((const x_KProtocolInfo*)this)->KProtocolInfo::archiveMimeTypes();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_23(Smoke::Stack x) {
        // bool canRenameFromFile() const
        bool xret = ((const x_KProtocolInfo*)this)->KProtocolInfo::canRenameFromFile();
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // bool canRenameToFile() const
        bool xret = ((const x_KProtocolInfo*)this)->KProtocolInfo::canRenameToFile();
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // bool canDeleteRecursive() const
        bool xret = ((const x_KProtocolInfo*)this)->KProtocolInfo::canDeleteRecursive();
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // FileNameUsedForCopying fileNameUsedForCopying() const
        FileNameUsedForCopying xret = ((const x_KProtocolInfo*)this)->KProtocolInfo::fileNameUsedForCopying();
        x[0].s_class = (void*)new FileNameUsedForCopying(xret);
    }
    void x_27(Smoke::Stack x) {
        // QString m_name
        x[0].s_class = (void*)&this->KProtocolInfo::m_name;
    }
    void x_28(Smoke::Stack x) {
        // QString m_name=
        this->KProtocolInfo::m_name = *(const QString*)x[1].s_class;
    }
    void x_29(Smoke::Stack x) {
        // QString m_exec
        x[0].s_class = (void*)&this->KProtocolInfo::m_exec;
    }
    void x_30(Smoke::Stack x) {
        // QString m_exec=
        this->KProtocolInfo::m_exec = *(const QString*)x[1].s_class;
    }
    void x_31(Smoke::Stack x) {
        // KProtocolInfo::Type m_inputType
        x[0].s_enum = this->KProtocolInfo::m_inputType;
    }
    void x_32(Smoke::Stack x) {
        // KProtocolInfo::Type m_inputType=
        this->KProtocolInfo::m_inputType = (KProtocolInfo::Type)x[1].s_enum;
    }
    void x_33(Smoke::Stack x) {
        // KProtocolInfo::Type m_outputType
        x[0].s_enum = this->KProtocolInfo::m_outputType;
    }
    void x_34(Smoke::Stack x) {
        // KProtocolInfo::Type m_outputType=
        this->KProtocolInfo::m_outputType = (KProtocolInfo::Type)x[1].s_enum;
    }
    void x_35(Smoke::Stack x) {
        // QStringList m_listing
        x[0].s_class = (void*)&this->KProtocolInfo::m_listing;
    }
    void x_36(Smoke::Stack x) {
        // QStringList m_listing=
        this->KProtocolInfo::m_listing = *(const QStringList*)x[1].s_class;
    }
    void x_37(Smoke::Stack x) {
        // bool m_isSourceProtocol
        x[0].s_bool = this->KProtocolInfo::m_isSourceProtocol;
    }
    void x_38(Smoke::Stack x) {
        // bool m_isSourceProtocol=
        this->KProtocolInfo::m_isSourceProtocol = (bool)x[1].s_bool;
    }
    void x_39(Smoke::Stack x) {
        // bool m_isHelperProtocol
        x[0].s_bool = this->KProtocolInfo::m_isHelperProtocol;
    }
    void x_40(Smoke::Stack x) {
        // bool m_isHelperProtocol=
        this->KProtocolInfo::m_isHelperProtocol = (bool)x[1].s_bool;
    }
    void x_41(Smoke::Stack x) {
        // bool m_supportsListing
        x[0].s_bool = this->KProtocolInfo::m_supportsListing;
    }
    void x_42(Smoke::Stack x) {
        // bool m_supportsListing=
        this->KProtocolInfo::m_supportsListing = (bool)x[1].s_bool;
    }
    void x_43(Smoke::Stack x) {
        // bool m_supportsReading
        x[0].s_bool = this->KProtocolInfo::m_supportsReading;
    }
    void x_44(Smoke::Stack x) {
        // bool m_supportsReading=
        this->KProtocolInfo::m_supportsReading = (bool)x[1].s_bool;
    }
    void x_45(Smoke::Stack x) {
        // bool m_supportsWriting
        x[0].s_bool = this->KProtocolInfo::m_supportsWriting;
    }
    void x_46(Smoke::Stack x) {
        // bool m_supportsWriting=
        this->KProtocolInfo::m_supportsWriting = (bool)x[1].s_bool;
    }
    void x_47(Smoke::Stack x) {
        // bool m_supportsMakeDir
        x[0].s_bool = this->KProtocolInfo::m_supportsMakeDir;
    }
    void x_48(Smoke::Stack x) {
        // bool m_supportsMakeDir=
        this->KProtocolInfo::m_supportsMakeDir = (bool)x[1].s_bool;
    }
    void x_49(Smoke::Stack x) {
        // bool m_supportsDeleting
        x[0].s_bool = this->KProtocolInfo::m_supportsDeleting;
    }
    void x_50(Smoke::Stack x) {
        // bool m_supportsDeleting=
        this->KProtocolInfo::m_supportsDeleting = (bool)x[1].s_bool;
    }
    void x_51(Smoke::Stack x) {
        // bool m_supportsLinking
        x[0].s_bool = this->KProtocolInfo::m_supportsLinking;
    }
    void x_52(Smoke::Stack x) {
        // bool m_supportsLinking=
        this->KProtocolInfo::m_supportsLinking = (bool)x[1].s_bool;
    }
    void x_53(Smoke::Stack x) {
        // bool m_supportsMoving
        x[0].s_bool = this->KProtocolInfo::m_supportsMoving;
    }
    void x_54(Smoke::Stack x) {
        // bool m_supportsMoving=
        this->KProtocolInfo::m_supportsMoving = (bool)x[1].s_bool;
    }
    void x_55(Smoke::Stack x) {
        // bool m_supportsOpening
        x[0].s_bool = this->KProtocolInfo::m_supportsOpening;
    }
    void x_56(Smoke::Stack x) {
        // bool m_supportsOpening=
        this->KProtocolInfo::m_supportsOpening = (bool)x[1].s_bool;
    }
    void x_57(Smoke::Stack x) {
        // QString m_defaultMimetype
        x[0].s_class = (void*)&this->KProtocolInfo::m_defaultMimetype;
    }
    void x_58(Smoke::Stack x) {
        // QString m_defaultMimetype=
        this->KProtocolInfo::m_defaultMimetype = *(const QString*)x[1].s_class;
    }
    void x_59(Smoke::Stack x) {
        // bool m_determineMimetypeFromExtension
        x[0].s_bool = this->KProtocolInfo::m_determineMimetypeFromExtension;
    }
    void x_60(Smoke::Stack x) {
        // bool m_determineMimetypeFromExtension=
        this->KProtocolInfo::m_determineMimetypeFromExtension = (bool)x[1].s_bool;
    }
    void x_61(Smoke::Stack x) {
        // QString m_icon
        x[0].s_class = (void*)&this->KProtocolInfo::m_icon;
    }
    void x_62(Smoke::Stack x) {
        // QString m_icon=
        this->KProtocolInfo::m_icon = *(const QString*)x[1].s_class;
    }
    void x_63(Smoke::Stack x) {
        // bool m_canCopyFromFile
        x[0].s_bool = this->KProtocolInfo::m_canCopyFromFile;
    }
    void x_64(Smoke::Stack x) {
        // bool m_canCopyFromFile=
        this->KProtocolInfo::m_canCopyFromFile = (bool)x[1].s_bool;
    }
    void x_65(Smoke::Stack x) {
        // bool m_canCopyToFile
        x[0].s_bool = this->KProtocolInfo::m_canCopyToFile;
    }
    void x_66(Smoke::Stack x) {
        // bool m_canCopyToFile=
        this->KProtocolInfo::m_canCopyToFile = (bool)x[1].s_bool;
    }
    void x_67(Smoke::Stack x) {
        // QString m_config
        x[0].s_class = (void*)&this->KProtocolInfo::m_config;
    }
    void x_68(Smoke::Stack x) {
        // QString m_config=
        this->KProtocolInfo::m_config = *(const QString*)x[1].s_class;
    }
    void x_69(Smoke::Stack x) {
        // int m_maxSlaves
        x[0].s_int = this->KProtocolInfo::m_maxSlaves;
    }
    void x_70(Smoke::Stack x) {
        // int m_maxSlaves=
        this->KProtocolInfo::m_maxSlaves = (int)x[1].s_int;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::T_STREAM;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::T_FILESYSTEM;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::T_NONE;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::T_ERROR;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::Name;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::FromUrl;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::DisplayName;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 173: //KProtocolInfo::Type
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KProtocolInfo::Type;
                    break;
                case Smoke::EnumDelete:
                    delete (KProtocolInfo::Type*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KProtocolInfo::Type*)xdata = (KProtocolInfo::Type)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KProtocolInfo::Type*)xdata;
                    break;
            }
            break;
        case 172: //KProtocolInfo::FileNameUsedForCopying
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KProtocolInfo::FileNameUsedForCopying;
                    break;
                case Smoke::EnumDelete:
                    delete (KProtocolInfo::FileNameUsedForCopying*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KProtocolInfo::FileNameUsedForCopying*)xdata = (KProtocolInfo::FileNameUsedForCopying)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KProtocolInfo::FileNameUsedForCopying*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KProtocolInfo() { this->_binding->deleted(89, (void*)this); }
};
void xenum_KProtocolInfo(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KProtocolInfo::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KProtocolInfo(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KProtocolInfo *xself = (x_KProtocolInfo*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KProtocolInfo::x_1(args);	break;
        case 2: x_KProtocolInfo::x_2(args);	break;
        case 3: x_KProtocolInfo::x_3(args);	break;
        case 4: x_KProtocolInfo::x_4(args);	break;
        case 5: x_KProtocolInfo::x_5(args);	break;
        case 6: x_KProtocolInfo::x_6(args);	break;
        case 7: x_KProtocolInfo::x_7(args);	break;
        case 8: x_KProtocolInfo::x_8(args);	break;
        case 9: x_KProtocolInfo::x_9(args);	break;
        case 10: x_KProtocolInfo::x_10(args);	break;
        case 11: x_KProtocolInfo::x_11(args);	break;
        case 12: x_KProtocolInfo::x_12(args);	break;
        case 13: x_KProtocolInfo::x_13(args);	break;
        case 14: x_KProtocolInfo::x_14(args);	break;
        case 15: x_KProtocolInfo::x_15(args);	break;
        case 16: x_KProtocolInfo::x_16(args);	break;
        case 17: x_KProtocolInfo::x_17(args);	break;
        case 18: x_KProtocolInfo::x_18(args);	break;
        case 19: x_KProtocolInfo::x_19(args);	break;
        case 20: x_KProtocolInfo::x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: x_KProtocolInfo::x_71(args);	break;
        case 72: x_KProtocolInfo::x_72(args);	break;
        case 73: x_KProtocolInfo::x_73(args);	break;
        case 74: x_KProtocolInfo::x_74(args);	break;
        case 75: x_KProtocolInfo::x_75(args);	break;
        case 76: x_KProtocolInfo::x_76(args);	break;
        case 77: x_KProtocolInfo::x_77(args);	break;
        case 78: delete (KProtocolInfo*)xself;	break;
    }
}
class x_KProtocolInfo__ExtraField : public KProtocolInfo::ExtraField {
    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) {
        // KProtocolInfo::ExtraField* ExtraField()
        x_KProtocolInfo__ExtraField* xret = new x_KProtocolInfo__ExtraField();
        x[0].s_class = (void*)xret;
    }
    explicit x_KProtocolInfo__ExtraField() : ExtraField() {}
    static void x_2(Smoke::Stack x) {
        // KProtocolInfo::ExtraField* ExtraField(const QString&, KProtocolInfo::ExtraField::Type)
        x_KProtocolInfo__ExtraField* xret = new x_KProtocolInfo__ExtraField(*(const QString*)x[1].s_class,(KProtocolInfo::ExtraField::Type)x[2].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_KProtocolInfo__ExtraField(const QString& x1, KProtocolInfo::ExtraField::Type x2) : ExtraField(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // KProtocolInfo::ExtraField* ExtraField(const KProtocolInfo::ExtraField&)
        x_KProtocolInfo__ExtraField* xret = new x_KProtocolInfo__ExtraField(*(const KProtocolInfo::ExtraField*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KProtocolInfo__ExtraField(const KProtocolInfo::ExtraField& x1) : ExtraField(x1) {}
    void x_4(Smoke::Stack x) {
        // QString name
        x[0].s_class = (void*)&this->KProtocolInfo::ExtraField::name;
    }
    void x_5(Smoke::Stack x) {
        // QString name=
        this->KProtocolInfo::ExtraField::name = *(const QString*)x[1].s_class;
    }
    void x_6(Smoke::Stack x) {
        // KProtocolInfo::ExtraField::Type type
        x[0].s_enum = this->KProtocolInfo::ExtraField::type;
    }
    void x_7(Smoke::Stack x) {
        // KProtocolInfo::ExtraField::Type type=
        this->KProtocolInfo::ExtraField::type = (KProtocolInfo::ExtraField::Type)x[1].s_enum;
    }
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::ExtraField::String;
    }
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::ExtraField::DateTime;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)KProtocolInfo::ExtraField::Invalid;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 171: //KProtocolInfo::ExtraField::Type
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KProtocolInfo::ExtraField::Type;
                    break;
                case Smoke::EnumDelete:
                    delete (KProtocolInfo::ExtraField::Type*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KProtocolInfo::ExtraField::Type*)xdata = (KProtocolInfo::ExtraField::Type)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KProtocolInfo::ExtraField::Type*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KProtocolInfo__ExtraField() { this->_binding->deleted(90, (void*)this); }
};
void xenum_KProtocolInfo__ExtraField(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KProtocolInfo__ExtraField::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KProtocolInfo__ExtraField(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KProtocolInfo__ExtraField *xself = (x_KProtocolInfo__ExtraField*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KProtocolInfo__ExtraField::x_1(args);	break;
        case 2: x_KProtocolInfo__ExtraField::x_2(args);	break;
        case 3: x_KProtocolInfo__ExtraField::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: x_KProtocolInfo__ExtraField::x_8(args);	break;
        case 9: x_KProtocolInfo__ExtraField::x_9(args);	break;
        case 10: x_KProtocolInfo__ExtraField::x_10(args);	break;
        case 11: delete (KProtocolInfo::ExtraField*)xself;	break;
    }
}
class x_KRandomSequence : public KRandomSequence, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KRandomSequence* KRandomSequence(long)
        x_KRandomSequence* xret = new x_KRandomSequence((long)x[1].s_long);
        x[0].s_class = (void*)xret;
    }
    explicit x_KRandomSequence(long x1) : KRandomSequence(x1) {}
    static void x_2(Smoke::Stack x) {
        // KRandomSequence* KRandomSequence(const KRandomSequence&)
        x_KRandomSequence* xret = new x_KRandomSequence(*(const KRandomSequence*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KRandomSequence(const KRandomSequence& x1) : KRandomSequence(x1) {}
    void x_3(Smoke::Stack x) {
        // KRandomSequence& operator=(const KRandomSequence&)
        KRandomSequence& xret = this->KRandomSequence::operator=(*(const KRandomSequence*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // void setSeed(long)
        this->KRandomSequence::setSeed((long)x[1].s_long);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // double getDouble()
        double xret = this->KRandomSequence::getDouble();
        x[0].s_double = xret;
    }
    void x_6(Smoke::Stack x) {
        // unsigned long getLong(unsigned long)
        unsigned long xret = this->KRandomSequence::getLong((unsigned long)x[1].s_ulong);
        x[0].s_ulong = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool getBool()
        bool xret = this->KRandomSequence::getBool();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // void modulate(int)
        this->KRandomSequence::modulate((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_9(Smoke::Stack x) {
        // KRandomSequence* KRandomSequence()
        x_KRandomSequence* xret = new x_KRandomSequence((long)0);
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // void setSeed()
        this->KRandomSequence::setSeed((long)0);
        (void)x; // noop (for compiler warning)
    }
    ~x_KRandomSequence() { this->_binding->deleted(92, (void*)this); }
};
void xcall_KRandomSequence(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KRandomSequence *xself = (x_KRandomSequence*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KRandomSequence::x_1(args);	break;
        case 2: x_KRandomSequence::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: x_KRandomSequence::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: delete (KRandomSequence*)xself;	break;
    }
}
class x_KSaveFile : public KSaveFile, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KSaveFile* KSaveFile()
        x_KSaveFile* xret = new x_KSaveFile();
        x[0].s_class = (void*)xret;
    }
    explicit x_KSaveFile() : KSaveFile() {}
    static void x_2(Smoke::Stack x) {
        // KSaveFile* KSaveFile(const QString&, const KComponentData&)
        x_KSaveFile* xret = new x_KSaveFile(*(const QString*)x[1].s_class,*(const KComponentData*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KSaveFile(const QString& x1, const KComponentData& x2) : KSaveFile(x1, x2) {}
    void x_3(Smoke::Stack x) {
        // void setFileName(const QString&)
        this->KSaveFile::setFileName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // QString fileName() const
        QString xret = ((const x_KSaveFile*)this)->KSaveFile::fileName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_5(Smoke::Stack x) {
        // QFile::FileError error() const
        QFile::FileError xret = ((const x_KSaveFile*)this)->KSaveFile::error();
        x[0].s_enum = xret;
    }
    void x_6(Smoke::Stack x) {
        // QString errorString() const
        QString xret = ((const x_KSaveFile*)this)->KSaveFile::errorString();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual bool open(QFlags<QIODevice::OpenModeFlag>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KSaveFile*>(this))) {
            bool xret = this->KSaveFile::open((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
            x[0].s_bool = xret;
        } else {
            bool xret = this->open((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
            x[0].s_bool = xret;
        }
    }
    void x_8(Smoke::Stack x) {
        // void abort()
        this->KSaveFile::abort();
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // bool finalize()
        bool xret = this->KSaveFile::finalize();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setDirectWriteFallback(bool)
        this->KSaveFile::setDirectWriteFallback((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool directWriteFallback() const
        bool xret = ((const x_KSaveFile*)this)->KSaveFile::directWriteFallback();
        x[0].s_bool = xret;
    }
    static void x_12(Smoke::Stack x) {
        // static bool backupFile(const QString&, const QString&)
        bool xret = KSaveFile::backupFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_13(Smoke::Stack x) {
        // static bool simpleBackupFile(const QString&, const QString&, const QString&)
        bool xret = KSaveFile::simpleBackupFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_14(Smoke::Stack x) {
        // static bool numberedBackupFile(const QString&, const QString&, const QString&, const unsigned int)
        bool xret = KSaveFile::numberedBackupFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(const unsigned int)x[4].s_uint);
        x[0].s_bool = xret;
    }
    static void x_15(Smoke::Stack x) {
        // static bool rcsBackupFile(const QString&, const QString&, const QString&)
        bool xret = KSaveFile::rcsBackupFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_16(Smoke::Stack x) {
        // KSaveFile* KSaveFile(const QString&)
        x_KSaveFile* xret = new x_KSaveFile(*(const QString*)x[1].s_class,(const KComponentData&)KGlobal::mainComponent());
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // bool open()
        bool xret = this->KSaveFile::open((QFlags<QIODevice::OpenModeFlag>)QIODevice::ReadWrite);
        x[0].s_bool = xret;
    }
    static void x_18(Smoke::Stack x) {
        // static bool backupFile(const QString&)
        bool xret = KSaveFile::backupFile(*(const QString*)x[1].s_class,(const QString&)QString());
        x[0].s_bool = xret;
    }
    static void x_19(Smoke::Stack x) {
        // static bool simpleBackupFile(const QString&)
        bool xret = KSaveFile::simpleBackupFile(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QLatin1String("~"));
        x[0].s_bool = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static bool simpleBackupFile(const QString&, const QString&)
        bool xret = KSaveFile::simpleBackupFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QLatin1String("~"));
        x[0].s_bool = xret;
    }
    static void x_21(Smoke::Stack x) {
        // static bool numberedBackupFile(const QString&)
        bool xret = KSaveFile::numberedBackupFile(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString::fromLatin1("~"),(const unsigned int)10);
        x[0].s_bool = xret;
    }
    static void x_22(Smoke::Stack x) {
        // static bool numberedBackupFile(const QString&, const QString&)
        bool xret = KSaveFile::numberedBackupFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString::fromLatin1("~"),(const unsigned int)10);
        x[0].s_bool = xret;
    }
    static void x_23(Smoke::Stack x) {
        // static bool numberedBackupFile(const QString&, const QString&, const QString&)
        bool xret = KSaveFile::numberedBackupFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(const unsigned int)10);
        x[0].s_bool = xret;
    }
    static void x_24(Smoke::Stack x) {
        // static bool rcsBackupFile(const QString&)
        bool xret = KSaveFile::rcsBackupFile(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString());
        x[0].s_bool = xret;
    }
    static void x_25(Smoke::Stack x) {
        // static bool rcsBackupFile(const QString&, const QString&)
        bool xret = KSaveFile::rcsBackupFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString());
        x[0].s_bool = xret;
    }
    virtual bool open(QFlags<QIODevice::OpenModeFlag> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(2440, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KSaveFile::open(x1);
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3330, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QFile::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3331, (void*)this, x)) return (void*)x[0].s_class;
        return this->QFile::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(3332, (void*)this, x)) return (int)x[0].s_int;
        return this->QFile::qt_metacall(x1, x2, x3);
    }
    virtual void close() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3334, (void*)this, x)) return;
        this->QFile::close();
    }
    virtual QAbstractFileEngine* fileEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3339, (void*)this, x)) return (QAbstractFileEngine*)x[0].s_class;
        return this->QFile::fileEngine();
    }
    virtual bool isSequential() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3333, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFile::isSequential();
    }
    virtual long long pos() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3336, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::pos();
    }
    virtual long long size() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3335, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::size();
    }
    virtual bool seek(long long x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new long long(x1);
        if (this->_binding->callMethod(3337, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFile::seek(x1);
    }
    virtual bool atEnd() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3338, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFile::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(3487, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QIODevice::bytesAvailable();
    }
    virtual long long bytesToWrite() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3488, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QIODevice::bytesToWrite();
    }
    virtual bool canReadLine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3489, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::canReadLine();
    }
    virtual bool waitForReadyRead(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3490, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::waitForReadyRead(x1);
    }
    virtual bool waitForBytesWritten(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3491, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::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(3340, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::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(3342, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::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(3341, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::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);
    }
    ~x_KSaveFile() { this->_binding->deleted(93, (void*)this); }
};
void xcall_KSaveFile(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KSaveFile *xself = (x_KSaveFile*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KSaveFile::x_1(args);	break;
        case 2: x_KSaveFile::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: x_KSaveFile::x_12(args);	break;
        case 13: x_KSaveFile::x_13(args);	break;
        case 14: x_KSaveFile::x_14(args);	break;
        case 15: x_KSaveFile::x_15(args);	break;
        case 16: x_KSaveFile::x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: x_KSaveFile::x_18(args);	break;
        case 19: x_KSaveFile::x_19(args);	break;
        case 20: x_KSaveFile::x_20(args);	break;
        case 21: x_KSaveFile::x_21(args);	break;
        case 22: x_KSaveFile::x_22(args);	break;
        case 23: x_KSaveFile::x_23(args);	break;
        case 24: x_KSaveFile::x_24(args);	break;
        case 25: x_KSaveFile::x_25(args);	break;
        case 26: delete (KSaveFile*)xself;	break;
    }
}
class x_KService : public KService, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KService* KService(const QString&, const QString&, const QString&)
        x_KService* xret = new x_KService(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KService(const QString& x1, const QString& x2, const QString& x3) : KService(x1, x2, x3) {}
    static void x_2(Smoke::Stack x) {
        // KService* KService(const QString&)
        x_KService* xret = new x_KService(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KService(const QString& x1) : KService(x1) {}
    static void x_3(Smoke::Stack x) {
        // KService* KService(const KDesktopFile*)
        x_KService* xret = new x_KService((const KDesktopFile*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KService(const KDesktopFile* x1) : KService(x1) {}
    static void x_4(Smoke::Stack x) {
        // KService* KService(QDataStream&, int)
        x_KService* xret = new x_KService(*(QDataStream*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_KService(QDataStream& x1, int x2) : KService(x1, x2) {}
    void x_5(Smoke::Stack x) {
        // bool isApplication() const
        bool xret = ((const x_KService*)this)->KService::isApplication();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // QString type() const
        QString xret = ((const x_KService*)this)->KService::type();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // QString exec() const
        QString xret = ((const x_KService*)this)->KService::exec();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // QString library() const
        QString xret = ((const x_KService*)this)->KService::library();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // QString icon() const
        QString xret = ((const x_KService*)this)->KService::icon();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_10(Smoke::Stack x) {
        // bool terminal() const
        bool xret = ((const x_KService*)this)->KService::terminal();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QString terminalOptions() const
        QString xret = ((const x_KService*)this)->KService::terminalOptions();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // bool substituteUid() const
        bool xret = ((const x_KService*)this)->KService::substituteUid();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // QString username() const
        QString xret = ((const x_KService*)this)->KService::username();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // QString desktopEntryPath() const
        QString xret = ((const x_KService*)this)->KService::desktopEntryPath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // QString desktopEntryName() const
        QString xret = ((const x_KService*)this)->KService::desktopEntryName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // QString menuId() const
        QString xret = ((const x_KService*)this)->KService::menuId();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // QString storageId() const
        QString xret = ((const x_KService*)this)->KService::storageId();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // KService::DBusStartupType dbusStartupType() const
        KService::DBusStartupType xret = ((const x_KService*)this)->KService::dbusStartupType();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // QString path() const
        QString xret = ((const x_KService*)this)->KService::path();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // QString comment() const
        QString xret = ((const x_KService*)this)->KService::comment();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_21(Smoke::Stack x) {
        // QString genericName() const
        QString xret = ((const x_KService*)this)->KService::genericName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // QString untranslatedGenericName() const
        QString xret = ((const x_KService*)this)->KService::untranslatedGenericName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_23(Smoke::Stack x) {
        // QStringList keywords() const
        QStringList xret = ((const x_KService*)this)->KService::keywords();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_24(Smoke::Stack x) {
        // QStringList categories() const
        QStringList xret = ((const x_KService*)this)->KService::categories();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_25(Smoke::Stack x) {
        // QStringList mimeTypes() const
        QStringList xret = ((const x_KService*)this)->KService::mimeTypes();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_26(Smoke::Stack x) {
        // QStringList serviceTypes() const
        QStringList xret = ((const x_KService*)this)->KService::serviceTypes();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_27(Smoke::Stack x) {
        // bool hasServiceType(const QString&) const
        bool xret = ((const x_KService*)this)->KService::hasServiceType(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // bool hasMimeType(const KServiceType*) const
        bool xret = ((const x_KService*)this)->KService::hasMimeType((const KServiceType*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // bool hasMimeType(const QString&) const
        bool xret = ((const x_KService*)this)->KService::hasMimeType(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // bool allowAsDefault() const
        bool xret = ((const x_KService*)this)->KService::allowAsDefault();
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // QList<KServiceAction> actions() const
        QList<KServiceAction> xret = ((const x_KService*)this)->KService::actions();
        x[0].s_class = (void*)new QList<KServiceAction>(xret);
    }
    void x_32(Smoke::Stack x) {
        // bool allowMultipleFiles() const
        bool xret = ((const x_KService*)this)->KService::allowMultipleFiles();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // int initialPreference() const
        int xret = ((const x_KService*)this)->KService::initialPreference();
        x[0].s_int = xret;
    }
    void x_34(Smoke::Stack x) {
        // bool noDisplay() const
        bool xret = ((const x_KService*)this)->KService::noDisplay();
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // bool showInKDE() const
        bool xret = ((const x_KService*)this)->KService::showInKDE();
        x[0].s_bool = xret;
    }
    void x_36(Smoke::Stack x) {
        // QString parentApp() const
        QString xret = ((const x_KService*)this)->KService::parentApp();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_37(Smoke::Stack x) {
        // QString pluginKeyword() const
        QString xret = ((const x_KService*)this)->KService::pluginKeyword();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_38(Smoke::Stack x) {
        // QString docPath() const
        QString xret = ((const x_KService*)this)->KService::docPath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_39(Smoke::Stack x) {
        // QVariant property(const QString&, QVariant::Type) const
        QVariant xret = ((const x_KService*)this)->KService::property(*(const QString*)x[1].s_class,(QVariant::Type)x[2].s_enum);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_40(Smoke::Stack x) {
        // QVariant property(const QString&) const
        QVariant xret = ((const x_KService*)this)->KService::property(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_41(Smoke::Stack x) {
        // QString locateLocal() const
        QString xret = ((const x_KService*)this)->KService::locateLocal();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_42(Smoke::Stack x) {
        // void setMenuId(const QString&)
        this->KService::setMenuId(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void setTerminal(bool)
        this->KService::setTerminal((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void setTerminalOptions(const QString&)
        this->KService::setTerminalOptions(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void setExec(const QString&)
        this->KService::setExec(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_46(Smoke::Stack x) {
        // static KSharedPtr<KService> serviceByName(const QString&)
        KSharedPtr<KService> xret = KService::serviceByName(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KSharedPtr<KService>(xret);
    }
    static void x_47(Smoke::Stack x) {
        // static KSharedPtr<KService> serviceByDesktopPath(const QString&)
        KSharedPtr<KService> xret = KService::serviceByDesktopPath(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KSharedPtr<KService>(xret);
    }
    static void x_48(Smoke::Stack x) {
        // static KSharedPtr<KService> serviceByDesktopName(const QString&)
        KSharedPtr<KService> xret = KService::serviceByDesktopName(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KSharedPtr<KService>(xret);
    }
    static void x_49(Smoke::Stack x) {
        // static KSharedPtr<KService> serviceByMenuId(const QString&)
        KSharedPtr<KService> xret = KService::serviceByMenuId(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KSharedPtr<KService>(xret);
    }
    static void x_50(Smoke::Stack x) {
        // static KSharedPtr<KService> serviceByStorageId(const QString&)
        KSharedPtr<KService> xret = KService::serviceByStorageId(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KSharedPtr<KService>(xret);
    }
    static void x_51(Smoke::Stack x) {
        // static QList<KSharedPtr<KService> > allServices()
        QList<KSharedPtr<KService> > xret = KService::allServices();
        x[0].s_class = (void*)new QList<KSharedPtr<KService> >(xret);
    }
    static void x_52(Smoke::Stack x) {
        // static QString newServicePath(bool, const QString&, QString*, const QStringList*)
        QString xret = KService::newServicePath((bool)x[1].s_bool,*(const QString*)x[2].s_class,(QString*)x[3].s_class,(const QStringList*)x[4].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_53(Smoke::Stack x) {
        // static QString newServicePath(bool, const QString&)
        QString xret = KService::newServicePath((bool)x[1].s_bool,*(const QString*)x[2].s_class,(QString*)0,(const QStringList*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_54(Smoke::Stack x) {
        // static QString newServicePath(bool, const QString&, QString*)
        QString xret = KService::newServicePath((bool)x[1].s_bool,*(const QString*)x[2].s_class,(QString*)x[3].s_class,(const QStringList*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)KService::DBusNone;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)KService::DBusUnique;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)KService::DBusMulti;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)KService::DBusWait;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 179: //KService::DBusStartupType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KService::DBusStartupType;
                    break;
                case Smoke::EnumDelete:
                    delete (KService::DBusStartupType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KService::DBusStartupType*)xdata = (KService::DBusStartupType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KService::DBusStartupType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KService() { this->_binding->deleted(94, (void*)this); }
};
void xenum_KService(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KService::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KService(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KService *xself = (x_KService*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KService::x_1(args);	break;
        case 2: x_KService::x_2(args);	break;
        case 3: x_KService::x_3(args);	break;
        case 4: x_KService::x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: x_KService::x_46(args);	break;
        case 47: x_KService::x_47(args);	break;
        case 48: x_KService::x_48(args);	break;
        case 49: x_KService::x_49(args);	break;
        case 50: x_KService::x_50(args);	break;
        case 51: x_KService::x_51(args);	break;
        case 52: x_KService::x_52(args);	break;
        case 53: x_KService::x_53(args);	break;
        case 54: x_KService::x_54(args);	break;
        case 55: x_KService::x_55(args);	break;
        case 56: x_KService::x_56(args);	break;
        case 57: x_KService::x_57(args);	break;
        case 58: x_KService::x_58(args);	break;
        case 59: delete (KService*)xself;	break;
    }
}

}
