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

#include <smoke.h>
#include <qtdeclarative_smoke.h>

class __internal_SmokeClass {};

namespace __smokeqtdeclarative {

class x_QDeclarativeComponent : public QDeclarativeComponent, 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<QDeclarativeComponent*>(this))) {
            const QMetaObject* xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDeclarativeComponent*)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<QDeclarativeComponent*>(this))) {
            void* xret = this->QDeclarativeComponent::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 = QDeclarativeComponent::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 = QDeclarativeComponent::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 = QDeclarativeComponent::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 = QDeclarativeComponent::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<QDeclarativeComponent*>(this))) {
            int xret = this->QDeclarativeComponent::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) {
        // QDeclarativeComponent* QDeclarativeComponent(QObject*)
        x_QDeclarativeComponent* xret = new x_QDeclarativeComponent((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeComponent(QObject* x1) : QDeclarativeComponent(x1) {}
    static void x_9(Smoke::Stack x) {
        // QDeclarativeComponent* QDeclarativeComponent(QDeclarativeEngine*, QObject*)
        x_QDeclarativeComponent* xret = new x_QDeclarativeComponent((QDeclarativeEngine*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeComponent(QDeclarativeEngine* x1, QObject* x2) : QDeclarativeComponent(x1, x2) {}
    static void x_10(Smoke::Stack x) {
        // QDeclarativeComponent* QDeclarativeComponent(QDeclarativeEngine*, const QString&, QObject*)
        x_QDeclarativeComponent* xret = new x_QDeclarativeComponent((QDeclarativeEngine*)x[1].s_class,*(const QString*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeComponent(QDeclarativeEngine* x1, const QString& x2, QObject* x3) : QDeclarativeComponent(x1, x2, x3) {}
    static void x_11(Smoke::Stack x) {
        // QDeclarativeComponent* QDeclarativeComponent(QDeclarativeEngine*, const QUrl&, QObject*)
        x_QDeclarativeComponent* xret = new x_QDeclarativeComponent((QDeclarativeEngine*)x[1].s_class,*(const QUrl*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeComponent(QDeclarativeEngine* x1, const QUrl& x2, QObject* x3) : QDeclarativeComponent(x1, x2, x3) {}
    void x_12(Smoke::Stack x) {
        // QDeclarativeComponent::Status status() const
        QDeclarativeComponent::Status xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::status();
        x[0].s_enum = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool isNull() const
        bool xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::isNull();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool isReady() const
        bool xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::isReady();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool isError() const
        bool xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::isError();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool isLoading() const
        bool xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::isLoading();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // QList<QDeclarativeError> errors() const
        QList<QDeclarativeError> xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::errors();
        x[0].s_class = (void*)new QList<QDeclarativeError>(xret);
    }
    void x_18(Smoke::Stack x) {
        // QString errorString() const
        QString xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::errorString();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_19(Smoke::Stack x) {
        // double progress() const
        double xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::progress();
        x[0].s_double = xret;
    }
    void x_20(Smoke::Stack x) {
        // QUrl url() const
        QUrl xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::url();
        x[0].s_class = (void*)new QUrl(xret);
    }
    void x_21(Smoke::Stack x) {
        // virtual QObject* create(QDeclarativeContext*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeComponent*>(this))) {
            QObject* xret = this->QDeclarativeComponent::create((QDeclarativeContext*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QObject* xret = this->create((QDeclarativeContext*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual QObject* beginCreate(QDeclarativeContext*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeComponent*>(this))) {
            QObject* xret = this->QDeclarativeComponent::beginCreate((QDeclarativeContext*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QObject* xret = this->beginCreate((QDeclarativeContext*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual void completeCreate()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeComponent*>(this))) {
            this->QDeclarativeComponent::completeCreate();
            (void)x; // noop (for compiler warning)
        } else {
            this->completeCreate();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // void loadUrl(const QUrl&)
        this->QDeclarativeComponent::loadUrl(*(const QUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setData(const QByteArray&, const QUrl&)
        this->QDeclarativeComponent::setData(*(const QByteArray*)x[1].s_class,*(const QUrl*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QDeclarativeContext* creationContext() const
        QDeclarativeContext* xret = ((const x_QDeclarativeComponent*)this)->QDeclarativeComponent::creationContext();
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // static QDeclarativeComponentAttached* qmlAttachedProperties(QObject*)
        QDeclarativeComponentAttached* xret = QDeclarativeComponent::qmlAttachedProperties((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_28(Smoke::Stack x) {
        // void statusChanged(QDeclarativeComponent::Status)
        this->QDeclarativeComponent::statusChanged((QDeclarativeComponent::Status)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void progressChanged(qreal)
        this->QDeclarativeComponent::progressChanged((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QScriptValue createObject(QObject*)
        QScriptValue xret = this->QDeclarativeComponent::createObject((QObject*)x[1].s_class);
        x[0].s_class = (void*)new QScriptValue(xret);
    }
    void x_31(Smoke::Stack x) {
        // QScriptValue createObject(QObject*, const QScriptValue&)
        QScriptValue xret = this->QDeclarativeComponent::createObject((QObject*)x[1].s_class,*(const QScriptValue*)x[2].s_class);
        x[0].s_class = (void*)new QScriptValue(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDeclarativeComponent::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDeclarativeComponent::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_34(Smoke::Stack x) {
        // QDeclarativeComponent* QDeclarativeComponent()
        x_QDeclarativeComponent* xret = new x_QDeclarativeComponent((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_35(Smoke::Stack x) {
        // QDeclarativeComponent* QDeclarativeComponent(QDeclarativeEngine*)
        x_QDeclarativeComponent* xret = new x_QDeclarativeComponent((QDeclarativeEngine*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_36(Smoke::Stack x) {
        // QDeclarativeComponent* QDeclarativeComponent(QDeclarativeEngine*, const QString&)
        x_QDeclarativeComponent* xret = new x_QDeclarativeComponent((QDeclarativeEngine*)x[1].s_class,*(const QString*)x[2].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_37(Smoke::Stack x) {
        // QDeclarativeComponent* QDeclarativeComponent(QDeclarativeEngine*, const QUrl&)
        x_QDeclarativeComponent* xret = new x_QDeclarativeComponent((QDeclarativeEngine*)x[1].s_class,*(const QUrl*)x[2].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_38(Smoke::Stack x) {
        // QObject* create()
        QObject* xret = this->QDeclarativeComponent::create((QDeclarativeContext*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDeclarativeComponent::staticMetaObject;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeComponent::Null;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeComponent::Ready;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeComponent::Loading;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeComponent::Error;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(2, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDeclarativeComponent::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDeclarativeComponent::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(8, (void*)this, x)) return (int)x[0].s_int;
        return this->QDeclarativeComponent::qt_metacall(x1, x2, x3);
    }
    virtual QObject* create(QDeclarativeContext* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(22, (void*)this, x)) return (QObject*)x[0].s_class;
        return this->QDeclarativeComponent::create(x1);
    }
    virtual QObject* beginCreate(QDeclarativeContext* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(23, (void*)this, x)) return (QObject*)x[0].s_class;
        return this->QDeclarativeComponent::beginCreate(x1);
    }
    virtual void completeCreate() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(24, (void*)this, x)) return;
        this->QDeclarativeComponent::completeCreate();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(565, (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(566, (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(567, (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(568, (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(569, (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(570, (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(571, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 15: //QDeclarativeComponent::Status
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDeclarativeComponent::Status;
                    break;
                case Smoke::EnumDelete:
                    delete (QDeclarativeComponent::Status*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDeclarativeComponent::Status*)xdata = (QDeclarativeComponent::Status)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDeclarativeComponent::Status*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDeclarativeComponent() { this->_binding->deleted(10, (void*)this); }
};
void xenum_QDeclarativeComponent(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDeclarativeComponent::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDeclarativeComponent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeComponent *xself = (x_QDeclarativeComponent*)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_QDeclarativeComponent::x_3(args);	break;
        case 4: x_QDeclarativeComponent::x_4(args);	break;
        case 5: x_QDeclarativeComponent::x_5(args);	break;
        case 6: x_QDeclarativeComponent::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDeclarativeComponent::x_8(args);	break;
        case 9: x_QDeclarativeComponent::x_9(args);	break;
        case 10: x_QDeclarativeComponent::x_10(args);	break;
        case 11: x_QDeclarativeComponent::x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: x_QDeclarativeComponent::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: x_QDeclarativeComponent::x_32(args);	break;
        case 33: x_QDeclarativeComponent::x_33(args);	break;
        case 34: x_QDeclarativeComponent::x_34(args);	break;
        case 35: x_QDeclarativeComponent::x_35(args);	break;
        case 36: x_QDeclarativeComponent::x_36(args);	break;
        case 37: x_QDeclarativeComponent::x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: x_QDeclarativeComponent::x_39(args);	break;
        case 40: x_QDeclarativeComponent::x_40(args);	break;
        case 41: x_QDeclarativeComponent::x_41(args);	break;
        case 42: x_QDeclarativeComponent::x_42(args);	break;
        case 43: x_QDeclarativeComponent::x_43(args);	break;
        case 44: delete (QDeclarativeComponent*)xself;	break;
    }
}
class x_QDeclarativeContext : public QDeclarativeContext, 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<QDeclarativeContext*>(this))) {
            const QMetaObject* xret = ((const x_QDeclarativeContext*)this)->QDeclarativeContext::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDeclarativeContext*)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<QDeclarativeContext*>(this))) {
            void* xret = this->QDeclarativeContext::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 = QDeclarativeContext::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 = QDeclarativeContext::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 = QDeclarativeContext::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 = QDeclarativeContext::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<QDeclarativeContext*>(this))) {
            int xret = this->QDeclarativeContext::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) {
        // QDeclarativeContext* QDeclarativeContext(QDeclarativeEngine*, QObject*)
        x_QDeclarativeContext* xret = new x_QDeclarativeContext((QDeclarativeEngine*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeContext(QDeclarativeEngine* x1, QObject* x2) : QDeclarativeContext(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // QDeclarativeContext* QDeclarativeContext(QDeclarativeContext*, QObject*)
        x_QDeclarativeContext* xret = new x_QDeclarativeContext((QDeclarativeContext*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeContext(QDeclarativeContext* x1, QObject* x2) : QDeclarativeContext(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QDeclarativeContext*)this)->QDeclarativeContext::isValid();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QDeclarativeEngine* engine() const
        QDeclarativeEngine* xret = ((const x_QDeclarativeContext*)this)->QDeclarativeContext::engine();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QDeclarativeContext* parentContext() const
        QDeclarativeContext* xret = ((const x_QDeclarativeContext*)this)->QDeclarativeContext::parentContext();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QObject* contextObject() const
        QObject* xret = ((const x_QDeclarativeContext*)this)->QDeclarativeContext::contextObject();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // void setContextObject(QObject*)
        this->QDeclarativeContext::setContextObject((QObject*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QVariant contextProperty(const QString&) const
        QVariant xret = ((const x_QDeclarativeContext*)this)->QDeclarativeContext::contextProperty(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setContextProperty(const QString&, QObject*)
        this->QDeclarativeContext::setContextProperty(*(const QString*)x[1].s_class,(QObject*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setContextProperty(const QString&, const QVariant&)
        this->QDeclarativeContext::setContextProperty(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QUrl resolvedUrl(const QUrl&)
        QUrl xret = this->QDeclarativeContext::resolvedUrl(*(const QUrl*)x[1].s_class);
        x[0].s_class = (void*)new QUrl(xret);
    }
    void x_19(Smoke::Stack x) {
        // void setBaseUrl(const QUrl&)
        this->QDeclarativeContext::setBaseUrl(*(const QUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // QUrl baseUrl() const
        QUrl xret = ((const x_QDeclarativeContext*)this)->QDeclarativeContext::baseUrl();
        x[0].s_class = (void*)new QUrl(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDeclarativeContext::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDeclarativeContext::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // QDeclarativeContext* QDeclarativeContext(QDeclarativeEngine*)
        x_QDeclarativeContext* xret = new x_QDeclarativeContext((QDeclarativeEngine*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // QDeclarativeContext* QDeclarativeContext(QDeclarativeContext*)
        x_QDeclarativeContext* xret = new x_QDeclarativeContext((QDeclarativeContext*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_25(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDeclarativeContext::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(46, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDeclarativeContext::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(47, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDeclarativeContext::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(52, (void*)this, x)) return (int)x[0].s_int;
        return this->QDeclarativeContext::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(565, (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(566, (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(567, (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(568, (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(569, (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(570, (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(571, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QDeclarativeContext() { this->_binding->deleted(12, (void*)this); }
};
void xcall_QDeclarativeContext(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeContext *xself = (x_QDeclarativeContext*)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_QDeclarativeContext::x_3(args);	break;
        case 4: x_QDeclarativeContext::x_4(args);	break;
        case 5: x_QDeclarativeContext::x_5(args);	break;
        case 6: x_QDeclarativeContext::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDeclarativeContext::x_8(args);	break;
        case 9: x_QDeclarativeContext::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: x_QDeclarativeContext::x_21(args);	break;
        case 22: x_QDeclarativeContext::x_22(args);	break;
        case 23: x_QDeclarativeContext::x_23(args);	break;
        case 24: x_QDeclarativeContext::x_24(args);	break;
        case 25: x_QDeclarativeContext::x_25(args);	break;
        case 26: delete (QDeclarativeContext*)xself;	break;
    }
}
class x_QDeclarativeEngine : public QDeclarativeEngine, 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<QDeclarativeEngine*>(this))) {
            const QMetaObject* xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDeclarativeEngine*)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<QDeclarativeEngine*>(this))) {
            void* xret = this->QDeclarativeEngine::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 = QDeclarativeEngine::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 = QDeclarativeEngine::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 = QDeclarativeEngine::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 = QDeclarativeEngine::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<QDeclarativeEngine*>(this))) {
            int xret = this->QDeclarativeEngine::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) {
        // QDeclarativeEngine* QDeclarativeEngine(QObject*)
        x_QDeclarativeEngine* xret = new x_QDeclarativeEngine((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeEngine(QObject* x1) : QDeclarativeEngine(x1) {}
    void x_9(Smoke::Stack x) {
        // QDeclarativeContext* rootContext() const
        QDeclarativeContext* xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::rootContext();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // void clearComponentCache()
        this->QDeclarativeEngine::clearComponentCache();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QStringList importPathList() const
        QStringList xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::importPathList();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setImportPathList(const QStringList&)
        this->QDeclarativeEngine::setImportPathList(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void addImportPath(const QString&)
        this->QDeclarativeEngine::addImportPath(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QStringList pluginPathList() const
        QStringList xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::pluginPathList();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_15(Smoke::Stack x) {
        // void setPluginPathList(const QStringList&)
        this->QDeclarativeEngine::setPluginPathList(*(const QStringList*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void addPluginPath(const QString&)
        this->QDeclarativeEngine::addPluginPath(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool importPlugin(const QString&, const QString&, QString*)
        bool xret = this->QDeclarativeEngine::importPlugin(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(QString*)x[3].s_class);
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setNetworkAccessManagerFactory(QDeclarativeNetworkAccessManagerFactory*)
        this->QDeclarativeEngine::setNetworkAccessManagerFactory((QDeclarativeNetworkAccessManagerFactory*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QDeclarativeNetworkAccessManagerFactory* networkAccessManagerFactory() const
        QDeclarativeNetworkAccessManagerFactory* xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::networkAccessManagerFactory();
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // QNetworkAccessManager* networkAccessManager() const
        QNetworkAccessManager* xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::networkAccessManager();
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // void addImageProvider(const QString&, QDeclarativeImageProvider*)
        this->QDeclarativeEngine::addImageProvider(*(const QString*)x[1].s_class,(QDeclarativeImageProvider*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QDeclarativeImageProvider* imageProvider(const QString&) const
        QDeclarativeImageProvider* xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::imageProvider(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_23(Smoke::Stack x) {
        // void removeImageProvider(const QString&)
        this->QDeclarativeEngine::removeImageProvider(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setOfflineStoragePath(const QString&)
        this->QDeclarativeEngine::setOfflineStoragePath(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QString offlineStoragePath() const
        QString xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::offlineStoragePath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_26(Smoke::Stack x) {
        // QUrl baseUrl() const
        QUrl xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::baseUrl();
        x[0].s_class = (void*)new QUrl(xret);
    }
    void x_27(Smoke::Stack x) {
        // void setBaseUrl(const QUrl&)
        this->QDeclarativeEngine::setBaseUrl(*(const QUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool outputWarningsToStandardError() const
        bool xret = ((const x_QDeclarativeEngine*)this)->QDeclarativeEngine::outputWarningsToStandardError();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // void setOutputWarningsToStandardError(bool)
        this->QDeclarativeEngine::setOutputWarningsToStandardError((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_30(Smoke::Stack x) {
        // static QDeclarativeContext* contextForObject(const QObject*)
        QDeclarativeContext* xret = QDeclarativeEngine::contextForObject((const QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static void setContextForObject(QObject*, QDeclarativeContext*)
        QDeclarativeEngine::setContextForObject((QObject*)x[1].s_class,(QDeclarativeContext*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_32(Smoke::Stack x) {
        // static void setObjectOwnership(QObject*, QDeclarativeEngine::ObjectOwnership)
        QDeclarativeEngine::setObjectOwnership((QObject*)x[1].s_class,(QDeclarativeEngine::ObjectOwnership)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    static void x_33(Smoke::Stack x) {
        // static QDeclarativeEngine::ObjectOwnership objectOwnership(QObject*)
        QDeclarativeEngine::ObjectOwnership xret = QDeclarativeEngine::objectOwnership((QObject*)x[1].s_class);
        x[0].s_enum = xret;
    }
    void x_34(Smoke::Stack x) {
        // void quit()
        this->QDeclarativeEngine::quit();
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void warnings(const QList<QDeclarativeError>&)
        this->QDeclarativeEngine::warnings(*(const QList<QDeclarativeError>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_36(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDeclarativeEngine::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDeclarativeEngine::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // QDeclarativeEngine* QDeclarativeEngine()
        x_QDeclarativeEngine* xret = new x_QDeclarativeEngine((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDeclarativeEngine::staticMetaObject;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeEngine::CppOwnership;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeEngine::JavaScriptOwnership;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(72, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDeclarativeEngine::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(73, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDeclarativeEngine::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(78, (void*)this, x)) return (int)x[0].s_int;
        return this->QDeclarativeEngine::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(565, (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(566, (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(567, (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(568, (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(569, (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(570, (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(571, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 19: //QDeclarativeEngine::ObjectOwnership
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDeclarativeEngine::ObjectOwnership;
                    break;
                case Smoke::EnumDelete:
                    delete (QDeclarativeEngine::ObjectOwnership*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDeclarativeEngine::ObjectOwnership*)xdata = (QDeclarativeEngine::ObjectOwnership)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDeclarativeEngine::ObjectOwnership*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDeclarativeEngine() { this->_binding->deleted(13, (void*)this); }
};
void xenum_QDeclarativeEngine(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDeclarativeEngine::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDeclarativeEngine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeEngine *xself = (x_QDeclarativeEngine*)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_QDeclarativeEngine::x_3(args);	break;
        case 4: x_QDeclarativeEngine::x_4(args);	break;
        case 5: x_QDeclarativeEngine::x_5(args);	break;
        case 6: x_QDeclarativeEngine::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDeclarativeEngine::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: x_QDeclarativeEngine::x_30(args);	break;
        case 31: x_QDeclarativeEngine::x_31(args);	break;
        case 32: x_QDeclarativeEngine::x_32(args);	break;
        case 33: x_QDeclarativeEngine::x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: x_QDeclarativeEngine::x_36(args);	break;
        case 37: x_QDeclarativeEngine::x_37(args);	break;
        case 38: x_QDeclarativeEngine::x_38(args);	break;
        case 39: x_QDeclarativeEngine::x_39(args);	break;
        case 40: x_QDeclarativeEngine::x_40(args);	break;
        case 41: x_QDeclarativeEngine::x_41(args);	break;
        case 42: delete (QDeclarativeEngine*)xself;	break;
    }
}
class x_QDeclarativeError : public QDeclarativeError {
    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) {
        // QDeclarativeError* QDeclarativeError()
        x_QDeclarativeError* xret = new x_QDeclarativeError();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeError() : QDeclarativeError() {}
    static void x_2(Smoke::Stack x) {
        // QDeclarativeError* QDeclarativeError(const QDeclarativeError&)
        x_QDeclarativeError* xret = new x_QDeclarativeError(*(const QDeclarativeError*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeError(const QDeclarativeError& x1) : QDeclarativeError(x1) {}
    void x_3(Smoke::Stack x) {
        // QDeclarativeError& operator=(const QDeclarativeError&)
        QDeclarativeError& xret = this->QDeclarativeError::operator=(*(const QDeclarativeError*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QDeclarativeError*)this)->QDeclarativeError::isValid();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // QUrl url() const
        QUrl xret = ((const x_QDeclarativeError*)this)->QDeclarativeError::url();
        x[0].s_class = (void*)new QUrl(xret);
    }
    void x_6(Smoke::Stack x) {
        // void setUrl(const QUrl&)
        this->QDeclarativeError::setUrl(*(const QUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // QString description() const
        QString xret = ((const x_QDeclarativeError*)this)->QDeclarativeError::description();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_8(Smoke::Stack x) {
        // void setDescription(const QString&)
        this->QDeclarativeError::setDescription(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // int line() const
        int xret = ((const x_QDeclarativeError*)this)->QDeclarativeError::line();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setLine(int)
        this->QDeclarativeError::setLine((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // int column() const
        int xret = ((const x_QDeclarativeError*)this)->QDeclarativeError::column();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setColumn(int)
        this->QDeclarativeError::setColumn((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QString toString() const
        QString xret = ((const x_QDeclarativeError*)this)->QDeclarativeError::toString();
        x[0].s_class = (void*)new QString(xret);
    }
    ~x_QDeclarativeError() { this->_binding->deleted(14, (void*)this); }
};
void xcall_QDeclarativeError(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeError *xself = (x_QDeclarativeError*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDeclarativeError::x_1(args);	break;
        case 2: x_QDeclarativeError::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: delete (QDeclarativeError*)xself;	break;
    }
}
class x_QDeclarativeExpression : public QDeclarativeExpression, 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<QDeclarativeExpression*>(this))) {
            const QMetaObject* xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDeclarativeExpression*)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<QDeclarativeExpression*>(this))) {
            void* xret = this->QDeclarativeExpression::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 = QDeclarativeExpression::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 = QDeclarativeExpression::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 = QDeclarativeExpression::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 = QDeclarativeExpression::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<QDeclarativeExpression*>(this))) {
            int xret = this->QDeclarativeExpression::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) {
        // QDeclarativeExpression* QDeclarativeExpression()
        x_QDeclarativeExpression* xret = new x_QDeclarativeExpression();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeExpression() : QDeclarativeExpression() {}
    static void x_9(Smoke::Stack x) {
        // QDeclarativeExpression* QDeclarativeExpression(QDeclarativeContext*, QObject*, const QString&, QObject*)
        x_QDeclarativeExpression* xret = new x_QDeclarativeExpression((QDeclarativeContext*)x[1].s_class,(QObject*)x[2].s_class,*(const QString*)x[3].s_class,(QObject*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeExpression(QDeclarativeContext* x1, QObject* x2, const QString& x3, QObject* x4) : QDeclarativeExpression(x1, x2, x3, x4) {}
    void x_10(Smoke::Stack x) {
        // QDeclarativeEngine* engine() const
        QDeclarativeEngine* xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::engine();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // QDeclarativeContext* context() const
        QDeclarativeContext* xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::context();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // QString expression() const
        QString xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::expression();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // void setExpression(const QString&)
        this->QDeclarativeExpression::setExpression(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool notifyOnValueChanged() const
        bool xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::notifyOnValueChanged();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setNotifyOnValueChanged(bool)
        this->QDeclarativeExpression::setNotifyOnValueChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QString sourceFile() const
        QString xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::sourceFile();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_17(Smoke::Stack x) {
        // int lineNumber() const
        int xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::lineNumber();
        x[0].s_int = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setSourceLocation(const QString&, int)
        this->QDeclarativeExpression::setSourceLocation(*(const QString*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QObject* scopeObject() const
        QObject* xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::scopeObject();
        x[0].s_class = (void*)xret;
    }
    void x_20(Smoke::Stack x) {
        // bool hasError() const
        bool xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::hasError();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void clearError()
        this->QDeclarativeExpression::clearError();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // QDeclarativeError error() const
        QDeclarativeError xret = ((const x_QDeclarativeExpression*)this)->QDeclarativeExpression::error();
        x[0].s_class = (void*)new QDeclarativeError(xret);
    }
    void x_23(Smoke::Stack x) {
        // QVariant evaluate(bool*)
        QVariant xret = this->QDeclarativeExpression::evaluate((bool*)x[1].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_24(Smoke::Stack x) {
        // void valueChanged()
        this->QDeclarativeExpression::valueChanged();
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDeclarativeExpression::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_26(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDeclarativeExpression::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // QDeclarativeExpression* QDeclarativeExpression(QDeclarativeContext*, QObject*, const QString&)
        x_QDeclarativeExpression* xret = new x_QDeclarativeExpression((QDeclarativeContext*)x[1].s_class,(QObject*)x[2].s_class,*(const QString*)x[3].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_28(Smoke::Stack x) {
        // QVariant evaluate()
        QVariant xret = this->QDeclarativeExpression::evaluate((bool*)0);
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDeclarativeExpression::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(128, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDeclarativeExpression::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(129, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDeclarativeExpression::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(134, (void*)this, x)) return (int)x[0].s_int;
        return this->QDeclarativeExpression::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(565, (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(566, (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(567, (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(568, (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(569, (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(570, (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(571, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QDeclarativeExpression() { this->_binding->deleted(15, (void*)this); }
};
void xcall_QDeclarativeExpression(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeExpression *xself = (x_QDeclarativeExpression*)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_QDeclarativeExpression::x_3(args);	break;
        case 4: x_QDeclarativeExpression::x_4(args);	break;
        case 5: x_QDeclarativeExpression::x_5(args);	break;
        case 6: x_QDeclarativeExpression::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDeclarativeExpression::x_8(args);	break;
        case 9: x_QDeclarativeExpression::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: x_QDeclarativeExpression::x_25(args);	break;
        case 26: x_QDeclarativeExpression::x_26(args);	break;
        case 27: x_QDeclarativeExpression::x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: x_QDeclarativeExpression::x_29(args);	break;
        case 30: delete (QDeclarativeExpression*)xself;	break;
    }
}
class x_QDeclarativeExtensionPlugin : public QDeclarativeExtensionPlugin, 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<QDeclarativeExtensionPlugin*>(this))) {
            const QMetaObject* xret = ((const x_QDeclarativeExtensionPlugin*)this)->QDeclarativeExtensionPlugin::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDeclarativeExtensionPlugin*)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<QDeclarativeExtensionPlugin*>(this))) {
            void* xret = this->QDeclarativeExtensionPlugin::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 = QDeclarativeExtensionPlugin::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 = QDeclarativeExtensionPlugin::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 = QDeclarativeExtensionPlugin::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 = QDeclarativeExtensionPlugin::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<QDeclarativeExtensionPlugin*>(this))) {
            int xret = this->QDeclarativeExtensionPlugin::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) {
        // QDeclarativeExtensionPlugin* QDeclarativeExtensionPlugin(QObject*)
        x_QDeclarativeExtensionPlugin* xret = new x_QDeclarativeExtensionPlugin((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeExtensionPlugin(QObject* x1) : QDeclarativeExtensionPlugin(x1) {}
    void x_9(Smoke::Stack x) {
        // virtual void registerTypes(const char*) = 0
        this->registerTypes((const char*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // virtual void initializeEngine(QDeclarativeEngine*, const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeExtensionPlugin*>(this))) {
            this->QDeclarativeExtensionPlugin::initializeEngine((QDeclarativeEngine*)x[1].s_class,(const char*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->initializeEngine((QDeclarativeEngine*)x[1].s_class,(const char*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_11(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDeclarativeExtensionPlugin::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDeclarativeExtensionPlugin::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // QDeclarativeExtensionPlugin* QDeclarativeExtensionPlugin()
        x_QDeclarativeExtensionPlugin* xret = new x_QDeclarativeExtensionPlugin((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDeclarativeExtensionPlugin::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(158, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDeclarativeExtensionPlugin::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(159, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDeclarativeExtensionPlugin::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(164, (void*)this, x)) return (int)x[0].s_int;
        return this->QDeclarativeExtensionPlugin::qt_metacall(x1, x2, x3);
    }
    virtual void registerTypes(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(166, (void*)this, x, true /*pure virtual*/);
    }
    virtual void initializeEngine(QDeclarativeEngine* x1, const char* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(167, (void*)this, x)) return;
        this->QDeclarativeExtensionPlugin::initializeEngine(x1, x2);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(565, (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(566, (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(567, (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(568, (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(569, (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(570, (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(571, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QDeclarativeExtensionPlugin() { this->_binding->deleted(17, (void*)this); }
};
void xcall_QDeclarativeExtensionPlugin(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeExtensionPlugin *xself = (x_QDeclarativeExtensionPlugin*)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_QDeclarativeExtensionPlugin::x_3(args);	break;
        case 4: x_QDeclarativeExtensionPlugin::x_4(args);	break;
        case 5: x_QDeclarativeExtensionPlugin::x_5(args);	break;
        case 6: x_QDeclarativeExtensionPlugin::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDeclarativeExtensionPlugin::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: x_QDeclarativeExtensionPlugin::x_11(args);	break;
        case 12: x_QDeclarativeExtensionPlugin::x_12(args);	break;
        case 13: x_QDeclarativeExtensionPlugin::x_13(args);	break;
        case 14: x_QDeclarativeExtensionPlugin::x_14(args);	break;
        case 15: delete (QDeclarativeExtensionPlugin*)xself;	break;
    }
}
class x_QDeclarativeImageProvider : public QDeclarativeImageProvider, 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) {
        // QDeclarativeImageProvider* QDeclarativeImageProvider(QDeclarativeImageProvider::ImageType)
        x_QDeclarativeImageProvider* xret = new x_QDeclarativeImageProvider((QDeclarativeImageProvider::ImageType)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeImageProvider(QDeclarativeImageProvider::ImageType x1) : QDeclarativeImageProvider(x1) {}
    void x_2(Smoke::Stack x) {
        // QDeclarativeImageProvider::ImageType imageType() const
        QDeclarativeImageProvider::ImageType xret = ((const x_QDeclarativeImageProvider*)this)->QDeclarativeImageProvider::imageType();
        x[0].s_enum = xret;
    }
    void x_3(Smoke::Stack x) {
        // virtual QImage requestImage(const QString&, QSize*, const QSize&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeImageProvider*>(this))) {
            QImage xret = this->QDeclarativeImageProvider::requestImage(*(const QString*)x[1].s_class,(QSize*)x[2].s_class,*(const QSize*)x[3].s_class);
            x[0].s_class = (void*)new QImage(xret);
        } else {
            QImage xret = this->requestImage(*(const QString*)x[1].s_class,(QSize*)x[2].s_class,*(const QSize*)x[3].s_class);
            x[0].s_class = (void*)new QImage(xret);
        }
    }
    void x_4(Smoke::Stack x) {
        // virtual QPixmap requestPixmap(const QString&, QSize*, const QSize&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeImageProvider*>(this))) {
            QPixmap xret = this->QDeclarativeImageProvider::requestPixmap(*(const QString*)x[1].s_class,(QSize*)x[2].s_class,*(const QSize*)x[3].s_class);
            x[0].s_class = (void*)new QPixmap(xret);
        } else {
            QPixmap xret = this->requestPixmap(*(const QString*)x[1].s_class,(QSize*)x[2].s_class,*(const QSize*)x[3].s_class);
            x[0].s_class = (void*)new QPixmap(xret);
        }
    }
    static void x_5(Smoke::Stack x) {
        // QDeclarativeImageProvider* QDeclarativeImageProvider(const QDeclarativeImageProvider&)
        x_QDeclarativeImageProvider* xret = new x_QDeclarativeImageProvider(*(const QDeclarativeImageProvider*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeImageProvider(const QDeclarativeImageProvider& x1) : QDeclarativeImageProvider(x1) {}
    static void x_6(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeImageProvider::Image;
    }
    static void x_7(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeImageProvider::Pixmap;
    }
    virtual QImage requestImage(const QString& x1, QSize* x2, const QSize& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(175, (void*)this, x)) {
            QImage* xptr = (QImage*)x[0].s_class;
            QImage xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDeclarativeImageProvider::requestImage(x1, x2, x3);
    }
    virtual QPixmap requestPixmap(const QString& x1, QSize* x2, const QSize& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(176, (void*)this, x)) {
            QPixmap* xptr = (QPixmap*)x[0].s_class;
            QPixmap xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDeclarativeImageProvider::requestPixmap(x1, x2, x3);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 26: //QDeclarativeImageProvider::ImageType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDeclarativeImageProvider::ImageType;
                    break;
                case Smoke::EnumDelete:
                    delete (QDeclarativeImageProvider::ImageType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDeclarativeImageProvider::ImageType*)xdata = (QDeclarativeImageProvider::ImageType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDeclarativeImageProvider::ImageType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDeclarativeImageProvider() { this->_binding->deleted(18, (void*)this); }
};
void xenum_QDeclarativeImageProvider(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDeclarativeImageProvider::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDeclarativeImageProvider(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeImageProvider *xself = (x_QDeclarativeImageProvider*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDeclarativeImageProvider::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_QDeclarativeImageProvider::x_5(args);	break;
        case 6: x_QDeclarativeImageProvider::x_6(args);	break;
        case 7: x_QDeclarativeImageProvider::x_7(args);	break;
        case 8: delete (QDeclarativeImageProvider*)xself;	break;
    }
}
class x_QDeclarativeItem : public QDeclarativeItem, 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<QDeclarativeItem*>(this))) {
            const QMetaObject* xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDeclarativeItem*)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<QDeclarativeItem*>(this))) {
            void* xret = this->QDeclarativeItem::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 = QDeclarativeItem::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 = QDeclarativeItem::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 = QDeclarativeItem::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 = QDeclarativeItem::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<QDeclarativeItem*>(this))) {
            int xret = this->QDeclarativeItem::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) {
        // QDeclarativeItem* QDeclarativeItem(QDeclarativeItem*)
        x_QDeclarativeItem* xret = new x_QDeclarativeItem((QDeclarativeItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeItem(QDeclarativeItem* x1) : QDeclarativeItem(x1) {}
    void x_9(Smoke::Stack x) {
        // QDeclarativeItem* parentItem() const
        QDeclarativeItem* xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::parentItem();
        x[0].s_class = (void*)xret;
    }
    void x_10(Smoke::Stack x) {
        // void setParentItem(QDeclarativeItem*)
        this->QDeclarativeItem::setParentItem((QDeclarativeItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QRectF childrenRect()
        QRectF xret = this->QDeclarativeItem::childrenRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_12(Smoke::Stack x) {
        // bool clip() const
        bool xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::clip();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setClip(bool)
        this->QDeclarativeItem::setClip((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // double baselineOffset() const
        double xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::baselineOffset();
        x[0].s_double = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setBaselineOffset(double)
        this->QDeclarativeItem::setBaselineOffset((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QDeclarativeListProperty<QGraphicsTransform> transform()
        QDeclarativeListProperty<QGraphicsTransform> xret = this->QDeclarativeItem::transform();
        x[0].s_class = (void*)new QDeclarativeListProperty<QGraphicsTransform>(xret);
    }
    void x_17(Smoke::Stack x) {
        // double width() const
        double xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::width();
        x[0].s_double = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setWidth(double)
        this->QDeclarativeItem::setWidth((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void resetWidth()
        this->QDeclarativeItem::resetWidth();
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // double implicitWidth() const
        double xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::implicitWidth();
        x[0].s_double = xret;
    }
    void x_21(Smoke::Stack x) {
        // double height() const
        double xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::height();
        x[0].s_double = xret;
    }
    void x_22(Smoke::Stack x) {
        // void setHeight(double)
        this->QDeclarativeItem::setHeight((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void resetHeight()
        this->QDeclarativeItem::resetHeight();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // double implicitHeight() const
        double xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::implicitHeight();
        x[0].s_double = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setSize(const QSizeF&)
        this->QDeclarativeItem::setSize(*(const QSizeF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // QDeclarativeItem::TransformOrigin transformOrigin() const
        QDeclarativeItem::TransformOrigin xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::transformOrigin();
        x[0].s_enum = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setTransformOrigin(QDeclarativeItem::TransformOrigin)
        this->QDeclarativeItem::setTransformOrigin((QDeclarativeItem::TransformOrigin)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // bool smooth() const
        bool xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::smooth();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // void setSmooth(bool)
        this->QDeclarativeItem::setSmooth((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QRectF boundingRect() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            QRectF xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::boundingRect();
            x[0].s_class = (void*)new QRectF(xret);
        } else {
            QRectF xret = ((const x_QDeclarativeItem*)this)->boundingRect();
            x[0].s_class = (void*)new QRectF(xret);
        }
    }
    void x_31(Smoke::Stack x) {
        // virtual void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            this->QDeclarativeItem::paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paint((QPainter*)x[1].s_class,(const QStyleOptionGraphicsItem*)x[2].s_class,(QWidget*)x[3].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_32(Smoke::Stack x) {
        // bool hasActiveFocus() const
        bool xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::hasActiveFocus();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // bool hasFocus() const
        bool xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::hasFocus();
        x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) {
        // void setFocus(bool)
        this->QDeclarativeItem::setFocus((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // bool keepMouseGrab() const
        bool xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::keepMouseGrab();
        x[0].s_bool = xret;
    }
    void x_36(Smoke::Stack x) {
        // void setKeepMouseGrab(bool)
        this->QDeclarativeItem::setKeepMouseGrab((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // QScriptValue mapFromItem(const QScriptValue&, double, double) const
        QScriptValue xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::mapFromItem(*(const QScriptValue*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double);
        x[0].s_class = (void*)new QScriptValue(xret);
    }
    void x_38(Smoke::Stack x) {
        // QScriptValue mapToItem(const QScriptValue&, double, double) const
        QScriptValue xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::mapToItem(*(const QScriptValue*)x[1].s_class,(double)x[2].s_double,(double)x[3].s_double);
        x[0].s_class = (void*)new QScriptValue(xret);
    }
    void x_39(Smoke::Stack x) {
        // void forceActiveFocus()
        this->QDeclarativeItem::forceActiveFocus();
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // QDeclarativeItem* childAt(double, double) const
        QDeclarativeItem* xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::childAt((double)x[1].s_double,(double)x[2].s_double);
        x[0].s_class = (void*)xret;
    }
    void x_41(Smoke::Stack x) {
        // void childrenRectChanged(const QRectF&)
        this->QDeclarativeItem::childrenRectChanged(*(const QRectF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void baselineOffsetChanged(qreal)
        this->QDeclarativeItem::baselineOffsetChanged((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void stateChanged(const QString&)
        this->QDeclarativeItem::stateChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void focusChanged(bool)
        this->QDeclarativeItem::focusChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void activeFocusChanged(bool)
        this->QDeclarativeItem::activeFocusChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void parentChanged(QDeclarativeItem*)
        this->QDeclarativeItem::parentChanged((QDeclarativeItem*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void transformOriginChanged(QDeclarativeItem::TransformOrigin)
        this->QDeclarativeItem::transformOriginChanged((QDeclarativeItem::TransformOrigin)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void smoothChanged(bool)
        this->QDeclarativeItem::smoothChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void clipChanged(bool)
        this->QDeclarativeItem::clipChanged((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void implicitWidthChanged()
        this->QDeclarativeItem::implicitWidthChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void implicitHeightChanged()
        this->QDeclarativeItem::implicitHeightChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // bool isComponentComplete() const
        bool xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::isComponentComplete();
        x[0].s_bool = xret;
    }
    void x_53(Smoke::Stack x) {
        // virtual bool sceneEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            bool xret = this->QDeclarativeItem::sceneEvent((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->sceneEvent((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_54(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            bool xret = this->QDeclarativeItem::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_55(Smoke::Stack x) {
        // virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            QVariant xret = this->QDeclarativeItem::itemChange((QGraphicsItem::GraphicsItemChange)x[1].s_enum,*(const QVariant*)x[2].s_class);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = this->itemChange((QGraphicsItem::GraphicsItemChange)x[1].s_enum,*(const QVariant*)x[2].s_class);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_56(Smoke::Stack x) {
        // void setImplicitWidth(double)
        this->QDeclarativeItem::setImplicitWidth((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // bool widthValid() const
        bool xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::widthValid();
        x[0].s_bool = xret;
    }
    void x_58(Smoke::Stack x) {
        // void setImplicitHeight(double)
        this->QDeclarativeItem::setImplicitHeight((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // bool heightValid() const
        bool xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::heightValid();
        x[0].s_bool = xret;
    }
    void x_60(Smoke::Stack x) {
        // virtual void classBegin()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            this->QDeclarativeItem::classBegin();
            (void)x; // noop (for compiler warning)
        } else {
            this->classBegin();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_61(Smoke::Stack x) {
        // virtual void componentComplete()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            this->QDeclarativeItem::componentComplete();
            (void)x; // noop (for compiler warning)
        } else {
            this->componentComplete();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_62(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            this->QDeclarativeItem::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_63(Smoke::Stack x) {
        // virtual void keyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            this->QDeclarativeItem::keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_64(Smoke::Stack x) {
        // virtual void inputMethodEvent(QInputMethodEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            this->QDeclarativeItem::inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_65(Smoke::Stack x) {
        // virtual QVariant inputMethodQuery(Qt::InputMethodQuery) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            QVariant xret = ((const x_QDeclarativeItem*)this)->QDeclarativeItem::inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QDeclarativeItem*)this)->inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_66(Smoke::Stack x) {
        // void keyPressPreHandler(QKeyEvent*)
        this->QDeclarativeItem::keyPressPreHandler((QKeyEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void keyReleasePreHandler(QKeyEvent*)
        this->QDeclarativeItem::keyReleasePreHandler((QKeyEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void inputMethodPreHandler(QInputMethodEvent*)
        this->QDeclarativeItem::inputMethodPreHandler((QInputMethodEvent*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // virtual void geometryChanged(const QRectF&, const QRectF&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeItem*>(this))) {
            this->QDeclarativeItem::geometryChanged(*(const QRectF*)x[1].s_class,*(const QRectF*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->geometryChanged(*(const QRectF*)x[1].s_class,*(const QRectF*)x[2].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_70(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDeclarativeItem::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_71(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDeclarativeItem::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_72(Smoke::Stack x) {
        // QDeclarativeItem* QDeclarativeItem()
        x_QDeclarativeItem* xret = new x_QDeclarativeItem((QDeclarativeItem*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_73(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDeclarativeItem::staticMetaObject;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::TopLeft;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::Top;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::TopRight;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::Left;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::Center;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::Right;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::BottomLeft;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::Bottom;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeItem::BottomRight;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(181, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDeclarativeItem::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(182, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDeclarativeItem::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(187, (void*)this, x)) return (int)x[0].s_int;
        return this->QDeclarativeItem::qt_metacall(x1, x2, x3);
    }
    virtual void paint(QPainter* x1, const QStyleOptionGraphicsItem* x2, QWidget* x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(211, (void*)this, x)) return;
        this->QDeclarativeItem::paint(x1, x2, x3);
    }
    virtual bool sceneEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(233, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDeclarativeItem::sceneEvent(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(234, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDeclarativeItem::event(x1);
    }
    virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(235, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDeclarativeItem::itemChange(x1, x2);
    }
    virtual void classBegin() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(240, (void*)this, x)) return;
        this->QDeclarativeItem::classBegin();
    }
    virtual void componentComplete() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(241, (void*)this, x)) return;
        this->QDeclarativeItem::componentComplete();
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(242, (void*)this, x)) return;
        this->QDeclarativeItem::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(243, (void*)this, x)) return;
        this->QDeclarativeItem::keyReleaseEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(244, (void*)this, x)) return;
        this->QDeclarativeItem::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(245, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDeclarativeItem::inputMethodQuery(x1);
    }
    virtual void geometryChanged(const QRectF& x1, const QRectF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(249, (void*)this, x)) return;
        this->QDeclarativeItem::geometryChanged(x1, x2);
    }
    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(566, (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(567, (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(568, (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(569, (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(570, (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(571, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual void advance(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(477, (void*)this, x)) return;
        this->QGraphicsItem::advance(x1);
    }
    virtual QRectF boundingRect() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(210, (void*)this, x)) {
            QRectF* xptr = (QRectF*)x[0].s_class;
            QRectF xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDeclarativeItem::boundingRect();
    }
    virtual QPainterPath shape() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(478, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::shape();
    }
    virtual bool contains(const QPointF& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(479, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::contains(x1);
    }
    virtual bool collidesWithItem(const QGraphicsItem* x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(480, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithItem(x1, x2);
    }
    virtual bool collidesWithPath(const QPainterPath& x1, Qt::ItemSelectionMode x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(481, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::collidesWithPath(x1, x2);
    }
    virtual bool isObscuredBy(const QGraphicsItem* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(482, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::isObscuredBy(x1);
    }
    virtual QPainterPath opaqueArea() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(483, (void*)this, x)) {
            QPainterPath* xptr = (QPainterPath*)x[0].s_class;
            QPainterPath xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::opaqueArea();
    }
    virtual int type() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(484, (void*)this, x)) return (int)x[0].s_int;
        return this->QGraphicsItem::type();
    }
    virtual bool sceneEventFilter(QGraphicsItem* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(485, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::sceneEventFilter(x1, x2);
    }
    virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(486, (void*)this, x)) return;
        this->QGraphicsItem::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(487, (void*)this, x)) return;
        this->QGraphicsItem::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(488, (void*)this, x)) return;
        this->QGraphicsItem::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(489, (void*)this, x)) return;
        this->QGraphicsItem::dragMoveEvent(x1);
    }
    virtual void dropEvent(QGraphicsSceneDragDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(490, (void*)this, x)) return;
        this->QGraphicsItem::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(491, (void*)this, x)) return;
        this->QGraphicsItem::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(492, (void*)this, x)) return;
        this->QGraphicsItem::focusOutEvent(x1);
    }
    virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(493, (void*)this, x)) return;
        this->QGraphicsItem::hoverEnterEvent(x1);
    }
    virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(494, (void*)this, x)) return;
        this->QGraphicsItem::hoverMoveEvent(x1);
    }
    virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(495, (void*)this, x)) return;
        this->QGraphicsItem::hoverLeaveEvent(x1);
    }
    virtual void mousePressEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(496, (void*)this, x)) return;
        this->QGraphicsItem::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(497, (void*)this, x)) return;
        this->QGraphicsItem::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(498, (void*)this, x)) return;
        this->QGraphicsItem::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(499, (void*)this, x)) return;
        this->QGraphicsItem::mouseDoubleClickEvent(x1);
    }
    virtual void wheelEvent(QGraphicsSceneWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(500, (void*)this, x)) return;
        this->QGraphicsItem::wheelEvent(x1);
    }
    virtual bool supportsExtension(QGraphicsItem::Extension x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(501, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsItem::supportsExtension(x1);
    }
    virtual void setExtension(QGraphicsItem::Extension x1, const QVariant& x2) {
        Smoke::StackItem x[3];
        x[1].s_enum = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(502, (void*)this, x)) return;
        this->QGraphicsItem::setExtension(x1, x2);
    }
    virtual QVariant extension(const QVariant& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(503, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsItem::extension(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 29: //QDeclarativeItem::TransformOrigin
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDeclarativeItem::TransformOrigin;
                    break;
                case Smoke::EnumDelete:
                    delete (QDeclarativeItem::TransformOrigin*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDeclarativeItem::TransformOrigin*)xdata = (QDeclarativeItem::TransformOrigin)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDeclarativeItem::TransformOrigin*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDeclarativeItem() { this->_binding->deleted(20, (void*)this); }
};
void xenum_QDeclarativeItem(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDeclarativeItem::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDeclarativeItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeItem *xself = (x_QDeclarativeItem*)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_QDeclarativeItem::x_3(args);	break;
        case 4: x_QDeclarativeItem::x_4(args);	break;
        case 5: x_QDeclarativeItem::x_5(args);	break;
        case 6: x_QDeclarativeItem::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDeclarativeItem::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: 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: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: x_QDeclarativeItem::x_70(args);	break;
        case 71: x_QDeclarativeItem::x_71(args);	break;
        case 72: x_QDeclarativeItem::x_72(args);	break;
        case 73: x_QDeclarativeItem::x_73(args);	break;
        case 74: x_QDeclarativeItem::x_74(args);	break;
        case 75: x_QDeclarativeItem::x_75(args);	break;
        case 76: x_QDeclarativeItem::x_76(args);	break;
        case 77: x_QDeclarativeItem::x_77(args);	break;
        case 78: x_QDeclarativeItem::x_78(args);	break;
        case 79: x_QDeclarativeItem::x_79(args);	break;
        case 80: x_QDeclarativeItem::x_80(args);	break;
        case 81: x_QDeclarativeItem::x_81(args);	break;
        case 82: x_QDeclarativeItem::x_82(args);	break;
        case 83: delete (QDeclarativeItem*)xself;	break;
    }
}
class x_QDeclarativeListReference : public QDeclarativeListReference {
    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) {
        // QDeclarativeListReference* QDeclarativeListReference()
        x_QDeclarativeListReference* xret = new x_QDeclarativeListReference();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeListReference() : QDeclarativeListReference() {}
    static void x_2(Smoke::Stack x) {
        // QDeclarativeListReference* QDeclarativeListReference(QObject*, const char*, QDeclarativeEngine*)
        x_QDeclarativeListReference* xret = new x_QDeclarativeListReference((QObject*)x[1].s_class,(const char*)x[2].s_class,(QDeclarativeEngine*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeListReference(QObject* x1, const char* x2, QDeclarativeEngine* x3) : QDeclarativeListReference(x1, x2, x3) {}
    static void x_3(Smoke::Stack x) {
        // QDeclarativeListReference* QDeclarativeListReference(const QDeclarativeListReference&)
        x_QDeclarativeListReference* xret = new x_QDeclarativeListReference(*(const QDeclarativeListReference*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeListReference(const QDeclarativeListReference& x1) : QDeclarativeListReference(x1) {}
    void x_4(Smoke::Stack x) {
        // QDeclarativeListReference& operator=(const QDeclarativeListReference&)
        QDeclarativeListReference& xret = this->QDeclarativeListReference::operator=(*(const QDeclarativeListReference*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::isValid();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // QObject* object() const
        QObject* xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::object();
        x[0].s_class = (void*)xret;
    }
    void x_7(Smoke::Stack x) {
        // const QMetaObject* listElementType() const
        const QMetaObject* xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::listElementType();
        x[0].s_class = (void*)xret;
    }
    void x_8(Smoke::Stack x) {
        // bool canAppend() const
        bool xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::canAppend();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool canAt() const
        bool xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::canAt();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool canClear() const
        bool xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::canClear();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool canCount() const
        bool xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::canCount();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool append(QObject*) const
        bool xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::append((QObject*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // QObject* at(int) const
        QObject* xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::at((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // bool clear() const
        bool xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::clear();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_QDeclarativeListReference*)this)->QDeclarativeListReference::count();
        x[0].s_int = xret;
    }
    static void x_16(Smoke::Stack x) {
        // QDeclarativeListReference* QDeclarativeListReference(QObject*, const char*)
        x_QDeclarativeListReference* xret = new x_QDeclarativeListReference((QObject*)x[1].s_class,(const char*)x[2].s_class,(QDeclarativeEngine*)0);
        x[0].s_class = (void*)xret;
    }
    ~x_QDeclarativeListReference() { this->_binding->deleted(21, (void*)this); }
};
void xcall_QDeclarativeListReference(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeListReference *xself = (x_QDeclarativeListReference*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDeclarativeListReference::x_1(args);	break;
        case 2: x_QDeclarativeListReference::x_2(args);	break;
        case 3: x_QDeclarativeListReference::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: x_QDeclarativeListReference::x_16(args);	break;
        case 17: delete (QDeclarativeListReference*)xself;	break;
    }
}
class x_QDeclarativeNetworkAccessManagerFactory : public QDeclarativeNetworkAccessManagerFactory, 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 QNetworkAccessManager* create(QObject*) = 0
        QNetworkAccessManager* xret = this->create((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_2(Smoke::Stack x) {
        // QDeclarativeNetworkAccessManagerFactory* QDeclarativeNetworkAccessManagerFactory()
        x_QDeclarativeNetworkAccessManagerFactory* xret = new x_QDeclarativeNetworkAccessManagerFactory();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeNetworkAccessManagerFactory() : QDeclarativeNetworkAccessManagerFactory() {}
    static void x_3(Smoke::Stack x) {
        // QDeclarativeNetworkAccessManagerFactory* QDeclarativeNetworkAccessManagerFactory(const QDeclarativeNetworkAccessManagerFactory&)
        x_QDeclarativeNetworkAccessManagerFactory* xret = new x_QDeclarativeNetworkAccessManagerFactory(*(const QDeclarativeNetworkAccessManagerFactory*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeNetworkAccessManagerFactory(const QDeclarativeNetworkAccessManagerFactory& x1) : QDeclarativeNetworkAccessManagerFactory(x1) {}
    virtual QNetworkAccessManager* create(QObject* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(281, (void*)this, x, true /*pure virtual*/);
        return (QNetworkAccessManager*)x[0].s_class;
    }
    ~x_QDeclarativeNetworkAccessManagerFactory() { this->_binding->deleted(22, (void*)this); }
};
void xcall_QDeclarativeNetworkAccessManagerFactory(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeNetworkAccessManagerFactory *xself = (x_QDeclarativeNetworkAccessManagerFactory*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: x_QDeclarativeNetworkAccessManagerFactory::x_2(args);	break;
        case 3: x_QDeclarativeNetworkAccessManagerFactory::x_3(args);	break;
        case 4: delete (QDeclarativeNetworkAccessManagerFactory*)xself;	break;
    }
}
class x_QDeclarativeParserStatus : public QDeclarativeParserStatus, 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) {
        // QDeclarativeParserStatus* QDeclarativeParserStatus()
        x_QDeclarativeParserStatus* xret = new x_QDeclarativeParserStatus();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeParserStatus() : QDeclarativeParserStatus() {}
    void x_2(Smoke::Stack x) {
        // virtual void classBegin() = 0
        this->classBegin();
        (void)x; // noop (for compiler warning)
    }
    void x_3(Smoke::Stack x) {
        // virtual void componentComplete() = 0
        this->componentComplete();
        (void)x; // noop (for compiler warning)
    }
    static void x_4(Smoke::Stack x) {
        // QDeclarativeParserStatus* QDeclarativeParserStatus(const QDeclarativeParserStatus&)
        x_QDeclarativeParserStatus* xret = new x_QDeclarativeParserStatus(*(const QDeclarativeParserStatus*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeParserStatus(const QDeclarativeParserStatus& x1) : QDeclarativeParserStatus(x1) {}
    virtual void classBegin() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(286, (void*)this, x, true /*pure virtual*/);
    }
    virtual void componentComplete() {
        Smoke::StackItem x[1];
        this->_binding->callMethod(287, (void*)this, x, true /*pure virtual*/);
    }
    ~x_QDeclarativeParserStatus() { this->_binding->deleted(23, (void*)this); }
};
void xcall_QDeclarativeParserStatus(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeParserStatus *xself = (x_QDeclarativeParserStatus*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDeclarativeParserStatus::x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: x_QDeclarativeParserStatus::x_4(args);	break;
        case 5: delete (QDeclarativeParserStatus*)xself;	break;
    }
}
class x_QDeclarativeProperty : public QDeclarativeProperty {
    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) {
        // QDeclarativeProperty* QDeclarativeProperty()
        x_QDeclarativeProperty* xret = new x_QDeclarativeProperty();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeProperty() : QDeclarativeProperty() {}
    static void x_2(Smoke::Stack x) {
        // QDeclarativeProperty* QDeclarativeProperty(QObject*)
        x_QDeclarativeProperty* xret = new x_QDeclarativeProperty((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeProperty(QObject* x1) : QDeclarativeProperty(x1) {}
    static void x_3(Smoke::Stack x) {
        // QDeclarativeProperty* QDeclarativeProperty(QObject*, QDeclarativeContext*)
        x_QDeclarativeProperty* xret = new x_QDeclarativeProperty((QObject*)x[1].s_class,(QDeclarativeContext*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeProperty(QObject* x1, QDeclarativeContext* x2) : QDeclarativeProperty(x1, x2) {}
    static void x_4(Smoke::Stack x) {
        // QDeclarativeProperty* QDeclarativeProperty(QObject*, QDeclarativeEngine*)
        x_QDeclarativeProperty* xret = new x_QDeclarativeProperty((QObject*)x[1].s_class,(QDeclarativeEngine*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeProperty(QObject* x1, QDeclarativeEngine* x2) : QDeclarativeProperty(x1, x2) {}
    static void x_5(Smoke::Stack x) {
        // QDeclarativeProperty* QDeclarativeProperty(QObject*, const QString&)
        x_QDeclarativeProperty* xret = new x_QDeclarativeProperty((QObject*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeProperty(QObject* x1, const QString& x2) : QDeclarativeProperty(x1, x2) {}
    static void x_6(Smoke::Stack x) {
        // QDeclarativeProperty* QDeclarativeProperty(QObject*, const QString&, QDeclarativeContext*)
        x_QDeclarativeProperty* xret = new x_QDeclarativeProperty((QObject*)x[1].s_class,*(const QString*)x[2].s_class,(QDeclarativeContext*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeProperty(QObject* x1, const QString& x2, QDeclarativeContext* x3) : QDeclarativeProperty(x1, x2, x3) {}
    static void x_7(Smoke::Stack x) {
        // QDeclarativeProperty* QDeclarativeProperty(QObject*, const QString&, QDeclarativeEngine*)
        x_QDeclarativeProperty* xret = new x_QDeclarativeProperty((QObject*)x[1].s_class,*(const QString*)x[2].s_class,(QDeclarativeEngine*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeProperty(QObject* x1, const QString& x2, QDeclarativeEngine* x3) : QDeclarativeProperty(x1, x2, x3) {}
    static void x_8(Smoke::Stack x) {
        // QDeclarativeProperty* QDeclarativeProperty(const QDeclarativeProperty&)
        x_QDeclarativeProperty* xret = new x_QDeclarativeProperty(*(const QDeclarativeProperty*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeProperty(const QDeclarativeProperty& x1) : QDeclarativeProperty(x1) {}
    void x_9(Smoke::Stack x) {
        // QDeclarativeProperty& operator=(const QDeclarativeProperty&)
        QDeclarativeProperty& xret = this->QDeclarativeProperty::operator=(*(const QDeclarativeProperty*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_10(Smoke::Stack x) {
        // bool operator==(const QDeclarativeProperty&) const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::operator==(*(const QDeclarativeProperty*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QDeclarativeProperty::Type type() const
        QDeclarativeProperty::Type xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::type();
        x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::isValid();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool isProperty() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::isProperty();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool isSignalProperty() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::isSignalProperty();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // int propertyType() const
        int xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::propertyType();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // QDeclarativeProperty::PropertyTypeCategory propertyTypeCategory() const
        QDeclarativeProperty::PropertyTypeCategory xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::propertyTypeCategory();
        x[0].s_enum = xret;
    }
    void x_17(Smoke::Stack x) {
        // const char* propertyTypeName() const
        const char* xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::propertyTypeName();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_19(Smoke::Stack x) {
        // QVariant read() const
        QVariant xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::read();
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_20(Smoke::Stack x) {
        // static QVariant read(QObject*, const QString&)
        QVariant xret = QDeclarativeProperty::read((QObject*)x[1].s_class,*(const QString*)x[2].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QVariant read(QObject*, const QString&, QDeclarativeContext*)
        QVariant xret = QDeclarativeProperty::read((QObject*)x[1].s_class,*(const QString*)x[2].s_class,(QDeclarativeContext*)x[3].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static QVariant read(QObject*, const QString&, QDeclarativeEngine*)
        QVariant xret = QDeclarativeProperty::read((QObject*)x[1].s_class,*(const QString*)x[2].s_class,(QDeclarativeEngine*)x[3].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_23(Smoke::Stack x) {
        // bool write(const QVariant&) const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::write(*(const QVariant*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_24(Smoke::Stack x) {
        // static bool write(QObject*, const QString&, const QVariant&)
        bool xret = QDeclarativeProperty::write((QObject*)x[1].s_class,*(const QString*)x[2].s_class,*(const QVariant*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_25(Smoke::Stack x) {
        // static bool write(QObject*, const QString&, const QVariant&, QDeclarativeContext*)
        bool xret = QDeclarativeProperty::write((QObject*)x[1].s_class,*(const QString*)x[2].s_class,*(const QVariant*)x[3].s_class,(QDeclarativeContext*)x[4].s_class);
        x[0].s_bool = xret;
    }
    static void x_26(Smoke::Stack x) {
        // static bool write(QObject*, const QString&, const QVariant&, QDeclarativeEngine*)
        bool xret = QDeclarativeProperty::write((QObject*)x[1].s_class,*(const QString*)x[2].s_class,*(const QVariant*)x[3].s_class,(QDeclarativeEngine*)x[4].s_class);
        x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
        // bool reset() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::reset();
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // bool hasNotifySignal() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::hasNotifySignal();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // bool needsNotifySignal() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::needsNotifySignal();
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // bool connectNotifySignal(QObject*, const char*) const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::connectNotifySignal((QObject*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // bool connectNotifySignal(QObject*, int) const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::connectNotifySignal((QObject*)x[1].s_class,(int)x[2].s_int);
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // bool isWritable() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::isWritable();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // bool isDesignable() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::isDesignable();
        x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) {
        // bool isResettable() const
        bool xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::isResettable();
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // QObject* object() const
        QObject* xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::object();
        x[0].s_class = (void*)xret;
    }
    void x_36(Smoke::Stack x) {
        // int index() const
        int xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::index();
        x[0].s_int = xret;
    }
    void x_37(Smoke::Stack x) {
        // QMetaProperty property() const
        QMetaProperty xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::property();
        x[0].s_class = (void*)new QMetaProperty(xret);
    }
    void x_38(Smoke::Stack x) {
        // QMetaMethod method() const
        QMetaMethod xret = ((const x_QDeclarativeProperty*)this)->QDeclarativeProperty::method();
        x[0].s_class = (void*)new QMetaMethod(xret);
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeProperty::InvalidCategory;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeProperty::List;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeProperty::Object;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeProperty::Normal;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeProperty::Invalid;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeProperty::Property;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeProperty::SignalProperty;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 39: //QDeclarativeProperty::PropertyTypeCategory
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDeclarativeProperty::PropertyTypeCategory;
                    break;
                case Smoke::EnumDelete:
                    delete (QDeclarativeProperty::PropertyTypeCategory*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDeclarativeProperty::PropertyTypeCategory*)xdata = (QDeclarativeProperty::PropertyTypeCategory)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDeclarativeProperty::PropertyTypeCategory*)xdata;
                    break;
            }
            break;
        case 40: //QDeclarativeProperty::Type
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDeclarativeProperty::Type;
                    break;
                case Smoke::EnumDelete:
                    delete (QDeclarativeProperty::Type*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDeclarativeProperty::Type*)xdata = (QDeclarativeProperty::Type)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDeclarativeProperty::Type*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDeclarativeProperty() { this->_binding->deleted(24, (void*)this); }
};
void xenum_QDeclarativeProperty(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDeclarativeProperty::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDeclarativeProperty(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeProperty *xself = (x_QDeclarativeProperty*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDeclarativeProperty::x_1(args);	break;
        case 2: x_QDeclarativeProperty::x_2(args);	break;
        case 3: x_QDeclarativeProperty::x_3(args);	break;
        case 4: x_QDeclarativeProperty::x_4(args);	break;
        case 5: x_QDeclarativeProperty::x_5(args);	break;
        case 6: x_QDeclarativeProperty::x_6(args);	break;
        case 7: x_QDeclarativeProperty::x_7(args);	break;
        case 8: x_QDeclarativeProperty::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: x_QDeclarativeProperty::x_20(args);	break;
        case 21: x_QDeclarativeProperty::x_21(args);	break;
        case 22: x_QDeclarativeProperty::x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_QDeclarativeProperty::x_24(args);	break;
        case 25: x_QDeclarativeProperty::x_25(args);	break;
        case 26: x_QDeclarativeProperty::x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: x_QDeclarativeProperty::x_39(args);	break;
        case 40: x_QDeclarativeProperty::x_40(args);	break;
        case 41: x_QDeclarativeProperty::x_41(args);	break;
        case 42: x_QDeclarativeProperty::x_42(args);	break;
        case 43: x_QDeclarativeProperty::x_43(args);	break;
        case 44: x_QDeclarativeProperty::x_44(args);	break;
        case 45: x_QDeclarativeProperty::x_45(args);	break;
        case 46: delete (QDeclarativeProperty*)xself;	break;
    }
}
class x_QDeclarativePropertyMap : public QDeclarativePropertyMap, 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<QDeclarativePropertyMap*>(this))) {
            const QMetaObject* xret = ((const x_QDeclarativePropertyMap*)this)->QDeclarativePropertyMap::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDeclarativePropertyMap*)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<QDeclarativePropertyMap*>(this))) {
            void* xret = this->QDeclarativePropertyMap::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 = QDeclarativePropertyMap::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 = QDeclarativePropertyMap::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 = QDeclarativePropertyMap::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 = QDeclarativePropertyMap::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<QDeclarativePropertyMap*>(this))) {
            int xret = this->QDeclarativePropertyMap::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) {
        // QDeclarativePropertyMap* QDeclarativePropertyMap(QObject*)
        x_QDeclarativePropertyMap* xret = new x_QDeclarativePropertyMap((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativePropertyMap(QObject* x1) : QDeclarativePropertyMap(x1) {}
    void x_9(Smoke::Stack x) {
        // QVariant value(const QString&) const
        QVariant xret = ((const x_QDeclarativePropertyMap*)this)->QDeclarativePropertyMap::value(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_10(Smoke::Stack x) {
        // void insert(const QString&, const QVariant&)
        this->QDeclarativePropertyMap::insert(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void clear(const QString&)
        this->QDeclarativePropertyMap::clear(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QStringList keys() const
        QStringList xret = ((const x_QDeclarativePropertyMap*)this)->QDeclarativePropertyMap::keys();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_13(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_QDeclarativePropertyMap*)this)->QDeclarativePropertyMap::count();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // int size() const
        int xret = ((const x_QDeclarativePropertyMap*)this)->QDeclarativePropertyMap::size();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_QDeclarativePropertyMap*)this)->QDeclarativePropertyMap::isEmpty();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool contains(const QString&) const
        bool xret = ((const x_QDeclarativePropertyMap*)this)->QDeclarativePropertyMap::contains(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // QVariant& operator[](const QString&)
        QVariant& xret = this->QDeclarativePropertyMap::operator[](*(const QString*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_18(Smoke::Stack x) {
        // QVariant operator[](const QString&) const
        QVariant xret = ((const x_QDeclarativePropertyMap*)this)->QDeclarativePropertyMap::operator[](*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_19(Smoke::Stack x) {
        // void valueChanged(const QString&, const QVariant&)
        this->QDeclarativePropertyMap::valueChanged(*(const QString*)x[1].s_class,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDeclarativePropertyMap::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDeclarativePropertyMap::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // QDeclarativePropertyMap* QDeclarativePropertyMap()
        x_QDeclarativePropertyMap* xret = new x_QDeclarativePropertyMap((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDeclarativePropertyMap::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(336, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDeclarativePropertyMap::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(337, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDeclarativePropertyMap::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(342, (void*)this, x)) return (int)x[0].s_int;
        return this->QDeclarativePropertyMap::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(565, (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(566, (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(567, (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(568, (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(569, (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(570, (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(571, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QDeclarativePropertyMap() { this->_binding->deleted(25, (void*)this); }
};
void xcall_QDeclarativePropertyMap(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativePropertyMap *xself = (x_QDeclarativePropertyMap*)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_QDeclarativePropertyMap::x_3(args);	break;
        case 4: x_QDeclarativePropertyMap::x_4(args);	break;
        case 5: x_QDeclarativePropertyMap::x_5(args);	break;
        case 6: x_QDeclarativePropertyMap::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDeclarativePropertyMap::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: x_QDeclarativePropertyMap::x_20(args);	break;
        case 21: x_QDeclarativePropertyMap::x_21(args);	break;
        case 22: x_QDeclarativePropertyMap::x_22(args);	break;
        case 23: x_QDeclarativePropertyMap::x_23(args);	break;
        case 24: delete (QDeclarativePropertyMap*)xself;	break;
    }
}
class x_QDeclarativeScriptString : public QDeclarativeScriptString {
    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) {
        // QDeclarativeScriptString* QDeclarativeScriptString()
        x_QDeclarativeScriptString* xret = new x_QDeclarativeScriptString();
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeScriptString() : QDeclarativeScriptString() {}
    static void x_2(Smoke::Stack x) {
        // QDeclarativeScriptString* QDeclarativeScriptString(const QDeclarativeScriptString&)
        x_QDeclarativeScriptString* xret = new x_QDeclarativeScriptString(*(const QDeclarativeScriptString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeScriptString(const QDeclarativeScriptString& x1) : QDeclarativeScriptString(x1) {}
    void x_3(Smoke::Stack x) {
        // QDeclarativeScriptString& operator=(const QDeclarativeScriptString&)
        QDeclarativeScriptString& xret = this->QDeclarativeScriptString::operator=(*(const QDeclarativeScriptString*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // QDeclarativeContext* context() const
        QDeclarativeContext* xret = ((const x_QDeclarativeScriptString*)this)->QDeclarativeScriptString::context();
        x[0].s_class = (void*)xret;
    }
    void x_5(Smoke::Stack x) {
        // void setContext(QDeclarativeContext*)
        this->QDeclarativeScriptString::setContext((QDeclarativeContext*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // QObject* scopeObject() const
        QObject* xret = ((const x_QDeclarativeScriptString*)this)->QDeclarativeScriptString::scopeObject();
        x[0].s_class = (void*)xret;
    }
    void x_7(Smoke::Stack x) {
        // void setScopeObject(QObject*)
        this->QDeclarativeScriptString::setScopeObject((QObject*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // QString script() const
        QString xret = ((const x_QDeclarativeScriptString*)this)->QDeclarativeScriptString::script();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // void setScript(const QString&)
        this->QDeclarativeScriptString::setScript(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    ~x_QDeclarativeScriptString() { this->_binding->deleted(26, (void*)this); }
};
void xcall_QDeclarativeScriptString(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeScriptString *xself = (x_QDeclarativeScriptString*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QDeclarativeScriptString::x_1(args);	break;
        case 2: x_QDeclarativeScriptString::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: delete (QDeclarativeScriptString*)xself;	break;
    }
}
class x_QDeclarativeView : public QDeclarativeView, 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<QDeclarativeView*>(this))) {
            const QMetaObject* xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QDeclarativeView*)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<QDeclarativeView*>(this))) {
            void* xret = this->QDeclarativeView::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 = QDeclarativeView::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 = QDeclarativeView::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 = QDeclarativeView::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 = QDeclarativeView::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<QDeclarativeView*>(this))) {
            int xret = this->QDeclarativeView::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) {
        // QDeclarativeView* QDeclarativeView(QWidget*)
        x_QDeclarativeView* xret = new x_QDeclarativeView((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeView(QWidget* x1) : QDeclarativeView(x1) {}
    static void x_9(Smoke::Stack x) {
        // QDeclarativeView* QDeclarativeView(const QUrl&, QWidget*)
        x_QDeclarativeView* xret = new x_QDeclarativeView(*(const QUrl*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QDeclarativeView(const QUrl& x1, QWidget* x2) : QDeclarativeView(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // QUrl source() const
        QUrl xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::source();
        x[0].s_class = (void*)new QUrl(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setSource(const QUrl&)
        this->QDeclarativeView::setSource(*(const QUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QDeclarativeEngine* engine() const
        QDeclarativeEngine* xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::engine();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // QDeclarativeContext* rootContext() const
        QDeclarativeContext* xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::rootContext();
        x[0].s_class = (void*)xret;
    }
    void x_14(Smoke::Stack x) {
        // QGraphicsObject* rootObject() const
        QGraphicsObject* xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::rootObject();
        x[0].s_class = (void*)xret;
    }
    void x_15(Smoke::Stack x) {
        // QDeclarativeView::ResizeMode resizeMode() const
        QDeclarativeView::ResizeMode xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::resizeMode();
        x[0].s_enum = xret;
    }
    void x_16(Smoke::Stack x) {
        // void setResizeMode(QDeclarativeView::ResizeMode)
        this->QDeclarativeView::setResizeMode((QDeclarativeView::ResizeMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QDeclarativeView::Status status() const
        QDeclarativeView::Status xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::status();
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // QList<QDeclarativeError> errors() const
        QList<QDeclarativeError> xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::errors();
        x[0].s_class = (void*)new QList<QDeclarativeError>(xret);
    }
    void x_19(Smoke::Stack x) {
        // QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeView*>(this))) {
            QSize xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_QDeclarativeView*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    void x_20(Smoke::Stack x) {
        // QSize initialSize() const
        QSize xret = ((const x_QDeclarativeView*)this)->QDeclarativeView::initialSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_21(Smoke::Stack x) {
        // void sceneResized(QSize)
        this->QDeclarativeView::sceneResized(*(QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void statusChanged(QDeclarativeView::Status)
        this->QDeclarativeView::statusChanged((QDeclarativeView::Status)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeView*>(this))) {
            this->QDeclarativeView::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeView*>(this))) {
            this->QDeclarativeView::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeView*>(this))) {
            this->QDeclarativeView::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual void setRootObject(QObject*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeView*>(this))) {
            this->QDeclarativeView::setRootObject((QObject*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->setRootObject((QObject*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual bool eventFilter(QObject*, QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QDeclarativeView*>(this))) {
            bool xret = this->QDeclarativeView::eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->eventFilter((QObject*)x[1].s_class,(QEvent*)x[2].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QDeclarativeView::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QDeclarativeView::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // QDeclarativeView* QDeclarativeView()
        x_QDeclarativeView* xret = new x_QDeclarativeView((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // QDeclarativeView* QDeclarativeView(const QUrl&)
        x_QDeclarativeView* xret = new x_QDeclarativeView(*(const QUrl*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_32(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QDeclarativeView::staticMetaObject;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeView::SizeViewToRootObject;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeView::SizeRootObjectToView;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeView::Null;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeView::Ready;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeView::Loading;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)QDeclarativeView::Error;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(370, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QDeclarativeView::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(371, (void*)this, x)) return (void*)x[0].s_class;
        return this->QDeclarativeView::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(376, (void*)this, x)) return (int)x[0].s_int;
        return this->QDeclarativeView::qt_metacall(x1, x2, x3);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(392, (void*)this, x)) return;
        this->QDeclarativeView::resizeEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(393, (void*)this, x)) return;
        this->QDeclarativeView::paintEvent(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(394, (void*)this, x)) return;
        this->QDeclarativeView::timerEvent(x1);
    }
    virtual void setRootObject(QObject* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(395, (void*)this, x)) return;
        this->QDeclarativeView::setRootObject(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(396, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDeclarativeView::eventFilter(x1, x2);
    }
    virtual void drawBackground(QPainter* x1, const QRectF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(562, (void*)this, x)) return;
        this->QGraphicsView::drawBackground(x1, x2);
    }
    virtual void drawForeground(QPainter* x1, const QRectF& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(563, (void*)this, x)) return;
        this->QGraphicsView::drawForeground(x1, x2);
    }
    virtual void drawItems(QPainter* x1, int x2, QGraphicsItem** x3, const QStyleOptionGraphicsItem* x4) {
        Smoke::StackItem x[5];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        x[4].s_class = (void*)x4;
        if (this->_binding->callMethod(564, (void*)this, x)) return;
        this->QGraphicsView::drawItems(x1, x2, x3, x4);
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(543, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsView::viewportEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(559, (void*)this, x)) return;
        this->QGraphicsView::scrollContentsBy(x1, x2);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(573, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(388, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QDeclarativeView::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(574, (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(555, (void*)this, x)) return;
        this->QGraphicsView::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(557, (void*)this, x)) return;
        this->QGraphicsView::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(554, (void*)this, x)) return;
        this->QGraphicsView::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(556, (void*)this, x)) return;
        this->QGraphicsView::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(558, (void*)this, x)) return;
        this->QGraphicsView::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(552, (void*)this, x)) return;
        this->QGraphicsView::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(553, (void*)this, x)) return;
        this->QGraphicsView::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(549, (void*)this, x)) return;
        this->QGraphicsView::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(551, (void*)this, x)) return;
        this->QGraphicsView::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(576, (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(577, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(578, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(579, (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(544, (void*)this, x)) return;
        this->QGraphicsView::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(580, (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(581, (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(545, (void*)this, x)) return;
        this->QGraphicsView::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(547, (void*)this, x)) return;
        this->QGraphicsView::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(546, (void*)this, x)) return;
        this->QGraphicsView::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(548, (void*)this, x)) return;
        this->QGraphicsView::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(560, (void*)this, x)) return;
        this->QGraphicsView::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(582, (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(583, (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(409, (void*)this, x)) return;
        this->QFrame::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(561, (void*)this, x)) return;
        this->QGraphicsView::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(541, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QGraphicsView::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(550, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsView::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(585, (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(586, (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(587, (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(588, (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(589, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(590, (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(542, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGraphicsView::event(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(568, (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(569, (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(570, (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(571, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(572, (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(575, (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(584, (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 45: //QDeclarativeView::ResizeMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDeclarativeView::ResizeMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QDeclarativeView::ResizeMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDeclarativeView::ResizeMode*)xdata = (QDeclarativeView::ResizeMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDeclarativeView::ResizeMode*)xdata;
                    break;
            }
            break;
        case 46: //QDeclarativeView::Status
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QDeclarativeView::Status;
                    break;
                case Smoke::EnumDelete:
                    delete (QDeclarativeView::Status*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QDeclarativeView::Status*)xdata = (QDeclarativeView::Status)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QDeclarativeView::Status*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QDeclarativeView() { this->_binding->deleted(27, (void*)this); }
};
void xenum_QDeclarativeView(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QDeclarativeView::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QDeclarativeView(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QDeclarativeView *xself = (x_QDeclarativeView*)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_QDeclarativeView::x_3(args);	break;
        case 4: x_QDeclarativeView::x_4(args);	break;
        case 5: x_QDeclarativeView::x_5(args);	break;
        case 6: x_QDeclarativeView::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QDeclarativeView::x_8(args);	break;
        case 9: x_QDeclarativeView::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: x_QDeclarativeView::x_28(args);	break;
        case 29: x_QDeclarativeView::x_29(args);	break;
        case 30: x_QDeclarativeView::x_30(args);	break;
        case 31: x_QDeclarativeView::x_31(args);	break;
        case 32: x_QDeclarativeView::x_32(args);	break;
        case 33: x_QDeclarativeView::x_33(args);	break;
        case 34: x_QDeclarativeView::x_34(args);	break;
        case 35: x_QDeclarativeView::x_35(args);	break;
        case 36: x_QDeclarativeView::x_36(args);	break;
        case 37: x_QDeclarativeView::x_37(args);	break;
        case 38: x_QDeclarativeView::x_38(args);	break;
        case 39: delete (QDeclarativeView*)xself;	break;
    }
}
class x_QGlobalSpace {
    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) {
        // static QDebug operator<<(QDebug, const QSslKey&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QSslKey*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_2(Smoke::Stack x) {
        // static bool operator==(QHostAddress::SpecialAddress, const QHostAddress&)
        bool xret = operator==((QHostAddress::SpecialAddress)x[1].s_enum,*(const QHostAddress*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_3(Smoke::Stack x) {
        // static QDataStream& operator>>(QDataStream&, QScriptContextInfo&)
        QDataStream& xret = operator>>(*(QDataStream*)x[1].s_class,*(QScriptContextInfo*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_4(Smoke::Stack x) {
        // static QFlags<QNetworkConfigurationManager::Capability> operator|(QNetworkConfigurationManager::Capability, QFlags<QNetworkConfigurationManager::Capability>)
        QFlags<QNetworkConfigurationManager::Capability> xret = operator|((QNetworkConfigurationManager::Capability)x[1].s_enum,(QFlags<QNetworkConfigurationManager::Capability>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_5(Smoke::Stack x) {
        // static QFlags<QSsl::SslOption> operator|(QSsl::SslOption, QFlags<QSsl::SslOption>)
        QFlags<QSsl::SslOption> xret = operator|((QSsl::SslOption)x[1].s_enum,(QFlags<QSsl::SslOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_6(Smoke::Stack x) {
        // static QFlags<QScriptValue::PropertyFlag> operator|(QScriptValue::PropertyFlag, QFlags<QScriptValue::PropertyFlag>)
        QFlags<QScriptValue::PropertyFlag> xret = operator|((QScriptValue::PropertyFlag)x[1].s_enum,(QFlags<QScriptValue::PropertyFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_7(Smoke::Stack x) {
        // static unsigned int qHash(const QDeclarativeProperty&)
        unsigned int xret = qHash(*(const QDeclarativeProperty*)x[1].s_class);
        x[0].s_uint = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static QFlags<QScriptClass::QueryFlag> operator|(QScriptClass::QueryFlag, QFlags<QScriptClass::QueryFlag>)
        QFlags<QScriptClass::QueryFlag> xret = operator|((QScriptClass::QueryFlag)x[1].s_enum,(QFlags<QScriptClass::QueryFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_9(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QScriptEngine::QObjectWrapOption, int)
        QIncompatibleFlag xret = operator|((QScriptEngine::QObjectWrapOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static QDataStream& operator<<(QDataStream&, const QHostAddress&)
        QDataStream& xret = operator<<(*(QDataStream*)x[1].s_class,*(const QHostAddress*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_11(Smoke::Stack x) {
        // static QDataStream& operator<<(QDataStream&, const QScriptContextInfo&)
        QDataStream& xret = operator<<(*(QDataStream*)x[1].s_class,*(const QScriptContextInfo*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_12(Smoke::Stack x) {
        // static bool qscriptvalue_cast_helper(const QScriptValue&, int, void*)
        bool xret = qscriptvalue_cast_helper(*(const QScriptValue*)x[1].s_class,(int)x[2].s_int,(void*)x[3].s_class);
        x[0].s_bool = xret;
    }
    static void x_13(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QNetworkInterface&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QNetworkInterface*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QObject* qmlAttachedPropertiesObject(int*, const QObject*, const QMetaObject*, bool)
        QObject* xret = qmlAttachedPropertiesObject((int*)x[1].s_class,(const QObject*)x[2].s_class,(const QMetaObject*)x[3].s_class,(bool)x[4].s_bool);
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, QSslCertificate::SubjectInfo)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,(QSslCertificate::SubjectInfo)x[2].s_enum);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QDeclarativeInfo qmlInfo(const QObject*)
        QDeclarativeInfo xret = qmlInfo((const QObject*)x[1].s_class);
        x[0].s_class = (void*)new QDeclarativeInfo(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static unsigned int qHash(const QHostAddress&)
        unsigned int xret = qHash(*(const QHostAddress*)x[1].s_class);
        x[0].s_uint = xret;
    }
    static void x_18(Smoke::Stack x) {
        // static QFlags<QNetworkConfigurationManager::Capability> operator|(QNetworkConfigurationManager::Capability, QNetworkConfigurationManager::Capability)
        QFlags<QNetworkConfigurationManager::Capability> xret = operator|((QNetworkConfigurationManager::Capability)x[1].s_enum,(QNetworkConfigurationManager::Capability)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_19(Smoke::Stack x) {
        // static QDataStream& operator>>(QDataStream&, QNetworkCacheMetaData&)
        QDataStream& xret = operator>>(*(QDataStream*)x[1].s_class,*(QNetworkCacheMetaData*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_20(Smoke::Stack x) {
        // static QObject* qmlAttachedPropertiesObjectById(int, const QObject*, bool)
        QObject* xret = qmlAttachedPropertiesObjectById((int)x[1].s_int,(const QObject*)x[2].s_class,(bool)x[3].s_bool);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // static QObject* qmlAttachedPropertiesObjectById(int, const QObject*)
        QObject* xret = qmlAttachedPropertiesObjectById((int)x[1].s_int,(const QObject*)x[2].s_class,(bool)true);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, QLocalSocket::LocalSocketState)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,(QLocalSocket::LocalSocketState)x[2].s_enum);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static QFlags<QNetworkInterface::InterfaceFlag> operator|(QNetworkInterface::InterfaceFlag, QNetworkInterface::InterfaceFlag)
        QFlags<QNetworkInterface::InterfaceFlag> xret = operator|((QNetworkInterface::InterfaceFlag)x[1].s_enum,(QNetworkInterface::InterfaceFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QNetworkCookie&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QNetworkCookie*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static QDataStream& operator>>(QDataStream&, QHostAddress&)
        QDataStream& xret = operator>>(*(QDataStream*)x[1].s_class,*(QHostAddress*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_26(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QScriptValue::PropertyFlag, int)
        QIncompatibleFlag xret = operator|((QScriptValue::PropertyFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QNetworkConfigurationManager::Capability, int)
        QIncompatibleFlag xret = operator|((QNetworkConfigurationManager::Capability)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_28(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QHostAddress&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QHostAddress*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QScriptValue qScriptValueFromValue_helper(QScriptEngine*, int, const void*)
        QScriptValue xret = qScriptValueFromValue_helper((QScriptEngine*)x[1].s_class,(int)x[2].s_int,(const void*)x[3].s_class);
        x[0].s_class = (void*)new QScriptValue(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static QFlags<QSsl::SslOption> operator|(QSsl::SslOption, QSsl::SslOption)
        QFlags<QSsl::SslOption> xret = operator|((QSsl::SslOption)x[1].s_enum,(QSsl::SslOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, QAbstractSocket::SocketError)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,(QAbstractSocket::SocketError)x[2].s_enum);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QFlags<QUdpSocket::BindFlag> operator|(QUdpSocket::BindFlag, QFlags<QUdpSocket::BindFlag>)
        QFlags<QUdpSocket::BindFlag> xret = operator|((QUdpSocket::BindFlag)x[1].s_enum,(QFlags<QUdpSocket::BindFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_33(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QSsl::SslOption, int)
        QIncompatibleFlag xret = operator|((QSsl::SslOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_34(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QSslCipher&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QSslCipher*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_35(Smoke::Stack x) {
        // static QDeclarativeEngine* qmlEngine(const QObject*)
        QDeclarativeEngine* xret = qmlEngine((const QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_36(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QNetworkProxy::Capability, int)
        QIncompatibleFlag xret = operator|((QNetworkProxy::Capability)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static unsigned int qHash(const QScriptString&)
        unsigned int xret = qHash(*(const QScriptString*)x[1].s_class);
        x[0].s_uint = xret;
    }
    static void x_38(Smoke::Stack x) {
        // static QFlags<QNetworkProxy::Capability> operator|(QNetworkProxy::Capability, QFlags<QNetworkProxy::Capability>)
        QFlags<QNetworkProxy::Capability> xret = operator|((QNetworkProxy::Capability)x[1].s_enum,(QFlags<QNetworkProxy::Capability>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_39(Smoke::Stack x) {
        // static void qScriptRegisterMetaType_helper(QScriptEngine*, int, QScriptValue(*)(QScriptEngine*,const void*), void(*)(const QScriptValue&,void*), const QScriptValue&)
        qScriptRegisterMetaType_helper((QScriptEngine*)x[1].s_class,(int)x[2].s_int,(QScriptValue(*)(QScriptEngine*,const void*))x[3].s_class,(void(*)(const QScriptValue&,void*))x[4].s_class,*(const QScriptValue*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_40(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QUdpSocket::BindFlag, int)
        QIncompatibleFlag xret = operator|((QUdpSocket::BindFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_41(Smoke::Stack x) {
        // static QFlags<QScriptClass::QueryFlag> operator|(QScriptClass::QueryFlag, QScriptClass::QueryFlag)
        QFlags<QScriptClass::QueryFlag> xret = operator|((QScriptClass::QueryFlag)x[1].s_enum,(QScriptClass::QueryFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_42(Smoke::Stack x) {
        // static QDeclarativeContext* qmlContext(const QObject*)
        QDeclarativeContext* xret = qmlContext((const QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_43(Smoke::Stack x) {
        // static QFlags<QScriptValue::PropertyFlag> operator|(QScriptValue::PropertyFlag, QScriptValue::PropertyFlag)
        QFlags<QScriptValue::PropertyFlag> xret = operator|((QScriptValue::PropertyFlag)x[1].s_enum,(QScriptValue::PropertyFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_44(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, QLocalSocket::LocalSocketError)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,(QLocalSocket::LocalSocketError)x[2].s_enum);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_45(Smoke::Stack x) {
        // static QFlags<QScriptValue::ResolveFlag> operator|(QScriptValue::ResolveFlag, QFlags<QScriptValue::ResolveFlag>)
        QFlags<QScriptValue::ResolveFlag> xret = operator|((QScriptValue::ResolveFlag)x[1].s_enum,(QFlags<QScriptValue::ResolveFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_46(Smoke::Stack x) {
        // static QFlags<QScriptEngine::QObjectWrapOption> operator|(QScriptEngine::QObjectWrapOption, QScriptEngine::QObjectWrapOption)
        QFlags<QScriptEngine::QObjectWrapOption> xret = operator|((QScriptEngine::QObjectWrapOption)x[1].s_enum,(QScriptEngine::QObjectWrapOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_47(Smoke::Stack x) {
        // static void qmlExecuteDeferred(QObject*)
        qmlExecuteDeferred((QObject*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_48(Smoke::Stack x) {
        // static QFlags<QScriptEngine::QObjectWrapOption> operator|(QScriptEngine::QObjectWrapOption, QFlags<QScriptEngine::QObjectWrapOption>)
        QFlags<QScriptEngine::QObjectWrapOption> xret = operator|((QScriptEngine::QObjectWrapOption)x[1].s_enum,(QFlags<QScriptEngine::QObjectWrapOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_49(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, QAbstractSocket::SocketState)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,(QAbstractSocket::SocketState)x[2].s_enum);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_50(Smoke::Stack x) {
        // static QFlags<QScriptValue::ResolveFlag> operator|(QScriptValue::ResolveFlag, QScriptValue::ResolveFlag)
        QFlags<QScriptValue::ResolveFlag> xret = operator|((QScriptValue::ResolveFlag)x[1].s_enum,(QScriptValue::ResolveFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_51(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QScriptValue::ResolveFlag, int)
        QIncompatibleFlag xret = operator|((QScriptValue::ResolveFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_52(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QDeclarativeError&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QDeclarativeError*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_53(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QScriptClass::QueryFlag, int)
        QIncompatibleFlag xret = operator|((QScriptClass::QueryFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_54(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, QDeclarativeItem*)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,(QDeclarativeItem*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_55(Smoke::Stack x) {
        // static bool qScriptDisconnect(QObject*, const char*, const QScriptValue&, const QScriptValue&)
        bool xret = qScriptDisconnect((QObject*)x[1].s_class,(const char*)x[2].s_class,*(const QScriptValue*)x[3].s_class,*(const QScriptValue*)x[4].s_class);
        x[0].s_bool = xret;
    }
    static void x_56(Smoke::Stack x) {
        // static QDeclarativeInfo qmlInfo(const QObject*, const QList<QDeclarativeError>&)
        QDeclarativeInfo xret = qmlInfo((const QObject*)x[1].s_class,*(const QList<QDeclarativeError>*)x[2].s_class);
        x[0].s_class = (void*)new QDeclarativeInfo(xret);
    }
    static void x_57(Smoke::Stack x) {
        // static bool qScriptConnect(QObject*, const char*, const QScriptValue&, const QScriptValue&)
        bool xret = qScriptConnect((QObject*)x[1].s_class,(const char*)x[2].s_class,*(const QScriptValue*)x[3].s_class,*(const QScriptValue*)x[4].s_class);
        x[0].s_bool = xret;
    }
    static void x_58(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QSslError::SslError&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QSslError::SslError*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_59(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QSslCertificate&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QSslCertificate*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_60(Smoke::Stack x) {
        // static QDeclarativeInfo qmlInfo(const QObject*, const QDeclarativeError&)
        QDeclarativeInfo xret = qmlInfo((const QObject*)x[1].s_class,*(const QDeclarativeError*)x[2].s_class);
        x[0].s_class = (void*)new QDeclarativeInfo(xret);
    }
    static void x_61(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QSslError&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QSslError*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_62(Smoke::Stack x) {
        // static QFlags<QNetworkInterface::InterfaceFlag> operator|(QNetworkInterface::InterfaceFlag, QFlags<QNetworkInterface::InterfaceFlag>)
        QFlags<QNetworkInterface::InterfaceFlag> xret = operator|((QNetworkInterface::InterfaceFlag)x[1].s_enum,(QFlags<QNetworkInterface::InterfaceFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_63(Smoke::Stack x) {
        // static QDataStream& operator<<(QDataStream&, const QNetworkCacheMetaData&)
        QDataStream& xret = operator<<(*(QDataStream*)x[1].s_class,*(const QNetworkCacheMetaData*)x[2].s_class);
        x[0].s_class = (void*)&xret;
    }
    static void x_64(Smoke::Stack x) {
        // static QFlags<QUdpSocket::BindFlag> operator|(QUdpSocket::BindFlag, QUdpSocket::BindFlag)
        QFlags<QUdpSocket::BindFlag> xret = operator|((QUdpSocket::BindFlag)x[1].s_enum,(QUdpSocket::BindFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_65(Smoke::Stack x) {
        // static QFlags<QNetworkProxy::Capability> operator|(QNetworkProxy::Capability, QNetworkProxy::Capability)
        QFlags<QNetworkProxy::Capability> xret = operator|((QNetworkProxy::Capability)x[1].s_enum,(QNetworkProxy::Capability)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_66(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QNetworkInterface::InterfaceFlag, int)
        QIncompatibleFlag xret = operator|((QNetworkInterface::InterfaceFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QML_HAS_ATTACHED_PROPERTIES;
    }
    ~x_QGlobalSpace() { this->_binding->deleted(36, (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;
        case 1: x_QGlobalSpace::x_1(args);	break;
        case 2: x_QGlobalSpace::x_2(args);	break;
        case 3: x_QGlobalSpace::x_3(args);	break;
        case 4: x_QGlobalSpace::x_4(args);	break;
        case 5: x_QGlobalSpace::x_5(args);	break;
        case 6: x_QGlobalSpace::x_6(args);	break;
        case 7: x_QGlobalSpace::x_7(args);	break;
        case 8: x_QGlobalSpace::x_8(args);	break;
        case 9: x_QGlobalSpace::x_9(args);	break;
        case 10: x_QGlobalSpace::x_10(args);	break;
        case 11: x_QGlobalSpace::x_11(args);	break;
        case 12: x_QGlobalSpace::x_12(args);	break;
        case 13: x_QGlobalSpace::x_13(args);	break;
        case 14: x_QGlobalSpace::x_14(args);	break;
        case 15: x_QGlobalSpace::x_15(args);	break;
        case 16: x_QGlobalSpace::x_16(args);	break;
        case 17: x_QGlobalSpace::x_17(args);	break;
        case 18: x_QGlobalSpace::x_18(args);	break;
        case 19: x_QGlobalSpace::x_19(args);	break;
        case 20: x_QGlobalSpace::x_20(args);	break;
        case 21: x_QGlobalSpace::x_21(args);	break;
        case 22: x_QGlobalSpace::x_22(args);	break;
        case 23: x_QGlobalSpace::x_23(args);	break;
        case 24: x_QGlobalSpace::x_24(args);	break;
        case 25: x_QGlobalSpace::x_25(args);	break;
        case 26: x_QGlobalSpace::x_26(args);	break;
        case 27: x_QGlobalSpace::x_27(args);	break;
        case 28: x_QGlobalSpace::x_28(args);	break;
        case 29: x_QGlobalSpace::x_29(args);	break;
        case 30: x_QGlobalSpace::x_30(args);	break;
        case 31: x_QGlobalSpace::x_31(args);	break;
        case 32: x_QGlobalSpace::x_32(args);	break;
        case 33: x_QGlobalSpace::x_33(args);	break;
        case 34: x_QGlobalSpace::x_34(args);	break;
        case 35: x_QGlobalSpace::x_35(args);	break;
        case 36: x_QGlobalSpace::x_36(args);	break;
        case 37: x_QGlobalSpace::x_37(args);	break;
        case 38: x_QGlobalSpace::x_38(args);	break;
        case 39: x_QGlobalSpace::x_39(args);	break;
        case 40: x_QGlobalSpace::x_40(args);	break;
        case 41: x_QGlobalSpace::x_41(args);	break;
        case 42: x_QGlobalSpace::x_42(args);	break;
        case 43: x_QGlobalSpace::x_43(args);	break;
        case 44: x_QGlobalSpace::x_44(args);	break;
        case 45: x_QGlobalSpace::x_45(args);	break;
        case 46: x_QGlobalSpace::x_46(args);	break;
        case 47: x_QGlobalSpace::x_47(args);	break;
        case 48: x_QGlobalSpace::x_48(args);	break;
        case 49: x_QGlobalSpace::x_49(args);	break;
        case 50: x_QGlobalSpace::x_50(args);	break;
        case 51: x_QGlobalSpace::x_51(args);	break;
        case 52: x_QGlobalSpace::x_52(args);	break;
        case 53: x_QGlobalSpace::x_53(args);	break;
        case 54: x_QGlobalSpace::x_54(args);	break;
        case 55: x_QGlobalSpace::x_55(args);	break;
        case 56: x_QGlobalSpace::x_56(args);	break;
        case 57: x_QGlobalSpace::x_57(args);	break;
        case 58: x_QGlobalSpace::x_58(args);	break;
        case 59: x_QGlobalSpace::x_59(args);	break;
        case 60: x_QGlobalSpace::x_60(args);	break;
        case 61: x_QGlobalSpace::x_61(args);	break;
        case 62: x_QGlobalSpace::x_62(args);	break;
        case 63: x_QGlobalSpace::x_63(args);	break;
        case 64: x_QGlobalSpace::x_64(args);	break;
        case 65: x_QGlobalSpace::x_65(args);	break;
        case 66: x_QGlobalSpace::x_66(args);	break;
        case 67: x_QGlobalSpace::x_67(args);	break;
    }
}

}
