//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_KAutoSaveFile : public KAutoSaveFile, 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<KAutoSaveFile*>(this))) {
            const QMetaObject* xret = ((const x_KAutoSaveFile*)this)->KAutoSaveFile::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KAutoSaveFile*)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<KAutoSaveFile*>(this))) {
            void* xret = this->KAutoSaveFile::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 = KAutoSaveFile::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 = KAutoSaveFile::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 = KAutoSaveFile::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 = KAutoSaveFile::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<KAutoSaveFile*>(this))) {
            int xret = this->KAutoSaveFile::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) {
        // KAutoSaveFile* KAutoSaveFile(const KUrl&, QObject*)
        x_KAutoSaveFile* xret = new x_KAutoSaveFile(*(const KUrl*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KAutoSaveFile(const KUrl& x1, QObject* x2) : KAutoSaveFile(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // KAutoSaveFile* KAutoSaveFile(QObject*)
        x_KAutoSaveFile* xret = new x_KAutoSaveFile((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KAutoSaveFile(QObject* x1) : KAutoSaveFile(x1) {}
    void x_10(Smoke::Stack x) {
        // KUrl managedFile() const
        KUrl xret = ((const x_KAutoSaveFile*)this)->KAutoSaveFile::managedFile();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setManagedFile(const KUrl&)
        this->KAutoSaveFile::setManagedFile(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // virtual void releaseLock()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KAutoSaveFile*>(this))) {
            this->KAutoSaveFile::releaseLock();
            (void)x; // noop (for compiler warning)
        } else {
            this->releaseLock();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual bool open(QFlags<QIODevice::OpenModeFlag>)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KAutoSaveFile*>(this))) {
            bool xret = this->KAutoSaveFile::open((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
            x[0].s_bool = xret;
        } else {
            bool xret = this->open((QFlags<QIODevice::OpenModeFlag>)x[1].s_uint);
            x[0].s_bool = xret;
        }
    }
    static void x_14(Smoke::Stack x) {
        // static QList<KAutoSaveFile*> staleFiles(const KUrl&, const QString&)
        QList<KAutoSaveFile*> xret = KAutoSaveFile::staleFiles(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QList<KAutoSaveFile*>(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QList<KAutoSaveFile*> allStaleFiles(const QString&)
        QList<KAutoSaveFile*> xret = KAutoSaveFile::allStaleFiles(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QList<KAutoSaveFile*>(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KAutoSaveFile::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KAutoSaveFile::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // KAutoSaveFile* KAutoSaveFile(const KUrl&)
        x_KAutoSaveFile* xret = new x_KAutoSaveFile(*(const KUrl*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // KAutoSaveFile* KAutoSaveFile()
        x_KAutoSaveFile* xret = new x_KAutoSaveFile((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // static QList<KAutoSaveFile*> staleFiles(const KUrl&)
        QList<KAutoSaveFile*> xret = KAutoSaveFile::staleFiles(*(const KUrl*)x[1].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QList<KAutoSaveFile*>(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QList<KAutoSaveFile*> allStaleFiles()
        QList<KAutoSaveFile*> xret = KAutoSaveFile::allStaleFiles((const QString&)QString());
        x[0].s_class = (void*)new QList<KAutoSaveFile*>(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KAutoSaveFile::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(210, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KAutoSaveFile::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(211, (void*)this, x)) return (void*)x[0].s_class;
        return this->KAutoSaveFile::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(216, (void*)this, x)) return (int)x[0].s_int;
        return this->KAutoSaveFile::qt_metacall(x1, x2, x3);
    }
    virtual void releaseLock() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(221, (void*)this, x)) return;
        this->KAutoSaveFile::releaseLock();
    }
    virtual bool open(QFlags<QIODevice::OpenModeFlag> x1) {
        Smoke::StackItem x[2];
        x[1].s_uint = (uint)x1;
        if (this->_binding->callMethod(222, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KAutoSaveFile::open(x1);
    }
    virtual void close() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3334, (void*)this, x)) return;
        this->QFile::close();
    }
    virtual QAbstractFileEngine* fileEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3339, (void*)this, x)) return (QAbstractFileEngine*)x[0].s_class;
        return this->QFile::fileEngine();
    }
    virtual bool isSequential() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3333, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFile::isSequential();
    }
    virtual long long pos() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3336, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::pos();
    }
    virtual long long size() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3335, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::size();
    }
    virtual bool seek(long long x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new long long(x1);
        if (this->_binding->callMethod(3337, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFile::seek(x1);
    }
    virtual bool atEnd() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3338, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QFile::atEnd();
    }
    virtual bool reset() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3486, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::reset();
    }
    virtual long long bytesAvailable() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3487, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QIODevice::bytesAvailable();
    }
    virtual long long bytesToWrite() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3488, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QIODevice::bytesToWrite();
    }
    virtual bool canReadLine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3489, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::canReadLine();
    }
    virtual bool waitForReadyRead(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3490, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::waitForReadyRead(x1);
    }
    virtual bool waitForBytesWritten(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3491, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QIODevice::waitForBytesWritten(x1);
    }
    virtual long long readData(char* x1, long long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)new long long(x2);
        if (this->_binding->callMethod(3340, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::readData(x1, x2);
    }
    virtual long long readLineData(char* x1, long long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)new long long(x2);
        if (this->_binding->callMethod(3342, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::readLineData(x1, x2);
    }
    virtual long long writeData(const char* x1, long long x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)new long long(x2);
        if (this->_binding->callMethod(3341, (void*)this, x)) {
            long long* xptr = (long long*)x[0].s_class;
            long long xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QFile::writeData(x1, x2);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3501, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3502, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3503, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3504, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3505, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3506, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3507, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KAutoSaveFile() { this->_binding->deleted(8, (void*)this); }
};
void xcall_KAutoSaveFile(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KAutoSaveFile *xself = (x_KAutoSaveFile*)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_KAutoSaveFile::x_3(args);	break;
        case 4: x_KAutoSaveFile::x_4(args);	break;
        case 5: x_KAutoSaveFile::x_5(args);	break;
        case 6: x_KAutoSaveFile::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KAutoSaveFile::x_8(args);	break;
        case 9: x_KAutoSaveFile::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: x_KAutoSaveFile::x_14(args);	break;
        case 15: x_KAutoSaveFile::x_15(args);	break;
        case 16: x_KAutoSaveFile::x_16(args);	break;
        case 17: x_KAutoSaveFile::x_17(args);	break;
        case 18: x_KAutoSaveFile::x_18(args);	break;
        case 19: x_KAutoSaveFile::x_19(args);	break;
        case 20: x_KAutoSaveFile::x_20(args);	break;
        case 21: x_KAutoSaveFile::x_21(args);	break;
        case 22: x_KAutoSaveFile::x_22(args);	break;
        case 23: delete (KAutoSaveFile*)xself;	break;
    }
}
class x_KAutostart : public KAutostart, 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<KAutostart*>(this))) {
            const QMetaObject* xret = ((const x_KAutostart*)this)->KAutostart::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KAutostart*)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<KAutostart*>(this))) {
            void* xret = this->KAutostart::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 = KAutostart::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 = KAutostart::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 = KAutostart::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 = KAutostart::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<KAutostart*>(this))) {
            int xret = this->KAutostart::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) {
        // KAutostart* KAutostart(const QString&, QObject*)
        x_KAutostart* xret = new x_KAutostart(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KAutostart(const QString& x1, QObject* x2) : KAutostart(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void setAutostarts(bool)
        this->KAutostart::setAutostarts((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool autostarts(const QString&, QFlags<KAutostart::Condition>) const
        bool xret = ((const x_KAutostart*)this)->KAutostart::autostarts(*(const QString*)x[1].s_class,(QFlags<KAutostart::Condition>)x[2].s_uint);
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QString command() const
        QString xret = ((const x_KAutostart*)this)->KAutostart::command();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setCommand(const QString&)
        this->KAutostart::setCommand(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QString visibleName() const
        QString xret = ((const x_KAutostart*)this)->KAutostart::visibleName();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setVisibleName(const QString&)
        this->KAutostart::setVisibleName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_15(Smoke::Stack x) {
        // static bool isServiceRegistered(const QString&)
        bool xret = KAutostart::isServiceRegistered(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // QString commandToCheck() const
        QString xret = ((const x_KAutostart*)this)->KAutostart::commandToCheck();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // void setCommandToCheck(const QString&)
        this->KAutostart::setCommandToCheck(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // KAutostart::StartPhase startPhase() const
        KAutostart::StartPhase xret = ((const x_KAutostart*)this)->KAutostart::startPhase();
        x[0].s_enum = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setStartPhase(KAutostart::StartPhase)
        this->KAutostart::setStartPhase((KAutostart::StartPhase)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // QStringList allowedEnvironments() const
        QStringList xret = ((const x_KAutostart*)this)->KAutostart::allowedEnvironments();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_21(Smoke::Stack x) {
        // void setAllowedEnvironments(const QStringList&)
        this->KAutostart::setAllowedEnvironments(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void addToAllowedEnvironments(const QString&)
        this->KAutostart::addToAllowedEnvironments(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void removeFromAllowedEnvironments(const QString&)
        this->KAutostart::removeFromAllowedEnvironments(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QStringList excludedEnvironments() const
        QStringList xret = ((const x_KAutostart*)this)->KAutostart::excludedEnvironments();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_25(Smoke::Stack x) {
        // void setExcludedEnvironments(const QStringList&)
        this->KAutostart::setExcludedEnvironments(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void addToExcludedEnvironments(const QString&)
        this->KAutostart::addToExcludedEnvironments(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void removeFromExcludedEnvironments(const QString&)
        this->KAutostart::removeFromExcludedEnvironments(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QString startAfter() const
        QString xret = ((const x_KAutostart*)this)->KAutostart::startAfter();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_29(Smoke::Stack x) {
        // bool checkAllowedEnvironment(const QString&) const
        bool xret = ((const x_KAutostart*)this)->KAutostart::checkAllowedEnvironment(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_30(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KAutostart::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KAutostart::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // KAutostart* KAutostart()
        x_KAutostart* xret = new x_KAutostart((const QString&)QString(),(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_33(Smoke::Stack x) {
        // KAutostart* KAutostart(const QString&)
        x_KAutostart* xret = new x_KAutostart(*(const QString*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_34(Smoke::Stack x) {
        // bool autostarts() const
        bool xret = ((const x_KAutostart*)this)->KAutostart::autostarts((const QString&)QString(),(QFlags<KAutostart::Condition>)KAutostart::NoConditions);
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // bool autostarts(const QString&) const
        bool xret = ((const x_KAutostart*)this)->KAutostart::autostarts(*(const QString*)x[1].s_class,(QFlags<KAutostart::Condition>)KAutostart::NoConditions);
        x[0].s_bool = xret;
    }
    static void x_36(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KAutostart::staticMetaObject;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)KAutostart::NoConditions;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)KAutostart::CheckCommand;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)KAutostart::CheckCondition;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)KAutostart::CheckAll;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KAutostart::BaseDesktop;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KAutostart::DesktopServices;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KAutostart::Applications;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(233, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KAutostart::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(234, (void*)this, x)) return (void*)x[0].s_class;
        return this->KAutostart::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(239, (void*)this, x)) return (int)x[0].s_int;
        return this->KAutostart::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3501, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(3502, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3503, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3504, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3505, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3506, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3507, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 26: //KAutostart::Condition
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KAutostart::Condition;
                    break;
                case Smoke::EnumDelete:
                    delete (KAutostart::Condition*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KAutostart::Condition*)xdata = (KAutostart::Condition)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KAutostart::Condition*)xdata;
                    break;
            }
            break;
        case 27: //KAutostart::StartPhase
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KAutostart::StartPhase;
                    break;
                case Smoke::EnumDelete:
                    delete (KAutostart::StartPhase*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KAutostart::StartPhase*)xdata = (KAutostart::StartPhase)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KAutostart::StartPhase*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KAutostart() { this->_binding->deleted(9, (void*)this); }
};
void xenum_KAutostart(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KAutostart::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KAutostart(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KAutostart *xself = (x_KAutostart*)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_KAutostart::x_3(args);	break;
        case 4: x_KAutostart::x_4(args);	break;
        case 5: x_KAutostart::x_5(args);	break;
        case 6: x_KAutostart::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KAutostart::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: x_KAutostart::x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_KAutostart::x_30(args);	break;
        case 31: x_KAutostart::x_31(args);	break;
        case 32: x_KAutostart::x_32(args);	break;
        case 33: x_KAutostart::x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: x_KAutostart::x_36(args);	break;
        case 37: x_KAutostart::x_37(args);	break;
        case 38: x_KAutostart::x_38(args);	break;
        case 39: x_KAutostart::x_39(args);	break;
        case 40: x_KAutostart::x_40(args);	break;
        case 41: x_KAutostart::x_41(args);	break;
        case 42: x_KAutostart::x_42(args);	break;
        case 43: x_KAutostart::x_43(args);	break;
        case 44: delete (KAutostart*)xself;	break;
    }
}
class x_KCalendarSystem : public KCalendarSystem, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // static KCalendarSystem* create(const QString&, const KLocale*)
        KCalendarSystem* xret = KCalendarSystem::create(*(const QString*)x[1].s_class,(const KLocale*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_2(Smoke::Stack x) {
        // static KCalendarSystem* create(const QString&, KSharedPtr<KSharedConfig>, const KLocale*)
        KCalendarSystem* xret = KCalendarSystem::create(*(const QString*)x[1].s_class,*(KSharedPtr<KSharedConfig>*)x[2].s_class,(const KLocale*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_3(Smoke::Stack x) {
        // static KCalendarSystem* create(KLocale::CalendarSystem, const KLocale*)
        KCalendarSystem* xret = KCalendarSystem::create((KLocale::CalendarSystem)x[1].s_enum,(const KLocale*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static KCalendarSystem* create(KLocale::CalendarSystem, KSharedPtr<KSharedConfig>, const KLocale*)
        KCalendarSystem* xret = KCalendarSystem::create((KLocale::CalendarSystem)x[1].s_enum,*(KSharedPtr<KSharedConfig>*)x[2].s_class,(const KLocale*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_5(Smoke::Stack x) {
        // static QStringList calendarSystems()
        QStringList xret = KCalendarSystem::calendarSystems();
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QList<KLocale::CalendarSystem> calendarSystemsList()
        QList<KLocale::CalendarSystem> xret = KCalendarSystem::calendarSystemsList();
        x[0].s_class = (void*)new QList<KLocale::CalendarSystem>(xret);
    }
    static void x_7(Smoke::Stack x) {
        // static QString calendarLabel(const QString&)
        QString xret = KCalendarSystem::calendarLabel(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_8(Smoke::Stack x) {
        // static QString calendarLabel(KLocale::CalendarSystem, const KLocale*)
        QString xret = KCalendarSystem::calendarLabel((KLocale::CalendarSystem)x[1].s_enum,(const KLocale*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static KLocale::CalendarSystem calendarSystemForCalendarType(const QString&)
        KLocale::CalendarSystem xret = KCalendarSystem::calendarSystemForCalendarType(*(const QString*)x[1].s_class);
        x[0].s_enum = xret;
    }
    static void x_10(Smoke::Stack x) {
        // static KLocale::CalendarSystem calendarSystem(const QString&)
        KLocale::CalendarSystem xret = KCalendarSystem::calendarSystem(*(const QString*)x[1].s_class);
        x[0].s_enum = xret;
    }
    static void x_11(Smoke::Stack x) {
        // static QString calendarType(KLocale::CalendarSystem)
        QString xret = KCalendarSystem::calendarType((KLocale::CalendarSystem)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // KCalendarSystem* KCalendarSystem(const KLocale*)
        x_KCalendarSystem* xret = new x_KCalendarSystem((const KLocale*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCalendarSystem(const KLocale* x1) : KCalendarSystem(x1) {}
    static void x_13(Smoke::Stack x) {
        // KCalendarSystem* KCalendarSystem(const KSharedPtr<KSharedConfig>, const KLocale*)
        x_KCalendarSystem* xret = new x_KCalendarSystem(*(const KSharedPtr<KSharedConfig>*)x[1].s_class,(const KLocale*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCalendarSystem(const KSharedPtr<KSharedConfig> x1, const KLocale* x2) : KCalendarSystem(x1, x2) {}
    void x_14(Smoke::Stack x) {
        // virtual QString calendarType() const = 0
        QString xret = ((const x_KCalendarSystem*)this)->calendarType();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // KLocale::CalendarSystem calendarSystem() const
        KLocale::CalendarSystem xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::calendarSystem();
        x[0].s_enum = xret;
    }
    void x_16(Smoke::Stack x) {
        // QString calendarLabel() const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::calendarLabel();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // virtual QDate epoch() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::epoch();
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->epoch();
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_18(Smoke::Stack x) {
        // virtual QDate earliestValidDate() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::earliestValidDate();
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->earliestValidDate();
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_19(Smoke::Stack x) {
        // virtual QDate latestValidDate() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::latestValidDate();
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->latestValidDate();
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual bool isValid(int, int, int) const = 0
        bool xret = ((const x_KCalendarSystem*)this)->isValid((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // bool isValid(int, int) const
        bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::isValid((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // bool isValid(const QString&, int, int, int) const
        bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::isValid(*(const QString*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // bool isValidIsoWeekDate(int, int, int) const
        bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::isValidIsoWeekDate((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
        // virtual bool isValid(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::isValid(*(const QDate*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KCalendarSystem*)this)->isValid(*(const QDate*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual bool setDate(QDate&, int, int, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::setDate(*(QDate*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KCalendarSystem*)this)->setDate(*(QDate*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
            x[0].s_bool = xret;
        }
    }
    void x_26(Smoke::Stack x) {
        // bool setDate(QDate&, int, int) const
        bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::setDate(*(QDate*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int);
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // bool setDate(QDate&, QString, int, int, int) const
        bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::setDate(*(QDate*)x[1].s_class,*(QString*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int);
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // bool setDateIsoWeek(QDate&, int, int, int) const
        bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::setDateIsoWeek(*(QDate*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // virtual bool setYMD(QDate&, int, int, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::setYMD(*(QDate*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KCalendarSystem*)this)->setYMD(*(QDate*)x[1].s_class,(int)x[2].s_int,(int)x[3].s_int,(int)x[4].s_int);
            x[0].s_bool = xret;
        }
    }
    void x_30(Smoke::Stack x) {
        // void getDate(const QDate, int*, int*, int*) const
        ((const x_KCalendarSystem*)this)->KCalendarSystem::getDate(*(const QDate*)x[1].s_class,(int*)x[2].s_class,(int*)x[3].s_class,(int*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // virtual int year(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::year(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->year(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_32(Smoke::Stack x) {
        // virtual int month(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::month(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->month(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_33(Smoke::Stack x) {
        // virtual int day(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::day(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->day(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_34(Smoke::Stack x) {
        // QString eraName(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::eraName(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_35(Smoke::Stack x) {
        // QString eraYear(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::eraYear(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_36(Smoke::Stack x) {
        // int yearInEra(const QDate&) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::yearInEra(*(const QDate*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_37(Smoke::Stack x) {
        // virtual QDate addYears(const QDate&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::addYears(*(const QDate*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->addYears(*(const QDate*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_38(Smoke::Stack x) {
        // virtual QDate addMonths(const QDate&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::addMonths(*(const QDate*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->addMonths(*(const QDate*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_39(Smoke::Stack x) {
        // virtual QDate addDays(const QDate&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::addDays(*(const QDate*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->addDays(*(const QDate*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_40(Smoke::Stack x) {
        // void dateDifference(const QDate&, const QDate&, int*, int*, int*, int*) const
        ((const x_KCalendarSystem*)this)->KCalendarSystem::dateDifference(*(const QDate*)x[1].s_class,*(const QDate*)x[2].s_class,(int*)x[3].s_class,(int*)x[4].s_class,(int*)x[5].s_class,(int*)x[6].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // int yearsDifference(const QDate&, const QDate&) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::yearsDifference(*(const QDate*)x[1].s_class,*(const QDate*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_42(Smoke::Stack x) {
        // int monthsDifference(const QDate&, const QDate&) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthsDifference(*(const QDate*)x[1].s_class,*(const QDate*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_43(Smoke::Stack x) {
        // int daysDifference(const QDate&, const QDate&) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysDifference(*(const QDate*)x[1].s_class,*(const QDate*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_44(Smoke::Stack x) {
        // virtual int monthsInYear(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthsInYear(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->monthsInYear(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_45(Smoke::Stack x) {
        // int monthsInYear(int) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthsInYear((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_46(Smoke::Stack x) {
        // virtual int weeksInYear(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weeksInYear(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->weeksInYear(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_47(Smoke::Stack x) {
        // int weeksInYear(const QDate&, KLocale::WeekNumberSystem) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weeksInYear(*(const QDate*)x[1].s_class,(KLocale::WeekNumberSystem)x[2].s_enum);
        x[0].s_int = xret;
    }
    void x_48(Smoke::Stack x) {
        // virtual int weeksInYear(int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weeksInYear((int)x[1].s_int);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->weeksInYear((int)x[1].s_int);
            x[0].s_int = xret;
        }
    }
    void x_49(Smoke::Stack x) {
        // int weeksInYear(int, KLocale::WeekNumberSystem) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weeksInYear((int)x[1].s_int,(KLocale::WeekNumberSystem)x[2].s_enum);
        x[0].s_int = xret;
    }
    void x_50(Smoke::Stack x) {
        // virtual int daysInYear(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInYear(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->daysInYear(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_51(Smoke::Stack x) {
        // int daysInYear(int) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInYear((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_52(Smoke::Stack x) {
        // virtual int daysInMonth(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInMonth(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->daysInMonth(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_53(Smoke::Stack x) {
        // int daysInMonth(int, int) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInMonth((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_int = xret;
    }
    void x_54(Smoke::Stack x) {
        // virtual int daysInWeek(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInWeek(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->daysInWeek(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_55(Smoke::Stack x) {
        // virtual int dayOfYear(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::dayOfYear(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->dayOfYear(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_56(Smoke::Stack x) {
        // virtual int dayOfWeek(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::dayOfWeek(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->dayOfWeek(*(const QDate*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_57(Smoke::Stack x) {
        // virtual int weekNumber(const QDate&, int*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weekNumber(*(const QDate*)x[1].s_class,(int*)x[2].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->weekNumber(*(const QDate*)x[1].s_class,(int*)x[2].s_class);
            x[0].s_int = xret;
        }
    }
    void x_58(Smoke::Stack x) {
        // int week(const QDate&, int*) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::week(*(const QDate*)x[1].s_class,(int*)x[2].s_class);
        x[0].s_int = xret;
    }
    void x_59(Smoke::Stack x) {
        // int week(const QDate&, KLocale::WeekNumberSystem, int*) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::week(*(const QDate*)x[1].s_class,(KLocale::WeekNumberSystem)x[2].s_enum,(int*)x[3].s_class);
        x[0].s_int = xret;
    }
    void x_60(Smoke::Stack x) {
        // virtual bool isLeapYear(int) const = 0
        bool xret = ((const x_KCalendarSystem*)this)->isLeapYear((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_61(Smoke::Stack x) {
        // virtual bool isLeapYear(const QDate&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            bool xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::isLeapYear(*(const QDate*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KCalendarSystem*)this)->isLeapYear(*(const QDate*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_62(Smoke::Stack x) {
        // QDate firstDayOfYear(int) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::firstDayOfYear((int)x[1].s_int);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_63(Smoke::Stack x) {
        // QDate lastDayOfYear(int) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::lastDayOfYear((int)x[1].s_int);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_64(Smoke::Stack x) {
        // QDate firstDayOfYear(const QDate&) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::firstDayOfYear(*(const QDate*)x[1].s_class);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_65(Smoke::Stack x) {
        // QDate lastDayOfYear(const QDate&) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::lastDayOfYear(*(const QDate*)x[1].s_class);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_66(Smoke::Stack x) {
        // QDate firstDayOfMonth(int, int) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::firstDayOfMonth((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_67(Smoke::Stack x) {
        // QDate lastDayOfMonth(int, int) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::lastDayOfMonth((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_68(Smoke::Stack x) {
        // QDate firstDayOfMonth(const QDate&) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::firstDayOfMonth(*(const QDate*)x[1].s_class);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_69(Smoke::Stack x) {
        // QDate lastDayOfMonth(const QDate&) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::lastDayOfMonth(*(const QDate*)x[1].s_class);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_70(Smoke::Stack x) {
        // virtual QString monthName(int, int, KCalendarSystem::MonthNameFormat) const = 0
        QString xret = ((const x_KCalendarSystem*)this)->monthName((int)x[1].s_int,(int)x[2].s_int,(KCalendarSystem::MonthNameFormat)x[3].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_71(Smoke::Stack x) {
        // virtual QString monthName(const QDate&, KCalendarSystem::MonthNameFormat) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthName(*(const QDate*)x[1].s_class,(KCalendarSystem::MonthNameFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KCalendarSystem*)this)->monthName(*(const QDate*)x[1].s_class,(KCalendarSystem::MonthNameFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_72(Smoke::Stack x) {
        // virtual QString weekDayName(int, KCalendarSystem::WeekDayNameFormat) const = 0
        QString xret = ((const x_KCalendarSystem*)this)->weekDayName((int)x[1].s_int,(KCalendarSystem::WeekDayNameFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_73(Smoke::Stack x) {
        // virtual QString weekDayName(const QDate&, KCalendarSystem::WeekDayNameFormat) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weekDayName(*(const QDate*)x[1].s_class,(KCalendarSystem::WeekDayNameFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KCalendarSystem*)this)->weekDayName(*(const QDate*)x[1].s_class,(KCalendarSystem::WeekDayNameFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_74(Smoke::Stack x) {
        // virtual QString yearString(const QDate&, KCalendarSystem::StringFormat) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::yearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KCalendarSystem*)this)->yearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_75(Smoke::Stack x) {
        // virtual QString monthString(const QDate&, KCalendarSystem::StringFormat) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KCalendarSystem*)this)->monthString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_76(Smoke::Stack x) {
        // virtual QString dayString(const QDate&, KCalendarSystem::StringFormat) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::dayString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KCalendarSystem*)this)->dayString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_77(Smoke::Stack x) {
        // QString yearInEraString(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::yearInEraString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_78(Smoke::Stack x) {
        // QString dayOfYearString(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::dayOfYearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_79(Smoke::Stack x) {
        // QString dayOfWeekString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::dayOfWeekString(*(const QDate*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_80(Smoke::Stack x) {
        // QString weekNumberString(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weekNumberString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_81(Smoke::Stack x) {
        // QString monthsInYearString(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthsInYearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_82(Smoke::Stack x) {
        // QString weeksInYearString(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weeksInYearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_83(Smoke::Stack x) {
        // QString daysInYearString(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInYearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_84(Smoke::Stack x) {
        // QString daysInMonthString(const QDate&, KCalendarSystem::StringFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInMonthString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)x[2].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_85(Smoke::Stack x) {
        // QString daysInWeekString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInWeekString(*(const QDate*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_86(Smoke::Stack x) {
        // virtual int yearStringToInteger(const QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::yearStringToInteger(*(const QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->yearStringToInteger(*(const QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_int = xret;
        }
    }
    void x_87(Smoke::Stack x) {
        // virtual int monthStringToInteger(const QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthStringToInteger(*(const QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->monthStringToInteger(*(const QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_int = xret;
        }
    }
    void x_88(Smoke::Stack x) {
        // virtual int dayStringToInteger(const QString&, int&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::dayStringToInteger(*(const QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->dayStringToInteger(*(const QString*)x[1].s_class,*(int*)x[2].s_class);
            x[0].s_int = xret;
        }
    }
    void x_89(Smoke::Stack x) {
        // virtual QString formatDate(const QDate&, KLocale::DateFormat) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,(KLocale::DateFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KCalendarSystem*)this)->formatDate(*(const QDate*)x[1].s_class,(KLocale::DateFormat)x[2].s_enum);
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_90(Smoke::Stack x) {
        // QString formatDate(const QDate&, const QString&, KLocale::DateTimeFormatStandard) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,*(const QString*)x[2].s_class,(KLocale::DateTimeFormatStandard)x[3].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_91(Smoke::Stack x) {
        // QString formatDate(const QDate&, const QString&, KLocale::DigitSet, KLocale::DateTimeFormatStandard) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,*(const QString*)x[2].s_class,(KLocale::DigitSet)x[3].s_enum,(KLocale::DateTimeFormatStandard)x[4].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_92(Smoke::Stack x) {
        // QString formatDate(const QDate&, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat, KLocale::WeekNumberSystem) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,(KLocale::DateTimeComponent)x[2].s_enum,(KLocale::DateTimeComponentFormat)x[3].s_enum,(KLocale::WeekNumberSystem)x[4].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_93(Smoke::Stack x) {
        // virtual QDate readDate(const QString&, bool*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::readDate(*(const QString*)x[1].s_class,(bool*)x[2].s_class);
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->readDate(*(const QString*)x[1].s_class,(bool*)x[2].s_class);
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_94(Smoke::Stack x) {
        // virtual QDate readDate(const QString&, KLocale::ReadDateFlags, bool*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::readDate(*(const QString*)x[1].s_class,(KLocale::ReadDateFlags)x[2].s_enum,(bool*)x[3].s_class);
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->readDate(*(const QString*)x[1].s_class,(KLocale::ReadDateFlags)x[2].s_enum,(bool*)x[3].s_class);
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_95(Smoke::Stack x) {
        // virtual QDate readDate(const QString&, const QString&, bool*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::readDate(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool*)x[3].s_class);
            x[0].s_class = (void*)new QDate(xret);
        } else {
            QDate xret = ((const x_KCalendarSystem*)this)->readDate(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool*)x[3].s_class);
            x[0].s_class = (void*)new QDate(xret);
        }
    }
    void x_96(Smoke::Stack x) {
        // QDate readDate(const QString&, const QString&, bool*, KLocale::DateTimeFormatStandard) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::readDate(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool*)x[3].s_class,(KLocale::DateTimeFormatStandard)x[4].s_enum);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_97(Smoke::Stack x) {
        // int shortYearWindowStartYear() const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::shortYearWindowStartYear();
        x[0].s_int = xret;
    }
    void x_98(Smoke::Stack x) {
        // int applyShortYearWindow(int) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::applyShortYearWindow((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_99(Smoke::Stack x) {
        // virtual int weekStartDay() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCalendarSystem*>(this))) {
            int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weekStartDay();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KCalendarSystem*)this)->weekStartDay();
            x[0].s_int = xret;
        }
    }
    void x_100(Smoke::Stack x) {
        // virtual int weekDayOfPray() const = 0
        int xret = ((const x_KCalendarSystem*)this)->weekDayOfPray();
        x[0].s_int = xret;
    }
    void x_101(Smoke::Stack x) {
        // virtual bool isLunar() const = 0
        bool xret = ((const x_KCalendarSystem*)this)->isLunar();
        x[0].s_bool = xret;
    }
    void x_102(Smoke::Stack x) {
        // virtual bool isLunisolar() const = 0
        bool xret = ((const x_KCalendarSystem*)this)->isLunisolar();
        x[0].s_bool = xret;
    }
    void x_103(Smoke::Stack x) {
        // virtual bool isSolar() const = 0
        bool xret = ((const x_KCalendarSystem*)this)->isSolar();
        x[0].s_bool = xret;
    }
    void x_104(Smoke::Stack x) {
        // virtual bool isProleptic() const = 0
        bool xret = ((const x_KCalendarSystem*)this)->isProleptic();
        x[0].s_bool = xret;
    }
    void x_105(Smoke::Stack x) {
        // virtual bool julianDayToDate(int, int&, int&, int&) const = 0
        bool xret = ((const x_KCalendarSystem*)this)->julianDayToDate((int)x[1].s_int,*(int*)x[2].s_class,*(int*)x[3].s_class,*(int*)x[4].s_class);
        x[0].s_bool = xret;
    }
    void x_106(Smoke::Stack x) {
        // virtual bool dateToJulianDay(int, int, int, int&) const = 0
        bool xret = ((const x_KCalendarSystem*)this)->dateToJulianDay((int)x[1].s_int,(int)x[2].s_int,(int)x[3].s_int,*(int*)x[4].s_class);
        x[0].s_bool = xret;
    }
    void x_107(Smoke::Stack x) {
        // const KLocale* locale() const
        const KLocale* xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::locale();
        x[0].s_class = (void*)xret;
    }
    void x_108(Smoke::Stack x) {
        // void setMaxMonthsInYear(int)
        this->KCalendarSystem::setMaxMonthsInYear((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_109(Smoke::Stack x) {
        // void setMaxDaysInWeek(int)
        this->KCalendarSystem::setMaxDaysInWeek((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_110(Smoke::Stack x) {
        // void setHasYear0(bool)
        this->KCalendarSystem::setHasYear0((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_111(Smoke::Stack x) {
        // KCalendarSystem* KCalendarSystem(KCalendarSystemPrivate&, const KSharedPtr<KSharedConfig>, const KLocale*)
        x_KCalendarSystem* xret = new x_KCalendarSystem(*(KCalendarSystemPrivate*)x[1].s_class,*(const KSharedPtr<KSharedConfig>*)x[2].s_class,(const KLocale*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCalendarSystem(KCalendarSystemPrivate& x1, const KSharedPtr<KSharedConfig> x2, const KLocale* x3) : KCalendarSystem(x1, x2, x3) {}
    static void x_112(Smoke::Stack x) {
        // static KCalendarSystem* create()
        KCalendarSystem* xret = KCalendarSystem::create((const QString&)QLatin1String("gregorian"),(const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_113(Smoke::Stack x) {
        // static KCalendarSystem* create(const QString&)
        KCalendarSystem* xret = KCalendarSystem::create(*(const QString*)x[1].s_class,(const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_114(Smoke::Stack x) {
        // static KCalendarSystem* create(const QString&, KSharedPtr<KSharedConfig>)
        KCalendarSystem* xret = KCalendarSystem::create(*(const QString*)x[1].s_class,*(KSharedPtr<KSharedConfig>*)x[2].s_class,(const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_115(Smoke::Stack x) {
        // static KCalendarSystem* create(KLocale::CalendarSystem)
        KCalendarSystem* xret = KCalendarSystem::create((KLocale::CalendarSystem)x[1].s_enum,(const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_116(Smoke::Stack x) {
        // static KCalendarSystem* create(KLocale::CalendarSystem, KSharedPtr<KSharedConfig>)
        KCalendarSystem* xret = KCalendarSystem::create((KLocale::CalendarSystem)x[1].s_enum,*(KSharedPtr<KSharedConfig>*)x[2].s_class,(const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_117(Smoke::Stack x) {
        // static QString calendarLabel(KLocale::CalendarSystem)
        QString xret = KCalendarSystem::calendarLabel((KLocale::CalendarSystem)x[1].s_enum,(const KLocale*)KGlobal::locale());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_118(Smoke::Stack x) {
        // KCalendarSystem* KCalendarSystem()
        x_KCalendarSystem* xret = new x_KCalendarSystem((const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_119(Smoke::Stack x) {
        // KCalendarSystem* KCalendarSystem(const KSharedPtr<KSharedConfig>)
        x_KCalendarSystem* xret = new x_KCalendarSystem(*(const KSharedPtr<KSharedConfig>*)x[1].s_class,(const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    void x_120(Smoke::Stack x) {
        // QString eraName(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::eraName(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::ShortFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_121(Smoke::Stack x) {
        // QString eraYear(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::eraYear(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::ShortFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_122(Smoke::Stack x) {
        // int weekNumber(const QDate&) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weekNumber(*(const QDate*)x[1].s_class,(int*)0);
        x[0].s_int = xret;
    }
    void x_123(Smoke::Stack x) {
        // int week(const QDate&) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::week(*(const QDate*)x[1].s_class,(int*)0);
        x[0].s_int = xret;
    }
    void x_124(Smoke::Stack x) {
        // int week(const QDate&, KLocale::WeekNumberSystem) const
        int xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::week(*(const QDate*)x[1].s_class,(KLocale::WeekNumberSystem)x[2].s_enum,(int*)0);
        x[0].s_int = xret;
    }
    void x_125(Smoke::Stack x) {
        // QDate firstDayOfYear() const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::firstDayOfYear((const QDate&)QDate::currentDate());
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_126(Smoke::Stack x) {
        // QDate lastDayOfYear() const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::lastDayOfYear((const QDate&)QDate::currentDate());
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_127(Smoke::Stack x) {
        // QDate firstDayOfMonth() const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::firstDayOfMonth((const QDate&)QDate::currentDate());
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_128(Smoke::Stack x) {
        // QDate lastDayOfMonth() const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::lastDayOfMonth((const QDate&)QDate::currentDate());
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_129(Smoke::Stack x) {
        // QString monthName(int, int) const
        QString xret = ((const x_KCalendarSystem*)this)->monthName((int)x[1].s_int,(int)x[2].s_int,(KCalendarSystem::MonthNameFormat)KCalendarSystem::LongName);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_130(Smoke::Stack x) {
        // QString monthName(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthName(*(const QDate*)x[1].s_class,(KCalendarSystem::MonthNameFormat)KCalendarSystem::LongName);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_131(Smoke::Stack x) {
        // QString weekDayName(int) const
        QString xret = ((const x_KCalendarSystem*)this)->weekDayName((int)x[1].s_int,(KCalendarSystem::WeekDayNameFormat)KCalendarSystem::LongDayName);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_132(Smoke::Stack x) {
        // QString weekDayName(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weekDayName(*(const QDate*)x[1].s_class,(KCalendarSystem::WeekDayNameFormat)KCalendarSystem::LongDayName);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_133(Smoke::Stack x) {
        // QString yearString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::yearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_134(Smoke::Stack x) {
        // QString monthString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_135(Smoke::Stack x) {
        // QString dayString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::dayString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_136(Smoke::Stack x) {
        // QString yearInEraString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::yearInEraString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::ShortFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_137(Smoke::Stack x) {
        // QString dayOfYearString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::dayOfYearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_138(Smoke::Stack x) {
        // QString weekNumberString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weekNumberString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_139(Smoke::Stack x) {
        // QString monthsInYearString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::monthsInYearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_140(Smoke::Stack x) {
        // QString weeksInYearString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::weeksInYearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_141(Smoke::Stack x) {
        // QString daysInYearString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInYearString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_142(Smoke::Stack x) {
        // QString daysInMonthString(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::daysInMonthString(*(const QDate*)x[1].s_class,(KCalendarSystem::StringFormat)KCalendarSystem::LongFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_143(Smoke::Stack x) {
        // QString formatDate(const QDate&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,(KLocale::DateFormat)KLocale::LongDate);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_144(Smoke::Stack x) {
        // QString formatDate(const QDate&, const QString&) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,*(const QString*)x[2].s_class,(KLocale::DateTimeFormatStandard)KLocale::KdeFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_145(Smoke::Stack x) {
        // QString formatDate(const QDate&, const QString&, KLocale::DigitSet) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,*(const QString*)x[2].s_class,(KLocale::DigitSet)x[3].s_enum,(KLocale::DateTimeFormatStandard)KLocale::KdeFormat);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_146(Smoke::Stack x) {
        // QString formatDate(const QDate&, KLocale::DateTimeComponent) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,(KLocale::DateTimeComponent)x[2].s_enum,(KLocale::DateTimeComponentFormat)KLocale::DefaultComponentFormat,(KLocale::WeekNumberSystem)KLocale::DefaultWeekNumber);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_147(Smoke::Stack x) {
        // QString formatDate(const QDate&, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat) const
        QString xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::formatDate(*(const QDate*)x[1].s_class,(KLocale::DateTimeComponent)x[2].s_enum,(KLocale::DateTimeComponentFormat)x[3].s_enum,(KLocale::WeekNumberSystem)KLocale::DefaultWeekNumber);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_148(Smoke::Stack x) {
        // QDate readDate(const QString&) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::readDate(*(const QString*)x[1].s_class,(bool*)0);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_149(Smoke::Stack x) {
        // QDate readDate(const QString&, KLocale::ReadDateFlags) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::readDate(*(const QString*)x[1].s_class,(KLocale::ReadDateFlags)x[2].s_enum,(bool*)0);
        x[0].s_class = (void*)new QDate(xret);
    }
    void x_150(Smoke::Stack x) {
        // QDate readDate(const QString&, const QString&) const
        QDate xret = ((const x_KCalendarSystem*)this)->KCalendarSystem::readDate(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(bool*)0);
        x[0].s_class = (void*)new QDate(xret);
    }
    static void x_151(Smoke::Stack x) {
        // KCalendarSystem* KCalendarSystem(KCalendarSystemPrivate&)
        x_KCalendarSystem* xret = new x_KCalendarSystem(*(KCalendarSystemPrivate*)x[1].s_class,(const KSharedPtr<KSharedConfig>)KSharedConfig::Ptr(),(const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_152(Smoke::Stack x) {
        // KCalendarSystem* KCalendarSystem(KCalendarSystemPrivate&, const KSharedPtr<KSharedConfig>)
        x_KCalendarSystem* xret = new x_KCalendarSystem(*(KCalendarSystemPrivate*)x[1].s_class,*(const KSharedPtr<KSharedConfig>*)x[2].s_class,(const KLocale*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_153(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::ShortFormat;
    }
    static void x_154(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::LongFormat;
    }
    static void x_155(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::ShortName;
    }
    static void x_156(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::LongName;
    }
    static void x_157(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::ShortNamePossessive;
    }
    static void x_158(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::LongNamePossessive;
    }
    static void x_159(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::NarrowName;
    }
    static void x_160(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::ShortDayName;
    }
    static void x_161(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::LongDayName;
    }
    static void x_162(Smoke::Stack x) {
        x[0].s_enum = (long)KCalendarSystem::NarrowDayName;
    }
    virtual QString calendarType() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(290, (void*)this, x, true /*pure virtual*/);
        QString* xptr = (QString*)x[0].s_class;
        QString xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QDate epoch() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(293, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::epoch();
    }
    virtual QDate earliestValidDate() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(294, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::earliestValidDate();
    }
    virtual QDate latestValidDate() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(295, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::latestValidDate();
    }
    virtual bool isValid(int x1, int x2, int x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        this->_binding->callMethod(296, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool isValid(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(300, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KCalendarSystem::isValid(x1);
    }
    virtual bool setDate(QDate& x1, int x2, int x3, int x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        x[4].s_int = x4;
        if (this->_binding->callMethod(301, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KCalendarSystem::setDate(x1, x2, x3, x4);
    }
    virtual bool setYMD(QDate& x1, int x2, int x3, int x4) const {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        x[4].s_int = x4;
        if (this->_binding->callMethod(305, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KCalendarSystem::setYMD(x1, x2, x3, x4);
    }
    virtual int year(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(307, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::year(x1);
    }
    virtual int month(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(308, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::month(x1);
    }
    virtual int day(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(309, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::day(x1);
    }
    virtual QDate addYears(const QDate& x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(313, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::addYears(x1, x2);
    }
    virtual QDate addMonths(const QDate& x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(314, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::addMonths(x1, x2);
    }
    virtual QDate addDays(const QDate& x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(315, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::addDays(x1, x2);
    }
    virtual int monthsInYear(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(320, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::monthsInYear(x1);
    }
    virtual int weeksInYear(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(322, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::weeksInYear(x1);
    }
    virtual int weeksInYear(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(324, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::weeksInYear(x1);
    }
    virtual int daysInYear(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(326, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::daysInYear(x1);
    }
    virtual int daysInMonth(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(328, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::daysInMonth(x1);
    }
    virtual int daysInWeek(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(330, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::daysInWeek(x1);
    }
    virtual int dayOfYear(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(331, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::dayOfYear(x1);
    }
    virtual int dayOfWeek(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(332, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::dayOfWeek(x1);
    }
    virtual int weekNumber(const QDate& x1, int* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(333, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::weekNumber(x1, x2);
    }
    virtual bool isLeapYear(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        this->_binding->callMethod(336, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool isLeapYear(const QDate& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(337, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KCalendarSystem::isLeapYear(x1);
    }
    virtual QString monthName(int x1, int x2, KCalendarSystem::MonthNameFormat x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_enum = x3;
        this->_binding->callMethod(346, (void*)this, x, true /*pure virtual*/);
        QString* xptr = (QString*)x[0].s_class;
        QString xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QString monthName(const QDate& x1, KCalendarSystem::MonthNameFormat x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(347, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::monthName(x1, x2);
    }
    virtual QString weekDayName(int x1, KCalendarSystem::WeekDayNameFormat x2) const {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        this->_binding->callMethod(348, (void*)this, x, true /*pure virtual*/);
        QString* xptr = (QString*)x[0].s_class;
        QString xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual QString weekDayName(const QDate& x1, KCalendarSystem::WeekDayNameFormat x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(349, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::weekDayName(x1, x2);
    }
    virtual QString yearString(const QDate& x1, KCalendarSystem::StringFormat x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(350, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::yearString(x1, x2);
    }
    virtual QString monthString(const QDate& x1, KCalendarSystem::StringFormat x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(351, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::monthString(x1, x2);
    }
    virtual QString dayString(const QDate& x1, KCalendarSystem::StringFormat x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(352, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::dayString(x1, x2);
    }
    virtual int yearStringToInteger(const QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(362, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::yearStringToInteger(x1, x2);
    }
    virtual int monthStringToInteger(const QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(363, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::monthStringToInteger(x1, x2);
    }
    virtual int dayStringToInteger(const QString& x1, int& x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(364, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::dayStringToInteger(x1, x2);
    }
    virtual QString formatDate(const QDate& x1, KLocale::DateFormat x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(365, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::formatDate(x1, x2);
    }
    virtual QDate readDate(const QString& x1, bool* x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(369, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::readDate(x1, x2);
    }
    virtual QDate readDate(const QString& x1, KLocale::ReadDateFlags x2, bool* x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(370, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::readDate(x1, x2, x3);
    }
    virtual QDate readDate(const QString& x1, const QString& x2, bool* x3) const {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(371, (void*)this, x)) {
            QDate* xptr = (QDate*)x[0].s_class;
            QDate xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KCalendarSystem::readDate(x1, x2, x3);
    }
    virtual int weekStartDay() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(375, (void*)this, x)) return (int)x[0].s_int;
        return this->KCalendarSystem::weekStartDay();
    }
    virtual int weekDayOfPray() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(376, (void*)this, x, true /*pure virtual*/);
        return (int)x[0].s_int;
    }
    virtual bool isLunar() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(377, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool isLunisolar() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(378, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool isSolar() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(379, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool isProleptic() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(380, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool julianDayToDate(int x1, int& x2, int& x3, int& x4) const {
        Smoke::StackItem x[5];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        x[4].s_class = (void*)&x4;
        this->_binding->callMethod(381, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool dateToJulianDay(int x1, int x2, int x3, int& x4) const {
        Smoke::StackItem x[5];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_int = x3;
        x[4].s_class = (void*)&x4;
        this->_binding->callMethod(382, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 30: //KCalendarSystem::StringFormat
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KCalendarSystem::StringFormat;
                    break;
                case Smoke::EnumDelete:
                    delete (KCalendarSystem::StringFormat*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KCalendarSystem::StringFormat*)xdata = (KCalendarSystem::StringFormat)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KCalendarSystem::StringFormat*)xdata;
                    break;
            }
            break;
        case 29: //KCalendarSystem::MonthNameFormat
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KCalendarSystem::MonthNameFormat;
                    break;
                case Smoke::EnumDelete:
                    delete (KCalendarSystem::MonthNameFormat*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KCalendarSystem::MonthNameFormat*)xdata = (KCalendarSystem::MonthNameFormat)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KCalendarSystem::MonthNameFormat*)xdata;
                    break;
            }
            break;
        case 31: //KCalendarSystem::WeekDayNameFormat
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KCalendarSystem::WeekDayNameFormat;
                    break;
                case Smoke::EnumDelete:
                    delete (KCalendarSystem::WeekDayNameFormat*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KCalendarSystem::WeekDayNameFormat*)xdata = (KCalendarSystem::WeekDayNameFormat)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KCalendarSystem::WeekDayNameFormat*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KCalendarSystem() { this->_binding->deleted(10, (void*)this); }
};
void xenum_KCalendarSystem(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KCalendarSystem::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KCalendarSystem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCalendarSystem *xself = (x_KCalendarSystem*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KCalendarSystem::x_1(args);	break;
        case 2: x_KCalendarSystem::x_2(args);	break;
        case 3: x_KCalendarSystem::x_3(args);	break;
        case 4: x_KCalendarSystem::x_4(args);	break;
        case 5: x_KCalendarSystem::x_5(args);	break;
        case 6: x_KCalendarSystem::x_6(args);	break;
        case 7: x_KCalendarSystem::x_7(args);	break;
        case 8: x_KCalendarSystem::x_8(args);	break;
        case 9: x_KCalendarSystem::x_9(args);	break;
        case 10: x_KCalendarSystem::x_10(args);	break;
        case 11: x_KCalendarSystem::x_11(args);	break;
        case 12: x_KCalendarSystem::x_12(args);	break;
        case 13: x_KCalendarSystem::x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: xself->x_88(args);	break;
        case 89: xself->x_89(args);	break;
        case 90: xself->x_90(args);	break;
        case 91: xself->x_91(args);	break;
        case 92: xself->x_92(args);	break;
        case 93: xself->x_93(args);	break;
        case 94: xself->x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: xself->x_96(args);	break;
        case 97: xself->x_97(args);	break;
        case 98: xself->x_98(args);	break;
        case 99: xself->x_99(args);	break;
        case 100: xself->x_100(args);	break;
        case 101: xself->x_101(args);	break;
        case 102: xself->x_102(args);	break;
        case 103: xself->x_103(args);	break;
        case 104: xself->x_104(args);	break;
        case 105: xself->x_105(args);	break;
        case 106: xself->x_106(args);	break;
        case 107: xself->x_107(args);	break;
        case 108: xself->x_108(args);	break;
        case 109: xself->x_109(args);	break;
        case 110: xself->x_110(args);	break;
        case 111: x_KCalendarSystem::x_111(args);	break;
        case 112: x_KCalendarSystem::x_112(args);	break;
        case 113: x_KCalendarSystem::x_113(args);	break;
        case 114: x_KCalendarSystem::x_114(args);	break;
        case 115: x_KCalendarSystem::x_115(args);	break;
        case 116: x_KCalendarSystem::x_116(args);	break;
        case 117: x_KCalendarSystem::x_117(args);	break;
        case 118: x_KCalendarSystem::x_118(args);	break;
        case 119: x_KCalendarSystem::x_119(args);	break;
        case 120: xself->x_120(args);	break;
        case 121: xself->x_121(args);	break;
        case 122: xself->x_122(args);	break;
        case 123: xself->x_123(args);	break;
        case 124: xself->x_124(args);	break;
        case 125: xself->x_125(args);	break;
        case 126: xself->x_126(args);	break;
        case 127: xself->x_127(args);	break;
        case 128: xself->x_128(args);	break;
        case 129: xself->x_129(args);	break;
        case 130: xself->x_130(args);	break;
        case 131: xself->x_131(args);	break;
        case 132: xself->x_132(args);	break;
        case 133: xself->x_133(args);	break;
        case 134: xself->x_134(args);	break;
        case 135: xself->x_135(args);	break;
        case 136: xself->x_136(args);	break;
        case 137: xself->x_137(args);	break;
        case 138: xself->x_138(args);	break;
        case 139: xself->x_139(args);	break;
        case 140: xself->x_140(args);	break;
        case 141: xself->x_141(args);	break;
        case 142: xself->x_142(args);	break;
        case 143: xself->x_143(args);	break;
        case 144: xself->x_144(args);	break;
        case 145: xself->x_145(args);	break;
        case 146: xself->x_146(args);	break;
        case 147: xself->x_147(args);	break;
        case 148: xself->x_148(args);	break;
        case 149: xself->x_149(args);	break;
        case 150: xself->x_150(args);	break;
        case 151: x_KCalendarSystem::x_151(args);	break;
        case 152: x_KCalendarSystem::x_152(args);	break;
        case 153: x_KCalendarSystem::x_153(args);	break;
        case 154: x_KCalendarSystem::x_154(args);	break;
        case 155: x_KCalendarSystem::x_155(args);	break;
        case 156: x_KCalendarSystem::x_156(args);	break;
        case 157: x_KCalendarSystem::x_157(args);	break;
        case 158: x_KCalendarSystem::x_158(args);	break;
        case 159: x_KCalendarSystem::x_159(args);	break;
        case 160: x_KCalendarSystem::x_160(args);	break;
        case 161: x_KCalendarSystem::x_161(args);	break;
        case 162: x_KCalendarSystem::x_162(args);	break;
        case 163: delete (KCalendarSystem*)xself;	break;
    }
}
class x_KCharMacroExpander : public KCharMacroExpander, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KCharMacroExpander* KCharMacroExpander(QChar)
        x_KCharMacroExpander* xret = new x_KCharMacroExpander(*(QChar*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCharMacroExpander(QChar x1) : KCharMacroExpander(x1) {}
    void x_2(Smoke::Stack x) {
        // virtual int expandPlainMacro(const QString&, int, QStringList&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCharMacroExpander*>(this))) {
            int xret = this->KCharMacroExpander::expandPlainMacro(*(const QString*)x[1].s_class,(int)x[2].s_int,*(QStringList*)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->expandPlainMacro(*(const QString*)x[1].s_class,(int)x[2].s_int,*(QStringList*)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    void x_3(Smoke::Stack x) {
        // virtual int expandEscapedMacro(const QString&, int, QStringList&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KCharMacroExpander*>(this))) {
            int xret = this->KCharMacroExpander::expandEscapedMacro(*(const QString*)x[1].s_class,(int)x[2].s_int,*(QStringList*)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->expandEscapedMacro(*(const QString*)x[1].s_class,(int)x[2].s_int,*(QStringList*)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    void x_4(Smoke::Stack x) {
        // virtual bool expandMacro(QChar, QStringList&) = 0
        bool xret = this->expandMacro(*(QChar*)x[1].s_class,*(QStringList*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_5(Smoke::Stack x) {
        // KCharMacroExpander* KCharMacroExpander(const KCharMacroExpander&)
        x_KCharMacroExpander* xret = new x_KCharMacroExpander(*(const KCharMacroExpander*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCharMacroExpander(const KCharMacroExpander& x1) : KCharMacroExpander(x1) {}
    static void x_6(Smoke::Stack x) {
        // KCharMacroExpander* KCharMacroExpander()
        x_KCharMacroExpander* xret = new x_KCharMacroExpander((QChar)QLatin1Char('%'));
        x[0].s_class = (void*)xret;
    }
    virtual int expandPlainMacro(const QString& x1, int x2, QStringList& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(441, (void*)this, x)) return (int)x[0].s_int;
        return this->KCharMacroExpander::expandPlainMacro(x1, x2, x3);
    }
    virtual int expandEscapedMacro(const QString& x1, int x2, QStringList& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(442, (void*)this, x)) return (int)x[0].s_int;
        return this->KCharMacroExpander::expandEscapedMacro(x1, x2, x3);
    }
    virtual bool expandMacro(QChar x1, QStringList& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)new QChar(x1);
        x[2].s_class = (void*)&x2;
        this->_binding->callMethod(443, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    ~x_KCharMacroExpander() { this->_binding->deleted(13, (void*)this); }
};
void xcall_KCharMacroExpander(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCharMacroExpander *xself = (x_KCharMacroExpander*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KCharMacroExpander::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: x_KCharMacroExpander::x_5(args);	break;
        case 6: x_KCharMacroExpander::x_6(args);	break;
        case 7: delete (KCharMacroExpander*)xself;	break;
    }
}
class x_KCharsets : public KCharsets, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KCharsets* KCharsets()
        x_KCharsets* xret = new x_KCharsets();
        x[0].s_class = (void*)xret;
    }
    explicit x_KCharsets() : KCharsets() {}
    void x_2(Smoke::Stack x) {
        // QTextCodec* codecForName(const QString&) const
        QTextCodec* xret = ((const x_KCharsets*)this)->KCharsets::codecForName(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_3(Smoke::Stack x) {
        // QTextCodec* codecForName(const QString&, bool&) const
        QTextCodec* xret = ((const x_KCharsets*)this)->KCharsets::codecForName(*(const QString*)x[1].s_class,*(bool*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static QChar fromEntity(const QString&)
        QChar xret = KCharsets::fromEntity(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QChar(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QChar fromEntity(const QString&, int&)
        QChar xret = KCharsets::fromEntity(*(const QString*)x[1].s_class,*(int*)x[2].s_class);
        x[0].s_class = (void*)new QChar(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString toEntity(const QChar&)
        QString xret = KCharsets::toEntity(*(const QChar*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_7(Smoke::Stack x) {
        // static QString resolveEntities(const QString&)
        QString xret = KCharsets::resolveEntities(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // QStringList availableEncodingNames() const
        QStringList xret = ((const x_KCharsets*)this)->KCharsets::availableEncodingNames();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_9(Smoke::Stack x) {
        // QStringList descriptiveEncodingNames() const
        QStringList xret = ((const x_KCharsets*)this)->KCharsets::descriptiveEncodingNames();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_10(Smoke::Stack x) {
        // QList<QStringList> encodingsByScript() const
        QList<QStringList> xret = ((const x_KCharsets*)this)->KCharsets::encodingsByScript();
        x[0].s_class = (void*)new QList<QStringList>(xret);
    }
    void x_11(Smoke::Stack x) {
        // QString languageForEncoding(const QString&) const
        QString xret = ((const x_KCharsets*)this)->KCharsets::languageForEncoding(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // QString descriptionForEncoding(const QString&) const
        QString xret = ((const x_KCharsets*)this)->KCharsets::descriptionForEncoding(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QString encodingForName(const QString&) const
        QString xret = ((const x_KCharsets*)this)->KCharsets::encodingForName(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // KCharsets* KCharsets(const KCharsets&)
        x_KCharsets* xret = new x_KCharsets(*(const KCharsets*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCharsets(const KCharsets& x1) : KCharsets(x1) {}
    ~x_KCharsets() { this->_binding->deleted(14, (void*)this); }
};
void xcall_KCharsets(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCharsets *xself = (x_KCharsets*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KCharsets::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: x_KCharsets::x_4(args);	break;
        case 5: x_KCharsets::x_5(args);	break;
        case 6: x_KCharsets::x_6(args);	break;
        case 7: x_KCharsets::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: x_KCharsets::x_14(args);	break;
        case 15: delete (KCharsets*)xself;	break;
    }
}
class x_KCmdLineArgs : public KCmdLineArgs {
    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 init(int, char**, const QByteArray&, const QByteArray&, const KLocalizedString&, const QByteArray&, const KLocalizedString&, QFlags<KCmdLineArgs::StdCmdLineArg>)
        KCmdLineArgs::init((int)x[1].s_int,(char**)x[2].s_class,*(const QByteArray*)x[3].s_class,*(const QByteArray*)x[4].s_class,*(const KLocalizedString*)x[5].s_class,*(const QByteArray*)x[6].s_class,*(const KLocalizedString*)x[7].s_class,(QFlags<KCmdLineArgs::StdCmdLineArg>)x[8].s_uint);
        (void)x; // noop (for compiler warning)
    }
    static void x_2(Smoke::Stack x) {
        // static void init(int, char**, const KAboutData*, QFlags<KCmdLineArgs::StdCmdLineArg>)
        KCmdLineArgs::init((int)x[1].s_int,(char**)x[2].s_class,(const KAboutData*)x[3].s_class,(QFlags<KCmdLineArgs::StdCmdLineArg>)x[4].s_uint);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // static void init(const KAboutData*)
        KCmdLineArgs::init((const KAboutData*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_4(Smoke::Stack x) {
        // static void addStdCmdLineOptions(QFlags<KCmdLineArgs::StdCmdLineArg>)
        KCmdLineArgs::addStdCmdLineOptions((QFlags<KCmdLineArgs::StdCmdLineArg>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    static void x_5(Smoke::Stack x) {
        // static void addCmdLineOptions(const KCmdLineOptions&, const KLocalizedString&, const QByteArray&, const QByteArray&)
        KCmdLineArgs::addCmdLineOptions(*(const KCmdLineOptions*)x[1].s_class,*(const KLocalizedString*)x[2].s_class,*(const QByteArray*)x[3].s_class,*(const QByteArray*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_6(Smoke::Stack x) {
        // static KCmdLineArgs* parsedArgs(const QByteArray&)
        KCmdLineArgs* xret = KCmdLineArgs::parsedArgs(*(const QByteArray*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_7(Smoke::Stack x) {
        // static QString cwd()
        QString xret = KCmdLineArgs::cwd();
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_8(Smoke::Stack x) {
        // static QString appName()
        QString xret = KCmdLineArgs::appName();
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static void usage(const QByteArray&)
        KCmdLineArgs::usage(*(const QByteArray*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static void usageError(const QString&)
        KCmdLineArgs::usageError(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // static void enable_i18n()
        KCmdLineArgs::enable_i18n();
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QString getOption(const QByteArray&) const
        QString xret = ((const x_KCmdLineArgs*)this)->KCmdLineArgs::getOption(*(const QByteArray*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QStringList getOptionList(const QByteArray&) const
        QStringList xret = ((const x_KCmdLineArgs*)this)->KCmdLineArgs::getOptionList(*(const QByteArray*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_14(Smoke::Stack x) {
        // bool isSet(const QByteArray&) const
        bool xret = ((const x_KCmdLineArgs*)this)->KCmdLineArgs::isSet(*(const QByteArray*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_KCmdLineArgs*)this)->KCmdLineArgs::count();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // QString arg(int) const
        QString xret = ((const x_KCmdLineArgs*)this)->KCmdLineArgs::arg((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // KUrl url(int) const
        KUrl xret = ((const x_KCmdLineArgs*)this)->KCmdLineArgs::url((int)x[1].s_int);
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static KUrl makeURL(const QByteArray&)
        KUrl xret = KCmdLineArgs::makeURL(*(const QByteArray*)x[1].s_class);
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static void setCwd(const QByteArray&)
        KCmdLineArgs::setCwd(*(const QByteArray*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void clear()
        this->KCmdLineArgs::clear();
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // static void reset()
        KCmdLineArgs::reset();
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static void loadAppArgs(QDataStream&)
        KCmdLineArgs::loadAppArgs(*(QDataStream*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static void saveAppArgs(QDataStream&)
        KCmdLineArgs::saveAppArgs(*(QDataStream*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_24(Smoke::Stack x) {
        // static void addTempFileOption()
        KCmdLineArgs::addTempFileOption();
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static bool isTempFileSet()
        bool xret = KCmdLineArgs::isTempFileSet();
        x[0].s_bool = xret;
    }
    static void x_26(Smoke::Stack x) {
        // static int& qtArgc()
        int& xret = KCmdLineArgs::qtArgc();
        x[0].s_class = (void*)&xret;
    }
    static void x_27(Smoke::Stack x) {
        // static char** qtArgv()
        char** xret = KCmdLineArgs::qtArgv();
        x[0].s_class = (void*)xret;
    }
    static void x_28(Smoke::Stack x) {
        // static QStringList allArguments()
        QStringList xret = KCmdLineArgs::allArguments();
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static const KAboutData* aboutData()
        const KAboutData* xret = KCmdLineArgs::aboutData();
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // KCmdLineArgs* KCmdLineArgs(const KCmdLineOptions&, const KLocalizedString&, const QByteArray&)
        x_KCmdLineArgs* xret = new x_KCmdLineArgs(*(const KCmdLineOptions*)x[1].s_class,*(const KLocalizedString*)x[2].s_class,*(const QByteArray*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCmdLineArgs(const KCmdLineOptions& x1, const KLocalizedString& x2, const QByteArray& x3) : KCmdLineArgs(x1, x2, x3) {}
    static void x_31(Smoke::Stack x) {
        // KCmdLineArgs* KCmdLineArgs(const KCmdLineArgs&)
        x_KCmdLineArgs* xret = new x_KCmdLineArgs(*(const KCmdLineArgs*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCmdLineArgs(const KCmdLineArgs& x1) : KCmdLineArgs(x1) {}
    static void x_32(Smoke::Stack x) {
        // static void init(int, char**, const QByteArray&, const QByteArray&, const KLocalizedString&, const QByteArray&)
        KCmdLineArgs::init((int)x[1].s_int,(char**)x[2].s_class,*(const QByteArray*)x[3].s_class,*(const QByteArray*)x[4].s_class,*(const KLocalizedString*)x[5].s_class,*(const QByteArray*)x[6].s_class,(const KLocalizedString&)KLocalizedString(),(QFlags<KCmdLineArgs::StdCmdLineArg>)KCmdLineArgs::StdCmdLineArgs(CmdLineArgQt|CmdLineArgKDE));
        (void)x; // noop (for compiler warning)
    }
    static void x_33(Smoke::Stack x) {
        // static void init(int, char**, const QByteArray&, const QByteArray&, const KLocalizedString&, const QByteArray&, const KLocalizedString&)
        KCmdLineArgs::init((int)x[1].s_int,(char**)x[2].s_class,*(const QByteArray*)x[3].s_class,*(const QByteArray*)x[4].s_class,*(const KLocalizedString*)x[5].s_class,*(const QByteArray*)x[6].s_class,*(const KLocalizedString*)x[7].s_class,(QFlags<KCmdLineArgs::StdCmdLineArg>)KCmdLineArgs::StdCmdLineArgs(CmdLineArgQt|CmdLineArgKDE));
        (void)x; // noop (for compiler warning)
    }
    static void x_34(Smoke::Stack x) {
        // static void init(int, char**, const KAboutData*)
        KCmdLineArgs::init((int)x[1].s_int,(char**)x[2].s_class,(const KAboutData*)x[3].s_class,(QFlags<KCmdLineArgs::StdCmdLineArg>)KCmdLineArgs::StdCmdLineArgs(CmdLineArgQt|CmdLineArgKDE));
        (void)x; // noop (for compiler warning)
    }
    static void x_35(Smoke::Stack x) {
        // static void addStdCmdLineOptions()
        KCmdLineArgs::addStdCmdLineOptions((QFlags<KCmdLineArgs::StdCmdLineArg>)KCmdLineArgs::StdCmdLineArgs(CmdLineArgQt|CmdLineArgKDE));
        (void)x; // noop (for compiler warning)
    }
    static void x_36(Smoke::Stack x) {
        // static void addCmdLineOptions(const KCmdLineOptions&)
        KCmdLineArgs::addCmdLineOptions(*(const KCmdLineOptions*)x[1].s_class,(const KLocalizedString&)KLocalizedString(),(const QByteArray&)QByteArray(),(const QByteArray&)QByteArray());
        (void)x; // noop (for compiler warning)
    }
    static void x_37(Smoke::Stack x) {
        // static void addCmdLineOptions(const KCmdLineOptions&, const KLocalizedString&)
        KCmdLineArgs::addCmdLineOptions(*(const KCmdLineOptions*)x[1].s_class,*(const KLocalizedString*)x[2].s_class,(const QByteArray&)QByteArray(),(const QByteArray&)QByteArray());
        (void)x; // noop (for compiler warning)
    }
    static void x_38(Smoke::Stack x) {
        // static void addCmdLineOptions(const KCmdLineOptions&, const KLocalizedString&, const QByteArray&)
        KCmdLineArgs::addCmdLineOptions(*(const KCmdLineOptions*)x[1].s_class,*(const KLocalizedString*)x[2].s_class,*(const QByteArray*)x[3].s_class,(const QByteArray&)QByteArray());
        (void)x; // noop (for compiler warning)
    }
    static void x_39(Smoke::Stack x) {
        // static KCmdLineArgs* parsedArgs()
        KCmdLineArgs* xret = KCmdLineArgs::parsedArgs((const QByteArray&)QByteArray());
        x[0].s_class = (void*)xret;
    }
    static void x_40(Smoke::Stack x) {
        // static void usage()
        KCmdLineArgs::usage((const QByteArray&)QByteArray());
        (void)x; // noop (for compiler warning)
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KCmdLineArgs::CmdLineArgQt;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KCmdLineArgs::CmdLineArgKDE;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KCmdLineArgs::CmdLineArgsMask;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KCmdLineArgs::CmdLineArgNone;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KCmdLineArgs::Reserved;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 37: //KCmdLineArgs::StdCmdLineArg
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KCmdLineArgs::StdCmdLineArg;
                    break;
                case Smoke::EnumDelete:
                    delete (KCmdLineArgs::StdCmdLineArg*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KCmdLineArgs::StdCmdLineArg*)xdata = (KCmdLineArgs::StdCmdLineArg)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KCmdLineArgs::StdCmdLineArg*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KCmdLineArgs() { this->_binding->deleted(15, (void*)this); }
};
void xenum_KCmdLineArgs(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KCmdLineArgs::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KCmdLineArgs(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCmdLineArgs *xself = (x_KCmdLineArgs*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KCmdLineArgs::x_1(args);	break;
        case 2: x_KCmdLineArgs::x_2(args);	break;
        case 3: x_KCmdLineArgs::x_3(args);	break;
        case 4: x_KCmdLineArgs::x_4(args);	break;
        case 5: x_KCmdLineArgs::x_5(args);	break;
        case 6: x_KCmdLineArgs::x_6(args);	break;
        case 7: x_KCmdLineArgs::x_7(args);	break;
        case 8: x_KCmdLineArgs::x_8(args);	break;
        case 9: x_KCmdLineArgs::x_9(args);	break;
        case 10: x_KCmdLineArgs::x_10(args);	break;
        case 11: x_KCmdLineArgs::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: x_KCmdLineArgs::x_18(args);	break;
        case 19: x_KCmdLineArgs::x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: x_KCmdLineArgs::x_21(args);	break;
        case 22: x_KCmdLineArgs::x_22(args);	break;
        case 23: x_KCmdLineArgs::x_23(args);	break;
        case 24: x_KCmdLineArgs::x_24(args);	break;
        case 25: x_KCmdLineArgs::x_25(args);	break;
        case 26: x_KCmdLineArgs::x_26(args);	break;
        case 27: x_KCmdLineArgs::x_27(args);	break;
        case 28: x_KCmdLineArgs::x_28(args);	break;
        case 29: x_KCmdLineArgs::x_29(args);	break;
        case 30: x_KCmdLineArgs::x_30(args);	break;
        case 31: x_KCmdLineArgs::x_31(args);	break;
        case 32: x_KCmdLineArgs::x_32(args);	break;
        case 33: x_KCmdLineArgs::x_33(args);	break;
        case 34: x_KCmdLineArgs::x_34(args);	break;
        case 35: x_KCmdLineArgs::x_35(args);	break;
        case 36: x_KCmdLineArgs::x_36(args);	break;
        case 37: x_KCmdLineArgs::x_37(args);	break;
        case 38: x_KCmdLineArgs::x_38(args);	break;
        case 39: x_KCmdLineArgs::x_39(args);	break;
        case 40: x_KCmdLineArgs::x_40(args);	break;
        case 41: x_KCmdLineArgs::x_41(args);	break;
        case 42: x_KCmdLineArgs::x_42(args);	break;
        case 43: x_KCmdLineArgs::x_43(args);	break;
        case 44: x_KCmdLineArgs::x_44(args);	break;
        case 45: x_KCmdLineArgs::x_45(args);	break;
    }
}

}
