/****************************************************************************
** Meta object code from reading C++ file 'qqmlinstantiator_p.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../src/qtdeclarative-opensource-src-5.4.2/src/qml/types/qqmlinstantiator_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qqmlinstantiator_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_QQmlInstantiator_t {
    QByteArrayData data[23];
    char stringdata[273];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQmlInstantiator_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQmlInstantiator_t qt_meta_stringdata_QQmlInstantiator = {
    {
QT_MOC_LITERAL(0, 0, 16), // "QQmlInstantiator"
QT_MOC_LITERAL(1, 17, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 33, 8), // "delegate"
QT_MOC_LITERAL(3, 42, 12), // "modelChanged"
QT_MOC_LITERAL(4, 55, 0), // ""
QT_MOC_LITERAL(5, 56, 15), // "delegateChanged"
QT_MOC_LITERAL(6, 72, 12), // "countChanged"
QT_MOC_LITERAL(7, 85, 13), // "objectChanged"
QT_MOC_LITERAL(8, 99, 13), // "activeChanged"
QT_MOC_LITERAL(9, 113, 19), // "asynchronousChanged"
QT_MOC_LITERAL(10, 133, 11), // "objectAdded"
QT_MOC_LITERAL(11, 145, 5), // "index"
QT_MOC_LITERAL(12, 151, 6), // "object"
QT_MOC_LITERAL(13, 158, 13), // "objectRemoved"
QT_MOC_LITERAL(14, 172, 14), // "_q_createdItem"
QT_MOC_LITERAL(15, 187, 15), // "_q_modelUpdated"
QT_MOC_LITERAL(16, 203, 13), // "QQmlChangeSet"
QT_MOC_LITERAL(17, 217, 8), // "objectAt"
QT_MOC_LITERAL(18, 226, 6), // "active"
QT_MOC_LITERAL(19, 233, 12), // "asynchronous"
QT_MOC_LITERAL(20, 246, 5), // "model"
QT_MOC_LITERAL(21, 252, 5), // "count"
QT_MOC_LITERAL(22, 258, 14) // "QQmlComponent*"

    },
    "QQmlInstantiator\0DefaultProperty\0"
    "delegate\0modelChanged\0\0delegateChanged\0"
    "countChanged\0objectChanged\0activeChanged\0"
    "asynchronousChanged\0objectAdded\0index\0"
    "object\0objectRemoved\0_q_createdItem\0"
    "_q_modelUpdated\0QQmlChangeSet\0objectAt\0"
    "active\0asynchronous\0model\0count\0"
    "QQmlComponent*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQmlInstantiator[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      11,   16, // methods
       6,  100, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   71,    4, 0x06 /* Public */,
       5,    0,   72,    4, 0x06 /* Public */,
       6,    0,   73,    4, 0x06 /* Public */,
       7,    0,   74,    4, 0x06 /* Public */,
       8,    0,   75,    4, 0x06 /* Public */,
       9,    0,   76,    4, 0x06 /* Public */,
      10,    2,   77,    4, 0x06 /* Public */,
      13,    2,   82,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    2,   87,    4, 0x08 /* Private */,
      15,    2,   92,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      17,    1,   97,    4, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QObjectStar,   11,   12,
    QMetaType::Void, QMetaType::Int, QMetaType::QObjectStar,   11,   12,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QObjectStar,    4,    4,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Bool,    4,    4,

 // methods: parameters
    QMetaType::QObjectStar, QMetaType::Int,   11,

 // properties: name, type, flags
      18, QMetaType::Bool, 0x00495103,
      19, QMetaType::Bool, 0x00495003,
      20, QMetaType::QVariant, 0x00495103,
      21, QMetaType::Int, 0x00495001,
       2, 0x80000000 | 22, 0x0049510b,
      12, QMetaType::QObjectStar, 0x00495001,

 // properties: notify_signal_id
       4,
       5,
       0,
       2,
       1,
       3,

       0        // eod
};

void QQmlInstantiator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQmlInstantiator *_t = static_cast<QQmlInstantiator *>(_o);
        switch (_id) {
        case 0: _t->modelChanged(); break;
        case 1: _t->delegateChanged(); break;
        case 2: _t->countChanged(); break;
        case 3: _t->objectChanged(); break;
        case 4: _t->activeChanged(); break;
        case 5: _t->asynchronousChanged(); break;
        case 6: _t->objectAdded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2]))); break;
        case 7: _t->objectRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2]))); break;
        case 8: _t->d_func()->_q_createdItem((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2]))); break;
        case 9: _t->d_func()->_q_modelUpdated((*reinterpret_cast< const QQmlChangeSet(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 10: { QObject* _r = _t->objectAt((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QQmlInstantiator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQmlInstantiator::modelChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QQmlInstantiator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQmlInstantiator::delegateChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QQmlInstantiator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQmlInstantiator::countChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QQmlInstantiator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQmlInstantiator::objectChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QQmlInstantiator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQmlInstantiator::activeChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QQmlInstantiator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQmlInstantiator::asynchronousChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QQmlInstantiator::*_t)(int , QObject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQmlInstantiator::objectAdded)) {
                *result = 6;
            }
        }
        {
            typedef void (QQmlInstantiator::*_t)(int , QObject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQmlInstantiator::objectRemoved)) {
                *result = 7;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;
        }
    }

}

const QMetaObject QQmlInstantiator::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QQmlInstantiator.data,
      qt_meta_data_QQmlInstantiator,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *QQmlInstantiator::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QQmlInstantiator::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QQmlInstantiator.stringdata))
        return static_cast<void*>(const_cast< QQmlInstantiator*>(this));
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(const_cast< QQmlInstantiator*>(this));
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(const_cast< QQmlInstantiator*>(this));
    return QObject::qt_metacast(_clname);
}

int QQmlInstantiator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = isActive(); break;
        case 1: *reinterpret_cast< bool*>(_v) = isAsync(); break;
        case 2: *reinterpret_cast< QVariant*>(_v) = model(); break;
        case 3: *reinterpret_cast< int*>(_v) = count(); break;
        case 4: *reinterpret_cast< QQmlComponent**>(_v) = delegate(); break;
        case 5: *reinterpret_cast< QObject**>(_v) = object(); break;
        default: break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setActive(*reinterpret_cast< bool*>(_v)); break;
        case 1: setAsync(*reinterpret_cast< bool*>(_v)); break;
        case 2: setModel(*reinterpret_cast< QVariant*>(_v)); break;
        case 4: setDelegate(*reinterpret_cast< QQmlComponent**>(_v)); break;
        default: break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QQmlInstantiator::modelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void QQmlInstantiator::delegateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void QQmlInstantiator::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void QQmlInstantiator::objectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void QQmlInstantiator::activeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void QQmlInstantiator::asynchronousChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void QQmlInstantiator::objectAdded(int _t1, QObject * _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void QQmlInstantiator::objectRemoved(int _t1, QObject * _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_END_MOC_NAMESPACE
