//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_KArchiveEntry : public KArchiveEntry, 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) {
        // KArchiveEntry* KArchiveEntry(KArchive*, const QString&, int, int, const QString&, const QString&, const QString&)
        x_KArchiveEntry* xret = new x_KArchiveEntry((KArchive*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,*(const QString*)x[7].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KArchiveEntry(KArchive* x1, const QString& x2, int x3, int x4, const QString& x5, const QString& x6, const QString& x7) : KArchiveEntry(x1, x2, x3, x4, x5, x6, x7) {}
    void x_2(Smoke::Stack x) {
        // QDateTime datetime() const
        QDateTime xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::datetime();
        x[0].s_class = (void*)new QDateTime(xret);
    }
    void x_3(Smoke::Stack x) {
        // int date() const
        int xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::date();
        x[0].s_int = xret;
    }
    void x_4(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_5(Smoke::Stack x) {
        // mode_t permissions() const
        mode_t xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::permissions();
        x[0].s_class = (void*)new mode_t(xret);
    }
    void x_6(Smoke::Stack x) {
        // QString user() const
        QString xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::user();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // QString group() const
        QString xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::group();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // QString symLinkTarget() const
        QString xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::symLinkTarget();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // virtual bool isFile() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KArchiveEntry*>(this))) {
            bool xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::isFile();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KArchiveEntry*)this)->isFile();
            x[0].s_bool = xret;
        }
    }
    void x_10(Smoke::Stack x) {
        // virtual bool isDirectory() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KArchiveEntry*>(this))) {
            bool xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::isDirectory();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KArchiveEntry*)this)->isDirectory();
            x[0].s_bool = xret;
        }
    }
    void x_11(Smoke::Stack x) {
        // KArchive* archive() const
        KArchive* xret = ((const x_KArchiveEntry*)this)->KArchiveEntry::archive();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // virtual void virtual_hook(int, void*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KArchiveEntry*>(this))) {
            this->KArchiveEntry::virtual_hook((int)x[1].s_int,(void*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->virtual_hook((int)x[1].s_int,(void*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_13(Smoke::Stack x) {
        // KArchiveEntry* KArchiveEntry(const KArchiveEntry&)
        x_KArchiveEntry* xret = new x_KArchiveEntry(*(const KArchiveEntry*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KArchiveEntry(const KArchiveEntry& x1) : KArchiveEntry(x1) {}
    virtual bool isFile() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(173, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchiveEntry::isFile();
    }
    virtual bool isDirectory() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(174, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchiveEntry::isDirectory();
    }
    virtual void virtual_hook(int x1, void* x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(176, (void*)this, x)) return;
        this->KArchiveEntry::virtual_hook(x1, x2);
    }
    ~x_KArchiveEntry() { this->_binding->deleted(11, (void*)this); }
};
void xcall_KArchiveEntry(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KArchiveEntry *xself = (x_KArchiveEntry*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KArchiveEntry::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: 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: x_KArchiveEntry::x_13(args);	break;
        case 14: delete (KArchiveEntry*)xself;	break;
    }
}
class x_KArchiveFile : public KArchiveFile, 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) {
        // KArchiveFile* KArchiveFile(KArchive*, const QString&, int, int, const QString&, const QString&, const QString&, long long, long long)
        x_KArchiveFile* xret = new x_KArchiveFile((KArchive*)x[1].s_class,*(const QString*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,*(const QString*)x[5].s_class,*(const QString*)x[6].s_class,*(const QString*)x[7].s_class,*(long long*)x[8].s_class,*(long long*)x[9].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KArchiveFile(KArchive* x1, const QString& x2, int x3, int x4, const QString& x5, const QString& x6, const QString& x7, long long x8, long long x9) : KArchiveFile(x1, x2, x3, x4, x5, x6, x7, x8, x9) {}
    void x_2(Smoke::Stack x) {
        // long long position() const
        long long xret = ((const x_KArchiveFile*)this)->KArchiveFile::position();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_3(Smoke::Stack x) {
        // long long size() const
        long long xret = ((const x_KArchiveFile*)this)->KArchiveFile::size();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_4(Smoke::Stack x) {
        // void setSize(long long)
        this->KArchiveFile::setSize(*(long long*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // virtual QByteArray data() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KArchiveFile*>(this))) {
            QByteArray xret = ((const x_KArchiveFile*)this)->KArchiveFile::data();
            x[0].s_class = (void*)new QByteArray(xret);
        } else {
            QByteArray xret = ((const x_KArchiveFile*)this)->data();
            x[0].s_class = (void*)new QByteArray(xret);
        }
    }
    void x_6(Smoke::Stack x) {
        // virtual QIODevice* createDevice() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KArchiveFile*>(this))) {
            QIODevice* xret = ((const x_KArchiveFile*)this)->KArchiveFile::createDevice();
            x[0].s_class = (void*)xret;
        } else {
            QIODevice* xret = ((const x_KArchiveFile*)this)->createDevice();
            x[0].s_class = (void*)xret;
        }
    }
    void x_7(Smoke::Stack x) {
        // virtual bool isFile() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KArchiveFile*>(this))) {
            bool xret = ((const x_KArchiveFile*)this)->KArchiveFile::isFile();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KArchiveFile*)this)->isFile();
            x[0].s_bool = xret;
        }
    }
    void x_8(Smoke::Stack x) {
        // void copyTo(const QString&) const
        ((const x_KArchiveFile*)this)->KArchiveFile::copyTo(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // virtual void virtual_hook(int, void*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KArchiveFile*>(this))) {
            this->KArchiveFile::virtual_hook((int)x[1].s_int,(void*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->virtual_hook((int)x[1].s_int,(void*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_10(Smoke::Stack x) {
        // KArchiveFile* KArchiveFile(const KArchiveFile&)
        x_KArchiveFile* xret = new x_KArchiveFile(*(const KArchiveFile*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KArchiveFile(const KArchiveFile& x1) : KArchiveFile(x1) {}
    virtual QByteArray data() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(183, (void*)this, x)) {
            QByteArray* xptr = (QByteArray*)x[0].s_class;
            QByteArray xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KArchiveFile::data();
    }
    virtual QIODevice* createDevice() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(184, (void*)this, x)) return (QIODevice*)x[0].s_class;
        return this->KArchiveFile::createDevice();
    }
    virtual bool isFile() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(185, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchiveFile::isFile();
    }
    virtual void virtual_hook(int x1, void* x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(187, (void*)this, x)) return;
        this->KArchiveFile::virtual_hook(x1, x2);
    }
    virtual bool isDirectory() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(174, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KArchiveEntry::isDirectory();
    }
    ~x_KArchiveFile() { this->_binding->deleted(12, (void*)this); }
};
void xcall_KArchiveFile(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KArchiveFile *xself = (x_KArchiveFile*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KArchiveFile::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: 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_KArchiveFile::x_10(args);	break;
        case 11: delete (KArchiveFile*)xself;	break;
    }
}
class x_KBookmark : public KBookmark {
    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) {
        // KBookmark* KBookmark()
        x_KBookmark* xret = new x_KBookmark();
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmark() : KBookmark() {}
    static void x_2(Smoke::Stack x) {
        // KBookmark* KBookmark(const QDomElement&)
        x_KBookmark* xret = new x_KBookmark(*(const QDomElement*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmark(const QDomElement& x1) : KBookmark(x1) {}
    static void x_3(Smoke::Stack x) {
        // static KBookmark standaloneBookmark(const QString&, const KUrl&, const QString&)
        KBookmark xret = KBookmark::standaloneBookmark(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_4(Smoke::Stack x) {
        // bool isGroup() const
        bool xret = ((const x_KBookmark*)this)->KBookmark::isGroup();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // bool isSeparator() const
        bool xret = ((const x_KBookmark*)this)->KBookmark::isSeparator();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_KBookmark*)this)->KBookmark::isNull();
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool hasParent() const
        bool xret = ((const x_KBookmark*)this)->KBookmark::hasParent();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_KBookmark*)this)->KBookmark::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // QString fullText() const
        QString xret = ((const x_KBookmark*)this)->KBookmark::fullText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_10(Smoke::Stack x) {
        // void setFullText(const QString&)
        this->KBookmark::setFullText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // KUrl url() const
        KUrl xret = ((const x_KBookmark*)this)->KBookmark::url();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setUrl(const KUrl&)
        this->KBookmark::setUrl(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QString icon() const
        QString xret = ((const x_KBookmark*)this)->KBookmark::icon();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setIcon(const QString&)
        this->KBookmark::setIcon(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QString description() const
        QString xret = ((const x_KBookmark*)this)->KBookmark::description();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setDescription(const QString&)
        this->KBookmark::setDescription(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QString mimeType() const
        QString xret = ((const x_KBookmark*)this)->KBookmark::mimeType();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setMimeType(const QString&)
        this->KBookmark::setMimeType(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // bool showInToolbar() const
        bool xret = ((const x_KBookmark*)this)->KBookmark::showInToolbar();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setShowInToolbar(bool)
        this->KBookmark::setShowInToolbar((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // KBookmarkGroup parentGroup() const
        KBookmarkGroup xret = ((const x_KBookmark*)this)->KBookmark::parentGroup();
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_22(Smoke::Stack x) {
        // KBookmarkGroup toGroup() const
        KBookmarkGroup xret = ((const x_KBookmark*)this)->KBookmark::toGroup();
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_23(Smoke::Stack x) {
        // QString address() const
        QString xret = ((const x_KBookmark*)this)->KBookmark::address();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_24(Smoke::Stack x) {
        // int positionInParent() const
        int xret = ((const x_KBookmark*)this)->KBookmark::positionInParent();
        x[0].s_int = xret;
    }
    void x_25(Smoke::Stack x) {
        // QDomElement internalElement() const
        QDomElement xret = ((const x_KBookmark*)this)->KBookmark::internalElement();
        x[0].s_class = (void*)new QDomElement(xret);
    }
    void x_26(Smoke::Stack x) {
        // void updateAccessMetadata()
        this->KBookmark::updateAccessMetadata();
        (void)x; // noop (for compiler warning)
    }
    static void x_27(Smoke::Stack x) {
        // static QString parentAddress(const QString&)
        QString xret = KBookmark::parentAddress(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_28(Smoke::Stack x) {
        // static unsigned int positionInParent(const QString&)
        unsigned int xret = KBookmark::positionInParent(*(const QString*)x[1].s_class);
        x[0].s_uint = xret;
    }
    static void x_29(Smoke::Stack x) {
        // static QString previousAddress(const QString&)
        QString xret = KBookmark::previousAddress(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QString nextAddress(const QString&)
        QString xret = KBookmark::nextAddress(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static QString commonParent(const QString&, const QString&)
        QString xret = KBookmark::commonParent(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_32(Smoke::Stack x) {
        // QDomNode metaData(const QString&, bool) const
        QDomNode xret = ((const x_KBookmark*)this)->KBookmark::metaData(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)new QDomNode(xret);
    }
    void x_33(Smoke::Stack x) {
        // QString metaDataItem(const QString&) const
        QString xret = ((const x_KBookmark*)this)->KBookmark::metaDataItem(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_34(Smoke::Stack x) {
        // void setMetaDataItem(const QString&, const QString&, KBookmark::MetaDataOverwriteMode)
        this->KBookmark::setMetaDataItem(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(KBookmark::MetaDataOverwriteMode)x[3].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void populateMimeData(QMimeData*) const
        ((const x_KBookmark*)this)->KBookmark::populateMimeData((QMimeData*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool operator==(const KBookmark&) const
        bool xret = ((const x_KBookmark*)this)->KBookmark::operator==(*(const KBookmark*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_37(Smoke::Stack x) {
        // KBookmark* KBookmark(const KBookmark&)
        x_KBookmark* xret = new x_KBookmark(*(const KBookmark*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmark(const KBookmark& x1) : KBookmark(x1) {}
    static void x_38(Smoke::Stack x) {
        // static KBookmark standaloneBookmark(const QString&, const KUrl&)
        KBookmark xret = KBookmark::standaloneBookmark(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_39(Smoke::Stack x) {
        // void setMetaDataItem(const QString&, const QString&)
        this->KBookmark::setMetaDataItem(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(KBookmark::MetaDataOverwriteMode)KBookmark::OverwriteMetaData);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // QDomElement element
        x[0].s_class = (void*)&this->KBookmark::element;
    }
    void x_41(Smoke::Stack x) {
        // QDomElement element=
        this->KBookmark::element = *(const QDomElement*)x[1].s_class;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmark::OverwriteMetaData;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmark::DontOverwriteMetaData;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 19: //KBookmark::MetaDataOverwriteMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KBookmark::MetaDataOverwriteMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KBookmark::MetaDataOverwriteMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KBookmark::MetaDataOverwriteMode*)xdata = (KBookmark::MetaDataOverwriteMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KBookmark::MetaDataOverwriteMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KBookmark() { this->_binding->deleted(13, (void*)this); }
};
void xenum_KBookmark(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KBookmark::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KBookmark(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmark *xself = (x_KBookmark*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KBookmark::x_1(args);	break;
        case 2: x_KBookmark::x_2(args);	break;
        case 3: x_KBookmark::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: x_KBookmark::x_27(args);	break;
        case 28: x_KBookmark::x_28(args);	break;
        case 29: x_KBookmark::x_29(args);	break;
        case 30: x_KBookmark::x_30(args);	break;
        case 31: x_KBookmark::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: x_KBookmark::x_37(args);	break;
        case 38: x_KBookmark::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: x_KBookmark::x_42(args);	break;
        case 43: x_KBookmark::x_43(args);	break;
        case 44: delete (KBookmark*)xself;	break;
    }
}
class x_KBookmarkAction : public KBookmarkAction, 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<KBookmarkAction*>(this))) {
            const QMetaObject* xret = ((const x_KBookmarkAction*)this)->KBookmarkAction::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KBookmarkAction*)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<KBookmarkAction*>(this))) {
            void* xret = this->KBookmarkAction::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 = KBookmarkAction::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 = KBookmarkAction::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 = KBookmarkAction::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 = KBookmarkAction::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<KBookmarkAction*>(this))) {
            int xret = this->KBookmarkAction::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) {
        // KBookmarkAction* KBookmarkAction(const KBookmark&, KBookmarkOwner*, QObject*)
        x_KBookmarkAction* xret = new x_KBookmarkAction(*(const KBookmark*)x[1].s_class,(KBookmarkOwner*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkAction(const KBookmark& x1, KBookmarkOwner* x2, QObject* x3) : KBookmarkAction(x1, x2, x3) {}
    void x_9(Smoke::Stack x) {
        // void slotSelected(Qt::MouseButtons, Qt::KeyboardModifiers)
        this->KBookmarkAction::slotSelected((Qt::MouseButtons)x[1].s_uint,(Qt::KeyboardModifiers)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KBookmarkAction::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 = KBookmarkAction::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*)&KBookmarkAction::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(234, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KBookmarkAction::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(235, (void*)this, x)) return (void*)x[0].s_class;
        return this->KBookmarkAction::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(240, (void*)this, x)) return (int)x[0].s_int;
        return this->KBookmarkAction::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(90, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KAction::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(3915, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidgetAction::eventFilter(x1, x2);
    }
    virtual QWidget* createWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3916, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->QWidgetAction::createWidget(x1);
    }
    virtual void deleteWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3917, (void*)this, x)) return;
        this->QWidgetAction::deleteWidget(x1);
    }
    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_KBookmarkAction() { this->_binding->deleted(14, (void*)this); }
};
void xcall_KBookmarkAction(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkAction *xself = (x_KBookmarkAction*)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_KBookmarkAction::x_3(args);	break;
        case 4: x_KBookmarkAction::x_4(args);	break;
        case 5: x_KBookmarkAction::x_5(args);	break;
        case 6: x_KBookmarkAction::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KBookmarkAction::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KBookmarkAction::x_10(args);	break;
        case 11: x_KBookmarkAction::x_11(args);	break;
        case 12: x_KBookmarkAction::x_12(args);	break;
        case 13: delete (KBookmarkAction*)xself;	break;
    }
}
class x_KBookmarkActionInterface : public KBookmarkActionInterface, 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) {
        // KBookmarkActionInterface* KBookmarkActionInterface(const KBookmark&)
        x_KBookmarkActionInterface* xret = new x_KBookmarkActionInterface(*(const KBookmark*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkActionInterface(const KBookmark& x1) : KBookmarkActionInterface(x1) {}
    void x_2(Smoke::Stack x) {
        // const KBookmark bookmark() const
        const KBookmark xret = ((const x_KBookmarkActionInterface*)this)->KBookmarkActionInterface::bookmark();
        x[0].s_class = (void*)new const KBookmark(xret);
    }
    static void x_3(Smoke::Stack x) {
        // KBookmarkActionInterface* KBookmarkActionInterface(const KBookmarkActionInterface&)
        x_KBookmarkActionInterface* xret = new x_KBookmarkActionInterface(*(const KBookmarkActionInterface*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkActionInterface(const KBookmarkActionInterface& x1) : KBookmarkActionInterface(x1) {}
    ~x_KBookmarkActionInterface() { this->_binding->deleted(15, (void*)this); }
};
void xcall_KBookmarkActionInterface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkActionInterface *xself = (x_KBookmarkActionInterface*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KBookmarkActionInterface::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KBookmarkActionInterface::x_3(args);	break;
        case 4: delete (KBookmarkActionInterface*)xself;	break;
    }
}
class x_KBookmarkActionMenu : public KBookmarkActionMenu, 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) {
        // KBookmarkActionMenu* KBookmarkActionMenu(const KBookmark&, QObject*)
        x_KBookmarkActionMenu* xret = new x_KBookmarkActionMenu(*(const KBookmark*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkActionMenu(const KBookmark& x1, QObject* x2) : KBookmarkActionMenu(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // KBookmarkActionMenu* KBookmarkActionMenu(const KBookmark&, const QString&, QObject*)
        x_KBookmarkActionMenu* xret = new x_KBookmarkActionMenu(*(const KBookmark*)x[1].s_class,*(const QString*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkActionMenu(const KBookmark& x1, const QString& x2, QObject* x3) : KBookmarkActionMenu(x1, x2, x3) {}
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(91, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KActionMenu::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(92, (void*)this, x)) return (void*)x[0].s_class;
        return this->KActionMenu::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(93, (void*)this, x)) return (int)x[0].s_int;
        return this->KActionMenu::qt_metacall(x1, x2, x3);
    }
    virtual QWidget* createWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(94, (void*)this, x)) return (QWidget*)x[0].s_class;
        return this->KActionMenu::createWidget(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(90, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KAction::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(3915, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidgetAction::eventFilter(x1, x2);
    }
    virtual void deleteWidget(QWidget* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3917, (void*)this, x)) return;
        this->QWidgetAction::deleteWidget(x1);
    }
    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_KBookmarkActionMenu() { this->_binding->deleted(16, (void*)this); }
};
void xcall_KBookmarkActionMenu(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkActionMenu *xself = (x_KBookmarkActionMenu*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KBookmarkActionMenu::x_1(args);	break;
        case 2: x_KBookmarkActionMenu::x_2(args);	break;
        case 3: delete (KBookmarkActionMenu*)xself;	break;
    }
}

}
