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

#include <smoke.h>
#include <kio_smoke.h>

class __internal_SmokeClass {};

namespace __smokekio {

class x_KFileMetaInfoItem : public KFileMetaInfoItem {
    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) {
        // KFileMetaInfoItem* KFileMetaInfoItem()
        x_KFileMetaInfoItem* xret = new x_KFileMetaInfoItem();
        x[0].s_class = (void*)xret;
    }
    explicit x_KFileMetaInfoItem() : KFileMetaInfoItem() {}
    static void x_2(Smoke::Stack x) {
        // KFileMetaInfoItem* KFileMetaInfoItem(const KFileMetaInfoItem&)
        x_KFileMetaInfoItem* xret = new x_KFileMetaInfoItem(*(const KFileMetaInfoItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KFileMetaInfoItem(const KFileMetaInfoItem& x1) : KFileMetaInfoItem(x1) {}
    void x_3(Smoke::Stack x) {
        // const KFileMetaInfoItem& operator=(const KFileMetaInfoItem&)
        const KFileMetaInfoItem& xret = this->KFileMetaInfoItem::operator=(*(const KFileMetaInfoItem*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // bool isEditable() const
        bool xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::isEditable();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // bool isRemoved() const
        bool xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::isRemoved();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // bool isModified() const
        bool xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::isModified();
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool isSkipped() const
        bool xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::isSkipped();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // const QVariant& value() const
        const QVariant& xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::value();
        x[0].s_class = (void*)&xret;
    }
    void x_9(Smoke::Stack x) {
        // bool setValue(const QVariant&)
        bool xret = this->KFileMetaInfoItem::setValue(*(const QVariant*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool addValue(const QVariant&)
        bool xret = this->KFileMetaInfoItem::addValue(*(const QVariant*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::isValid();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // const PredicateProperties& properties() const
        const PredicateProperties& xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::properties();
        x[0].s_class = (void*)&xret;
    }
    void x_13(Smoke::Stack x) {
        // const QString& name() const
        const QString& xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::name();
        x[0].s_class = (void*)&xret;
    }
    void x_14(Smoke::Stack x) {
        // QString suffix() const
        QString xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::suffix();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // QString prefix() const
        QString xret = ((const x_KFileMetaInfoItem*)this)->KFileMetaInfoItem::prefix();
        x[0].s_class = (void*)new QString(xret);
    }
    ~x_KFileMetaInfoItem() { this->_binding->deleted(62, (void*)this); }
};
void xcall_KFileMetaInfoItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KFileMetaInfoItem *xself = (x_KFileMetaInfoItem*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KFileMetaInfoItem::x_1(args);	break;
        case 2: x_KFileMetaInfoItem::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: delete (KFileMetaInfoItem*)xself;	break;
    }
}
class x_KFileSharePropsPlugin : public KFileSharePropsPlugin, 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<KFileSharePropsPlugin*>(this))) {
            const QMetaObject* xret = ((const x_KFileSharePropsPlugin*)this)->KFileSharePropsPlugin::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KFileSharePropsPlugin*)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<KFileSharePropsPlugin*>(this))) {
            void* xret = this->KFileSharePropsPlugin::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 = KFileSharePropsPlugin::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 = KFileSharePropsPlugin::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 = KFileSharePropsPlugin::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 = KFileSharePropsPlugin::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<KFileSharePropsPlugin*>(this))) {
            int xret = this->KFileSharePropsPlugin::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) {
        // KFileSharePropsPlugin* KFileSharePropsPlugin(KPropertiesDialog*)
        x_KFileSharePropsPlugin* xret = new x_KFileSharePropsPlugin((KPropertiesDialog*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KFileSharePropsPlugin(KPropertiesDialog* x1) : KFileSharePropsPlugin(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void applyChanges()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KFileSharePropsPlugin*>(this))) {
            this->KFileSharePropsPlugin::applyChanges();
            (void)x; // noop (for compiler warning)
        } else {
            this->applyChanges();
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_10(Smoke::Stack x) {
        // static bool supports(const KFileItemList&)
        bool xret = KFileSharePropsPlugin::supports(*(const KFileItemList*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QWidget* page() const
        QWidget* xret = ((const x_KFileSharePropsPlugin*)this)->KFileSharePropsPlugin::page();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // void slotConfigureFileSharing()
        this->KFileSharePropsPlugin::slotConfigureFileSharing();
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void slotConfigureFileSharingDone()
        this->KFileSharePropsPlugin::slotConfigureFileSharingDone();
        (void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KFileSharePropsPlugin::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KFileSharePropsPlugin::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KFileSharePropsPlugin::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1305, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KFileSharePropsPlugin::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1306, (void*)this, x)) return (void*)x[0].s_class;
        return this->KFileSharePropsPlugin::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(1311, (void*)this, x)) return (int)x[0].s_int;
        return this->KFileSharePropsPlugin::qt_metacall(x1, x2, x3);
    }
    virtual void applyChanges() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1313, (void*)this, x)) return;
        this->KFileSharePropsPlugin::applyChanges();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (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(3859, (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(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KFileSharePropsPlugin() { this->_binding->deleted(63, (void*)this); }
};
void xcall_KFileSharePropsPlugin(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KFileSharePropsPlugin *xself = (x_KFileSharePropsPlugin*)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_KFileSharePropsPlugin::x_3(args);	break;
        case 4: x_KFileSharePropsPlugin::x_4(args);	break;
        case 5: x_KFileSharePropsPlugin::x_5(args);	break;
        case 6: x_KFileSharePropsPlugin::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KFileSharePropsPlugin::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KFileSharePropsPlugin::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_KFileSharePropsPlugin::x_14(args);	break;
        case 15: x_KFileSharePropsPlugin::x_15(args);	break;
        case 16: x_KFileSharePropsPlugin::x_16(args);	break;
        case 17: delete (KFileSharePropsPlugin*)xself;	break;
    }
}
class x_KFileWritePlugin : public KFileWritePlugin, 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<KFileWritePlugin*>(this))) {
            const QMetaObject* xret = ((const x_KFileWritePlugin*)this)->KFileWritePlugin::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KFileWritePlugin*)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<KFileWritePlugin*>(this))) {
            void* xret = this->KFileWritePlugin::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 = KFileWritePlugin::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 = KFileWritePlugin::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 = KFileWritePlugin::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 = KFileWritePlugin::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<KFileWritePlugin*>(this))) {
            int xret = this->KFileWritePlugin::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) {
        // KFileWritePlugin* KFileWritePlugin(QObject*, const QStringList&)
        x_KFileWritePlugin* xret = new x_KFileWritePlugin((QObject*)x[1].s_class,*(const QStringList*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KFileWritePlugin(QObject* x1, const QStringList& x2) : KFileWritePlugin(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // virtual bool canWrite(const KUrl&, const QString&) = 0
        bool xret = this->canWrite(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // virtual bool write(const KUrl&, const QMap<QString,QVariant>&) = 0
        bool xret = this->write(*(const KUrl*)x[1].s_class,*(const QMap<QString,QVariant>*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_11(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KFileWritePlugin::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KFileWritePlugin::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KFileWritePlugin::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1322, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KFileWritePlugin::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1323, (void*)this, x)) return (void*)x[0].s_class;
        return this->KFileWritePlugin::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(1328, (void*)this, x)) return (int)x[0].s_int;
        return this->KFileWritePlugin::qt_metacall(x1, x2, x3);
    }
    virtual bool canWrite(const KUrl& x1, const QString& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        this->_binding->callMethod(1330, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool write(const KUrl& x1, const QMap<QString,QVariant>& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        this->_binding->callMethod(1331, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (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(3859, (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(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KFileWritePlugin() { this->_binding->deleted(64, (void*)this); }
};
void xcall_KFileWritePlugin(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KFileWritePlugin *xself = (x_KFileWritePlugin*)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_KFileWritePlugin::x_3(args);	break;
        case 4: x_KFileWritePlugin::x_4(args);	break;
        case 5: x_KFileWritePlugin::x_5(args);	break;
        case 6: x_KFileWritePlugin::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KFileWritePlugin::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: x_KFileWritePlugin::x_11(args);	break;
        case 12: x_KFileWritePlugin::x_12(args);	break;
        case 13: x_KFileWritePlugin::x_13(args);	break;
        case 14: delete (KFileWritePlugin*)xself;	break;
    }
}
class x_KIO__AccessManager : public KIO::AccessManager, 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<KIO::AccessManager*>(this))) {
            const QMetaObject* xret = ((const x_KIO__AccessManager*)this)->KIO::AccessManager::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__AccessManager*)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<KIO::AccessManager*>(this))) {
            void* xret = this->KIO::AccessManager::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 = KIO::AccessManager::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 = KIO::AccessManager::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 = KIO::AccessManager::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 = KIO::AccessManager::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<KIO::AccessManager*>(this))) {
            int xret = this->KIO::AccessManager::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) {
        // KIO::AccessManager* AccessManager(QObject*)
        x_KIO__AccessManager* xret = new x_KIO__AccessManager((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__AccessManager(QObject* x1) : AccessManager(x1) {}
    void x_9(Smoke::Stack x) {
        // void setExternalContentAllowed(bool)
        this->KIO::AccessManager::setExternalContentAllowed((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // bool isExternalContentAllowed() const
        bool xret = ((const x_KIO__AccessManager*)this)->KIO::AccessManager::isExternalContentAllowed();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setCookieJarWindowId(unsigned long)
        this->KIO::AccessManager::setCookieJarWindowId((unsigned long)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setWindow(QWidget*)
        this->KIO::AccessManager::setWindow((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // unsigned long cookieJarWindowid() const
        unsigned long xret = ((const x_KIO__AccessManager*)this)->KIO::AccessManager::cookieJarWindowid();
        x[0].s_ulong = xret;
    }
    void x_14(Smoke::Stack x) {
        // QWidget* window() const
        QWidget* xret = ((const x_KIO__AccessManager*)this)->KIO::AccessManager::window();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // KIO::MetaData& requestMetaData()
        KIO::MetaData& xret = this->KIO::AccessManager::requestMetaData();
        x[0].s_class = (void*)&xret;
    }
    void x_16(Smoke::Stack x) {
        // KIO::MetaData& sessionMetaData()
        KIO::MetaData& xret = this->KIO::AccessManager::sessionMetaData();
        x[0].s_class = (void*)&xret;
    }
    static void x_17(Smoke::Stack x) {
        // static void putReplyOnHold(QNetworkReply*)
        KIO::AccessManager::putReplyOnHold((QNetworkReply*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void setEmitReadyReadOnMetaDataChange(bool)
        this->KIO::AccessManager::setEmitReadyReadOnMetaDataChange((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // virtual QNetworkReply* createRequest(QNetworkAccessManager::Operation, const QNetworkRequest&, QIODevice*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::AccessManager*>(this))) {
            QNetworkReply* xret = this->KIO::AccessManager::createRequest((QNetworkAccessManager::Operation)x[1].s_enum,*(const QNetworkRequest*)x[2].s_class,(QIODevice*)x[3].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QNetworkReply* xret = this->createRequest((QNetworkAccessManager::Operation)x[1].s_enum,*(const QNetworkRequest*)x[2].s_class,(QIODevice*)x[3].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::AccessManager::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::AccessManager::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // QNetworkReply* createRequest(QNetworkAccessManager::Operation, const QNetworkRequest&)
        QNetworkReply* xret = this->KIO::AccessManager::createRequest((QNetworkAccessManager::Operation)x[1].s_enum,*(const QNetworkRequest*)x[2].s_class,(QIODevice*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::AccessManager::staticMetaObject;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::AccessManager::MetaData;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::AccessManager::KioError;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1669, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::AccessManager::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1670, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::AccessManager::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(1675, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::AccessManager::qt_metacall(x1, x2, x3);
    }
    virtual QNetworkReply* createRequest(QNetworkAccessManager::Operation x1, const QNetworkRequest& x2, QIODevice* x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(1687, (void*)this, x)) return (QNetworkReply*)x[0].s_class;
        return this->KIO::AccessManager::createRequest(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (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(3859, (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(3860, (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(3861, (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(3862, (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(3863, (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(3864, (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 98: //KIO::AccessManager::Attribute
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KIO::AccessManager::Attribute;
                    break;
                case Smoke::EnumDelete:
                    delete (KIO::AccessManager::Attribute*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KIO::AccessManager::Attribute*)xdata = (KIO::AccessManager::Attribute)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KIO::AccessManager::Attribute*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KIO__AccessManager() { this->_binding->deleted(67, (void*)this); }
};
void xenum_KIO__AccessManager(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KIO__AccessManager::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KIO__AccessManager(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__AccessManager *xself = (x_KIO__AccessManager*)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_KIO__AccessManager::x_3(args);	break;
        case 4: x_KIO__AccessManager::x_4(args);	break;
        case 5: x_KIO__AccessManager::x_5(args);	break;
        case 6: x_KIO__AccessManager::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KIO__AccessManager::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: x_KIO__AccessManager::x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: x_KIO__AccessManager::x_20(args);	break;
        case 21: x_KIO__AccessManager::x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: x_KIO__AccessManager::x_23(args);	break;
        case 24: x_KIO__AccessManager::x_24(args);	break;
        case 25: x_KIO__AccessManager::x_25(args);	break;
        case 26: delete (KIO::AccessManager*)xself;	break;
    }
}
class x_KIO__AuthInfo : public KIO::AuthInfo {
    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) {
        // KIO::AuthInfo* AuthInfo()
        x_KIO__AuthInfo* xret = new x_KIO__AuthInfo();
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__AuthInfo() : AuthInfo() {}
    static void x_2(Smoke::Stack x) {
        // KIO::AuthInfo* AuthInfo(const KIO::AuthInfo&)
        x_KIO__AuthInfo* xret = new x_KIO__AuthInfo(*(const KIO::AuthInfo*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__AuthInfo(const KIO::AuthInfo& x1) : AuthInfo(x1) {}
    void x_3(Smoke::Stack x) {
        // KIO::AuthInfo& operator=(const KIO::AuthInfo&)
        KIO::AuthInfo& xret = this->KIO::AuthInfo::operator=(*(const KIO::AuthInfo*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // bool isModified() const
        bool xret = ((const x_KIO__AuthInfo*)this)->KIO::AuthInfo::isModified();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // void setModified(bool)
        this->KIO::AuthInfo::setModified((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // void setExtraField(const QString&, const QVariant&)
        this->KIO::AuthInfo::setExtraField(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // void setExtraFieldFlags(const QString&, const KIO::AuthInfo::FieldFlags)
        this->KIO::AuthInfo::setExtraFieldFlags(*(const QString*)x[1].s_class,(const KIO::AuthInfo::FieldFlags)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // QVariant getExtraField(const QString&) const
        QVariant xret = ((const x_KIO__AuthInfo*)this)->KIO::AuthInfo::getExtraField(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_9(Smoke::Stack x) {
        // KIO::AuthInfo::FieldFlags getExtraFieldFlags(const QString&) const
        KIO::AuthInfo::FieldFlags xret = ((const x_KIO__AuthInfo*)this)->KIO::AuthInfo::getExtraFieldFlags(*(const QString*)x[1].s_class);
        x[0].s_enum = xret;
    }
    static void x_10(Smoke::Stack x) {
        // static void registerMetaTypes()
        KIO::AuthInfo::registerMetaTypes();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // KUrl url
        x[0].s_class = (void*)&this->KIO::AuthInfo::url;
    }
    void x_12(Smoke::Stack x) {
        // KUrl url=
        this->KIO::AuthInfo::url = *(const KUrl*)x[1].s_class;
    }
    void x_13(Smoke::Stack x) {
        // QString username
        x[0].s_class = (void*)&this->KIO::AuthInfo::username;
    }
    void x_14(Smoke::Stack x) {
        // QString username=
        this->KIO::AuthInfo::username = *(const QString*)x[1].s_class;
    }
    void x_15(Smoke::Stack x) {
        // QString password
        x[0].s_class = (void*)&this->KIO::AuthInfo::password;
    }
    void x_16(Smoke::Stack x) {
        // QString password=
        this->KIO::AuthInfo::password = *(const QString*)x[1].s_class;
    }
    void x_17(Smoke::Stack x) {
        // QString prompt
        x[0].s_class = (void*)&this->KIO::AuthInfo::prompt;
    }
    void x_18(Smoke::Stack x) {
        // QString prompt=
        this->KIO::AuthInfo::prompt = *(const QString*)x[1].s_class;
    }
    void x_19(Smoke::Stack x) {
        // QString caption
        x[0].s_class = (void*)&this->KIO::AuthInfo::caption;
    }
    void x_20(Smoke::Stack x) {
        // QString caption=
        this->KIO::AuthInfo::caption = *(const QString*)x[1].s_class;
    }
    void x_21(Smoke::Stack x) {
        // QString comment
        x[0].s_class = (void*)&this->KIO::AuthInfo::comment;
    }
    void x_22(Smoke::Stack x) {
        // QString comment=
        this->KIO::AuthInfo::comment = *(const QString*)x[1].s_class;
    }
    void x_23(Smoke::Stack x) {
        // QString commentLabel
        x[0].s_class = (void*)&this->KIO::AuthInfo::commentLabel;
    }
    void x_24(Smoke::Stack x) {
        // QString commentLabel=
        this->KIO::AuthInfo::commentLabel = *(const QString*)x[1].s_class;
    }
    void x_25(Smoke::Stack x) {
        // QString realmValue
        x[0].s_class = (void*)&this->KIO::AuthInfo::realmValue;
    }
    void x_26(Smoke::Stack x) {
        // QString realmValue=
        this->KIO::AuthInfo::realmValue = *(const QString*)x[1].s_class;
    }
    void x_27(Smoke::Stack x) {
        // QString digestInfo
        x[0].s_class = (void*)&this->KIO::AuthInfo::digestInfo;
    }
    void x_28(Smoke::Stack x) {
        // QString digestInfo=
        this->KIO::AuthInfo::digestInfo = *(const QString*)x[1].s_class;
    }
    void x_29(Smoke::Stack x) {
        // bool verifyPath
        x[0].s_bool = this->KIO::AuthInfo::verifyPath;
    }
    void x_30(Smoke::Stack x) {
        // bool verifyPath=
        this->KIO::AuthInfo::verifyPath = (bool)x[1].s_bool;
    }
    void x_31(Smoke::Stack x) {
        // bool readOnly
        x[0].s_bool = this->KIO::AuthInfo::readOnly;
    }
    void x_32(Smoke::Stack x) {
        // bool readOnly=
        this->KIO::AuthInfo::readOnly = (bool)x[1].s_bool;
    }
    void x_33(Smoke::Stack x) {
        // bool keepPassword
        x[0].s_bool = this->KIO::AuthInfo::keepPassword;
    }
    void x_34(Smoke::Stack x) {
        // bool keepPassword=
        this->KIO::AuthInfo::keepPassword = (bool)x[1].s_bool;
    }
    void x_35(Smoke::Stack x) {
        // bool modified
        x[0].s_bool = this->KIO::AuthInfo::modified;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::AuthInfo::ExtraFieldNoFlags;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::AuthInfo::ExtraFieldReadOnly;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)KIO::AuthInfo::ExtraFieldMandatory;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 101: //KIO::AuthInfo::FieldFlags
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KIO::AuthInfo::FieldFlags;
                    break;
                case Smoke::EnumDelete:
                    delete (KIO::AuthInfo::FieldFlags*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KIO::AuthInfo::FieldFlags*)xdata = (KIO::AuthInfo::FieldFlags)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KIO::AuthInfo::FieldFlags*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KIO__AuthInfo() { this->_binding->deleted(68, (void*)this); }
};
void xenum_KIO__AuthInfo(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KIO__AuthInfo::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KIO__AuthInfo(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__AuthInfo *xself = (x_KIO__AuthInfo*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KIO__AuthInfo::x_1(args);	break;
        case 2: x_KIO__AuthInfo::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KIO__AuthInfo::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: x_KIO__AuthInfo::x_36(args);	break;
        case 37: x_KIO__AuthInfo::x_37(args);	break;
        case 38: x_KIO__AuthInfo::x_38(args);	break;
        case 39: delete (KIO::AuthInfo*)xself;	break;
    }
}
class x_KIO__ChmodJob : public KIO::ChmodJob, 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<KIO::ChmodJob*>(this))) {
            const QMetaObject* xret = ((const x_KIO__ChmodJob*)this)->KIO::ChmodJob::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KIO__ChmodJob*)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<KIO::ChmodJob*>(this))) {
            void* xret = this->KIO::ChmodJob::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 = KIO::ChmodJob::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 = KIO::ChmodJob::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 = KIO::ChmodJob::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 = KIO::ChmodJob::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<KIO::ChmodJob*>(this))) {
            int xret = this->KIO::ChmodJob::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;
        }
    }
    void x_8(Smoke::Stack x) {
        // virtual void slotResult(KJob*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KIO::ChmodJob*>(this))) {
            this->KIO::ChmodJob::slotResult((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotResult((KJob*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_9(Smoke::Stack x) {
        // KIO::ChmodJob* ChmodJob(KIO::ChmodJobPrivate&)
        x_KIO__ChmodJob* xret = new x_KIO__ChmodJob(*(KIO::ChmodJobPrivate*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KIO__ChmodJob(KIO::ChmodJobPrivate& x1) : ChmodJob(x1) {}
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KIO::ChmodJob::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KIO::ChmodJob::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KIO::ChmodJob::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1734, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KIO::ChmodJob::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1735, (void*)this, x)) return (void*)x[0].s_class;
        return this->KIO::ChmodJob::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(1740, (void*)this, x)) return (int)x[0].s_int;
        return this->KIO::ChmodJob::qt_metacall(x1, x2, x3);
    }
    virtual void slotResult(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1741, (void*)this, x)) return;
        this->KIO::ChmodJob::slotResult(x1);
    }
    virtual bool doKill() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2047, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doKill();
    }
    virtual bool doSuspend() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2048, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doSuspend();
    }
    virtual bool doResume() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2049, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::doResume();
    }
    virtual bool addSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2065, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::addSubjob(x1);
    }
    virtual bool removeSubjob(KJob* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2066, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KIO::Job::removeSubjob(x1);
    }
    virtual void slotInfoMessage(KJob* x1, const QString& x2, const QString& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(557, (void*)this, x)) return;
        this->KCompositeJob::slotInfoMessage(x1, x2, x3);
    }
    virtual void start() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2045, (void*)this, x)) return;
        this->KIO::Job::start();
    }
    virtual QString errorString() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2050, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KIO::Job::errorString();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (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(3859, (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(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KIO__ChmodJob() { this->_binding->deleted(69, (void*)this); }
};
void xcall_KIO__ChmodJob(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KIO__ChmodJob *xself = (x_KIO__ChmodJob*)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_KIO__ChmodJob::x_3(args);	break;
        case 4: x_KIO__ChmodJob::x_4(args);	break;
        case 5: x_KIO__ChmodJob::x_5(args);	break;
        case 6: x_KIO__ChmodJob::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: x_KIO__ChmodJob::x_9(args);	break;
        case 10: x_KIO__ChmodJob::x_10(args);	break;
        case 11: x_KIO__ChmodJob::x_11(args);	break;
        case 12: x_KIO__ChmodJob::x_12(args);	break;
        case 13: delete (KIO::ChmodJob*)xself;	break;
    }
}

}
