//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_OrgKdeKLauncherInterface : public OrgKdeKLauncherInterface, 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<OrgKdeKLauncherInterface*>(this))) {
            const QMetaObject* xret = ((const x_OrgKdeKLauncherInterface*)this)->OrgKdeKLauncherInterface::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_OrgKdeKLauncherInterface*)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<OrgKdeKLauncherInterface*>(this))) {
            void* xret = this->OrgKdeKLauncherInterface::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 = OrgKdeKLauncherInterface::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 = OrgKdeKLauncherInterface::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 = OrgKdeKLauncherInterface::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 = OrgKdeKLauncherInterface::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<OrgKdeKLauncherInterface*>(this))) {
            int xret = this->OrgKdeKLauncherInterface::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) {
        // static const char* staticInterfaceName()
        const char* xret = OrgKdeKLauncherInterface::staticInterfaceName();
        x[0].s_class = (void*)xret;
    }
    static void x_9(Smoke::Stack x) {
        // OrgKdeKLauncherInterface* OrgKdeKLauncherInterface(const QString&, const QString&, const QDBusConnection&, QObject*)
        x_OrgKdeKLauncherInterface* xret = new x_OrgKdeKLauncherInterface(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QDBusConnection*)x[3].s_class,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_OrgKdeKLauncherInterface(const QString& x1, const QString& x2, const QDBusConnection& x3, QObject* x4) : OrgKdeKLauncherInterface(x1, x2, x3, x4) {}
    void x_10(Smoke::Stack x) {
        // QDBusReply<void> autoStart()
        QDBusReply<void> xret = this->OrgKdeKLauncherInterface::autoStart();
        x[0].s_class = (void*)new QDBusReply<void>(xret);
    }
    void x_11(Smoke::Stack x) {
        // QDBusReply<void> autoStart(int)
        QDBusReply<void> xret = this->OrgKdeKLauncherInterface::autoStart((int)x[1].s_int);
        x[0].s_class = (void*)new QDBusReply<void>(xret);
    }
    void x_12(Smoke::Stack x) {
        // QDBusReply<void> exec_blind(const QString&, const QStringList&, const QStringList&, const QString&)
        QDBusReply<void> xret = this->OrgKdeKLauncherInterface::exec_blind(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,*(const QStringList*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new QDBusReply<void>(xret);
    }
    void x_13(Smoke::Stack x) {
        // QDBusReply<void> exec_blind(const QString&, const QStringList&)
        QDBusReply<void> xret = this->OrgKdeKLauncherInterface::exec_blind(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class);
        x[0].s_class = (void*)new QDBusReply<void>(xret);
    }
    void x_14(Smoke::Stack x) {
        // QDBusReply<int> kdeinit_exec(const QString&, const QStringList&, const QStringList&, const QString&, QString&, QString&, int&)
        QDBusReply<int> xret = this->OrgKdeKLauncherInterface::kdeinit_exec(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,*(const QStringList*)x[3].s_class,*(const QString*)x[4].s_class,*(QString*)x[5].s_class,*(QString*)x[6].s_class,*(int*)x[7].s_class);
        x[0].s_class = (void*)new QDBusReply<int>(xret);
    }
    void x_15(Smoke::Stack x) {
        // QDBusReply<int> kdeinit_exec_wait(const QString&, const QStringList&, const QStringList&, const QString&, QString&, QString&, int&)
        QDBusReply<int> xret = this->OrgKdeKLauncherInterface::kdeinit_exec_wait(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,*(const QStringList*)x[3].s_class,*(const QString*)x[4].s_class,*(QString*)x[5].s_class,*(QString*)x[6].s_class,*(int*)x[7].s_class);
        x[0].s_class = (void*)new QDBusReply<int>(xret);
    }
    void x_16(Smoke::Stack x) {
        // QDBusReply<void> reparseConfiguration()
        QDBusReply<void> xret = this->OrgKdeKLauncherInterface::reparseConfiguration();
        x[0].s_class = (void*)new QDBusReply<void>(xret);
    }
    void x_17(Smoke::Stack x) {
        // QDBusReply<int> requestHoldSlave(const QString&, const QString&)
        QDBusReply<int> xret = this->OrgKdeKLauncherInterface::requestHoldSlave(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QDBusReply<int>(xret);
    }
    void x_18(Smoke::Stack x) {
        // QDBusReply<int> requestSlave(const QString&, const QString&, const QString&, QString&)
        QDBusReply<int> xret = this->OrgKdeKLauncherInterface::requestSlave(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(QString*)x[4].s_class);
        x[0].s_class = (void*)new QDBusReply<int>(xret);
    }
    void x_19(Smoke::Stack x) {
        // QDBusReply<void> setLaunchEnv(const QString&, const QString&)
        QDBusReply<void> xret = this->OrgKdeKLauncherInterface::setLaunchEnv(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QDBusReply<void>(xret);
    }
    void x_20(Smoke::Stack x) {
        // QDBusReply<int> start_service_by_desktop_name(const QString&, const QStringList&, const QStringList&, const QString&, bool, QString&, QString&, int&)
        QDBusReply<int> xret = this->OrgKdeKLauncherInterface::start_service_by_desktop_name(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,*(const QStringList*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,*(QString*)x[6].s_class,*(QString*)x[7].s_class,*(int*)x[8].s_class);
        x[0].s_class = (void*)new QDBusReply<int>(xret);
    }
    void x_21(Smoke::Stack x) {
        // QDBusReply<int> start_service_by_desktop_path(const QString&, const QStringList&, const QStringList&, const QString&, bool, QString&, QString&, int&)
        QDBusReply<int> xret = this->OrgKdeKLauncherInterface::start_service_by_desktop_path(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,*(const QStringList*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,*(QString*)x[6].s_class,*(QString*)x[7].s_class,*(int*)x[8].s_class);
        x[0].s_class = (void*)new QDBusReply<int>(xret);
    }
    void x_22(Smoke::Stack x) {
        // QDBusReply<int> start_service_by_name(const QString&, const QStringList&, const QStringList&, const QString&, bool, QString&, QString&, int&)
        QDBusReply<int> xret = this->OrgKdeKLauncherInterface::start_service_by_name(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,*(const QStringList*)x[3].s_class,*(const QString*)x[4].s_class,(bool)x[5].s_bool,*(QString*)x[6].s_class,*(QString*)x[7].s_class,*(int*)x[8].s_class);
        x[0].s_class = (void*)new QDBusReply<int>(xret);
    }
    void x_23(Smoke::Stack x) {
        // QDBusReply<void> waitForSlave(int)
        QDBusReply<void> xret = this->OrgKdeKLauncherInterface::waitForSlave((int)x[1].s_int);
        x[0].s_class = (void*)new QDBusReply<void>(xret);
    }
    void x_24(Smoke::Stack x) {
        // QDBusReply<bool> checkForHeldSlave(const QString&)
        QDBusReply<bool> xret = this->OrgKdeKLauncherInterface::checkForHeldSlave(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QDBusReply<bool>(xret);
    }
    void x_25(Smoke::Stack x) {
        // void autoStart0Done()
        this->OrgKdeKLauncherInterface::autoStart0Done();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void autoStart1Done()
        this->OrgKdeKLauncherInterface::autoStart1Done();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void autoStart2Done()
        this->OrgKdeKLauncherInterface::autoStart2Done();
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = OrgKdeKLauncherInterface::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = OrgKdeKLauncherInterface::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // OrgKdeKLauncherInterface* OrgKdeKLauncherInterface(const QString&, const QString&, const QDBusConnection&)
        x_OrgKdeKLauncherInterface* xret = new x_OrgKdeKLauncherInterface(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QDBusConnection*)x[3].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&OrgKdeKLauncherInterface::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3265, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->OrgKdeKLauncherInterface::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3266, (void*)this, x)) return (void*)x[0].s_class;
        return this->OrgKdeKLauncherInterface::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(3271, (void*)this, x)) return (int)x[0].s_int;
        return this->OrgKdeKLauncherInterface::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3501, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3502, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3503, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3504, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3505, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3328, (void*)this, x)) return;
        this->QDBusAbstractInterface::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3329, (void*)this, x)) return;
        this->QDBusAbstractInterface::disconnectNotify(x1);
    }
    ~x_OrgKdeKLauncherInterface() { this->_binding->deleted(132, (void*)this); }
};
void xcall_OrgKdeKLauncherInterface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_OrgKdeKLauncherInterface *xself = (x_OrgKdeKLauncherInterface*)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_OrgKdeKLauncherInterface::x_3(args);	break;
        case 4: x_OrgKdeKLauncherInterface::x_4(args);	break;
        case 5: x_OrgKdeKLauncherInterface::x_5(args);	break;
        case 6: x_OrgKdeKLauncherInterface::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_OrgKdeKLauncherInterface::x_8(args);	break;
        case 9: x_OrgKdeKLauncherInterface::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: x_OrgKdeKLauncherInterface::x_28(args);	break;
        case 29: x_OrgKdeKLauncherInterface::x_29(args);	break;
        case 30: x_OrgKdeKLauncherInterface::x_30(args);	break;
        case 31: x_OrgKdeKLauncherInterface::x_31(args);	break;
        case 32: delete (OrgKdeKLauncherInterface*)xself;	break;
    }
}
class x_Sonnet__BackgroundChecker : public Sonnet::BackgroundChecker, 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<Sonnet::BackgroundChecker*>(this))) {
            const QMetaObject* xret = ((const x_Sonnet__BackgroundChecker*)this)->Sonnet::BackgroundChecker::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Sonnet__BackgroundChecker*)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<Sonnet::BackgroundChecker*>(this))) {
            void* xret = this->Sonnet::BackgroundChecker::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 = Sonnet::BackgroundChecker::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 = Sonnet::BackgroundChecker::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 = Sonnet::BackgroundChecker::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 = Sonnet::BackgroundChecker::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<Sonnet::BackgroundChecker*>(this))) {
            int xret = this->Sonnet::BackgroundChecker::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) {
        // Sonnet::BackgroundChecker* BackgroundChecker(QObject*)
        x_Sonnet__BackgroundChecker* xret = new x_Sonnet__BackgroundChecker((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Sonnet__BackgroundChecker(QObject* x1) : BackgroundChecker(x1) {}
    static void x_9(Smoke::Stack x) {
        // Sonnet::BackgroundChecker* BackgroundChecker(const Sonnet::Speller&, QObject*)
        x_Sonnet__BackgroundChecker* xret = new x_Sonnet__BackgroundChecker(*(const Sonnet::Speller*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Sonnet__BackgroundChecker(const Sonnet::Speller& x1, QObject* x2) : BackgroundChecker(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void setText(const QString&)
        this->Sonnet::BackgroundChecker::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_Sonnet__BackgroundChecker*)this)->Sonnet::BackgroundChecker::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // QString currentContext() const
        QString xret = ((const x_Sonnet__BackgroundChecker*)this)->Sonnet::BackgroundChecker::currentContext();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // Sonnet::Speller speller() const
        Sonnet::Speller xret = ((const x_Sonnet__BackgroundChecker*)this)->Sonnet::BackgroundChecker::speller();
        x[0].s_class = (void*)new Sonnet::Speller(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setSpeller(const Sonnet::Speller&)
        this->Sonnet::BackgroundChecker::setSpeller(*(const Sonnet::Speller*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool checkWord(const QString&)
        bool xret = this->Sonnet::BackgroundChecker::checkWord(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // QStringList suggest(const QString&) const
        QStringList xret = ((const x_Sonnet__BackgroundChecker*)this)->Sonnet::BackgroundChecker::suggest(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_17(Smoke::Stack x) {
        // bool addWordToPersonal(const QString&)
        bool xret = this->Sonnet::BackgroundChecker::addWordToPersonal(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void restore(KConfig*)
        this->Sonnet::BackgroundChecker::restore((KConfig*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // virtual void start()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Sonnet::BackgroundChecker*>(this))) {
            this->Sonnet::BackgroundChecker::start();
            (void)x; // noop (for compiler warning)
        } else {
            this->start();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual void stop()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Sonnet::BackgroundChecker*>(this))) {
            this->Sonnet::BackgroundChecker::stop();
            (void)x; // noop (for compiler warning)
        } else {
            this->stop();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_21(Smoke::Stack x) {
        // void replace(int, const QString&, const QString&)
        this->Sonnet::BackgroundChecker::replace((int)x[1].s_int,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void changeLanguage(const QString&)
        this->Sonnet::BackgroundChecker::changeLanguage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // virtual void continueChecking()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Sonnet::BackgroundChecker*>(this))) {
            this->Sonnet::BackgroundChecker::continueChecking();
            (void)x; // noop (for compiler warning)
        } else {
            this->continueChecking();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // void misspelling(const QString&, int)
        this->Sonnet::BackgroundChecker::misspelling(*(const QString*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void done()
        this->Sonnet::BackgroundChecker::done();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // virtual QString fetchMoreText()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Sonnet::BackgroundChecker*>(this))) {
            QString xret = this->Sonnet::BackgroundChecker::fetchMoreText();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = this->fetchMoreText();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual void finishedCurrentFeed()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Sonnet::BackgroundChecker*>(this))) {
            this->Sonnet::BackgroundChecker::finishedCurrentFeed();
            (void)x; // noop (for compiler warning)
        } else {
            this->finishedCurrentFeed();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_28(Smoke::Stack x) {
        // void slotEngineDone()
        this->Sonnet::BackgroundChecker::slotEngineDone();
        (void)x; // noop (for compiler warning)
    }
    static void x_29(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Sonnet::BackgroundChecker::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Sonnet::BackgroundChecker::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_31(Smoke::Stack x) {
        // Sonnet::BackgroundChecker* BackgroundChecker()
        x_Sonnet__BackgroundChecker* xret = new x_Sonnet__BackgroundChecker((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_32(Smoke::Stack x) {
        // Sonnet::BackgroundChecker* BackgroundChecker(const Sonnet::Speller&)
        x_Sonnet__BackgroundChecker* xret = new x_Sonnet__BackgroundChecker(*(const Sonnet::Speller*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_33(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Sonnet::BackgroundChecker::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3526, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Sonnet::BackgroundChecker::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3527, (void*)this, x)) return (void*)x[0].s_class;
        return this->Sonnet::BackgroundChecker::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(3532, (void*)this, x)) return (int)x[0].s_int;
        return this->Sonnet::BackgroundChecker::qt_metacall(x1, x2, x3);
    }
    virtual void start() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3544, (void*)this, x)) return;
        this->Sonnet::BackgroundChecker::start();
    }
    virtual void stop() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3545, (void*)this, x)) return;
        this->Sonnet::BackgroundChecker::stop();
    }
    virtual void continueChecking() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3548, (void*)this, x)) return;
        this->Sonnet::BackgroundChecker::continueChecking();
    }
    virtual QString fetchMoreText() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3551, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->Sonnet::BackgroundChecker::fetchMoreText();
    }
    virtual void finishedCurrentFeed() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3552, (void*)this, x)) return;
        this->Sonnet::BackgroundChecker::finishedCurrentFeed();
    }
    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_Sonnet__BackgroundChecker() { this->_binding->deleted(178, (void*)this); }
};
void xcall_Sonnet__BackgroundChecker(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Sonnet__BackgroundChecker *xself = (x_Sonnet__BackgroundChecker*)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_Sonnet__BackgroundChecker::x_3(args);	break;
        case 4: x_Sonnet__BackgroundChecker::x_4(args);	break;
        case 5: x_Sonnet__BackgroundChecker::x_5(args);	break;
        case 6: x_Sonnet__BackgroundChecker::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Sonnet__BackgroundChecker::x_8(args);	break;
        case 9: x_Sonnet__BackgroundChecker::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: x_Sonnet__BackgroundChecker::x_29(args);	break;
        case 30: x_Sonnet__BackgroundChecker::x_30(args);	break;
        case 31: x_Sonnet__BackgroundChecker::x_31(args);	break;
        case 32: x_Sonnet__BackgroundChecker::x_32(args);	break;
        case 33: x_Sonnet__BackgroundChecker::x_33(args);	break;
        case 34: delete (Sonnet::BackgroundChecker*)xself;	break;
    }
}
class x_Sonnet__Speller : public Sonnet::Speller {
    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) {
        // Sonnet::Speller* Speller(const QString&)
        x_Sonnet__Speller* xret = new x_Sonnet__Speller(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Sonnet__Speller(const QString& x1) : Speller(x1) {}
    static void x_2(Smoke::Stack x) {
        // Sonnet::Speller* Speller(const Sonnet::Speller&)
        x_Sonnet__Speller* xret = new x_Sonnet__Speller(*(const Sonnet::Speller*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Sonnet__Speller(const Sonnet::Speller& x1) : Speller(x1) {}
    void x_3(Smoke::Stack x) {
        // Sonnet::Speller& operator=(const Sonnet::Speller&)
        Sonnet::Speller& xret = this->Sonnet::Speller::operator=(*(const Sonnet::Speller*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::isValid();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // void setLanguage(const QString&)
        this->Sonnet::Speller::setLanguage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // QString language() const
        QString xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::language();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // bool isCorrect(const QString&) const
        bool xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::isCorrect(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // bool isMisspelled(const QString&) const
        bool xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::isMisspelled(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // QStringList suggest(const QString&) const
        QStringList xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::suggest(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_10(Smoke::Stack x) {
        // bool checkAndSuggest(const QString&, QStringList&) const
        bool xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::checkAndSuggest(*(const QString*)x[1].s_class,*(QStringList*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool storeReplacement(const QString&, const QString&)
        bool xret = this->Sonnet::Speller::storeReplacement(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool addToPersonal(const QString&)
        bool xret = this->Sonnet::Speller::addToPersonal(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool addToSession(const QString&)
        bool xret = this->Sonnet::Speller::addToSession(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void save(KConfig*)
        this->Sonnet::Speller::save((KConfig*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void restore(KConfig*)
        this->Sonnet::Speller::restore((KConfig*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QStringList availableBackends() const
        QStringList xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::availableBackends();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_17(Smoke::Stack x) {
        // QStringList availableLanguages() const
        QStringList xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::availableLanguages();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_18(Smoke::Stack x) {
        // QStringList availableLanguageNames() const
        QStringList xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::availableLanguageNames();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_19(Smoke::Stack x) {
        // QMap<QString,QString> availableDictionaries() const
        QMap<QString,QString> xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::availableDictionaries();
        x[0].s_class = (void*)new QMap<QString,QString>(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setDefaultLanguage(const QString&)
        this->Sonnet::Speller::setDefaultLanguage(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QString defaultLanguage() const
        QString xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::defaultLanguage();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // void setDefaultClient(const QString&)
        this->Sonnet::Speller::setDefaultClient(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QString defaultClient() const
        QString xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::defaultClient();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // void setAttribute(Sonnet::Speller::Attribute, bool)
        this->Sonnet::Speller::setAttribute((Sonnet::Speller::Attribute)x[1].s_enum,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // bool testAttribute(Sonnet::Speller::Attribute) const
        bool xret = ((const x_Sonnet__Speller*)this)->Sonnet::Speller::testAttribute((Sonnet::Speller::Attribute)x[1].s_enum);
        x[0].s_bool = xret;
    }
    static void x_26(Smoke::Stack x) {
        // Sonnet::Speller* Speller()
        x_Sonnet__Speller* xret = new x_Sonnet__Speller((const QString&)QString());
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // void setAttribute(Sonnet::Speller::Attribute)
        this->Sonnet::Speller::setAttribute((Sonnet::Speller::Attribute)x[1].s_enum,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)Sonnet::Speller::CheckUppercase;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)Sonnet::Speller::SkipRunTogether;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 449: //Sonnet::Speller::Attribute
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Sonnet::Speller::Attribute;
                    break;
                case Smoke::EnumDelete:
                    delete (Sonnet::Speller::Attribute*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Sonnet::Speller::Attribute*)xdata = (Sonnet::Speller::Attribute)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Sonnet::Speller::Attribute*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Sonnet__Speller() { this->_binding->deleted(179, (void*)this); }
};
void xenum_Sonnet__Speller(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Sonnet__Speller::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Sonnet__Speller(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Sonnet__Speller *xself = (x_Sonnet__Speller*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Sonnet__Speller::x_1(args);	break;
        case 2: x_Sonnet__Speller::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: 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: x_Sonnet__Speller::x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: x_Sonnet__Speller::x_28(args);	break;
        case 29: x_Sonnet__Speller::x_29(args);	break;
        case 30: delete (Sonnet::Speller*)xself;	break;
    }
}
class x_kndbgstream : public kndbgstream {
    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) {
        // kndbgstream* kndbgstream()
        x_kndbgstream* xret = new x_kndbgstream();
        x[0].s_class = (void*)xret;
    }
    explicit x_kndbgstream() : kndbgstream() {}
    static void x_2(Smoke::Stack x) {
        // kndbgstream* kndbgstream(const kndbgstream&)
        x_kndbgstream* xret = new x_kndbgstream(*(const kndbgstream*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_kndbgstream(const kndbgstream& x1) : kndbgstream(x1) {}
    ~x_kndbgstream() { this->_binding->deleted(181, (void*)this); }
};
void xcall_kndbgstream(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_kndbgstream *xself = (x_kndbgstream*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_kndbgstream::x_1(args);	break;
        case 2: x_kndbgstream::x_2(args);	break;
        case 3: delete (kndbgstream*)xself;	break;
    }
}
class x_KCodecs {
    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 uuencode(const QByteArray&, QByteArray&)
        KCodecs::uuencode(*(const QByteArray*)x[1].s_class,*(QByteArray*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_2(Smoke::Stack x) {
        // static void base64Decode(const QByteArray&, QByteArray&)
        KCodecs::base64Decode(*(const QByteArray*)x[1].s_class,*(QByteArray*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // static void quotedPrintableDecode(const QByteArray&, QByteArray&)
        KCodecs::quotedPrintableDecode(*(const QByteArray*)x[1].s_class,*(QByteArray*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_4(Smoke::Stack x) {
        // static QByteArray quotedPrintableDecode(const QByteArray&)
        QByteArray xret = KCodecs::quotedPrintableDecode(*(const QByteArray*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QByteArray quotedPrintableEncode(const QByteArray&, bool)
        QByteArray xret = KCodecs::quotedPrintableEncode(*(const QByteArray*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QByteArray quotedPrintableEncode(const QByteArray&)
        QByteArray xret = KCodecs::quotedPrintableEncode(*(const QByteArray*)x[1].s_class,(bool)true);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_7(Smoke::Stack x) {
        // static void uudecode(const QByteArray&, QByteArray&)
        KCodecs::uudecode(*(const QByteArray*)x[1].s_class,*(QByteArray*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_8(Smoke::Stack x) {
        // static void quotedPrintableEncode(const QByteArray&, QByteArray&, bool)
        KCodecs::quotedPrintableEncode(*(const QByteArray*)x[1].s_class,*(QByteArray*)x[2].s_class,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_9(Smoke::Stack x) {
        // static void base64Encode(const QByteArray&, QByteArray&, bool)
        KCodecs::base64Encode(*(const QByteArray*)x[1].s_class,*(QByteArray*)x[2].s_class,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static void base64Encode(const QByteArray&, QByteArray&)
        KCodecs::base64Encode(*(const QByteArray*)x[1].s_class,*(QByteArray*)x[2].s_class,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // static QByteArray base64Decode(const QByteArray&)
        QByteArray xret = KCodecs::base64Decode(*(const QByteArray*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QByteArray uuencode(const QByteArray&)
        QByteArray xret = KCodecs::uuencode(*(const QByteArray*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QByteArray base64Encode(const QByteArray&, bool)
        QByteArray xret = KCodecs::base64Encode(*(const QByteArray*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QByteArray base64Encode(const QByteArray&)
        QByteArray xret = KCodecs::base64Encode(*(const QByteArray*)x[1].s_class,(bool)false);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QByteArray uudecode(const QByteArray&)
        QByteArray xret = KCodecs::uudecode(*(const QByteArray*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QString decodeRFC2047String(const QString&)
        QString xret = KCodecs::decodeRFC2047String(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    ~x_KCodecs() { this->_binding->deleted(17, (void*)this); }
};
void xcall_KCodecs(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCodecs *xself = (x_KCodecs*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KCodecs::x_1(args);	break;
        case 2: x_KCodecs::x_2(args);	break;
        case 3: x_KCodecs::x_3(args);	break;
        case 4: x_KCodecs::x_4(args);	break;
        case 5: x_KCodecs::x_5(args);	break;
        case 6: x_KCodecs::x_6(args);	break;
        case 7: x_KCodecs::x_7(args);	break;
        case 8: x_KCodecs::x_8(args);	break;
        case 9: x_KCodecs::x_9(args);	break;
        case 10: x_KCodecs::x_10(args);	break;
        case 11: x_KCodecs::x_11(args);	break;
        case 12: x_KCodecs::x_12(args);	break;
        case 13: x_KCodecs::x_13(args);	break;
        case 14: x_KCodecs::x_14(args);	break;
        case 15: x_KCodecs::x_15(args);	break;
        case 16: x_KCodecs::x_16(args);	break;
    }
}
class x_KMacroExpander {
    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 expandMacros(const QString&, const QHash<QChar,QString>&, QChar)
        QString xret = KMacroExpander::expandMacros(*(const QString*)x[1].s_class,*(const QHash<QChar,QString>*)x[2].s_class,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_2(Smoke::Stack x) {
        // static QString expandMacros(const QString&, const QHash<QChar,QString>&)
        QString xret = KMacroExpander::expandMacros(*(const QString*)x[1].s_class,*(const QHash<QChar,QString>*)x[2].s_class,(QChar)QLatin1Char('%'));
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_3(Smoke::Stack x) {
        // static QString expandMacrosShellQuote(const QString&, const QHash<QChar,QString>&, QChar)
        QString xret = KMacroExpander::expandMacrosShellQuote(*(const QString*)x[1].s_class,*(const QHash<QChar,QString>*)x[2].s_class,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString expandMacrosShellQuote(const QString&, const QHash<QChar,QString>&)
        QString xret = KMacroExpander::expandMacrosShellQuote(*(const QString*)x[1].s_class,*(const QHash<QChar,QString>*)x[2].s_class,(QChar)QLatin1Char('%'));
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString expandMacrosShellQuote(const QString&, const QHash<QString,QStringList>&, QChar)
        QString xret = KMacroExpander::expandMacrosShellQuote(*(const QString*)x[1].s_class,*(const QHash<QString,QStringList>*)x[2].s_class,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString expandMacrosShellQuote(const QString&, const QHash<QString,QStringList>&)
        QString xret = KMacroExpander::expandMacrosShellQuote(*(const QString*)x[1].s_class,*(const QHash<QString,QStringList>*)x[2].s_class,(QChar)QLatin1Char('%'));
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_7(Smoke::Stack x) {
        // static QString expandMacros(const QString&, const QHash<QChar,QStringList>&, QChar)
        QString xret = KMacroExpander::expandMacros(*(const QString*)x[1].s_class,*(const QHash<QChar,QStringList>*)x[2].s_class,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_8(Smoke::Stack x) {
        // static QString expandMacros(const QString&, const QHash<QChar,QStringList>&)
        QString xret = KMacroExpander::expandMacros(*(const QString*)x[1].s_class,*(const QHash<QChar,QStringList>*)x[2].s_class,(QChar)QLatin1Char('%'));
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static QString expandMacrosShellQuote(const QString&, const QHash<QString,QString>&, QChar)
        QString xret = KMacroExpander::expandMacrosShellQuote(*(const QString*)x[1].s_class,*(const QHash<QString,QString>*)x[2].s_class,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QString expandMacrosShellQuote(const QString&, const QHash<QString,QString>&)
        QString xret = KMacroExpander::expandMacrosShellQuote(*(const QString*)x[1].s_class,*(const QHash<QString,QString>*)x[2].s_class,(QChar)QLatin1Char('%'));
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString expandMacros(const QString&, const QHash<QString,QStringList>&, QChar)
        QString xret = KMacroExpander::expandMacros(*(const QString*)x[1].s_class,*(const QHash<QString,QStringList>*)x[2].s_class,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QString expandMacros(const QString&, const QHash<QString,QStringList>&)
        QString xret = KMacroExpander::expandMacros(*(const QString*)x[1].s_class,*(const QHash<QString,QStringList>*)x[2].s_class,(QChar)QLatin1Char('%'));
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString expandMacros(const QString&, const QHash<QString,QString>&, QChar)
        QString xret = KMacroExpander::expandMacros(*(const QString*)x[1].s_class,*(const QHash<QString,QString>*)x[2].s_class,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QString expandMacros(const QString&, const QHash<QString,QString>&)
        QString xret = KMacroExpander::expandMacros(*(const QString*)x[1].s_class,*(const QHash<QString,QString>*)x[2].s_class,(QChar)QLatin1Char('%'));
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QString expandMacrosShellQuote(const QString&, const QHash<QChar,QStringList>&, QChar)
        QString xret = KMacroExpander::expandMacrosShellQuote(*(const QString*)x[1].s_class,*(const QHash<QChar,QStringList>*)x[2].s_class,*(QChar*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QString expandMacrosShellQuote(const QString&, const QHash<QChar,QStringList>&)
        QString xret = KMacroExpander::expandMacrosShellQuote(*(const QString*)x[1].s_class,*(const QHash<QChar,QStringList>*)x[2].s_class,(QChar)QLatin1Char('%'));
        x[0].s_class = (void*)new QString(xret);
    }
    ~x_KMacroExpander() { this->_binding->deleted(75, (void*)this); }
};
void xcall_KMacroExpander(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KMacroExpander *xself = (x_KMacroExpander*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KMacroExpander::x_1(args);	break;
        case 2: x_KMacroExpander::x_2(args);	break;
        case 3: x_KMacroExpander::x_3(args);	break;
        case 4: x_KMacroExpander::x_4(args);	break;
        case 5: x_KMacroExpander::x_5(args);	break;
        case 6: x_KMacroExpander::x_6(args);	break;
        case 7: x_KMacroExpander::x_7(args);	break;
        case 8: x_KMacroExpander::x_8(args);	break;
        case 9: x_KMacroExpander::x_9(args);	break;
        case 10: x_KMacroExpander::x_10(args);	break;
        case 11: x_KMacroExpander::x_11(args);	break;
        case 12: x_KMacroExpander::x_12(args);	break;
        case 13: x_KMacroExpander::x_13(args);	break;
        case 14: x_KMacroExpander::x_14(args);	break;
        case 15: x_KMacroExpander::x_15(args);	break;
        case 16: x_KMacroExpander::x_16(args);	break;
    }
}

}
