//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_KBookmarkContextMenu : public KBookmarkContextMenu, 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<KBookmarkContextMenu*>(this))) {
            const QMetaObject* xret = ((const x_KBookmarkContextMenu*)this)->KBookmarkContextMenu::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KBookmarkContextMenu*)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<KBookmarkContextMenu*>(this))) {
            void* xret = this->KBookmarkContextMenu::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 = KBookmarkContextMenu::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 = KBookmarkContextMenu::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 = KBookmarkContextMenu::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 = KBookmarkContextMenu::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<KBookmarkContextMenu*>(this))) {
            int xret = this->KBookmarkContextMenu::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) {
        // KBookmarkContextMenu* KBookmarkContextMenu(const KBookmark&, KBookmarkManager*, KBookmarkOwner*, QWidget*)
        x_KBookmarkContextMenu* xret = new x_KBookmarkContextMenu(*(const KBookmark*)x[1].s_class,(KBookmarkManager*)x[2].s_class,(KBookmarkOwner*)x[3].s_class,(QWidget*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkContextMenu(const KBookmark& x1, KBookmarkManager* x2, KBookmarkOwner* x3, QWidget* x4) : KBookmarkContextMenu(x1, x2, x3, x4) {}
    void x_9(Smoke::Stack x) {
        // virtual void addActions()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkContextMenu*>(this))) {
            this->KBookmarkContextMenu::addActions();
            (void)x; // noop (for compiler warning)
        } else {
            this->addActions();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_10(Smoke::Stack x) {
        // void slotEditAt()
        this->KBookmarkContextMenu::slotEditAt();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void slotProperties()
        this->KBookmarkContextMenu::slotProperties();
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void slotInsert()
        this->KBookmarkContextMenu::slotInsert();
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void slotRemove()
        this->KBookmarkContextMenu::slotRemove();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void slotCopyLocation()
        this->KBookmarkContextMenu::slotCopyLocation();
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void slotOpenFolderInTabs()
        this->KBookmarkContextMenu::slotOpenFolderInTabs();
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void addBookmark()
        this->KBookmarkContextMenu::addBookmark();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void addFolderActions()
        this->KBookmarkContextMenu::addFolderActions();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void addProperties()
        this->KBookmarkContextMenu::addProperties();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void addBookmarkActions()
        this->KBookmarkContextMenu::addBookmarkActions();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void addOpenFolderInTabs()
        this->KBookmarkContextMenu::addOpenFolderInTabs();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // KBookmarkManager* manager() const
        KBookmarkManager* xret = ((const x_KBookmarkContextMenu*)this)->KBookmarkContextMenu::manager();
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // KBookmarkOwner* owner() const
        KBookmarkOwner* xret = ((const x_KBookmarkContextMenu*)this)->KBookmarkContextMenu::owner();
        x[0].s_class = (void*)xret;
    }
    void x_23(Smoke::Stack x) {
        // KBookmark bookmark() const
        KBookmark xret = ((const x_KBookmarkContextMenu*)this)->KBookmarkContextMenu::bookmark();
        x[0].s_class = (void*)new KBookmark(xret);
    }
    static void x_24(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KBookmarkContextMenu::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KBookmarkContextMenu::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_26(Smoke::Stack x) {
        // KBookmarkContextMenu* KBookmarkContextMenu(const KBookmark&, KBookmarkManager*, KBookmarkOwner*)
        x_KBookmarkContextMenu* xret = new x_KBookmarkContextMenu(*(const KBookmark*)x[1].s_class,(KBookmarkManager*)x[2].s_class,(KBookmarkOwner*)x[3].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KBookmarkContextMenu::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(254, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KBookmarkContextMenu::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(255, (void*)this, x)) return (void*)x[0].s_class;
        return this->KBookmarkContextMenu::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(260, (void*)this, x)) return (int)x[0].s_int;
        return this->KBookmarkContextMenu::qt_metacall(x1, x2, x3);
    }
    virtual void addActions() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(262, (void*)this, x)) return;
        this->KBookmarkContextMenu::addActions();
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2934, (void*)this, x)) return;
        this->KMenu::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2935, (void*)this, x)) return;
        this->KMenu::keyPressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2936, (void*)this, x)) return;
        this->KMenu::mouseReleaseEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2937, (void*)this, x)) return;
        this->KMenu::mousePressEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(2938, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KMenu::focusNextPrevChild(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2939, (void*)this, x)) return;
        this->KMenu::contextMenuEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(2940, (void*)this, x)) return;
        this->KMenu::hideEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3873, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3848, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QMenu::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3875, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3881, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3850, (void*)this, x)) return;
        this->QMenu::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3851, (void*)this, x)) return;
        this->QMenu::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3885, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3886, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3887, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3852, (void*)this, x)) return;
        this->QMenu::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3853, (void*)this, x)) return;
        this->QMenu::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3854, (void*)this, x)) return;
        this->QMenu::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3891, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3892, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3895, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3855, (void*)this, x)) return;
        this->QMenu::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3897, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3898, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3899, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3900, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3901, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3903, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3849, (void*)this, x)) return;
        this->QMenu::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3906, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3907, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3909, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3910, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3911, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3912, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3857, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QMenu::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(3856, (void*)this, x)) return;
        this->QMenu::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);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3877, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KBookmarkContextMenu() { this->_binding->deleted(17, (void*)this); }
};
void xcall_KBookmarkContextMenu(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkContextMenu *xself = (x_KBookmarkContextMenu*)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_KBookmarkContextMenu::x_3(args);	break;
        case 4: x_KBookmarkContextMenu::x_4(args);	break;
        case 5: x_KBookmarkContextMenu::x_5(args);	break;
        case 6: x_KBookmarkContextMenu::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KBookmarkContextMenu::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: x_KBookmarkContextMenu::x_24(args);	break;
        case 25: x_KBookmarkContextMenu::x_25(args);	break;
        case 26: x_KBookmarkContextMenu::x_26(args);	break;
        case 27: x_KBookmarkContextMenu::x_27(args);	break;
        case 28: delete (KBookmarkContextMenu*)xself;	break;
    }
}
class x_KBookmarkDialog : public KBookmarkDialog, 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<KBookmarkDialog*>(this))) {
            const QMetaObject* xret = ((const x_KBookmarkDialog*)this)->KBookmarkDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KBookmarkDialog*)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<KBookmarkDialog*>(this))) {
            void* xret = this->KBookmarkDialog::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 = KBookmarkDialog::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 = KBookmarkDialog::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 = KBookmarkDialog::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 = KBookmarkDialog::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<KBookmarkDialog*>(this))) {
            int xret = this->KBookmarkDialog::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) {
        // KBookmarkDialog* KBookmarkDialog(KBookmarkManager*, QWidget*)
        x_KBookmarkDialog* xret = new x_KBookmarkDialog((KBookmarkManager*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkDialog(KBookmarkManager* x1, QWidget* x2) : KBookmarkDialog(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // KBookmark editBookmark(const KBookmark&)
        KBookmark xret = this->KBookmarkDialog::editBookmark(*(const KBookmark*)x[1].s_class);
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_10(Smoke::Stack x) {
        // KBookmark addBookmark(const QString&, const KUrl&, KBookmark)
        KBookmark xret = this->KBookmarkDialog::addBookmark(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class,*(KBookmark*)x[3].s_class);
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_11(Smoke::Stack x) {
        // KBookmarkGroup addBookmarks(const QList<QPair<QString,QString> >&, const QString&, KBookmarkGroup)
        KBookmarkGroup xret = this->KBookmarkDialog::addBookmarks(*(const QList<QPair<QString,QString> >*)x[1].s_class,*(const QString*)x[2].s_class,*(KBookmarkGroup*)x[3].s_class);
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_12(Smoke::Stack x) {
        // KBookmarkGroup createNewFolder(const QString&, KBookmark)
        KBookmarkGroup xret = this->KBookmarkDialog::createNewFolder(*(const QString*)x[1].s_class,*(KBookmark*)x[2].s_class);
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_13(Smoke::Stack x) {
        // KBookmarkGroup selectFolder(KBookmark)
        KBookmarkGroup xret = this->KBookmarkDialog::selectFolder(*(KBookmark*)x[1].s_class);
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_14(Smoke::Stack x) {
        // virtual void aboutToShow(BookmarkDialogMode)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkDialog*>(this))) {
            this->KBookmarkDialog::aboutToShow(*(BookmarkDialogMode*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->aboutToShow(*(BookmarkDialogMode*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_15(Smoke::Stack x) {
        // virtual void save(BookmarkDialogMode, const KBookmark&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkDialog*>(this))) {
            this->KBookmarkDialog::save(*(BookmarkDialogMode*)x[1].s_class,*(const KBookmark*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->save(*(BookmarkDialogMode*)x[1].s_class,*(const KBookmark*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_16(Smoke::Stack x) {
        // void setParentBookmark(const KBookmark&)
        this->KBookmarkDialog::setParentBookmark(*(const KBookmark*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // KBookmarkGroup parentBookmark()
        KBookmarkGroup xret = this->KBookmarkDialog::parentBookmark();
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_18(Smoke::Stack x) {
        // void slotButtonClicked(int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkDialog*>(this))) {
            this->KBookmarkDialog::slotButtonClicked((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->slotButtonClicked((int)x[1].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_19(Smoke::Stack x) {
        // void fillGroup(QTreeWidgetItem*, const KBookmarkGroup&)
        this->KBookmarkDialog::fillGroup((QTreeWidgetItem*)x[1].s_class,*(const KBookmarkGroup*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void initLayoutPrivate()
        this->KBookmarkDialog::initLayoutPrivate();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void newFolderButton()
        this->KBookmarkDialog::newFolderButton();
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KBookmarkDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KBookmarkDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // KBookmarkDialog* KBookmarkDialog(KBookmarkManager*)
        x_KBookmarkDialog* xret = new x_KBookmarkDialog((KBookmarkManager*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // KBookmark addBookmark(const QString&, const KUrl&)
        KBookmark xret = this->KBookmarkDialog::addBookmark(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class,(KBookmark)KBookmark());
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_26(Smoke::Stack x) {
        // KBookmarkGroup addBookmarks(const QList<QPair<QString,QString> >&)
        KBookmarkGroup xret = this->KBookmarkDialog::addBookmarks(*(const QList<QPair<QString,QString> >*)x[1].s_class,(const QString&)QString(),(KBookmarkGroup)KBookmarkGroup());
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_27(Smoke::Stack x) {
        // KBookmarkGroup addBookmarks(const QList<QPair<QString,QString> >&, const QString&)
        KBookmarkGroup xret = this->KBookmarkDialog::addBookmarks(*(const QList<QPair<QString,QString> >*)x[1].s_class,*(const QString*)x[2].s_class,(KBookmarkGroup)KBookmarkGroup());
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_28(Smoke::Stack x) {
        // KBookmarkGroup createNewFolder(const QString&)
        KBookmarkGroup xret = this->KBookmarkDialog::createNewFolder(*(const QString*)x[1].s_class,(KBookmark)KBookmark());
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_29(Smoke::Stack x) {
        // KBookmarkGroup selectFolder()
        KBookmarkGroup xret = this->KBookmarkDialog::selectFolder((KBookmark)KBookmark());
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KBookmarkDialog::staticMetaObject;
    }
    void x_31(Smoke::Stack x) {
        // BookmarkDialogMode m_mode
        x[0].s_class = (void*)new BookmarkDialogMode(this->KBookmarkDialog::m_mode);
    }
    void x_32(Smoke::Stack x) {
        // BookmarkDialogMode m_mode=
        this->KBookmarkDialog::m_mode = *(BookmarkDialogMode*)x[1].s_class;
    }
    void x_33(Smoke::Stack x) {
        // QWidget* m_main
        x[0].s_class = (void*)this->KBookmarkDialog::m_main;
    }
    void x_34(Smoke::Stack x) {
        // QWidget* m_main=
        this->KBookmarkDialog::m_main = (QWidget*)x[1].s_class;
    }
    void x_35(Smoke::Stack x) {
        // KLineEdit* m_url
        x[0].s_class = (void*)this->KBookmarkDialog::m_url;
    }
    void x_36(Smoke::Stack x) {
        // KLineEdit* m_url=
        this->KBookmarkDialog::m_url = (KLineEdit*)x[1].s_class;
    }
    void x_37(Smoke::Stack x) {
        // KLineEdit* m_title
        x[0].s_class = (void*)this->KBookmarkDialog::m_title;
    }
    void x_38(Smoke::Stack x) {
        // KLineEdit* m_title=
        this->KBookmarkDialog::m_title = (KLineEdit*)x[1].s_class;
    }
    void x_39(Smoke::Stack x) {
        // KLineEdit* m_comment
        x[0].s_class = (void*)this->KBookmarkDialog::m_comment;
    }
    void x_40(Smoke::Stack x) {
        // KLineEdit* m_comment=
        this->KBookmarkDialog::m_comment = (KLineEdit*)x[1].s_class;
    }
    void x_41(Smoke::Stack x) {
        // QLabel* m_titleLabel
        x[0].s_class = (void*)this->KBookmarkDialog::m_titleLabel;
    }
    void x_42(Smoke::Stack x) {
        // QLabel* m_titleLabel=
        this->KBookmarkDialog::m_titleLabel = (QLabel*)x[1].s_class;
    }
    void x_43(Smoke::Stack x) {
        // QLabel* m_urlLabel
        x[0].s_class = (void*)this->KBookmarkDialog::m_urlLabel;
    }
    void x_44(Smoke::Stack x) {
        // QLabel* m_urlLabel=
        this->KBookmarkDialog::m_urlLabel = (QLabel*)x[1].s_class;
    }
    void x_45(Smoke::Stack x) {
        // QLabel* m_commentLabel
        x[0].s_class = (void*)this->KBookmarkDialog::m_commentLabel;
    }
    void x_46(Smoke::Stack x) {
        // QLabel* m_commentLabel=
        this->KBookmarkDialog::m_commentLabel = (QLabel*)x[1].s_class;
    }
    void x_47(Smoke::Stack x) {
        // QTreeWidget* m_folderTree
        x[0].s_class = (void*)this->KBookmarkDialog::m_folderTree;
    }
    void x_48(Smoke::Stack x) {
        // QTreeWidget* m_folderTree=
        this->KBookmarkDialog::m_folderTree = (QTreeWidget*)x[1].s_class;
    }
    void x_49(Smoke::Stack x) {
        // KBookmarkManager* m_mgr
        x[0].s_class = (void*)this->KBookmarkDialog::m_mgr;
    }
    void x_50(Smoke::Stack x) {
        // KBookmarkManager* m_mgr=
        this->KBookmarkDialog::m_mgr = (KBookmarkManager*)x[1].s_class;
    }
    void x_51(Smoke::Stack x) {
        // KBookmark m_bm
        x[0].s_class = (void*)&this->KBookmarkDialog::m_bm;
    }
    void x_52(Smoke::Stack x) {
        // KBookmark m_bm=
        this->KBookmarkDialog::m_bm = *(const KBookmark*)x[1].s_class;
    }
    void x_53(Smoke::Stack x) {
        // QList<QPair<QString,QString> > m_list
        x[0].s_class = (void*)&this->KBookmarkDialog::m_list;
    }
    void x_54(Smoke::Stack x) {
        // QList<QPair<QString,QString> > m_list=
        this->KBookmarkDialog::m_list = *(const QList<QPair<QString,QString> >*)x[1].s_class;
    }
    void x_55(Smoke::Stack x) {
        // bool m_layout
        x[0].s_bool = this->KBookmarkDialog::m_layout;
    }
    void x_56(Smoke::Stack x) {
        // bool m_layout=
        this->KBookmarkDialog::m_layout = (bool)x[1].s_bool;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmarkDialog::NewFolder;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmarkDialog::NewBookmark;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmarkDialog::EditBookmark;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmarkDialog::NewMultipleBookmarks;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)KBookmarkDialog::SelectFolder;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(282, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KBookmarkDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(283, (void*)this, x)) return (void*)x[0].s_class;
        return this->KBookmarkDialog::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(288, (void*)this, x)) return (int)x[0].s_int;
        return this->KBookmarkDialog::qt_metacall(x1, x2, x3);
    }
    virtual void aboutToShow(BookmarkDialogMode x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)new BookmarkDialogMode(x1);
        if (this->_binding->callMethod(295, (void*)this, x)) return;
        this->KBookmarkDialog::aboutToShow(x1);
    }
    virtual void save(BookmarkDialogMode x1, const KBookmark& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)new BookmarkDialogMode(x1);
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(296, (void*)this, x)) return;
        this->KBookmarkDialog::save(x1, x2);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(676, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(677, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(678, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(679, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(680, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(681, (void*)this, x)) return;
        this->KDialog::hideEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(682, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(683, (void*)this, x)) return;
        this->KDialog::keyPressEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(299, (void*)this, x)) return;
        this->KBookmarkDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3783, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3784, (void*)this, x)) return;
        this->QDialog::accept();
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3785, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3780, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3879, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3880, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3881, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3882, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3883, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3885, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3886, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3887, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3888, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3889, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3890, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3891, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3789, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3790, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3895, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3896, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3897, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3898, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3899, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3900, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3788, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3903, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3904, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3906, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3907, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3908, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3909, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3910, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3911, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3912, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::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(3791, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::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);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3877, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 25: //KBookmarkDialog::BookmarkDialogMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KBookmarkDialog::BookmarkDialogMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KBookmarkDialog::BookmarkDialogMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KBookmarkDialog::BookmarkDialogMode*)xdata = (KBookmarkDialog::BookmarkDialogMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KBookmarkDialog::BookmarkDialogMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KBookmarkDialog() { this->_binding->deleted(18, (void*)this); }
};
void xenum_KBookmarkDialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KBookmarkDialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KBookmarkDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkDialog *xself = (x_KBookmarkDialog*)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_KBookmarkDialog::x_3(args);	break;
        case 4: x_KBookmarkDialog::x_4(args);	break;
        case 5: x_KBookmarkDialog::x_5(args);	break;
        case 6: x_KBookmarkDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KBookmarkDialog::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: x_KBookmarkDialog::x_22(args);	break;
        case 23: x_KBookmarkDialog::x_23(args);	break;
        case 24: x_KBookmarkDialog::x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_KBookmarkDialog::x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: x_KBookmarkDialog::x_57(args);	break;
        case 58: x_KBookmarkDialog::x_58(args);	break;
        case 59: x_KBookmarkDialog::x_59(args);	break;
        case 60: x_KBookmarkDialog::x_60(args);	break;
        case 61: x_KBookmarkDialog::x_61(args);	break;
        case 62: delete (KBookmarkDialog*)xself;	break;
    }
}
class x_KBookmarkDomBuilder : public KBookmarkDomBuilder, 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<KBookmarkDomBuilder*>(this))) {
            const QMetaObject* xret = ((const x_KBookmarkDomBuilder*)this)->KBookmarkDomBuilder::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KBookmarkDomBuilder*)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<KBookmarkDomBuilder*>(this))) {
            void* xret = this->KBookmarkDomBuilder::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 = KBookmarkDomBuilder::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 = KBookmarkDomBuilder::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 = KBookmarkDomBuilder::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 = KBookmarkDomBuilder::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<KBookmarkDomBuilder*>(this))) {
            int xret = this->KBookmarkDomBuilder::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) {
        // KBookmarkDomBuilder* KBookmarkDomBuilder(const KBookmarkGroup&, KBookmarkManager*)
        x_KBookmarkDomBuilder* xret = new x_KBookmarkDomBuilder(*(const KBookmarkGroup*)x[1].s_class,(KBookmarkManager*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkDomBuilder(const KBookmarkGroup& x1, KBookmarkManager* x2) : KBookmarkDomBuilder(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // void connectImporter(const QObject*)
        this->KBookmarkDomBuilder::connectImporter((const QObject*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void newBookmark(const QString&, const QString&, const QString&)
        this->KBookmarkDomBuilder::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_11(Smoke::Stack x) {
        // void newFolder(const QString&, bool, const QString&)
        this->KBookmarkDomBuilder::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_12(Smoke::Stack x) {
        // void newSeparator()
        this->KBookmarkDomBuilder::newSeparator();
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void endFolder()
        this->KBookmarkDomBuilder::endFolder();
        (void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KBookmarkDomBuilder::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KBookmarkDomBuilder::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KBookmarkDomBuilder::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(344, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KBookmarkDomBuilder::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(345, (void*)this, x)) return (void*)x[0].s_class;
        return this->KBookmarkDomBuilder::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(350, (void*)this, x)) return (int)x[0].s_int;
        return this->KBookmarkDomBuilder::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_KBookmarkDomBuilder() { this->_binding->deleted(19, (void*)this); }
};
void xcall_KBookmarkDomBuilder(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkDomBuilder *xself = (x_KBookmarkDomBuilder*)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_KBookmarkDomBuilder::x_3(args);	break;
        case 4: x_KBookmarkDomBuilder::x_4(args);	break;
        case 5: x_KBookmarkDomBuilder::x_5(args);	break;
        case 6: x_KBookmarkDomBuilder::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KBookmarkDomBuilder::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: x_KBookmarkDomBuilder::x_14(args);	break;
        case 15: x_KBookmarkDomBuilder::x_15(args);	break;
        case 16: x_KBookmarkDomBuilder::x_16(args);	break;
        case 17: delete (KBookmarkDomBuilder*)xself;	break;
    }
}
class x_KBookmarkExporterBase : public KBookmarkExporterBase, 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) {
        // KBookmarkExporterBase* KBookmarkExporterBase(KBookmarkManager*, const QString&)
        x_KBookmarkExporterBase* xret = new x_KBookmarkExporterBase((KBookmarkManager*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkExporterBase(KBookmarkManager* x1, const QString& x2) : KBookmarkExporterBase(x1, x2) {}
    void x_2(Smoke::Stack x) {
        // virtual void write(const KBookmarkGroup&) = 0
        this->write(*(const KBookmarkGroup*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // KBookmarkExporterBase* KBookmarkExporterBase(const KBookmarkExporterBase&)
        x_KBookmarkExporterBase* xret = new x_KBookmarkExporterBase(*(const KBookmarkExporterBase*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkExporterBase(const KBookmarkExporterBase& x1) : KBookmarkExporterBase(x1) {}
    void x_4(Smoke::Stack x) {
        // QString m_fileName
        x[0].s_class = (void*)&this->KBookmarkExporterBase::m_fileName;
    }
    void x_5(Smoke::Stack x) {
        // QString m_fileName=
        this->KBookmarkExporterBase::m_fileName = *(const QString*)x[1].s_class;
    }
    void x_6(Smoke::Stack x) {
        // KBookmarkManager* m_pManager
        x[0].s_class = (void*)this->KBookmarkExporterBase::m_pManager;
    }
    void x_7(Smoke::Stack x) {
        // KBookmarkManager* m_pManager=
        this->KBookmarkExporterBase::m_pManager = (KBookmarkManager*)x[1].s_class;
    }
    virtual void write(const KBookmarkGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        this->_binding->callMethod(362, (void*)this, x, true /*pure virtual*/);
    }
    ~x_KBookmarkExporterBase() { this->_binding->deleted(20, (void*)this); }
};
void xcall_KBookmarkExporterBase(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkExporterBase *xself = (x_KBookmarkExporterBase*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KBookmarkExporterBase::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_KBookmarkExporterBase::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: delete (KBookmarkExporterBase*)xself;	break;
    }
}
class x_KBookmarkGroup : public KBookmarkGroup {
    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) {
        // KBookmarkGroup* KBookmarkGroup()
        x_KBookmarkGroup* xret = new x_KBookmarkGroup();
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkGroup() : KBookmarkGroup() {}
    static void x_2(Smoke::Stack x) {
        // KBookmarkGroup* KBookmarkGroup(const QDomElement&)
        x_KBookmarkGroup* xret = new x_KBookmarkGroup(*(const QDomElement*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkGroup(const QDomElement& x1) : KBookmarkGroup(x1) {}
    void x_3(Smoke::Stack x) {
        // bool isOpen() const
        bool xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::isOpen();
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // KBookmark first() const
        KBookmark xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::first();
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_5(Smoke::Stack x) {
        // KBookmark previous(const KBookmark&) const
        KBookmark xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::previous(*(const KBookmark*)x[1].s_class);
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_6(Smoke::Stack x) {
        // KBookmark next(const KBookmark&) const
        KBookmark xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::next(*(const KBookmark*)x[1].s_class);
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_7(Smoke::Stack x) {
        // int indexOf(const KBookmark&) const
        int xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::indexOf(*(const KBookmark*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // KBookmarkGroup createNewFolder(const QString&)
        KBookmarkGroup xret = this->KBookmarkGroup::createNewFolder(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new KBookmarkGroup(xret);
    }
    void x_9(Smoke::Stack x) {
        // KBookmark createNewSeparator()
        KBookmark xret = this->KBookmarkGroup::createNewSeparator();
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_10(Smoke::Stack x) {
        // KBookmark addBookmark(const KBookmark&)
        KBookmark xret = this->KBookmarkGroup::addBookmark(*(const KBookmark*)x[1].s_class);
        x[0].s_class = (void*)new KBookmark(xret);
    }
    void x_11(Smoke::Stack x) {
        // KBookmark addBookmark(const QString&, const KUrl&, const QString&)
        KBookmark xret = this->KBookmarkGroup::addBookmark(*(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_12(Smoke::Stack x) {
        // bool moveBookmark(const KBookmark&, const KBookmark&)
        bool xret = this->KBookmarkGroup::moveBookmark(*(const KBookmark*)x[1].s_class,*(const KBookmark*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool moveItem(const KBookmark&, const KBookmark&)
        bool xret = this->KBookmarkGroup::moveItem(*(const KBookmark*)x[1].s_class,*(const KBookmark*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void deleteBookmark(const KBookmark&)
        this->KBookmarkGroup::deleteBookmark(*(const KBookmark*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool isToolbarGroup() const
        bool xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::isToolbarGroup();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // QDomElement findToolbar() const
        QDomElement xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::findToolbar();
        x[0].s_class = (void*)new QDomElement(xret);
    }
    void x_17(Smoke::Stack x) {
        // QList<KUrl> groupUrlList() const
        QList<KUrl> xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::groupUrlList();
        x[0].s_class = (void*)new QList<KUrl>(xret);
    }
    void x_18(Smoke::Stack x) {
        // QDomElement nextKnownTag(const QDomElement&, bool) const
        QDomElement xret = ((const x_KBookmarkGroup*)this)->KBookmarkGroup::nextKnownTag(*(const QDomElement*)x[1].s_class,(bool)x[2].s_bool);
        x[0].s_class = (void*)new QDomElement(xret);
    }
    static void x_19(Smoke::Stack x) {
        // KBookmarkGroup* KBookmarkGroup(const KBookmarkGroup&)
        x_KBookmarkGroup* xret = new x_KBookmarkGroup(*(const KBookmarkGroup*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkGroup(const KBookmarkGroup& x1) : KBookmarkGroup(x1) {}
    void x_20(Smoke::Stack x) {
        // KBookmark addBookmark(const QString&, const KUrl&)
        KBookmark xret = this->KBookmarkGroup::addBookmark(*(const QString*)x[1].s_class,*(const KUrl*)x[2].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KBookmark(xret);
    }
    ~x_KBookmarkGroup() { this->_binding->deleted(21, (void*)this); }
};
void xcall_KBookmarkGroup(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkGroup *xself = (x_KBookmarkGroup*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KBookmarkGroup::x_1(args);	break;
        case 2: x_KBookmarkGroup::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: x_KBookmarkGroup::x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: delete (KBookmarkGroup*)xself;	break;
    }
}
class x_KBookmarkGroupTraverser : public KBookmarkGroupTraverser {
    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) {
        // void traverse(const KBookmarkGroup&)
        this->KBookmarkGroupTraverser::traverse(*(const KBookmarkGroup*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_2(Smoke::Stack x) {
        // virtual void visit(const KBookmark&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkGroupTraverser*>(this))) {
            this->KBookmarkGroupTraverser::visit(*(const KBookmark*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->visit(*(const KBookmark*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_3(Smoke::Stack x) {
        // virtual void visitEnter(const KBookmarkGroup&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkGroupTraverser*>(this))) {
            this->KBookmarkGroupTraverser::visitEnter(*(const KBookmarkGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->visitEnter(*(const KBookmarkGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_4(Smoke::Stack x) {
        // virtual void visitLeave(const KBookmarkGroup&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KBookmarkGroupTraverser*>(this))) {
            this->KBookmarkGroupTraverser::visitLeave(*(const KBookmarkGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->visitLeave(*(const KBookmarkGroup*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_5(Smoke::Stack x) {
        // KBookmarkGroupTraverser* KBookmarkGroupTraverser()
        x_KBookmarkGroupTraverser* xret = new x_KBookmarkGroupTraverser();
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkGroupTraverser() : KBookmarkGroupTraverser() {}
    static void x_6(Smoke::Stack x) {
        // KBookmarkGroupTraverser* KBookmarkGroupTraverser(const KBookmarkGroupTraverser&)
        x_KBookmarkGroupTraverser* xret = new x_KBookmarkGroupTraverser(*(const KBookmarkGroupTraverser*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KBookmarkGroupTraverser(const KBookmarkGroupTraverser& x1) : KBookmarkGroupTraverser(x1) {}
    virtual void visit(const KBookmark& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(391, (void*)this, x)) return;
        this->KBookmarkGroupTraverser::visit(x1);
    }
    virtual void visitEnter(const KBookmarkGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(392, (void*)this, x)) return;
        this->KBookmarkGroupTraverser::visitEnter(x1);
    }
    virtual void visitLeave(const KBookmarkGroup& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(393, (void*)this, x)) return;
        this->KBookmarkGroupTraverser::visitLeave(x1);
    }
    ~x_KBookmarkGroupTraverser() { this->_binding->deleted(22, (void*)this); }
};
void xcall_KBookmarkGroupTraverser(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KBookmarkGroupTraverser *xself = (x_KBookmarkGroupTraverser*)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: x_KBookmarkGroupTraverser::x_5(args);	break;
        case 6: x_KBookmarkGroupTraverser::x_6(args);	break;
    }
}

}
