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

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

class __internal_SmokeClass {};

namespace __smokekdecore {

class x_KSocketFactory {
    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 QTcpSocket* connectToHost(const QString&, const QString&, unsigned short, QObject*)
        QTcpSocket* xret = KSocketFactory::connectToHost(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned short)x[3].s_ushort,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_2(Smoke::Stack x) {
        // static QTcpSocket* connectToHost(const QString&, const QString&, unsigned short)
        QTcpSocket* xret = KSocketFactory::connectToHost(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned short)x[3].s_ushort,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_3(Smoke::Stack x) {
        // static QTcpSocket* synchronousConnectToHost(const QUrl&, int, QObject*)
        QTcpSocket* xret = KSocketFactory::synchronousConnectToHost(*(const QUrl*)x[1].s_class,(int)x[2].s_int,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static QTcpSocket* synchronousConnectToHost(const QUrl&)
        QTcpSocket* xret = KSocketFactory::synchronousConnectToHost(*(const QUrl*)x[1].s_class,(int)30000,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_5(Smoke::Stack x) {
        // static QTcpSocket* synchronousConnectToHost(const QUrl&, int)
        QTcpSocket* xret = KSocketFactory::synchronousConnectToHost(*(const QUrl*)x[1].s_class,(int)x[2].s_int,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_6(Smoke::Stack x) {
        // static QTcpServer* listen(const QString&, const QHostAddress&, unsigned short, QObject*)
        QTcpServer* xret = KSocketFactory::listen(*(const QString*)x[1].s_class,*(const QHostAddress*)x[2].s_class,(unsigned short)x[3].s_ushort,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_7(Smoke::Stack x) {
        // static QTcpServer* listen(const QString&)
        QTcpServer* xret = KSocketFactory::listen(*(const QString*)x[1].s_class,(const QHostAddress&)QHostAddress::Any,(unsigned short)0,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_8(Smoke::Stack x) {
        // static QTcpServer* listen(const QString&, const QHostAddress&)
        QTcpServer* xret = KSocketFactory::listen(*(const QString*)x[1].s_class,*(const QHostAddress*)x[2].s_class,(unsigned short)0,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_9(Smoke::Stack x) {
        // static QTcpServer* listen(const QString&, const QHostAddress&, unsigned short)
        QTcpServer* xret = KSocketFactory::listen(*(const QString*)x[1].s_class,*(const QHostAddress*)x[2].s_class,(unsigned short)x[3].s_ushort,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_10(Smoke::Stack x) {
        // static void connectToHost(QTcpSocket*, const QString&, const QString&, unsigned short)
        KSocketFactory::connectToHost((QTcpSocket*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(unsigned short)x[4].s_ushort);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // static QNetworkProxy proxyForListening(const QString&)
        QNetworkProxy xret = KSocketFactory::proxyForListening(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QNetworkProxy(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QTcpSocket* connectToHost(const QUrl&, QObject*)
        QTcpSocket* xret = KSocketFactory::connectToHost(*(const QUrl*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // static QTcpSocket* connectToHost(const QUrl&)
        QTcpSocket* xret = KSocketFactory::connectToHost(*(const QUrl*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static QTcpSocket* synchronousConnectToHost(const QString&, const QString&, unsigned short, int, QObject*)
        QTcpSocket* xret = KSocketFactory::synchronousConnectToHost(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned short)x[3].s_ushort,(int)x[4].s_int,(QObject*)x[5].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // static QTcpSocket* synchronousConnectToHost(const QString&, const QString&, unsigned short)
        QTcpSocket* xret = KSocketFactory::synchronousConnectToHost(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned short)x[3].s_ushort,(int)30000,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_16(Smoke::Stack x) {
        // static QTcpSocket* synchronousConnectToHost(const QString&, const QString&, unsigned short, int)
        QTcpSocket* xret = KSocketFactory::synchronousConnectToHost(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned short)x[3].s_ushort,(int)x[4].s_int,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static void connectToHost(QTcpSocket*, const QUrl&)
        KSocketFactory::connectToHost((QTcpSocket*)x[1].s_class,*(const QUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static QUdpSocket* datagramSocket(const QString&, const QString&, QObject*)
        QUdpSocket* xret = KSocketFactory::datagramSocket(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // static QUdpSocket* datagramSocket(const QString&, const QString&)
        QUdpSocket* xret = KSocketFactory::datagramSocket(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // static QNetworkProxy proxyForConnection(const QString&, const QString&)
        QNetworkProxy xret = KSocketFactory::proxyForConnection(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QNetworkProxy(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static void synchronousConnectToHost(QTcpSocket*, const QUrl&, int)
        KSocketFactory::synchronousConnectToHost((QTcpSocket*)x[1].s_class,*(const QUrl*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static void synchronousConnectToHost(QTcpSocket*, const QUrl&)
        KSocketFactory::synchronousConnectToHost((QTcpSocket*)x[1].s_class,*(const QUrl*)x[2].s_class,(int)30000);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static QNetworkProxy proxyForDatagram(const QString&, const QString&)
        QNetworkProxy xret = KSocketFactory::proxyForDatagram(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QNetworkProxy(xret);
    }
    static void x_24(Smoke::Stack x) {
        // static void synchronousConnectToHost(QTcpSocket*, const QString&, const QString&, unsigned short, int)
        KSocketFactory::synchronousConnectToHost((QTcpSocket*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(unsigned short)x[4].s_ushort,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static void synchronousConnectToHost(QTcpSocket*, const QString&, const QString&, unsigned short)
        KSocketFactory::synchronousConnectToHost((QTcpSocket*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(unsigned short)x[4].s_ushort,(int)30000);
        (void)x; // noop (for compiler warning)
    }
    ~x_KSocketFactory() { this->_binding->deleted(102, (void*)this); }
};
void xcall_KSocketFactory(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KSocketFactory *xself = (x_KSocketFactory*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KSocketFactory::x_1(args);	break;
        case 2: x_KSocketFactory::x_2(args);	break;
        case 3: x_KSocketFactory::x_3(args);	break;
        case 4: x_KSocketFactory::x_4(args);	break;
        case 5: x_KSocketFactory::x_5(args);	break;
        case 6: x_KSocketFactory::x_6(args);	break;
        case 7: x_KSocketFactory::x_7(args);	break;
        case 8: x_KSocketFactory::x_8(args);	break;
        case 9: x_KSocketFactory::x_9(args);	break;
        case 10: x_KSocketFactory::x_10(args);	break;
        case 11: x_KSocketFactory::x_11(args);	break;
        case 12: x_KSocketFactory::x_12(args);	break;
        case 13: x_KSocketFactory::x_13(args);	break;
        case 14: x_KSocketFactory::x_14(args);	break;
        case 15: x_KSocketFactory::x_15(args);	break;
        case 16: x_KSocketFactory::x_16(args);	break;
        case 17: x_KSocketFactory::x_17(args);	break;
        case 18: x_KSocketFactory::x_18(args);	break;
        case 19: x_KSocketFactory::x_19(args);	break;
        case 20: x_KSocketFactory::x_20(args);	break;
        case 21: x_KSocketFactory::x_21(args);	break;
        case 22: x_KSocketFactory::x_22(args);	break;
        case 23: x_KSocketFactory::x_23(args);	break;
        case 24: x_KSocketFactory::x_24(args);	break;
        case 25: x_KSocketFactory::x_25(args);	break;
    }
}
class x_KStringHandler {
    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 perlSplit(const QString&, const QString&, int)
        QStringList xret = KStringHandler::perlSplit(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_2(Smoke::Stack x) {
        // static QStringList perlSplit(const QString&, const QString&)
        QStringList xret = KStringHandler::perlSplit(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(int)0);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_3(Smoke::Stack x) {
        // static int naturalCompare(const QString&, const QString&, Qt::CaseSensitivity)
        int xret = KStringHandler::naturalCompare(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(Qt::CaseSensitivity)x[3].s_enum);
        x[0].s_int = xret;
    }
    static void x_4(Smoke::Stack x) {
        // static int naturalCompare(const QString&, const QString&)
        int xret = KStringHandler::naturalCompare(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(Qt::CaseSensitivity)Qt::CaseSensitive);
        x[0].s_int = xret;
    }
    static void x_5(Smoke::Stack x) {
        // static QString from8Bit(const char*)
        QString xret = KStringHandler::from8Bit((const char*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static bool isUtf8(const char*)
        bool xret = KStringHandler::isUtf8((const char*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_7(Smoke::Stack x) {
        // static QString lsqueeze(const QString&, int)
        QString xret = KStringHandler::lsqueeze(*(const QString*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_8(Smoke::Stack x) {
        // static QString lsqueeze(const QString&)
        QString xret = KStringHandler::lsqueeze(*(const QString*)x[1].s_class,(int)40);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static QString capwords(const QString&)
        QString xret = KStringHandler::capwords(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QString csqueeze(const QString&, int)
        QString xret = KStringHandler::csqueeze(*(const QString*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString csqueeze(const QString&)
        QString xret = KStringHandler::csqueeze(*(const QString*)x[1].s_class,(int)40);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QStringList perlSplit(const QChar&, const QString&, int)
        QStringList xret = KStringHandler::perlSplit(*(const QChar*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QStringList perlSplit(const QChar&, const QString&)
        QStringList xret = KStringHandler::perlSplit(*(const QChar*)x[1].s_class,*(const QString*)x[2].s_class,(int)0);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QString preProcessWrap(const QString&)
        QString xret = KStringHandler::preProcessWrap(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QStringList perlSplit(const QRegExp&, const QString&, int)
        QStringList xret = KStringHandler::perlSplit(*(const QRegExp*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QStringList perlSplit(const QRegExp&, const QString&)
        QStringList xret = KStringHandler::perlSplit(*(const QRegExp*)x[1].s_class,*(const QString*)x[2].s_class,(int)0);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static QString obscure(const QString&)
        QString xret = KStringHandler::obscure(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QStringList capwords(const QStringList&)
        QStringList xret = KStringHandler::capwords(*(const QStringList*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static QString rsqueeze(const QString&, int)
        QString xret = KStringHandler::rsqueeze(*(const QString*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // static QString rsqueeze(const QString&)
        QString xret = KStringHandler::rsqueeze(*(const QString*)x[1].s_class,(int)40);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString tagUrls(const QString&)
        QString xret = KStringHandler::tagUrls(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    ~x_KStringHandler() { this->_binding->deleted(104, (void*)this); }
};
void xcall_KStringHandler(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KStringHandler *xself = (x_KStringHandler*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KStringHandler::x_1(args);	break;
        case 2: x_KStringHandler::x_2(args);	break;
        case 3: x_KStringHandler::x_3(args);	break;
        case 4: x_KStringHandler::x_4(args);	break;
        case 5: x_KStringHandler::x_5(args);	break;
        case 6: x_KStringHandler::x_6(args);	break;
        case 7: x_KStringHandler::x_7(args);	break;
        case 8: x_KStringHandler::x_8(args);	break;
        case 9: x_KStringHandler::x_9(args);	break;
        case 10: x_KStringHandler::x_10(args);	break;
        case 11: x_KStringHandler::x_11(args);	break;
        case 12: x_KStringHandler::x_12(args);	break;
        case 13: x_KStringHandler::x_13(args);	break;
        case 14: x_KStringHandler::x_14(args);	break;
        case 15: x_KStringHandler::x_15(args);	break;
        case 16: x_KStringHandler::x_16(args);	break;
        case 17: x_KStringHandler::x_17(args);	break;
        case 18: x_KStringHandler::x_18(args);	break;
        case 19: x_KStringHandler::x_19(args);	break;
        case 20: x_KStringHandler::x_20(args);	break;
        case 21: x_KStringHandler::x_21(args);	break;
    }
}
class x_KShell {
    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 QString joinArgs(const QStringList&)
        QString xret = KShell::joinArgs(*(const QStringList*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_2(Smoke::Stack x) {
        // static QString tildeExpand(const QString&)
        QString xret = KShell::tildeExpand(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_3(Smoke::Stack x) {
        // static QString quoteArg(const QString&)
        QString xret = KShell::quoteArg(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QStringList splitArgs(const QString&, QFlags<KShell::Option>, KShell::Errors*)
        QStringList xret = KShell::splitArgs(*(const QString*)x[1].s_class,(QFlags<KShell::Option>)x[2].s_uint,(KShell::Errors*)x[3].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QStringList splitArgs(const QString&)
        QStringList xret = KShell::splitArgs(*(const QString*)x[1].s_class,(QFlags<KShell::Option>)KShell::NoOptions,(KShell::Errors*)0);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QStringList splitArgs(const QString&, QFlags<KShell::Option>)
        QStringList xret = KShell::splitArgs(*(const QString*)x[1].s_class,(QFlags<KShell::Option>)x[2].s_uint,(KShell::Errors*)0);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_7(Smoke::Stack x) {
        x[0].s_enum = (long)KShell::NoOptions;
    }
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)KShell::TildeExpand;
    }
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)KShell::AbortOnMeta;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)KShell::NoError;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)KShell::BadQuoting;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)KShell::FoundMeta;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 199: //KShell::Option
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KShell::Option;
                    break;
                case Smoke::EnumDelete:
                    delete (KShell::Option*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KShell::Option*)xdata = (KShell::Option)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KShell::Option*)xdata;
                    break;
            }
            break;
        case 197: //KShell::Errors
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KShell::Errors;
                    break;
                case Smoke::EnumDelete:
                    delete (KShell::Errors*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KShell::Errors*)xdata = (KShell::Errors)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KShell::Errors*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KShell() { this->_binding->deleted(101, (void*)this); }
};
void xenum_KShell(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KShell::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KShell(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KShell *xself = (x_KShell*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KShell::x_1(args);	break;
        case 2: x_KShell::x_2(args);	break;
        case 3: x_KShell::x_3(args);	break;
        case 4: x_KShell::x_4(args);	break;
        case 5: x_KShell::x_5(args);	break;
        case 6: x_KShell::x_6(args);	break;
        case 7: x_KShell::x_7(args);	break;
        case 8: x_KShell::x_8(args);	break;
        case 9: x_KShell::x_9(args);	break;
        case 10: x_KShell::x_10(args);	break;
        case 11: x_KShell::x_11(args);	break;
        case 12: x_KShell::x_12(args);	break;
    }
}
class x_QGlobalSpace {
    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 QString kBacktrace(int)
        QString xret = kBacktrace((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_2(Smoke::Stack x) {
        // static QString kBacktrace()
        QString xret = kBacktrace((int)-1);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_3(Smoke::Stack x) {
        // static QFlags<KAutostart::Condition> operator|(KAutostart::Condition, QFlags<KAutostart::Condition>)
        QFlags<KAutostart::Condition> xret = operator|((KAutostart::Condition)x[1].s_enum,(QFlags<KAutostart::Condition>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static QFlags<KAutostart::Condition> operator|(KAutostart::Condition, KAutostart::Condition)
        QFlags<KAutostart::Condition> xret = operator|((KAutostart::Condition)x[1].s_enum,(KAutostart::Condition)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_5(Smoke::Stack x) {
        // static QFlags<KLocale::DateTimeFormatOption> operator|(KLocale::DateTimeFormatOption, KLocale::DateTimeFormatOption)
        QFlags<KLocale::DateTimeFormatOption> xret = operator|((KLocale::DateTimeFormatOption)x[1].s_enum,(KLocale::DateTimeFormatOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_6(Smoke::Stack x) {
        // static QFlags<KCurrencyCode::CurrencyStatus> operator|(KCurrencyCode::CurrencyStatus, QFlags<KCurrencyCode::CurrencyStatus>)
        QFlags<KCurrencyCode::CurrencyStatus> xret = operator|((KCurrencyCode::CurrencyStatus)x[1].s_enum,(QFlags<KCurrencyCode::CurrencyStatus>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_7(Smoke::Stack x) {
        // static QDataStream& operator<<(QDataStream&, const KServiceAction&)
        QDataStream& xret = operator<<(*(QDataStream*)x[1].s_class,*(const KServiceAction*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_8(Smoke::Stack x) {
        // static bool operator>(const char*, const QLatin1String&)
        bool xret = operator>((const char*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_9(Smoke::Stack x) {
        // static QFlags<KLocale::TimeFormatOption> operator|(KLocale::TimeFormatOption, QFlags<KLocale::TimeFormatOption>)
        QFlags<KLocale::TimeFormatOption> xret = operator|((KLocale::TimeFormatOption)x[1].s_enum,(QFlags<KLocale::TimeFormatOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_10(Smoke::Stack x) {
        // static QFlags<KUrl::CleanPathOption> operator|(KUrl::CleanPathOption, QFlags<KUrl::CleanPathOption>)
        QFlags<KUrl::CleanPathOption> xret = operator|((KUrl::CleanPathOption)x[1].s_enum,(QFlags<KUrl::CleanPathOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_11(Smoke::Stack x) {
        // static QFlags<KUrl::CleanPathOption> operator|(KUrl::CleanPathOption, KUrl::CleanPathOption)
        QFlags<KUrl::CleanPathOption> xret = operator|((KUrl::CleanPathOption)x[1].s_enum,(KUrl::CleanPathOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_12(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KConfigBase::WriteConfigFlag, int)
        QIncompatibleFlag xret = operator|((KConfigBase::WriteConfigFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QFlags<KJob::Capability> operator|(KJob::Capability, KJob::Capability)
        QFlags<KJob::Capability> xret = operator|((KJob::Capability)x[1].s_enum,(KJob::Capability)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static QDataStream& operator>>(QDataStream&, KServiceAction&)
        QDataStream& xret = operator>>(*(QDataStream*)x[1].s_class,*(KServiceAction*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_15(Smoke::Stack x) {
        // static QString i18n(const char*)
        QString xret = i18n((const char*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static bool operator<(const QDBusSignature&, const QDBusSignature&)
        bool xret = operator<(*(const QDBusSignature*)x[1].s_class,*(const QDBusSignature*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_17(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KUrl::QueryItemsOption, int)
        QIncompatibleFlag xret = operator|((KUrl::QueryItemsOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static bool operator==(const QDBusSignature&, const QDBusSignature&)
        bool xret = operator==(*(const QDBusSignature*)x[1].s_class,*(const QDBusSignature*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_19(Smoke::Stack x) {
        // static QFlags<KUrl::EncodedPathAndQueryOption> operator|(KUrl::EncodedPathAndQueryOption, KUrl::EncodedPathAndQueryOption)
        QFlags<KUrl::EncodedPathAndQueryOption> xret = operator|((KUrl::EncodedPathAndQueryOption)x[1].s_enum,(KUrl::EncodedPathAndQueryOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_20(Smoke::Stack x) {
        // static QFlags<KConfig::OpenFlag> operator|(KConfig::OpenFlag, QFlags<KConfig::OpenFlag>)
        QFlags<KConfig::OpenFlag> xret = operator|((KConfig::OpenFlag)x[1].s_enum,(QFlags<KConfig::OpenFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_21(Smoke::Stack x) {
        // static QString tr2i18n(const char*, const char*)
        QString xret = tr2i18n((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static QString tr2i18n(const char*)
        QString xret = tr2i18n((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static QFlags<KUrl::DirectoryOption> operator|(KUrl::DirectoryOption, KUrl::DirectoryOption)
        QFlags<KUrl::DirectoryOption> xret = operator|((KUrl::DirectoryOption)x[1].s_enum,(KUrl::DirectoryOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static QString i18nc(const char*, const char*)
        QString xret = i18nc((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static QFlags<KUrl::DirectoryOption> operator|(KUrl::DirectoryOption, QFlags<KUrl::DirectoryOption>)
        QFlags<KUrl::DirectoryOption> xret = operator|((KUrl::DirectoryOption)x[1].s_enum,(QFlags<KUrl::DirectoryOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_26(Smoke::Stack x) {
        // static const QString operator+(const QString&, const char*)
        const QString xret = operator+(*(const QString*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new const QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QFlags<KCmdLineArgs::StdCmdLineArg> operator|(KCmdLineArgs::StdCmdLineArg, QFlags<KCmdLineArgs::StdCmdLineArg>)
        QFlags<KCmdLineArgs::StdCmdLineArg> xret = operator|((KCmdLineArgs::StdCmdLineArg)x[1].s_enum,(QFlags<KCmdLineArgs::StdCmdLineArg>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_28(Smoke::Stack x) {
        // static const QString operator+(const char*, const QString&)
        const QString xret = operator+((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new const QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QFlags<KShell::Option> operator|(KShell::Option, KShell::Option)
        QFlags<KShell::Option> xret = operator|((KShell::Option)x[1].s_enum,(KShell::Option)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_30(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KLockFile::LockFlag, int)
        QIncompatibleFlag xret = operator|((KLockFile::LockFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static QFlags<KLocale::DateTimeComponent> operator|(KLocale::DateTimeComponent, QFlags<KLocale::DateTimeComponent>)
        QFlags<KLocale::DateTimeComponent> xret = operator|((KLocale::DateTimeComponent)x[1].s_enum,(QFlags<KLocale::DateTimeComponent>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_32(Smoke::Stack x) {
        // static bool operator<=(const char*, const QString&)
        bool xret = operator<=((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_33(Smoke::Stack x) {
        // static KLocalizedString ki18nc(const char*, const char*)
        KLocalizedString xret = ki18nc((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new KLocalizedString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // static bool operator==(const QDBusObjectPath&, const QDBusObjectPath&)
        bool xret = operator==(*(const QDBusObjectPath*)x[1].s_class,*(const QDBusObjectPath*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_35(Smoke::Stack x) {
        // static bool operator>=(const char*, const QLatin1String&)
        bool xret = operator>=((const char*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_36(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KCmdLineArgs::StdCmdLineArg, int)
        QIncompatibleFlag xret = operator|((KCmdLineArgs::StdCmdLineArg)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KLocale::DateTimeFormatOption, int)
        QIncompatibleFlag xret = operator|((KLocale::DateTimeFormatOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KUrl::EncodedPathAndQueryOption, int)
        QIncompatibleFlag xret = operator|((KUrl::EncodedPathAndQueryOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KShell::Option, int)
        QIncompatibleFlag xret = operator|((KShell::Option)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static char* kAsciiToUpper(char*)
        char* xret = kAsciiToUpper((char*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_41(Smoke::Stack x) {
        // static bool operator==(const char*, const QLatin1String&)
        bool xret = operator==((const char*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_42(Smoke::Stack x) {
        // static QFlags<KShell::Option> operator|(KShell::Option, QFlags<KShell::Option>)
        QFlags<KShell::Option> xret = operator|((KShell::Option)x[1].s_enum,(QFlags<KShell::Option>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_43(Smoke::Stack x) {
        // static QFlags<KStandardDirs::SearchOption> operator|(KStandardDirs::SearchOption, QFlags<KStandardDirs::SearchOption>)
        QFlags<KStandardDirs::SearchOption> xret = operator|((KStandardDirs::SearchOption)x[1].s_enum,(QFlags<KStandardDirs::SearchOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_44(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KAutostart::Condition, int)
        QIncompatibleFlag xret = operator|((KAutostart::Condition)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_45(Smoke::Stack x) {
        // static QFlags<KCurrencyCode::CurrencyStatus> operator|(KCurrencyCode::CurrencyStatus, KCurrencyCode::CurrencyStatus)
        QFlags<KCurrencyCode::CurrencyStatus> xret = operator|((KCurrencyCode::CurrencyStatus)x[1].s_enum,(KCurrencyCode::CurrencyStatus)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_46(Smoke::Stack x) {
        // static const QString operator+(const QByteArray&, const QString&)
        const QString xret = operator+(*(const QByteArray*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new const QString(xret);
    }
    static void x_47(Smoke::Stack x) {
        // static const QString operator+(const QString&, char)
        const QString xret = operator+(*(const QString*)x[1].s_class,(char)x[2].s_char);
        x[0].s_class = (void*)new const QString(xret);
    }
    static void x_48(Smoke::Stack x) {
        // static QFlags<KStandardDirs::SearchOption> operator|(KStandardDirs::SearchOption, KStandardDirs::SearchOption)
        QFlags<KStandardDirs::SearchOption> xret = operator|((KStandardDirs::SearchOption)x[1].s_enum,(KStandardDirs::SearchOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_49(Smoke::Stack x) {
        // static KLocalizedString ki18ncp(const char*, const char*, const char*)
        KLocalizedString xret = ki18ncp((const char*)x[1].s_class,(const char*)x[2].s_class,(const char*)x[3].s_class);
        x[0].s_class = (void*)new KLocalizedString(xret);
    }
    static void x_50(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KJob::Capability, int)
        QIncompatibleFlag xret = operator|((KJob::Capability)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_51(Smoke::Stack x) {
        // static QFlags<KLocale::TimeProcessingOption> operator|(KLocale::TimeProcessingOption, KLocale::TimeProcessingOption)
        QFlags<KLocale::TimeProcessingOption> xret = operator|((KLocale::TimeProcessingOption)x[1].s_enum,(KLocale::TimeProcessingOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_52(Smoke::Stack x) {
        // static bool operator>=(const QLatin1String&, const QLatin1String&)
        bool xret = operator>=(*(const QLatin1String*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_53(Smoke::Stack x) {
        // static QFlags<KUrl::EqualsOption> operator|(KUrl::EqualsOption, KUrl::EqualsOption)
        QFlags<KUrl::EqualsOption> xret = operator|((KUrl::EqualsOption)x[1].s_enum,(KUrl::EqualsOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_54(Smoke::Stack x) {
        // static int kasciistricmp(const char*, const char*)
        int xret = kasciistricmp((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_int = xret;
    }
    static void x_55(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KUrl::CleanPathOption, int)
        QIncompatibleFlag xret = operator|((KUrl::CleanPathOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_56(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KStandardDirs::SearchOption, int)
        QIncompatibleFlag xret = operator|((KStandardDirs::SearchOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_57(Smoke::Stack x) {
        // static QFlags<KUrl::QueryItemsOption> operator|(KUrl::QueryItemsOption, KUrl::QueryItemsOption)
        QFlags<KUrl::QueryItemsOption> xret = operator|((KUrl::QueryItemsOption)x[1].s_enum,(KUrl::QueryItemsOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_58(Smoke::Stack x) {
        // static QFlags<KConfigBase::WriteConfigFlag> operator|(KConfigBase::WriteConfigFlag, KConfigBase::WriteConfigFlag)
        QFlags<KConfigBase::WriteConfigFlag> xret = operator|((KConfigBase::WriteConfigFlag)x[1].s_enum,(KConfigBase::WriteConfigFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_59(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KConfig::OpenFlag, int)
        QIncompatibleFlag xret = operator|((KConfig::OpenFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_60(Smoke::Stack x) {
        // static QString kdBacktrace(int)
        QString xret = kdBacktrace((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_61(Smoke::Stack x) {
        // static QString kdBacktrace()
        QString xret = kdBacktrace((int)-1);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_62(Smoke::Stack x) {
        // static QFlags<KLocale::TimeFormatOption> operator|(KLocale::TimeFormatOption, KLocale::TimeFormatOption)
        QFlags<KLocale::TimeFormatOption> xret = operator|((KLocale::TimeFormatOption)x[1].s_enum,(KLocale::TimeFormatOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_63(Smoke::Stack x) {
        // static bool operator<(const char*, const QString&)
        bool xret = operator<((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_64(Smoke::Stack x) {
        // static bool operator!=(const char*, const QString&)
        bool xret = operator!=((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_65(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KCurrencyCode::CurrencyStatus, int)
        QIncompatibleFlag xret = operator|((KCurrencyCode::CurrencyStatus)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_66(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KUrl::EqualsOption, int)
        QIncompatibleFlag xret = operator|((KUrl::EqualsOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_67(Smoke::Stack x) {
        // static bool operator<=(const char*, const QLatin1String&)
        bool xret = operator<=((const char*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_68(Smoke::Stack x) {
        // static QFlags<KLocale::TimeProcessingOption> operator|(KLocale::TimeProcessingOption, QFlags<KLocale::TimeProcessingOption>)
        QFlags<KLocale::TimeProcessingOption> xret = operator|((KLocale::TimeProcessingOption)x[1].s_enum,(QFlags<KLocale::TimeProcessingOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_69(Smoke::Stack x) {
        // static QFlags<KUrl::EqualsOption> operator|(KUrl::EqualsOption, QFlags<KUrl::EqualsOption>)
        QFlags<KUrl::EqualsOption> xret = operator|((KUrl::EqualsOption)x[1].s_enum,(QFlags<KUrl::EqualsOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_70(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KLocale::TimeProcessingOption, int)
        QIncompatibleFlag xret = operator|((KLocale::TimeProcessingOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_71(Smoke::Stack x) {
        // static const QString operator+(char, const QString&)
        const QString xret = operator+((char)x[1].s_char,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new const QString(xret);
    }
    static void x_72(Smoke::Stack x) {
        // static bool operator==(const QLatin1String&, const QLatin1String&)
        bool xret = operator==(*(const QLatin1String*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_73(Smoke::Stack x) {
        // static char* kAsciiToLower(char*)
        char* xret = kAsciiToLower((char*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_74(Smoke::Stack x) {
        // static QDataStream& operator<<(QDataStream&, const KProtocolInfo::ExtraField&)
        QDataStream& xret = operator<<(*(QDataStream*)x[1].s_class,*(const KProtocolInfo::ExtraField*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_75(Smoke::Stack x) {
        // static QFlags<KLockFile::LockFlag> operator|(KLockFile::LockFlag, QFlags<KLockFile::LockFlag>)
        QFlags<KLockFile::LockFlag> xret = operator|((KLockFile::LockFlag)x[1].s_enum,(QFlags<KLockFile::LockFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_76(Smoke::Stack x) {
        // static bool operator!=(const QDBusSignature&, const QDBusSignature&)
        bool xret = operator!=(*(const QDBusSignature*)x[1].s_class,*(const QDBusSignature*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_77(Smoke::Stack x) {
        // static bool operator<=(const QLatin1String&, const QLatin1String&)
        bool xret = operator<=(*(const QLatin1String*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_78(Smoke::Stack x) {
        // static QFlags<KLocale::DateTimeFormatOption> operator|(KLocale::DateTimeFormatOption, QFlags<KLocale::DateTimeFormatOption>)
        QFlags<KLocale::DateTimeFormatOption> xret = operator|((KLocale::DateTimeFormatOption)x[1].s_enum,(QFlags<KLocale::DateTimeFormatOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_79(Smoke::Stack x) {
        // static QFlags<KUrl::QueryItemsOption> operator|(KUrl::QueryItemsOption, QFlags<KUrl::QueryItemsOption>)
        QFlags<KUrl::QueryItemsOption> xret = operator|((KUrl::QueryItemsOption)x[1].s_enum,(QFlags<KUrl::QueryItemsOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_80(Smoke::Stack x) {
        // static bool operator!=(const QDBusObjectPath&, const QDBusObjectPath&)
        bool xret = operator!=(*(const QDBusObjectPath*)x[1].s_class,*(const QDBusObjectPath*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_81(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KUrl::DirectoryOption, int)
        QIncompatibleFlag xret = operator|((KUrl::DirectoryOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_82(Smoke::Stack x) {
        // static KLocalizedString ki18n(const char*)
        KLocalizedString xret = ki18n((const char*)x[1].s_class);
        x[0].s_class = (void*)new KLocalizedString(xret);
    }
    static void x_83(Smoke::Stack x) {
        // static bool operator!=(const QLatin1String&, const QLatin1String&)
        bool xret = operator!=(*(const QLatin1String*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_84(Smoke::Stack x) {
        // static QFlags<KLocale::DateTimeComponent> operator|(KLocale::DateTimeComponent, KLocale::DateTimeComponent)
        QFlags<KLocale::DateTimeComponent> xret = operator|((KLocale::DateTimeComponent)x[1].s_enum,(KLocale::DateTimeComponent)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_85(Smoke::Stack x) {
        // static bool operator<(const QDBusObjectPath&, const QDBusObjectPath&)
        bool xret = operator<(*(const QDBusObjectPath*)x[1].s_class,*(const QDBusObjectPath*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_86(Smoke::Stack x) {
        // static QFlags<KConfig::OpenFlag> operator|(KConfig::OpenFlag, KConfig::OpenFlag)
        QFlags<KConfig::OpenFlag> xret = operator|((KConfig::OpenFlag)x[1].s_enum,(KConfig::OpenFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_87(Smoke::Stack x) {
        // static bool operator>(const char*, const QString&)
        bool xret = operator>((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_88(Smoke::Stack x) {
        // static QFlags<KCmdLineArgs::StdCmdLineArg> operator|(KCmdLineArgs::StdCmdLineArg, KCmdLineArgs::StdCmdLineArg)
        QFlags<KCmdLineArgs::StdCmdLineArg> xret = operator|((KCmdLineArgs::StdCmdLineArg)x[1].s_enum,(KCmdLineArgs::StdCmdLineArg)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_89(Smoke::Stack x) {
        // static bool operator<(const char*, const QLatin1String&)
        bool xret = operator<((const char*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_90(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KLocale::TimeFormatOption, int)
        QIncompatibleFlag xret = operator|((KLocale::TimeFormatOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_91(Smoke::Stack x) {
        // static bool operator>(const QLatin1String&, const QLatin1String&)
        bool xret = operator>(*(const QLatin1String*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_92(Smoke::Stack x) {
        // static QString kRealBacktrace(int)
        QString xret = kRealBacktrace((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_93(Smoke::Stack x) {
        // static QDataStream& operator>>(QDataStream&, KProtocolInfo::ExtraField&)
        QDataStream& xret = operator>>(*(QDataStream*)x[1].s_class,*(KProtocolInfo::ExtraField*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_94(Smoke::Stack x) {
        // static QFlags<KUrl::EncodedPathAndQueryOption> operator|(KUrl::EncodedPathAndQueryOption, QFlags<KUrl::EncodedPathAndQueryOption>)
        QFlags<KUrl::EncodedPathAndQueryOption> xret = operator|((KUrl::EncodedPathAndQueryOption)x[1].s_enum,(QFlags<KUrl::EncodedPathAndQueryOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_95(Smoke::Stack x) {
        // static bool operator<(const QLatin1String&, const QLatin1String&)
        bool xret = operator<(*(const QLatin1String*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_96(Smoke::Stack x) {
        // static QFlags<KConfigBase::WriteConfigFlag> operator|(KConfigBase::WriteConfigFlag, QFlags<KConfigBase::WriteConfigFlag>)
        QFlags<KConfigBase::WriteConfigFlag> xret = operator|((KConfigBase::WriteConfigFlag)x[1].s_enum,(QFlags<KConfigBase::WriteConfigFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_97(Smoke::Stack x) {
        // static const QString operator+(const QString&, const QByteArray&)
        const QString xret = operator+(*(const QString*)x[1].s_class,*(const QByteArray*)x[2].s_class);
        x[0].s_class = (void*)new const QString(xret);
    }
    static void x_98(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(KLocale::DateTimeComponent, int)
        QIncompatibleFlag xret = operator|((KLocale::DateTimeComponent)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_99(Smoke::Stack x) {
        // static bool operator==(const char*, const QString&)
        bool xret = operator==((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_100(Smoke::Stack x) {
        // static QFlags<KJob::Capability> operator|(KJob::Capability, QFlags<KJob::Capability>)
        QFlags<KJob::Capability> xret = operator|((KJob::Capability)x[1].s_enum,(QFlags<KJob::Capability>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_101(Smoke::Stack x) {
        // static void kClearDebugConfig()
        kClearDebugConfig();
        (void)x; // noop (for compiler warning)
    }
    static void x_102(Smoke::Stack x) {
        // static bool operator>=(const char*, const QString&)
        bool xret = operator>=((const char*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_103(Smoke::Stack x) {
        // static KLocalizedString ki18np(const char*, const char*)
        KLocalizedString xret = ki18np((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new KLocalizedString(xret);
    }
    static void x_104(Smoke::Stack x) {
        // static QFlags<KLockFile::LockFlag> operator|(KLockFile::LockFlag, KLockFile::LockFlag)
        QFlags<KLockFile::LockFlag> xret = operator|((KLockFile::LockFlag)x[1].s_enum,(KLockFile::LockFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_105(Smoke::Stack x) {
        // static bool operator!=(const char*, const QLatin1String&)
        bool xret = operator!=((const char*)x[1].s_class,*(const QLatin1String*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KSycocaEntry;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KService;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KServiceType;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KMimeType;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KFolderMimeType;
    }
    static void x_111(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KDEDesktopMimeType;
    }
    static void x_112(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KMimeTypeEntry;
    }
    static void x_113(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KServiceGroup;
    }
    static void x_114(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KImageIOFormat;
    }
    static void x_115(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KProtocolInfo;
    }
    static void x_116(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KServiceSeparator;
    }
    static void x_117(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KCustom;
    }
    static void x_118(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KServiceFactory;
    }
    static void x_119(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KServiceTypeFactory;
    }
    static void x_120(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KServiceGroupFactory;
    }
    static void x_121(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KImageIO;
    }
    static void x_122(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KProtocolInfoFactory;
    }
    static void x_123(Smoke::Stack x) {
        x[0].s_enum = (long)KST_KMimeTypeFactory;
    }
    static void x_124(Smoke::Stack x) {
        x[0].s_enum = (long)KST_CTimeInfo;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 210: //KSycocaType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KSycocaType;
                    break;
                case Smoke::EnumDelete:
                    delete (KSycocaType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KSycocaType*)xdata = (KSycocaType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KSycocaType*)xdata;
                    break;
            }
            break;
        case 208: //KSycocaFactoryId
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KSycocaFactoryId;
                    break;
                case Smoke::EnumDelete:
                    delete (KSycocaFactoryId*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KSycocaFactoryId*)xdata = (KSycocaFactoryId)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KSycocaFactoryId*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QGlobalSpace() { this->_binding->deleted(149, (void*)this); }
};
void xenum_QGlobalSpace(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QGlobalSpace::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QGlobalSpace(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGlobalSpace *xself = (x_QGlobalSpace*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGlobalSpace::x_1(args);	break;
        case 2: x_QGlobalSpace::x_2(args);	break;
        case 3: x_QGlobalSpace::x_3(args);	break;
        case 4: x_QGlobalSpace::x_4(args);	break;
        case 5: x_QGlobalSpace::x_5(args);	break;
        case 6: x_QGlobalSpace::x_6(args);	break;
        case 7: x_QGlobalSpace::x_7(args);	break;
        case 8: x_QGlobalSpace::x_8(args);	break;
        case 9: x_QGlobalSpace::x_9(args);	break;
        case 10: x_QGlobalSpace::x_10(args);	break;
        case 11: x_QGlobalSpace::x_11(args);	break;
        case 12: x_QGlobalSpace::x_12(args);	break;
        case 13: x_QGlobalSpace::x_13(args);	break;
        case 14: x_QGlobalSpace::x_14(args);	break;
        case 15: x_QGlobalSpace::x_15(args);	break;
        case 16: x_QGlobalSpace::x_16(args);	break;
        case 17: x_QGlobalSpace::x_17(args);	break;
        case 18: x_QGlobalSpace::x_18(args);	break;
        case 19: x_QGlobalSpace::x_19(args);	break;
        case 20: x_QGlobalSpace::x_20(args);	break;
        case 21: x_QGlobalSpace::x_21(args);	break;
        case 22: x_QGlobalSpace::x_22(args);	break;
        case 23: x_QGlobalSpace::x_23(args);	break;
        case 24: x_QGlobalSpace::x_24(args);	break;
        case 25: x_QGlobalSpace::x_25(args);	break;
        case 26: x_QGlobalSpace::x_26(args);	break;
        case 27: x_QGlobalSpace::x_27(args);	break;
        case 28: x_QGlobalSpace::x_28(args);	break;
        case 29: x_QGlobalSpace::x_29(args);	break;
        case 30: x_QGlobalSpace::x_30(args);	break;
        case 31: x_QGlobalSpace::x_31(args);	break;
        case 32: x_QGlobalSpace::x_32(args);	break;
        case 33: x_QGlobalSpace::x_33(args);	break;
        case 34: x_QGlobalSpace::x_34(args);	break;
        case 35: x_QGlobalSpace::x_35(args);	break;
        case 36: x_QGlobalSpace::x_36(args);	break;
        case 37: x_QGlobalSpace::x_37(args);	break;
        case 38: x_QGlobalSpace::x_38(args);	break;
        case 39: x_QGlobalSpace::x_39(args);	break;
        case 40: x_QGlobalSpace::x_40(args);	break;
        case 41: x_QGlobalSpace::x_41(args);	break;
        case 42: x_QGlobalSpace::x_42(args);	break;
        case 43: x_QGlobalSpace::x_43(args);	break;
        case 44: x_QGlobalSpace::x_44(args);	break;
        case 45: x_QGlobalSpace::x_45(args);	break;
        case 46: x_QGlobalSpace::x_46(args);	break;
        case 47: x_QGlobalSpace::x_47(args);	break;
        case 48: x_QGlobalSpace::x_48(args);	break;
        case 49: x_QGlobalSpace::x_49(args);	break;
        case 50: x_QGlobalSpace::x_50(args);	break;
        case 51: x_QGlobalSpace::x_51(args);	break;
        case 52: x_QGlobalSpace::x_52(args);	break;
        case 53: x_QGlobalSpace::x_53(args);	break;
        case 54: x_QGlobalSpace::x_54(args);	break;
        case 55: x_QGlobalSpace::x_55(args);	break;
        case 56: x_QGlobalSpace::x_56(args);	break;
        case 57: x_QGlobalSpace::x_57(args);	break;
        case 58: x_QGlobalSpace::x_58(args);	break;
        case 59: x_QGlobalSpace::x_59(args);	break;
        case 60: x_QGlobalSpace::x_60(args);	break;
        case 61: x_QGlobalSpace::x_61(args);	break;
        case 62: x_QGlobalSpace::x_62(args);	break;
        case 63: x_QGlobalSpace::x_63(args);	break;
        case 64: x_QGlobalSpace::x_64(args);	break;
        case 65: x_QGlobalSpace::x_65(args);	break;
        case 66: x_QGlobalSpace::x_66(args);	break;
        case 67: x_QGlobalSpace::x_67(args);	break;
        case 68: x_QGlobalSpace::x_68(args);	break;
        case 69: x_QGlobalSpace::x_69(args);	break;
        case 70: x_QGlobalSpace::x_70(args);	break;
        case 71: x_QGlobalSpace::x_71(args);	break;
        case 72: x_QGlobalSpace::x_72(args);	break;
        case 73: x_QGlobalSpace::x_73(args);	break;
        case 74: x_QGlobalSpace::x_74(args);	break;
        case 75: x_QGlobalSpace::x_75(args);	break;
        case 76: x_QGlobalSpace::x_76(args);	break;
        case 77: x_QGlobalSpace::x_77(args);	break;
        case 78: x_QGlobalSpace::x_78(args);	break;
        case 79: x_QGlobalSpace::x_79(args);	break;
        case 80: x_QGlobalSpace::x_80(args);	break;
        case 81: x_QGlobalSpace::x_81(args);	break;
        case 82: x_QGlobalSpace::x_82(args);	break;
        case 83: x_QGlobalSpace::x_83(args);	break;
        case 84: x_QGlobalSpace::x_84(args);	break;
        case 85: x_QGlobalSpace::x_85(args);	break;
        case 86: x_QGlobalSpace::x_86(args);	break;
        case 87: x_QGlobalSpace::x_87(args);	break;
        case 88: x_QGlobalSpace::x_88(args);	break;
        case 89: x_QGlobalSpace::x_89(args);	break;
        case 90: x_QGlobalSpace::x_90(args);	break;
        case 91: x_QGlobalSpace::x_91(args);	break;
        case 92: x_QGlobalSpace::x_92(args);	break;
        case 93: x_QGlobalSpace::x_93(args);	break;
        case 94: x_QGlobalSpace::x_94(args);	break;
        case 95: x_QGlobalSpace::x_95(args);	break;
        case 96: x_QGlobalSpace::x_96(args);	break;
        case 97: x_QGlobalSpace::x_97(args);	break;
        case 98: x_QGlobalSpace::x_98(args);	break;
        case 99: x_QGlobalSpace::x_99(args);	break;
        case 100: x_QGlobalSpace::x_100(args);	break;
        case 101: x_QGlobalSpace::x_101(args);	break;
        case 102: x_QGlobalSpace::x_102(args);	break;
        case 103: x_QGlobalSpace::x_103(args);	break;
        case 104: x_QGlobalSpace::x_104(args);	break;
        case 105: x_QGlobalSpace::x_105(args);	break;
        case 106: x_QGlobalSpace::x_106(args);	break;
        case 107: x_QGlobalSpace::x_107(args);	break;
        case 108: x_QGlobalSpace::x_108(args);	break;
        case 109: x_QGlobalSpace::x_109(args);	break;
        case 110: x_QGlobalSpace::x_110(args);	break;
        case 111: x_QGlobalSpace::x_111(args);	break;
        case 112: x_QGlobalSpace::x_112(args);	break;
        case 113: x_QGlobalSpace::x_113(args);	break;
        case 114: x_QGlobalSpace::x_114(args);	break;
        case 115: x_QGlobalSpace::x_115(args);	break;
        case 116: x_QGlobalSpace::x_116(args);	break;
        case 117: x_QGlobalSpace::x_117(args);	break;
        case 118: x_QGlobalSpace::x_118(args);	break;
        case 119: x_QGlobalSpace::x_119(args);	break;
        case 120: x_QGlobalSpace::x_120(args);	break;
        case 121: x_QGlobalSpace::x_121(args);	break;
        case 122: x_QGlobalSpace::x_122(args);	break;
        case 123: x_QGlobalSpace::x_123(args);	break;
        case 124: x_QGlobalSpace::x_124(args);	break;
    }
}
class x_KMessage {
    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 void setMessageHandler(KMessageHandler*)
        KMessage::setMessageHandler((KMessageHandler*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_2(Smoke::Stack x) {
        // static void message(KMessage::MessageType, const QString&, const QString&)
        KMessage::message((KMessage::MessageType)x[1].s_enum,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // static void message(KMessage::MessageType, const QString&)
        KMessage::message((KMessage::MessageType)x[1].s_enum,*(const QString*)x[2].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_4(Smoke::Stack x) {
        x[0].s_enum = (long)KMessage::Error;
    }
    static void x_5(Smoke::Stack x) {
        x[0].s_enum = (long)KMessage::Information;
    }
    static void x_6(Smoke::Stack x) {
        x[0].s_enum = (long)KMessage::Warning;
    }
    static void x_7(Smoke::Stack x) {
        x[0].s_enum = (long)KMessage::Sorry;
    }
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)KMessage::Fatal;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 149: //KMessage::MessageType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KMessage::MessageType;
                    break;
                case Smoke::EnumDelete:
                    delete (KMessage::MessageType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KMessage::MessageType*)xdata = (KMessage::MessageType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KMessage::MessageType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KMessage() { this->_binding->deleted(77, (void*)this); }
};
void xenum_KMessage(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KMessage::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KMessage(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KMessage *xself = (x_KMessage*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KMessage::x_1(args);	break;
        case 2: x_KMessage::x_2(args);	break;
        case 3: x_KMessage::x_3(args);	break;
        case 4: x_KMessage::x_4(args);	break;
        case 5: x_KMessage::x_5(args);	break;
        case 6: x_KMessage::x_6(args);	break;
        case 7: x_KMessage::x_7(args);	break;
        case 8: x_KMessage::x_8(args);	break;
    }
}
class x_Sonnet {
    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 QString detectLanguage(const QString&)
        QString xret = Sonnet::detectLanguage(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_2(Smoke::Stack x) {
        // static QString defaultLanguageName()
        QString xret = Sonnet::defaultLanguageName();
        x[0].s_class = (void*)new QString(xret);
    }
    ~x_Sonnet() { this->_binding->deleted(177, (void*)this); }
};
void xcall_Sonnet(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Sonnet *xself = (x_Sonnet*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Sonnet::x_1(args);	break;
        case 2: x_Sonnet::x_2(args);	break;
    }
}
class x_KDE {
    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 FILE* fopen(const QString&, const char*)
        FILE* xret = KDE::fopen(*(const QString*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_2(Smoke::Stack x) {
        // static unsigned int versionMinor()
        unsigned int xret = KDE::versionMinor();
        x[0].s_uint = xret;
    }
    static void x_3(Smoke::Stack x) {
        // static const char* versionString()
        const char* xret = KDE::versionString();
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static int chmod(const QString&, mode_t)
        int xret = KDE::chmod(*(const QString*)x[1].s_class,*(mode_t*)x[2].s_class);
        x[0].s_int = xret;
    }
    static void x_5(Smoke::Stack x) {
        // static int rename(const QString&, const QString&)
        int xret = KDE::rename(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_int = xret;
    }
    static void x_6(Smoke::Stack x) {
        // static unsigned int versionRelease()
        unsigned int xret = KDE::versionRelease();
        x[0].s_uint = xret;
    }
    static void x_7(Smoke::Stack x) {
        // static unsigned int version()
        unsigned int xret = KDE::version();
        x[0].s_uint = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static int open(const QString&, int, mode_t)
        int xret = KDE::open(*(const QString*)x[1].s_class,(int)x[2].s_int,*(mode_t*)x[3].s_class);
        x[0].s_int = xret;
    }
    static void x_9(Smoke::Stack x) {
        // static int open(const QString&, int)
        int xret = KDE::open(*(const QString*)x[1].s_class,(int)x[2].s_int,(mode_t)0);
        x[0].s_int = xret;
    }
    static void x_10(Smoke::Stack x) {
        // static int access(const QString&, int)
        int xret = KDE::access(*(const QString*)x[1].s_class,(int)x[2].s_int);
        x[0].s_int = xret;
    }
    static void x_11(Smoke::Stack x) {
        // static int mkdir(const QString&, mode_t)
        int xret = KDE::mkdir(*(const QString*)x[1].s_class,*(mode_t*)x[2].s_class);
        x[0].s_int = xret;
    }
    static void x_12(Smoke::Stack x) {
        // static unsigned int versionMajor()
        unsigned int xret = KDE::versionMajor();
        x[0].s_uint = xret;
    }
    ~x_KDE() { this->_binding->deleted(50, (void*)this); }
};
void xcall_KDE(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDE *xself = (x_KDE*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KDE::x_1(args);	break;
        case 2: x_KDE::x_2(args);	break;
        case 3: x_KDE::x_3(args);	break;
        case 4: x_KDE::x_4(args);	break;
        case 5: x_KDE::x_5(args);	break;
        case 6: x_KDE::x_6(args);	break;
        case 7: x_KDE::x_7(args);	break;
        case 8: x_KDE::x_8(args);	break;
        case 9: x_KDE::x_9(args);	break;
        case 10: x_KDE::x_10(args);	break;
        case 11: x_KDE::x_11(args);	break;
        case 12: x_KDE::x_12(args);	break;
    }
}
class x_KRandom {
    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 int random()
        int xret = KRandom::random();
        x[0].s_int = xret;
    }
    static void x_2(Smoke::Stack x) {
        // static QString randomString(int)
        QString xret = KRandom::randomString((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    ~x_KRandom() { this->_binding->deleted(91, (void*)this); }
};
void xcall_KRandom(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KRandom *xself = (x_KRandom*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KRandom::x_1(args);	break;
        case 2: x_KRandom::x_2(args);	break;
    }
}
class x_KGlobal {
    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 const KComponentData& mainComponent()
        const KComponentData& xret = KGlobal::mainComponent();
        x[0].s_class = (void*)&xret;
    }
    static void x_2(Smoke::Stack x) {
        // static const QString& staticQString(const QString&)
        const QString& xret = KGlobal::staticQString(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_3(Smoke::Stack x) {
        // static KCharsets* charsets()
        KCharsets* xret = KGlobal::charsets();
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static void setAllowQuit(bool)
        KGlobal::setAllowQuit((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_5(Smoke::Stack x) {
        // static void ref()
        KGlobal::ref();
        (void)x; // noop (for compiler warning)
    }
    static void x_6(Smoke::Stack x) {
        // static void setLocale(KLocale*, KGlobal::CopyCatalogs)
        KGlobal::setLocale((KLocale*)x[1].s_class,(KGlobal::CopyCatalogs)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    static void x_7(Smoke::Stack x) {
        // static void setLocale(KLocale*)
        KGlobal::setLocale((KLocale*)x[1].s_class,(KGlobal::CopyCatalogs)KGlobal::DoCopyCatalogs);
        (void)x; // noop (for compiler warning)
    }
    static void x_8(Smoke::Stack x) {
        // static KStandardDirs* dirs()
        KStandardDirs* xret = KGlobal::dirs();
        x[0].s_class = (void*)xret;
    }
    static void x_9(Smoke::Stack x) {
        // static mode_t umask()
        mode_t xret = KGlobal::umask();
        x[0].s_class = (void*)new mode_t(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QString caption()
        QString xret = KGlobal::caption();
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static KLocale* locale()
        KLocale* xret = KGlobal::locale();
        x[0].s_class = (void*)xret;
    }
    static void x_12(Smoke::Stack x) {
        // static void insertCatalog(const QString&)
        KGlobal::insertCatalog(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_13(Smoke::Stack x) {
        // static KSharedPtr<KSharedConfig> config()
        KSharedPtr<KSharedConfig> xret = KGlobal::config();
        x[0].s_class = (void*)new KSharedPtr<KSharedConfig>(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static const QString& staticQString(const char*)
        const QString& xret = KGlobal::staticQString((const char*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_15(Smoke::Stack x) {
        // static bool hasLocale()
        bool xret = KGlobal::hasLocale();
        x[0].s_bool = xret;
    }
    static void x_16(Smoke::Stack x) {
        // static QObject* findDirectChild_helper(const QObject*, const QMetaObject&)
        QObject* xret = KGlobal::findDirectChild_helper((const QObject*)x[1].s_class,*(const QMetaObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static KComponentData activeComponent()
        KComponentData xret = KGlobal::activeComponent();
        x[0].s_class = (void*)new KComponentData(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static void setActiveComponent(const KComponentData&)
        KGlobal::setActiveComponent(*(const KComponentData*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_19(Smoke::Stack x) {
        // static bool hasMainComponent()
        bool xret = KGlobal::hasMainComponent();
        x[0].s_bool = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static void deref()
        KGlobal::deref();
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)KGlobal::DoCopyCatalogs;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)KGlobal::DontCopyCatalogs;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 108: //KGlobal::CopyCatalogs
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KGlobal::CopyCatalogs;
                    break;
                case Smoke::EnumDelete:
                    delete (KGlobal::CopyCatalogs*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KGlobal::CopyCatalogs*)xdata = (KGlobal::CopyCatalogs)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KGlobal::CopyCatalogs*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KGlobal() { this->_binding->deleted(62, (void*)this); }
};
void xenum_KGlobal(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KGlobal::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KGlobal(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KGlobal *xself = (x_KGlobal*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KGlobal::x_1(args);	break;
        case 2: x_KGlobal::x_2(args);	break;
        case 3: x_KGlobal::x_3(args);	break;
        case 4: x_KGlobal::x_4(args);	break;
        case 5: x_KGlobal::x_5(args);	break;
        case 6: x_KGlobal::x_6(args);	break;
        case 7: x_KGlobal::x_7(args);	break;
        case 8: x_KGlobal::x_8(args);	break;
        case 9: x_KGlobal::x_9(args);	break;
        case 10: x_KGlobal::x_10(args);	break;
        case 11: x_KGlobal::x_11(args);	break;
        case 12: x_KGlobal::x_12(args);	break;
        case 13: x_KGlobal::x_13(args);	break;
        case 14: x_KGlobal::x_14(args);	break;
        case 15: x_KGlobal::x_15(args);	break;
        case 16: x_KGlobal::x_16(args);	break;
        case 17: x_KGlobal::x_17(args);	break;
        case 18: x_KGlobal::x_18(args);	break;
        case 19: x_KGlobal::x_19(args);	break;
        case 20: x_KGlobal::x_20(args);	break;
        case 21: x_KGlobal::x_21(args);	break;
        case 22: x_KGlobal::x_22(args);	break;
    }
}
class x_KAuthorized {
    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 void allowUrlAction(const QString&, const KUrl&, const KUrl&)
        KAuthorized::allowUrlAction(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class,*(const KUrl*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_2(Smoke::Stack x) {
        // static bool authorizeControlModule(const QString&)
        bool xret = KAuthorized::authorizeControlModule(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_3(Smoke::Stack x) {
        // static QStringList authorizeControlModules(const QStringList&)
        QStringList xret = KAuthorized::authorizeControlModules(*(const QStringList*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static bool authorize(const QString&)
        bool xret = KAuthorized::authorize(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_5(Smoke::Stack x) {
        // static bool authorizeKAction(const QString&)
        bool xret = KAuthorized::authorizeKAction(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_6(Smoke::Stack x) {
        // static bool authorizeUrlAction(const QString&, const KUrl&, const KUrl&)
        bool xret = KAuthorized::authorizeUrlAction(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class,*(const KUrl*)x[3].s_class);
        x[0].s_bool = xret;
    }
    ~x_KAuthorized() { this->_binding->deleted(7, (void*)this); }
};
void xcall_KAuthorized(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KAuthorized *xself = (x_KAuthorized*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KAuthorized::x_1(args);	break;
        case 2: x_KAuthorized::x_2(args);	break;
        case 3: x_KAuthorized::x_3(args);	break;
        case 4: x_KAuthorized::x_4(args);	break;
        case 5: x_KAuthorized::x_5(args);	break;
        case 6: x_KAuthorized::x_6(args);	break;
    }
}

}
