//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_KBookmarkImporterBase : public KBookmarkImporterBase, 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<KBookmarkImporterBase*>(this))) {
            const QMetaObject* xret = ((const x_KBookmarkImporterBase*)this)->KBookmarkImporterBase::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KBookmarkImporterBase*)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<KBookmarkImporterBase*>(this))) {
            void* xret = this->KBookmarkImporterBase::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 = KBookmarkImporterBase::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 = KBookmarkImporterBase::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 = KBookmarkImporterBase::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 = KBookmarkImporterBase::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<KBookmarkImporterBase*>(this))) {
            int xret = this->KBookmarkImporterBase::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) {
        // KBookmarkImporterBase* KBookmarkImporterBase()
        x_KBookmarkImporterBase* xret = new x_KBookmarkImporterBase();
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkImporterBase() : KBookmarkImporterBase() {}
    void x_9(Smoke::Stack x) {
        // void setFilename(const QString&)
        this->KBookmarkImporterBase::setFilename(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // virtual void parse() = 0
        this->parse();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // virtual QString findDefaultLocation(bool) const = 0
        QString xret = ((const x_KBookmarkImporterBase*)this)->findDefaultLocation((bool)x[1].s_bool);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setupSignalForwards(QObject*, QObject*)
        this->KBookmarkImporterBase::setupSignalForwards((QObject*)x[1].s_class,(QObject*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_13(Smoke::Stack x) {
        // static KBookmarkImporterBase* factory(const QString&)
        KBookmarkImporterBase* xret = KBookmarkImporterBase::factory(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // void newBookmark(const QString&, const QString&, const QString&)
        this->KBookmarkImporterBase::newBookmark(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void newFolder(const QString&, bool, const QString&)
        this->KBookmarkImporterBase::newFolder(*(const QString*)x[1].s_class,(bool)x[2].s_bool,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void newSeparator()
        this->KBookmarkImporterBase::newSeparator();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void endFolder()
        this->KBookmarkImporterBase::endFolder();
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KBookmarkImporterBase::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KBookmarkImporterBase::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // QString findDefaultLocation() const
        QString xret = ((const x_KBookmarkImporterBase*)this)->findDefaultLocation((bool)false);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KBookmarkImporterBase::staticMetaObject;
    }
    void x_22(Smoke::Stack x) {
        // QString m_fileName
        x[0].s_class = (void*)&this->KBookmarkImporterBase::m_fileName;
    }
    void x_23(Smoke::Stack x) {
        // QString m_fileName=
        this->KBookmarkImporterBase::m_fileName = *(const QString*)x[1].s_class;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(397, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KBookmarkImporterBase::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(398, (void*)this, x)) return (void*)x[0].s_class;
        return this->KBookmarkImporterBase::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(403, (void*)this, x)) return (int)x[0].s_int;
        return this->KBookmarkImporterBase::qt_metacall(x1, x2, x3);
    }
    virtual void parse() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(406, (void*)this, x, true /*pure virtual*/);
    }
    virtual QString findDefaultLocation(bool x1) const {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        this->_binding->callMethod(407, (void*)this, x, true /*pure virtual*/);
        QString* xptr = (QString*)x[0].s_class;
        QString xret(*xptr);
        delete xptr;
        return xret;
    }
    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_KBookmarkImporterBase() { this->_binding->deleted(23, (void*)this); }
};
void xcall_KBookmarkImporterBase(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkImporterBase *xself = (x_KBookmarkImporterBase*)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_KBookmarkImporterBase::x_3(args);	break;
        case 4: x_KBookmarkImporterBase::x_4(args);	break;
        case 5: x_KBookmarkImporterBase::x_5(args);	break;
        case 6: x_KBookmarkImporterBase::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KBookmarkImporterBase::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_KBookmarkImporterBase::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_KBookmarkImporterBase::x_18(args);	break;
        case 19: x_KBookmarkImporterBase::x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: x_KBookmarkImporterBase::x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: delete (KBookmarkImporterBase*)xself;	break;
    }
}
class x_KBookmarkManager : public KBookmarkManager, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->KBookmarkManager::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 = KBookmarkManager::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 = KBookmarkManager::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 = KBookmarkManager::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 = KBookmarkManager::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**)
        int xret = this->KBookmarkManager::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) {
        // bool autoErrorHandlingEnabled() const
        bool xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::autoErrorHandlingEnabled();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setAutoErrorHandlingEnabled(bool, QWidget*)
        this->KBookmarkManager::setAutoErrorHandlingEnabled((bool)x[1].s_bool,(QWidget*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void setUpdate(bool)
        this->KBookmarkManager::setUpdate((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool saveAs(const QString&, bool) const
        bool xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::saveAs(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool updateAccessMetadata(const QString&)
        bool xret = this->KBookmarkManager::updateAccessMetadata(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void updateFavicon(const QString&, const QString&)
        this->KBookmarkManager::updateFavicon(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QString path() const
        QString xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::path();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_15(Smoke::Stack x) {
        // KBookmarkGroup root() const
        KBookmarkGroup xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::root();
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_16(Smoke::Stack x) {
        // KBookmarkGroup toolbar()
        KBookmarkGroup xret = this->KBookmarkManager::toolbar();
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_17(Smoke::Stack x) {
        // KBookmark findByAddress(const QString&)
        KBookmark xret = this->KBookmarkManager::findByAddress(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_18(Smoke::Stack x) {
        // void emitChanged()
        this->KBookmarkManager::emitChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void emitChanged(const KBookmarkGroup&)
        this->KBookmarkManager::emitChanged(*(const KBookmarkGroup*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool save(bool) const
        bool xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::save((bool)x[1].s_bool);
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void emitConfigChanged()
        this->KBookmarkManager::emitConfigChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setEditorOptions(const QString&, bool)
        this->KBookmarkManager::setEditorOptions(*(const QString*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static KBookmarkManager* managerForFile(const QString&, const QString&)
        KBookmarkManager* xret = KBookmarkManager::managerForFile(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static KBookmarkManager* managerForExternalFile(const QString&)
        KBookmarkManager* xret = KBookmarkManager::managerForExternalFile(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_25(Smoke::Stack x) {
        // static KBookmarkManager* createTempManager()
        KBookmarkManager* xret = KBookmarkManager::createTempManager();
        x[0].s_class = (void*)xret;
    }
    static void x_26(Smoke::Stack x) {
        // static KBookmarkManager* userBookmarksManager()
        KBookmarkManager* xret = KBookmarkManager::userBookmarksManager();
        x[0].s_class = (void*)xret;
    }
    void x_27(Smoke::Stack x) {
        // QDomDocument internalDocument() const
        QDomDocument xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::internalDocument();
        x[0].s_class = (void*)new QDomDocument(xret);
    }
    void x_28(Smoke::Stack x) {
        // void slotEditBookmarks()
        this->KBookmarkManager::slotEditBookmarks();
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void slotEditBookmarksAtAddress(const QString&)
        this->KBookmarkManager::slotEditBookmarksAtAddress(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void notifyCompleteChange(const QString&)
        this->KBookmarkManager::notifyCompleteChange(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void notifyChanged(const QString&, const QDBusMessage&)
        this->KBookmarkManager::notifyChanged(*(const QString*)x[1].s_class,*(const QDBusMessage*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void notifyConfigChanged()
        this->KBookmarkManager::notifyConfigChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void bookmarkCompleteChange(QString)
        this->KBookmarkManager::bookmarkCompleteChange(*(QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void bookmarksChanged(QString)
        this->KBookmarkManager::bookmarksChanged(*(QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void bookmarkConfigChanged()
        this->KBookmarkManager::bookmarkConfigChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void changed(const QString&, const QString&)
        this->KBookmarkManager::changed(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // void configChanged()
        this->KBookmarkManager::configChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void error(const QString&)
        this->KBookmarkManager::error(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_39(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KBookmarkManager::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KBookmarkManager::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_41(Smoke::Stack x) {
        // bool saveAs(const QString&) const
        bool xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::saveAs(*(const QString*)x[1].s_class,(bool)true);
        x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
        // bool save() const
        bool xret = ((const x_KBookmarkManager*)this)->KBookmarkManager::save((bool)true);
        x[0].s_bool = xret;
    }
    static void x_43(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KBookmarkManager::staticMetaObject;
    }
};
void xcall_KBookmarkManager(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkManager *xself = (x_KBookmarkManager*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KBookmarkManager::x_3(args);	break;
        case 4: x_KBookmarkManager::x_4(args);	break;
        case 5: x_KBookmarkManager::x_5(args);	break;
        case 6: x_KBookmarkManager::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: x_KBookmarkManager::x_23(args);	break;
        case 24: x_KBookmarkManager::x_24(args);	break;
        case 25: x_KBookmarkManager::x_25(args);	break;
        case 26: x_KBookmarkManager::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: x_KBookmarkManager::x_39(args);	break;
        case 40: x_KBookmarkManager::x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: x_KBookmarkManager::x_43(args);	break;
        case 44: delete (KBookmarkManager*)xself;	break;
    }
}
class x_KBookmarkMenu : public KBookmarkMenu, 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<KBookmarkMenu*>(this))) {
            const QMetaObject* xret = ((const x_KBookmarkMenu*)this)->KBookmarkMenu::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KBookmarkMenu*)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<KBookmarkMenu*>(this))) {
            void* xret = this->KBookmarkMenu::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 = KBookmarkMenu::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 = KBookmarkMenu::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 = KBookmarkMenu::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 = KBookmarkMenu::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<KBookmarkMenu*>(this))) {
            int xret = this->KBookmarkMenu::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) {
        // KBookmarkMenu* KBookmarkMenu(KBookmarkManager*, KBookmarkOwner*, KMenu*, KActionCollection*)
        x_KBookmarkMenu* xret = new x_KBookmarkMenu((KBookmarkManager*)x[1].s_class,(KBookmarkOwner*)x[2].s_class,(KMenu*)x[3].s_class,(KActionCollection*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkMenu(KBookmarkManager* x1, KBookmarkOwner* x2, KMenu* x3, KActionCollection* x4) : KBookmarkMenu(x1, x2, x3, x4) {}
    static void x_9(Smoke::Stack x) {
        // KBookmarkMenu* KBookmarkMenu(KBookmarkManager*, KBookmarkOwner*, KMenu*, const QString&)
        x_KBookmarkMenu* xret = new x_KBookmarkMenu((KBookmarkManager*)x[1].s_class,(KBookmarkOwner*)x[2].s_class,(KMenu*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkMenu(KBookmarkManager* x1, KBookmarkOwner* x2, KMenu* x3, const QString& x4) : KBookmarkMenu(x1, x2, x3, x4) {}
    void x_10(Smoke::Stack x) {
        // void ensureUpToDate()
        this->KBookmarkMenu::ensureUpToDate();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void slotBookmarksChanged(const QString&)
        this->KBookmarkMenu::slotBookmarksChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void slotAboutToShow()
        this->KBookmarkMenu::slotAboutToShow();
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void slotAddBookmarksList()
        this->KBookmarkMenu::slotAddBookmarksList();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void slotAddBookmark()
        this->KBookmarkMenu::slotAddBookmark();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void slotNewFolder()
        this->KBookmarkMenu::slotNewFolder();
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void slotOpenFolderInTabs()
        this->KBookmarkMenu::slotOpenFolderInTabs();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // virtual void clear()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkMenu*>(this))) {
            this->KBookmarkMenu::clear();
            (void)x; // noop (for compiler warning)
        } else {
            this->clear();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_18(Smoke::Stack x) {
        // virtual void refill()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkMenu*>(this))) {
            this->KBookmarkMenu::refill();
            (void)x; // noop (for compiler warning)
        } else {
            this->refill();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // virtual QAction* actionForBookmark(const KBookmark&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkMenu*>(this))) {
            QAction* xret = this->KBookmarkMenu::actionForBookmark(*(const KBookmark*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QAction* xret = this->actionForBookmark(*(const KBookmark*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual KMenu* contextMenu(QAction*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkMenu*>(this))) {
            KMenu* xret = this->KBookmarkMenu::contextMenu((QAction*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            KMenu* xret = this->contextMenu((QAction*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_21(Smoke::Stack x) {
        // void addActions()
        this->KBookmarkMenu::addActions();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void fillBookmarks()
        this->KBookmarkMenu::fillBookmarks();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void addAddBookmark()
        this->KBookmarkMenu::addAddBookmark();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void addAddBookmarksList()
        this->KBookmarkMenu::addAddBookmarksList();
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void addEditBookmarks()
        this->KBookmarkMenu::addEditBookmarks();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void addNewFolder()
        this->KBookmarkMenu::addNewFolder();
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void addOpenInTabs()
        this->KBookmarkMenu::addOpenInTabs();
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool isRoot() const
        bool xret = ((const x_KBookmarkMenu*)this)->KBookmarkMenu::isRoot();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // bool isDirty() const
        bool xret = ((const x_KBookmarkMenu*)this)->KBookmarkMenu::isDirty();
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // QString parentAddress() const
        QString xret = ((const x_KBookmarkMenu*)this)->KBookmarkMenu::parentAddress();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_31(Smoke::Stack x) {
        // KBookmarkManager* manager() const
        KBookmarkManager* xret = ((const x_KBookmarkMenu*)this)->KBookmarkMenu::manager();
        x[0].s_class = (void*)xret;
    }
    void x_32(Smoke::Stack x) {
        // KBookmarkOwner* owner() const
        KBookmarkOwner* xret = ((const x_KBookmarkMenu*)this)->KBookmarkMenu::owner();
        x[0].s_class = (void*)xret;
    }
    void x_33(Smoke::Stack x) {
        // KMenu* parentMenu() const
        KMenu* xret = ((const x_KBookmarkMenu*)this)->KBookmarkMenu::parentMenu();
        x[0].s_class = (void*)xret;
    }
    static void x_34(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KBookmarkMenu::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_35(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KBookmarkMenu::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KBookmarkMenu::staticMetaObject;
    }
    void x_37(Smoke::Stack x) {
        // QList<KBookmarkMenu*> m_lstSubMenus
        x[0].s_class = (void*)&this->KBookmarkMenu::m_lstSubMenus;
    }
    void x_38(Smoke::Stack x) {
        // QList<KBookmarkMenu*> m_lstSubMenus=
        this->KBookmarkMenu::m_lstSubMenus = *(const QList<KBookmarkMenu*>*)x[1].s_class;
    }
    void x_39(Smoke::Stack x) {
        // KActionCollection* m_actionCollection
        x[0].s_class = (void*)this->KBookmarkMenu::m_actionCollection;
    }
    void x_40(Smoke::Stack x) {
        // KActionCollection* m_actionCollection=
        this->KBookmarkMenu::m_actionCollection = (KActionCollection*)x[1].s_class;
    }
    void x_41(Smoke::Stack x) {
        // QList<QAction*> m_actions
        x[0].s_class = (void*)&this->KBookmarkMenu::m_actions;
    }
    void x_42(Smoke::Stack x) {
        // QList<QAction*> m_actions=
        this->KBookmarkMenu::m_actions = *(const QList<QAction*>*)x[1].s_class;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(465, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KBookmarkMenu::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(466, (void*)this, x)) return (void*)x[0].s_class;
        return this->KBookmarkMenu::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(471, (void*)this, x)) return (int)x[0].s_int;
        return this->KBookmarkMenu::qt_metacall(x1, x2, x3);
    }
    virtual void clear() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(481, (void*)this, x)) return;
        this->KBookmarkMenu::clear();
    }
    virtual void refill() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(482, (void*)this, x)) return;
        this->KBookmarkMenu::refill();
    }
    virtual QAction* actionForBookmark(const KBookmark& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(483, (void*)this, x)) return (QAction*)x[0].s_class;
        return this->KBookmarkMenu::actionForBookmark(x1);
    }
    virtual KMenu* contextMenu(QAction* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(484, (void*)this, x)) return (KMenu*)x[0].s_class;
        return this->KBookmarkMenu::contextMenu(x1);
    }
    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_KBookmarkMenu() { this->_binding->deleted(25, (void*)this); }
};
void xcall_KBookmarkMenu(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkMenu *xself = (x_KBookmarkMenu*)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_KBookmarkMenu::x_3(args);	break;
        case 4: x_KBookmarkMenu::x_4(args);	break;
        case 5: x_KBookmarkMenu::x_5(args);	break;
        case 6: x_KBookmarkMenu::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KBookmarkMenu::x_8(args);	break;
        case 9: x_KBookmarkMenu::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: 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: x_KBookmarkMenu::x_34(args);	break;
        case 35: x_KBookmarkMenu::x_35(args);	break;
        case 36: x_KBookmarkMenu::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: delete (KBookmarkMenu*)xself;	break;
    }
}
class x_KBookmarkOwner : public KBookmarkOwner, 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 QString currentTitle() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkOwner*>(this))) {
            QString xret = ((const x_KBookmarkOwner*)this)->KBookmarkOwner::currentTitle();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KBookmarkOwner*)this)->currentTitle();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual QString currentUrl() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkOwner*>(this))) {
            QString xret = ((const x_KBookmarkOwner*)this)->KBookmarkOwner::currentUrl();
            x[0].s_class = (void*)new QString(xret);
        } else {
            QString xret = ((const x_KBookmarkOwner*)this)->currentUrl();
            x[0].s_class = (void*)new QString(xret);
        }
    }
    void x_3(Smoke::Stack x) {
        // virtual bool supportsTabs() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkOwner*>(this))) {
            bool xret = ((const x_KBookmarkOwner*)this)->KBookmarkOwner::supportsTabs();
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KBookmarkOwner*)this)->supportsTabs();
            x[0].s_bool = xret;
        }
    }
    void x_4(Smoke::Stack x) {
        // virtual QList<QPair<QString,QString> > currentBookmarkList() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkOwner*>(this))) {
            QList<QPair<QString,QString> > xret = ((const x_KBookmarkOwner*)this)->KBookmarkOwner::currentBookmarkList();
            x[0].s_class = (void*)new QList<QPair<QString,QString> >(xret);
        } else {
            QList<QPair<QString,QString> > xret = ((const x_KBookmarkOwner*)this)->currentBookmarkList();
            x[0].s_class = (void*)new QList<QPair<QString,QString> >(xret);
        }
    }
    void x_5(Smoke::Stack x) {
        // virtual bool enableOption(KBookmarkOwner::BookmarkOption) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkOwner*>(this))) {
            bool xret = ((const x_KBookmarkOwner*)this)->KBookmarkOwner::enableOption((KBookmarkOwner::BookmarkOption)x[1].s_enum);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KBookmarkOwner*)this)->enableOption((KBookmarkOwner::BookmarkOption)x[1].s_enum);
            x[0].s_bool = xret;
        }
    }
    void x_6(Smoke::Stack x) {
        // virtual void openBookmark(const KBookmark&, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) = 0
        this->openBookmark(*(const KBookmark*)x[1].s_class,(QFlags<Qt::MouseButton>)x[2].s_uint,(QFlags<Qt::KeyboardModifier>)x[3].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // virtual void openFolderinTabs(const KBookmarkGroup&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkOwner*>(this))) {
            this->KBookmarkOwner::openFolderinTabs(*(const KBookmarkGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->openFolderinTabs(*(const KBookmarkGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_8(Smoke::Stack x) {
        // virtual KBookmarkDialog* bookmarkDialog(KBookmarkManager*, QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkOwner*>(this))) {
            KBookmarkDialog* xret = this->KBookmarkOwner::bookmarkDialog((KBookmarkManager*)x[1].s_class,(QWidget*)x[2].s_class);
            x[0].s_class = (void*)xret;
        } else {
            KBookmarkDialog* xret = this->bookmarkDialog((KBookmarkManager*)x[1].s_class,(QWidget*)x[2].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_9(Smoke::Stack x) {
        // KBookmarkOwner* KBookmarkOwner()
        x_KBookmarkOwner* xret = new x_KBookmarkOwner();
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkOwner() : KBookmarkOwner() {}
    static void x_10(Smoke::Stack x) {
        // KBookmarkOwner* KBookmarkOwner(const KBookmarkOwner&)
        x_KBookmarkOwner* xret = new x_KBookmarkOwner(*(const KBookmarkOwner*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkOwner(const KBookmarkOwner& x1) : KBookmarkOwner(x1) {}
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmarkOwner::ShowAddBookmark;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmarkOwner::ShowEditBookmark;
    }
    virtual QString currentTitle() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(508, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KBookmarkOwner::currentTitle();
    }
    virtual QString currentUrl() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(509, (void*)this, x)) {
            QString* xptr = (QString*)x[0].s_class;
            QString xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KBookmarkOwner::currentUrl();
    }
    virtual bool supportsTabs() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(510, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KBookmarkOwner::supportsTabs();
    }
    virtual QList<QPair<QString,QString> > currentBookmarkList() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(511, (void*)this, x)) {
            QList<QPair<QString,QString> >* xptr = (QList<QPair<QString,QString> >*)x[0].s_class;
            QList<QPair<QString,QString> > xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KBookmarkOwner::currentBookmarkList();
    }
    virtual bool enableOption(KBookmarkOwner::BookmarkOption x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(512, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KBookmarkOwner::enableOption(x1);
    }
    virtual void openBookmark(const KBookmark& x1, QFlags<Qt::MouseButton> x2, QFlags<Qt::KeyboardModifier> x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_uint = (uint)x2;
        x[3].s_uint = (uint)x3;
        this->_binding->callMethod(513, (void*)this, x, true /*pure virtual*/);
    }
    virtual void openFolderinTabs(const KBookmarkGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(514, (void*)this, x)) return;
        this->KBookmarkOwner::openFolderinTabs(x1);
    }
    virtual KBookmarkDialog* bookmarkDialog(KBookmarkManager* x1, QWidget* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(515, (void*)this, x)) return (KBookmarkDialog*)x[0].s_class;
        return this->KBookmarkOwner::bookmarkDialog(x1, x2);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 35: //KBookmarkOwner::BookmarkOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KBookmarkOwner::BookmarkOption;
                    break;
                case Smoke::EnumDelete:
                    delete (KBookmarkOwner::BookmarkOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KBookmarkOwner::BookmarkOption*)xdata = (KBookmarkOwner::BookmarkOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KBookmarkOwner::BookmarkOption*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KBookmarkOwner() { this->_binding->deleted(26, (void*)this); }
};
void xenum_KBookmarkOwner(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KBookmarkOwner::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KBookmarkOwner(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkOwner *xself = (x_KBookmarkOwner*)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: 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: x_KBookmarkOwner::x_9(args);	break;
        case 10: x_KBookmarkOwner::x_10(args);	break;
        case 11: x_KBookmarkOwner::x_11(args);	break;
        case 12: x_KBookmarkOwner::x_12(args);	break;
        case 13: delete (KBookmarkOwner*)xself;	break;
    }
}
class x_KBuildSycocaProgressDialog : public KBuildSycocaProgressDialog {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_KBuildSycocaProgressDialog*)this)->KBuildSycocaProgressDialog::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->KBuildSycocaProgressDialog::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 = KBuildSycocaProgressDialog::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 = KBuildSycocaProgressDialog::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 = KBuildSycocaProgressDialog::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 = KBuildSycocaProgressDialog::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**)
        int xret = this->KBuildSycocaProgressDialog::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
        x[0].s_int = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static void rebuildKSycoca(QWidget*)
        KBuildSycocaProgressDialog::rebuildKSycoca((QWidget*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_9(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KBuildSycocaProgressDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KBuildSycocaProgressDialog::trUtf8((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 const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KBuildSycocaProgressDialog::staticMetaObject;
    }
};
void xcall_KBuildSycocaProgressDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBuildSycocaProgressDialog *xself = (x_KBuildSycocaProgressDialog*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KBuildSycocaProgressDialog::x_3(args);	break;
        case 4: x_KBuildSycocaProgressDialog::x_4(args);	break;
        case 5: x_KBuildSycocaProgressDialog::x_5(args);	break;
        case 6: x_KBuildSycocaProgressDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KBuildSycocaProgressDialog::x_8(args);	break;
        case 9: x_KBuildSycocaProgressDialog::x_9(args);	break;
        case 10: x_KBuildSycocaProgressDialog::x_10(args);	break;
        case 11: x_KBuildSycocaProgressDialog::x_11(args);	break;
    }
}
class x_KCrashBookmarkImporter : public KCrashBookmarkImporter, 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<KCrashBookmarkImporter*>(this))) {
            const QMetaObject* xret = ((const x_KCrashBookmarkImporter*)this)->KCrashBookmarkImporter::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KCrashBookmarkImporter*)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<KCrashBookmarkImporter*>(this))) {
            void* xret = this->KCrashBookmarkImporter::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 = KCrashBookmarkImporter::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 = KCrashBookmarkImporter::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 = KCrashBookmarkImporter::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 = KCrashBookmarkImporter::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<KCrashBookmarkImporter*>(this))) {
            int xret = this->KCrashBookmarkImporter::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) {
        // KCrashBookmarkImporter* KCrashBookmarkImporter(const QString&)
        x_KCrashBookmarkImporter* xret = new x_KCrashBookmarkImporter(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KCrashBookmarkImporter(const QString& x1) : KCrashBookmarkImporter(x1) {}
    void x_9(Smoke::Stack x) {
        // void parseCrashBookmarks(bool)
        this->KCrashBookmarkImporter::parseCrashBookmarks((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static QString crashBookmarksDir()
        QString xret = KCrashBookmarkImporter::crashBookmarksDir();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void newBookmark(const QString&, const QString&, const QString&)
        this->KCrashBookmarkImporter::newBookmark(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void newFolder(const QString&, bool, const QString&)
        this->KCrashBookmarkImporter::newFolder(*(const QString*)x[1].s_class,(bool)x[2].s_bool,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void newSeparator()
        this->KCrashBookmarkImporter::newSeparator();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void endFolder()
        this->KCrashBookmarkImporter::endFolder();
        (void)x; // noop (for compiler warning)
    }
    static void x_15(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KCrashBookmarkImporter::tr((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 QString trUtf8(const char*)
        QString xret = KCrashBookmarkImporter::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // void parseCrashBookmarks()
        this->KCrashBookmarkImporter::parseCrashBookmarks((bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KCrashBookmarkImporter::staticMetaObject;
    }
    void x_19(Smoke::Stack x) {
        // QString m_fileName
        x[0].s_class = (void*)&this->KCrashBookmarkImporter::m_fileName;
    }
    void x_20(Smoke::Stack x) {
        // QString m_fileName=
        this->KCrashBookmarkImporter::m_fileName = *(const QString*)x[1].s_class;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(558, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KCrashBookmarkImporter::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(559, (void*)this, x)) return (void*)x[0].s_class;
        return this->KCrashBookmarkImporter::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(564, (void*)this, x)) return (int)x[0].s_int;
        return this->KCrashBookmarkImporter::qt_metacall(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);
    }
    ~x_KCrashBookmarkImporter() { this->_binding->deleted(36, (void*)this); }
};
void xcall_KCrashBookmarkImporter(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KCrashBookmarkImporter *xself = (x_KCrashBookmarkImporter*)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_KCrashBookmarkImporter::x_3(args);	break;
        case 4: x_KCrashBookmarkImporter::x_4(args);	break;
        case 5: x_KCrashBookmarkImporter::x_5(args);	break;
        case 6: x_KCrashBookmarkImporter::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KCrashBookmarkImporter::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KCrashBookmarkImporter::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_KCrashBookmarkImporter::x_15(args);	break;
        case 16: x_KCrashBookmarkImporter::x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: x_KCrashBookmarkImporter::x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: delete (KCrashBookmarkImporter*)xself;	break;
    }
}

}
