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

#include <smoke.h>
#include <qthelp_smoke.h>

class __internal_SmokeClass {};

namespace __smokeqthelp {

class x_QHelpContentItem : public QHelpContentItem {
    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) {
        // QHelpContentItem* child(int) const
        QHelpContentItem* xret = ((const x_QHelpContentItem*)this)->QHelpContentItem::child((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // int childCount() const
        int xret = ((const x_QHelpContentItem*)this)->QHelpContentItem::childCount();
        x[0].s_int = xret;
    }
    void x_3(Smoke::Stack x) {
        // QString title() const
        QString xret = ((const x_QHelpContentItem*)this)->QHelpContentItem::title();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_4(Smoke::Stack x) {
        // QUrl url() const
        QUrl xret = ((const x_QHelpContentItem*)this)->QHelpContentItem::url();
        x[0].s_class = (void*)new QUrl(xret);
    }
    void x_5(Smoke::Stack x) {
        // int row() const
        int xret = ((const x_QHelpContentItem*)this)->QHelpContentItem::row();
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // QHelpContentItem* parent() const
        QHelpContentItem* xret = ((const x_QHelpContentItem*)this)->QHelpContentItem::parent();
        x[0].s_class = (void*)xret;
    }
    void x_7(Smoke::Stack x) {
        // int childPosition(QHelpContentItem*) const
        int xret = ((const x_QHelpContentItem*)this)->QHelpContentItem::childPosition((QHelpContentItem*)x[1].s_class);
        x[0].s_int = xret;
    }
    static void x_8(Smoke::Stack x) {
        // QHelpContentItem* QHelpContentItem(const QHelpContentItem&)
        x_QHelpContentItem* xret = new x_QHelpContentItem(*(const QHelpContentItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QHelpContentItem(const QHelpContentItem& x1) : QHelpContentItem(x1) {}
    ~x_QHelpContentItem() { this->_binding->deleted(16, (void*)this); }
};
void xcall_QHelpContentItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpContentItem *xself = (x_QHelpContentItem*)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: x_QHelpContentItem::x_8(args);	break;
        case 9: delete (QHelpContentItem*)xself;	break;
    }
}
class x_QHelpContentModel : public QHelpContentModel, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->QHelpContentModel::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 = QHelpContentModel::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 = QHelpContentModel::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 = QHelpContentModel::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 = QHelpContentModel::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->QHelpContentModel::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) {
        // void createContents(const QString&)
        this->QHelpContentModel::createContents(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // QHelpContentItem* contentItemAt(const QModelIndex&) const
        QHelpContentItem* xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::contentItemAt(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // QVariant data(const QModelIndex&, int) const
        QVariant xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::data(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_11(Smoke::Stack x) {
        // QModelIndex index(int, int, const QModelIndex&) const
        QModelIndex xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::index((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_12(Smoke::Stack x) {
        // QModelIndex parent(const QModelIndex&) const
        QModelIndex xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::parent(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_13(Smoke::Stack x) {
        // int rowCount(const QModelIndex&) const
        int xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::rowCount(*(const QModelIndex*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // int columnCount(const QModelIndex&) const
        int xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::columnCount(*(const QModelIndex*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool isCreatingContents() const
        bool xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::isCreatingContents();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void contentsCreationStarted()
        this->QHelpContentModel::contentsCreationStarted();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void contentsCreated()
        this->QHelpContentModel::contentsCreated();
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpContentModel::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 = QHelpContentModel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // QModelIndex index(int, int) const
        QModelIndex xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::index((int)x[1].s_int,(int)x[2].s_int,(const QModelIndex&)QModelIndex());
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_21(Smoke::Stack x) {
        // int rowCount() const
        int xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::rowCount((const QModelIndex&)QModelIndex());
        x[0].s_int = xret;
    }
    void x_22(Smoke::Stack x) {
        // int columnCount() const
        int xret = ((const x_QHelpContentModel*)this)->QHelpContentModel::columnCount((const QModelIndex&)QModelIndex());
        x[0].s_int = xret;
    }
    static void x_23(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpContentModel::staticMetaObject;
    }
};
void xcall_QHelpContentModel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpContentModel *xself = (x_QHelpContentModel*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QHelpContentModel::x_3(args);	break;
        case 4: x_QHelpContentModel::x_4(args);	break;
        case 5: x_QHelpContentModel::x_5(args);	break;
        case 6: x_QHelpContentModel::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: x_QHelpContentModel::x_18(args);	break;
        case 19: x_QHelpContentModel::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_QHelpContentModel::x_23(args);	break;
        case 24: delete (QHelpContentModel*)xself;	break;
    }
}
class x_QHelpContentWidget : public QHelpContentWidget, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_QHelpContentWidget*)this)->QHelpContentWidget::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->QHelpContentWidget::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 = QHelpContentWidget::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 = QHelpContentWidget::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 = QHelpContentWidget::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 = QHelpContentWidget::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->QHelpContentWidget::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) {
        // QModelIndex indexOf(const QUrl&)
        QModelIndex xret = this->QHelpContentWidget::indexOf(*(const QUrl*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_9(Smoke::Stack x) {
        // void linkActivated(const QUrl&)
        this->QHelpContentWidget::linkActivated(*(const QUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpContentWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QHelpContentWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpContentWidget::staticMetaObject;
    }
};
void xcall_QHelpContentWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpContentWidget *xself = (x_QHelpContentWidget*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QHelpContentWidget::x_3(args);	break;
        case 4: x_QHelpContentWidget::x_4(args);	break;
        case 5: x_QHelpContentWidget::x_5(args);	break;
        case 6: x_QHelpContentWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_QHelpContentWidget::x_10(args);	break;
        case 11: x_QHelpContentWidget::x_11(args);	break;
        case 12: x_QHelpContentWidget::x_12(args);	break;
        case 13: delete (QHelpContentWidget*)xself;	break;
    }
}
class x_QHelpEngine : public QHelpEngine, 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<QHelpEngine*>(this))) {
            const QMetaObject* xret = ((const x_QHelpEngine*)this)->QHelpEngine::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QHelpEngine*)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<QHelpEngine*>(this))) {
            void* xret = this->QHelpEngine::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 = QHelpEngine::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 = QHelpEngine::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 = QHelpEngine::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 = QHelpEngine::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<QHelpEngine*>(this))) {
            int xret = this->QHelpEngine::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) {
        // QHelpEngine* QHelpEngine(const QString&, QObject*)
        x_QHelpEngine* xret = new x_QHelpEngine(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QHelpEngine(const QString& x1, QObject* x2) : QHelpEngine(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // QHelpContentModel* contentModel() const
        QHelpContentModel* xret = ((const x_QHelpEngine*)this)->QHelpEngine::contentModel();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // QHelpIndexModel* indexModel() const
        QHelpIndexModel* xret = ((const x_QHelpEngine*)this)->QHelpEngine::indexModel();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // QHelpContentWidget* contentWidget()
        QHelpContentWidget* xret = this->QHelpEngine::contentWidget();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QHelpIndexWidget* indexWidget()
        QHelpIndexWidget* xret = this->QHelpEngine::indexWidget();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QHelpSearchEngine* searchEngine()
        QHelpSearchEngine* xret = this->QHelpEngine::searchEngine();
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpEngine::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 = QHelpEngine::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) {
        // QHelpEngine* QHelpEngine(const QString&)
        x_QHelpEngine* xret = new x_QHelpEngine(*(const QString*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpEngine::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(47, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QHelpEngine::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(48, (void*)this, x)) return (void*)x[0].s_class;
        return this->QHelpEngine::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(53, (void*)this, x)) return (int)x[0].s_int;
        return this->QHelpEngine::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(218, (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(219, (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(220, (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(221, (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(222, (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(223, (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(224, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QHelpEngine() { this->_binding->deleted(19, (void*)this); }
};
void xcall_QHelpEngine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpEngine *xself = (x_QHelpEngine*)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_QHelpEngine::x_3(args);	break;
        case 4: x_QHelpEngine::x_4(args);	break;
        case 5: x_QHelpEngine::x_5(args);	break;
        case 6: x_QHelpEngine::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QHelpEngine::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_QHelpEngine::x_14(args);	break;
        case 15: x_QHelpEngine::x_15(args);	break;
        case 16: x_QHelpEngine::x_16(args);	break;
        case 17: x_QHelpEngine::x_17(args);	break;
        case 18: delete (QHelpEngine*)xself;	break;
    }
}
class x_QHelpEngineCore : public QHelpEngineCore, 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<QHelpEngineCore*>(this))) {
            const QMetaObject* xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QHelpEngineCore*)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<QHelpEngineCore*>(this))) {
            void* xret = this->QHelpEngineCore::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 = QHelpEngineCore::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 = QHelpEngineCore::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 = QHelpEngineCore::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 = QHelpEngineCore::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<QHelpEngineCore*>(this))) {
            int xret = this->QHelpEngineCore::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) {
        // QHelpEngineCore* QHelpEngineCore(const QString&, QObject*)
        x_QHelpEngineCore* xret = new x_QHelpEngineCore(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QHelpEngineCore(const QString& x1, QObject* x2) : QHelpEngineCore(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // bool setupData()
        bool xret = this->QHelpEngineCore::setupData();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // QString collectionFile() const
        QString xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::collectionFile();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setCollectionFile(const QString&)
        this->QHelpEngineCore::setCollectionFile(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool copyCollectionFile(const QString&)
        bool xret = this->QHelpEngineCore::copyCollectionFile(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_13(Smoke::Stack x) {
        // static QString namespaceName(const QString&)
        QString xret = QHelpEngineCore::namespaceName(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // bool registerDocumentation(const QString&)
        bool xret = this->QHelpEngineCore::registerDocumentation(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool unregisterDocumentation(const QString&)
        bool xret = this->QHelpEngineCore::unregisterDocumentation(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // QString documentationFileName(const QString&)
        QString xret = this->QHelpEngineCore::documentationFileName(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // QStringList customFilters() const
        QStringList xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::customFilters();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_18(Smoke::Stack x) {
        // bool removeCustomFilter(const QString&)
        bool xret = this->QHelpEngineCore::removeCustomFilter(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // bool addCustomFilter(const QString&, const QStringList&)
        bool xret = this->QHelpEngineCore::addCustomFilter(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // QStringList filterAttributes() const
        QStringList xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::filterAttributes();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_21(Smoke::Stack x) {
        // QStringList filterAttributes(const QString&) const
        QStringList xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::filterAttributes(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_22(Smoke::Stack x) {
        // QString currentFilter() const
        QString xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::currentFilter();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_23(Smoke::Stack x) {
        // void setCurrentFilter(const QString&)
        this->QHelpEngineCore::setCurrentFilter(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QStringList registeredDocumentations() const
        QStringList xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::registeredDocumentations();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_25(Smoke::Stack x) {
        // QList<QStringList> filterAttributeSets(const QString&) const
        QList<QStringList> xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::filterAttributeSets(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QList<QStringList>(xret);
    }
    void x_26(Smoke::Stack x) {
        // QList<QUrl> files(const QString, const QStringList&, const QString&)
        QList<QUrl> xret = this->QHelpEngineCore::files(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)new QList<QUrl>(xret);
    }
    void x_27(Smoke::Stack x) {
        // QUrl findFile(const QUrl&) const
        QUrl xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::findFile(*(const QUrl*)x[1].s_class);
        x[0].s_class = (void*)new QUrl(xret);
    }
    void x_28(Smoke::Stack x) {
        // QByteArray fileData(const QUrl&) const
        QByteArray xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::fileData(*(const QUrl*)x[1].s_class);
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_29(Smoke::Stack x) {
        // QMap<QString,QUrl> linksForIdentifier(const QString&) const
        QMap<QString,QUrl> xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::linksForIdentifier(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QMap<QString,QUrl>(xret);
    }
    void x_30(Smoke::Stack x) {
        // bool removeCustomValue(const QString&)
        bool xret = this->QHelpEngineCore::removeCustomValue(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // QVariant customValue(const QString&, const QVariant&) const
        QVariant xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::customValue(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_32(Smoke::Stack x) {
        // bool setCustomValue(const QString&, const QVariant&)
        bool xret = this->QHelpEngineCore::setCustomValue(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_33(Smoke::Stack x) {
        // static QVariant metaData(const QString&, const QString&)
        QVariant xret = QHelpEngineCore::metaData(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_34(Smoke::Stack x) {
        // QString error() const
        QString xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::error();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_35(Smoke::Stack x) {
        // void setAutoSaveFilter(bool)
        this->QHelpEngineCore::setAutoSaveFilter((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool autoSaveFilter() const
        bool xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::autoSaveFilter();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // void setupStarted()
        this->QHelpEngineCore::setupStarted();
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void setupFinished()
        this->QHelpEngineCore::setupFinished();
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void currentFilterChanged(const QString&)
        this->QHelpEngineCore::currentFilterChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void warning(const QString&)
        this->QHelpEngineCore::warning(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void readersAboutToBeInvalidated()
        this->QHelpEngineCore::readersAboutToBeInvalidated();
        (void)x; // noop (for compiler warning)
    }
    static void x_42(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpEngineCore::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_43(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QHelpEngineCore::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_44(Smoke::Stack x) {
        // QHelpEngineCore* QHelpEngineCore(const QString&)
        x_QHelpEngineCore* xret = new x_QHelpEngineCore(*(const QString*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_45(Smoke::Stack x) {
        // QList<QUrl> files(const QString, const QStringList&)
        QList<QUrl> xret = this->QHelpEngineCore::files(*(const QString*)x[1].s_class,*(const QStringList*)x[2].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QList<QUrl>(xret);
    }
    void x_46(Smoke::Stack x) {
        // QVariant customValue(const QString&) const
        QVariant xret = ((const x_QHelpEngineCore*)this)->QHelpEngineCore::customValue(*(const QString*)x[1].s_class,(const QVariant&)QVariant());
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_47(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpEngineCore::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(65, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QHelpEngineCore::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(66, (void*)this, x)) return (void*)x[0].s_class;
        return this->QHelpEngineCore::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(71, (void*)this, x)) return (int)x[0].s_int;
        return this->QHelpEngineCore::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(218, (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(219, (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(220, (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(221, (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(222, (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(223, (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(224, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QHelpEngineCore() { this->_binding->deleted(20, (void*)this); }
};
void xcall_QHelpEngineCore(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpEngineCore *xself = (x_QHelpEngineCore*)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_QHelpEngineCore::x_3(args);	break;
        case 4: x_QHelpEngineCore::x_4(args);	break;
        case 5: x_QHelpEngineCore::x_5(args);	break;
        case 6: x_QHelpEngineCore::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QHelpEngineCore::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_QHelpEngineCore::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: x_QHelpEngineCore::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: x_QHelpEngineCore::x_42(args);	break;
        case 43: x_QHelpEngineCore::x_43(args);	break;
        case 44: x_QHelpEngineCore::x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: x_QHelpEngineCore::x_47(args);	break;
        case 48: delete (QHelpEngineCore*)xself;	break;
    }
}
class x_QHelpIndexModel : public QHelpIndexModel {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_QHelpIndexModel*)this)->QHelpIndexModel::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->QHelpIndexModel::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 = QHelpIndexModel::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 = QHelpIndexModel::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 = QHelpIndexModel::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 = QHelpIndexModel::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->QHelpIndexModel::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) {
        // void createIndex(const QString&)
        this->QHelpIndexModel::createIndex(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // QModelIndex filter(const QString&, const QString&)
        QModelIndex xret = this->QHelpIndexModel::filter(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_10(Smoke::Stack x) {
        // QMap<QString,QUrl> linksForKeyword(const QString&) const
        QMap<QString,QUrl> xret = ((const x_QHelpIndexModel*)this)->QHelpIndexModel::linksForKeyword(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QMap<QString,QUrl>(xret);
    }
    void x_11(Smoke::Stack x) {
        // bool isCreatingIndex() const
        bool xret = ((const x_QHelpIndexModel*)this)->QHelpIndexModel::isCreatingIndex();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void indexCreationStarted()
        this->QHelpIndexModel::indexCreationStarted();
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void indexCreated()
        this->QHelpIndexModel::indexCreated();
        (void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpIndexModel::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 = QHelpIndexModel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_16(Smoke::Stack x) {
        // QModelIndex filter(const QString&)
        QModelIndex xret = this->QHelpIndexModel::filter(*(const QString*)x[1].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpIndexModel::staticMetaObject;
    }
};
void xcall_QHelpIndexModel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpIndexModel *xself = (x_QHelpIndexModel*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QHelpIndexModel::x_3(args);	break;
        case 4: x_QHelpIndexModel::x_4(args);	break;
        case 5: x_QHelpIndexModel::x_5(args);	break;
        case 6: x_QHelpIndexModel::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: x_QHelpIndexModel::x_14(args);	break;
        case 15: x_QHelpIndexModel::x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: x_QHelpIndexModel::x_17(args);	break;
    }
}
class x_QHelpIndexWidget : public QHelpIndexWidget, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_QHelpIndexWidget*)this)->QHelpIndexWidget::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->QHelpIndexWidget::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 = QHelpIndexWidget::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 = QHelpIndexWidget::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 = QHelpIndexWidget::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 = QHelpIndexWidget::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->QHelpIndexWidget::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) {
        // void linkActivated(const QUrl&, const QString&)
        this->QHelpIndexWidget::linkActivated(*(const QUrl*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void linksActivated(const QMap<QString,QUrl>&, const QString&)
        this->QHelpIndexWidget::linksActivated(*(const QMap<QString,QUrl>*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void filterIndices(const QString&, const QString&)
        this->QHelpIndexWidget::filterIndices(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void activateCurrentItem()
        this->QHelpIndexWidget::activateCurrentItem();
        (void)x; // noop (for compiler warning)
    }
    static void x_12(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpIndexWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QHelpIndexWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void filterIndices(const QString&)
        this->QHelpIndexWidget::filterIndices(*(const QString*)x[1].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_15(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpIndexWidget::staticMetaObject;
    }
};
void xcall_QHelpIndexWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpIndexWidget *xself = (x_QHelpIndexWidget*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QHelpIndexWidget::x_3(args);	break;
        case 4: x_QHelpIndexWidget::x_4(args);	break;
        case 5: x_QHelpIndexWidget::x_5(args);	break;
        case 6: x_QHelpIndexWidget::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: x_QHelpIndexWidget::x_12(args);	break;
        case 13: x_QHelpIndexWidget::x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: x_QHelpIndexWidget::x_15(args);	break;
        case 16: delete (QHelpIndexWidget*)xself;	break;
    }
}
class x_QHelpSearchEngine : public QHelpSearchEngine, 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<QHelpSearchEngine*>(this))) {
            const QMetaObject* xret = ((const x_QHelpSearchEngine*)this)->QHelpSearchEngine::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QHelpSearchEngine*)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<QHelpSearchEngine*>(this))) {
            void* xret = this->QHelpSearchEngine::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 = QHelpSearchEngine::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 = QHelpSearchEngine::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 = QHelpSearchEngine::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 = QHelpSearchEngine::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<QHelpSearchEngine*>(this))) {
            int xret = this->QHelpSearchEngine::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) {
        // QHelpSearchEngine* QHelpSearchEngine(QHelpEngineCore*, QObject*)
        x_QHelpSearchEngine* xret = new x_QHelpSearchEngine((QHelpEngineCore*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QHelpSearchEngine(QHelpEngineCore* x1, QObject* x2) : QHelpSearchEngine(x1, x2) {}
    void x_9(Smoke::Stack x) {
        // QHelpSearchQueryWidget* queryWidget()
        QHelpSearchQueryWidget* xret = this->QHelpSearchEngine::queryWidget();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // QHelpSearchResultWidget* resultWidget()
        QHelpSearchResultWidget* xret = this->QHelpSearchEngine::resultWidget();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // int hitsCount() const
        int xret = ((const x_QHelpSearchEngine*)this)->QHelpSearchEngine::hitsCount();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // int hitCount() const
        int xret = ((const x_QHelpSearchEngine*)this)->QHelpSearchEngine::hitCount();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // QList<QPair<QString,QString> > hits(int, int) const
        QList<QPair<QString,QString> > xret = ((const x_QHelpSearchEngine*)this)->QHelpSearchEngine::hits((int)x[1].s_int,(int)x[2].s_int);
        x[0].s_class = (void*)new QList<QPair<QString,QString> >(xret);
    }
    void x_14(Smoke::Stack x) {
        // QList<QHelpSearchQuery> query() const
        QList<QHelpSearchQuery> xret = ((const x_QHelpSearchEngine*)this)->QHelpSearchEngine::query();
        x[0].s_class = (void*)new QList<QHelpSearchQuery>(xret);
    }
    void x_15(Smoke::Stack x) {
        // void reindexDocumentation()
        this->QHelpSearchEngine::reindexDocumentation();
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void cancelIndexing()
        this->QHelpSearchEngine::cancelIndexing();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void search(const QList<QHelpSearchQuery>&)
        this->QHelpSearchEngine::search(*(const QList<QHelpSearchQuery>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void cancelSearching()
        this->QHelpSearchEngine::cancelSearching();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void indexingStarted()
        this->QHelpSearchEngine::indexingStarted();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void indexingFinished()
        this->QHelpSearchEngine::indexingFinished();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void searchingStarted()
        this->QHelpSearchEngine::searchingStarted();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void searchingFinished(int)
        this->QHelpSearchEngine::searchingFinished((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpSearchEngine::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_24(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QHelpSearchEngine::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_25(Smoke::Stack x) {
        // QHelpSearchEngine* QHelpSearchEngine(QHelpEngineCore*)
        x_QHelpSearchEngine* xret = new x_QHelpSearchEngine((QHelpEngineCore*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_26(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpSearchEngine::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(146, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QHelpSearchEngine::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(147, (void*)this, x)) return (void*)x[0].s_class;
        return this->QHelpSearchEngine::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(152, (void*)this, x)) return (int)x[0].s_int;
        return this->QHelpSearchEngine::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(218, (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(219, (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(220, (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(221, (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(222, (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(223, (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(224, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QHelpSearchEngine() { this->_binding->deleted(23, (void*)this); }
};
void xcall_QHelpSearchEngine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpSearchEngine *xself = (x_QHelpSearchEngine*)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_QHelpSearchEngine::x_3(args);	break;
        case 4: x_QHelpSearchEngine::x_4(args);	break;
        case 5: x_QHelpSearchEngine::x_5(args);	break;
        case 6: x_QHelpSearchEngine::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QHelpSearchEngine::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_QHelpSearchEngine::x_23(args);	break;
        case 24: x_QHelpSearchEngine::x_24(args);	break;
        case 25: x_QHelpSearchEngine::x_25(args);	break;
        case 26: x_QHelpSearchEngine::x_26(args);	break;
        case 27: delete (QHelpSearchEngine*)xself;	break;
    }
}
class x_QHelpSearchQuery : public QHelpSearchQuery {
    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) {
        // QHelpSearchQuery* QHelpSearchQuery()
        x_QHelpSearchQuery* xret = new x_QHelpSearchQuery();
        x[0].s_class = (void*)xret;
    }
    explicit x_QHelpSearchQuery() : QHelpSearchQuery() {}
    static void x_2(Smoke::Stack x) {
        // QHelpSearchQuery* QHelpSearchQuery(QHelpSearchQuery::FieldName, const QStringList&)
        x_QHelpSearchQuery* xret = new x_QHelpSearchQuery((QHelpSearchQuery::FieldName)x[1].s_enum,*(const QStringList*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QHelpSearchQuery(QHelpSearchQuery::FieldName x1, const QStringList& x2) : QHelpSearchQuery(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // QHelpSearchQuery* QHelpSearchQuery(const QHelpSearchQuery&)
        x_QHelpSearchQuery* xret = new x_QHelpSearchQuery(*(const QHelpSearchQuery*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QHelpSearchQuery(const QHelpSearchQuery& x1) : QHelpSearchQuery(x1) {}
    void x_4(Smoke::Stack x) {
        // QHelpSearchQuery::FieldName fieldName
        x[0].s_enum = this->QHelpSearchQuery::fieldName;
    }
    void x_5(Smoke::Stack x) {
        // QHelpSearchQuery::FieldName fieldName=
        this->QHelpSearchQuery::fieldName = (QHelpSearchQuery::FieldName)x[1].s_enum;
    }
    void x_6(Smoke::Stack x) {
        // QStringList wordList
        x[0].s_class = (void*)&this->QHelpSearchQuery::wordList;
    }
    void x_7(Smoke::Stack x) {
        // QStringList wordList=
        this->QHelpSearchQuery::wordList = *(const QStringList*)x[1].s_class;
    }
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)QHelpSearchQuery::DEFAULT;
    }
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)QHelpSearchQuery::FUZZY;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)QHelpSearchQuery::WITHOUT;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)QHelpSearchQuery::PHRASE;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)QHelpSearchQuery::ALL;
    }
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)QHelpSearchQuery::ATLEAST;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 23: //QHelpSearchQuery::FieldName
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QHelpSearchQuery::FieldName;
                    break;
                case Smoke::EnumDelete:
                    delete (QHelpSearchQuery::FieldName*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QHelpSearchQuery::FieldName*)xdata = (QHelpSearchQuery::FieldName)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QHelpSearchQuery::FieldName*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QHelpSearchQuery() { this->_binding->deleted(24, (void*)this); }
};
void xenum_QHelpSearchQuery(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QHelpSearchQuery::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QHelpSearchQuery(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpSearchQuery *xself = (x_QHelpSearchQuery*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QHelpSearchQuery::x_1(args);	break;
        case 2: x_QHelpSearchQuery::x_2(args);	break;
        case 3: x_QHelpSearchQuery::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: x_QHelpSearchQuery::x_8(args);	break;
        case 9: x_QHelpSearchQuery::x_9(args);	break;
        case 10: x_QHelpSearchQuery::x_10(args);	break;
        case 11: x_QHelpSearchQuery::x_11(args);	break;
        case 12: x_QHelpSearchQuery::x_12(args);	break;
        case 13: x_QHelpSearchQuery::x_13(args);	break;
        case 14: delete (QHelpSearchQuery*)xself;	break;
    }
}
class x_QHelpSearchQueryWidget : public QHelpSearchQueryWidget, 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<QHelpSearchQueryWidget*>(this))) {
            const QMetaObject* xret = ((const x_QHelpSearchQueryWidget*)this)->QHelpSearchQueryWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QHelpSearchQueryWidget*)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<QHelpSearchQueryWidget*>(this))) {
            void* xret = this->QHelpSearchQueryWidget::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 = QHelpSearchQueryWidget::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 = QHelpSearchQueryWidget::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 = QHelpSearchQueryWidget::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 = QHelpSearchQueryWidget::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<QHelpSearchQueryWidget*>(this))) {
            int xret = this->QHelpSearchQueryWidget::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) {
        // QHelpSearchQueryWidget* QHelpSearchQueryWidget(QWidget*)
        x_QHelpSearchQueryWidget* xret = new x_QHelpSearchQueryWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QHelpSearchQueryWidget(QWidget* x1) : QHelpSearchQueryWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // void expandExtendedSearch()
        this->QHelpSearchQueryWidget::expandExtendedSearch();
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void collapseExtendedSearch()
        this->QHelpSearchQueryWidget::collapseExtendedSearch();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QList<QHelpSearchQuery> query() const
        QList<QHelpSearchQuery> xret = ((const x_QHelpSearchQueryWidget*)this)->QHelpSearchQueryWidget::query();
        x[0].s_class = (void*)new QList<QHelpSearchQuery>(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setQuery(const QList<QHelpSearchQuery>&)
        this->QHelpSearchQueryWidget::setQuery(*(const QList<QHelpSearchQuery>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void search()
        this->QHelpSearchQueryWidget::search();
        (void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpSearchQueryWidget::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 = QHelpSearchQueryWidget::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) {
        // QHelpSearchQueryWidget* QHelpSearchQueryWidget()
        x_QHelpSearchQueryWidget* xret = new x_QHelpSearchQueryWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpSearchQueryWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(187, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QHelpSearchQueryWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(188, (void*)this, x)) return (void*)x[0].s_class;
        return this->QHelpSearchQueryWidget::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(193, (void*)this, x)) return (int)x[0].s_int;
        return this->QHelpSearchQueryWidget::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(226, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(227, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(228, (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(229, (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(232, (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(233, (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(234, (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(235, (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(236, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(237, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(238, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(239, (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(240, (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(241, (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(242, (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(243, (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(244, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(245, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(246, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(247, (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(248, (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(249, (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(250, (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(251, (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(252, (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(253, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(254, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(255, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(257, (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(258, (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(259, (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(260, (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(261, (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(262, (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(263, (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(264, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(265, (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(231, (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(219, (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(220, (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(221, (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(222, (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(223, (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(224, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(225, (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(230, (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(256, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QHelpSearchQueryWidget() { this->_binding->deleted(25, (void*)this); }
};
void xcall_QHelpSearchQueryWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpSearchQueryWidget *xself = (x_QHelpSearchQueryWidget*)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_QHelpSearchQueryWidget::x_3(args);	break;
        case 4: x_QHelpSearchQueryWidget::x_4(args);	break;
        case 5: x_QHelpSearchQueryWidget::x_5(args);	break;
        case 6: x_QHelpSearchQueryWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QHelpSearchQueryWidget::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_QHelpSearchQueryWidget::x_14(args);	break;
        case 15: x_QHelpSearchQueryWidget::x_15(args);	break;
        case 16: x_QHelpSearchQueryWidget::x_16(args);	break;
        case 17: x_QHelpSearchQueryWidget::x_17(args);	break;
        case 18: delete (QHelpSearchQueryWidget*)xself;	break;
    }
}
class x_QHelpSearchResultWidget : public QHelpSearchResultWidget, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_QHelpSearchResultWidget*)this)->QHelpSearchResultWidget::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->QHelpSearchResultWidget::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 = QHelpSearchResultWidget::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 = QHelpSearchResultWidget::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 = QHelpSearchResultWidget::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 = QHelpSearchResultWidget::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->QHelpSearchResultWidget::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) {
        // QUrl linkAt(const QPoint&)
        QUrl xret = this->QHelpSearchResultWidget::linkAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QUrl(xret);
    }
    void x_9(Smoke::Stack x) {
        // void requestShowLink(const QUrl&)
        this->QHelpSearchResultWidget::requestShowLink(*(const QUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QHelpSearchResultWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QHelpSearchResultWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QHelpSearchResultWidget::staticMetaObject;
    }
};
void xcall_QHelpSearchResultWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QHelpSearchResultWidget *xself = (x_QHelpSearchResultWidget*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QHelpSearchResultWidget::x_3(args);	break;
        case 4: x_QHelpSearchResultWidget::x_4(args);	break;
        case 5: x_QHelpSearchResultWidget::x_5(args);	break;
        case 6: x_QHelpSearchResultWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_QHelpSearchResultWidget::x_10(args);	break;
        case 11: x_QHelpSearchResultWidget::x_11(args);	break;
        case 12: x_QHelpSearchResultWidget::x_12(args);	break;
        case 13: delete (QHelpSearchResultWidget*)xself;	break;
    }
}
class x_QGlobalSpace {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    ~x_QGlobalSpace() { this->_binding->deleted(15, (void*)this); }
};
void xcall_QGlobalSpace(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGlobalSpace *xself = (x_QGlobalSpace*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
    }
}

}
