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

#include "../../../../src/qtquick1-opensource-src-5.5.1/src/declarative/graphicsitems/qdeclarativeloader_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativeloader_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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_QDeclarativeLoader_t {
    QByteArrayData data[21];
    char stringdata0[229];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeLoader_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeLoader_t qt_meta_stringdata_QDeclarativeLoader = {
    {
QT_MOC_LITERAL(0, 0, 18), // "QDeclarativeLoader"
QT_MOC_LITERAL(1, 19, 11), // "itemChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 13), // "sourceChanged"
QT_MOC_LITERAL(4, 46, 13), // "statusChanged"
QT_MOC_LITERAL(5, 60, 15), // "progressChanged"
QT_MOC_LITERAL(6, 76, 6), // "loaded"
QT_MOC_LITERAL(7, 83, 15), // "_q_sourceLoaded"
QT_MOC_LITERAL(8, 99, 13), // "_q_updateSize"
QT_MOC_LITERAL(9, 113, 6), // "source"
QT_MOC_LITERAL(10, 120, 15), // "sourceComponent"
QT_MOC_LITERAL(11, 136, 22), // "QDeclarativeComponent*"
QT_MOC_LITERAL(12, 159, 4), // "item"
QT_MOC_LITERAL(13, 164, 16), // "QGraphicsObject*"
QT_MOC_LITERAL(14, 181, 6), // "status"
QT_MOC_LITERAL(15, 188, 6), // "Status"
QT_MOC_LITERAL(16, 195, 8), // "progress"
QT_MOC_LITERAL(17, 204, 4), // "Null"
QT_MOC_LITERAL(18, 209, 5), // "Ready"
QT_MOC_LITERAL(19, 215, 7), // "Loading"
QT_MOC_LITERAL(20, 223, 5) // "Error"

    },
    "QDeclarativeLoader\0itemChanged\0\0"
    "sourceChanged\0statusChanged\0progressChanged\0"
    "loaded\0_q_sourceLoaded\0_q_updateSize\0"
    "source\0sourceComponent\0QDeclarativeComponent*\0"
    "item\0QGraphicsObject*\0status\0Status\0"
    "progress\0Null\0Ready\0Loading\0Error"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeLoader[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       5,   56, // properties
       1,   76, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    0,   50,    2, 0x06 /* Public */,
       4,    0,   51,    2, 0x06 /* Public */,
       5,    0,   52,    2, 0x06 /* Public */,
       6,    0,   53,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   54,    2, 0x08 /* Private */,
       8,    0,   55,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       9, QMetaType::QUrl, 0x00495103,
      10, 0x80000000 | 11, 0x0049510f,
      12, 0x80000000 | 13, 0x00495009,
      14, 0x80000000 | 15, 0x00495009,
      16, QMetaType::QReal, 0x00495001,

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

 // enums: name, flags, count, data
      15, 0x0,    4,   80,

 // enum data: key, value
      17, uint(QDeclarativeLoader::Null),
      18, uint(QDeclarativeLoader::Ready),
      19, uint(QDeclarativeLoader::Loading),
      20, uint(QDeclarativeLoader::Error),

       0        // eod
};

void QDeclarativeLoader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QDeclarativeLoader *_t = static_cast<QDeclarativeLoader *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->itemChanged(); break;
        case 1: _t->sourceChanged(); break;
        case 2: _t->statusChanged(); break;
        case 3: _t->progressChanged(); break;
        case 4: _t->loaded(); break;
        case 5: _t->d_func()->_q_sourceLoaded(); break;
        case 6: _t->d_func()->_q_updateSize(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QDeclarativeLoader::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeLoader::itemChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QDeclarativeLoader::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeLoader::sourceChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QDeclarativeLoader::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeLoader::statusChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QDeclarativeLoader::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeLoader::progressChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QDeclarativeLoader::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeLoader::loaded)) {
                *result = 4;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativeComponent* >(); break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QGraphicsObject* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QDeclarativeLoader *_t = static_cast<QDeclarativeLoader *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;
        case 1: *reinterpret_cast< QDeclarativeComponent**>(_v) = _t->sourceComponent(); break;
        case 2: *reinterpret_cast< QGraphicsObject**>(_v) = _t->item(); break;
        case 3: *reinterpret_cast< Status*>(_v) = _t->status(); break;
        case 4: *reinterpret_cast< qreal*>(_v) = _t->progress(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QDeclarativeLoader *_t = static_cast<QDeclarativeLoader *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;
        case 1: _t->setSourceComponent(*reinterpret_cast< QDeclarativeComponent**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QDeclarativeLoader *_t = static_cast<QDeclarativeLoader *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 1: _t->resetSourceComponent(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QDeclarativeLoader::staticMetaObject = {
    { &QDeclarativeImplicitSizeItem::staticMetaObject, qt_meta_stringdata_QDeclarativeLoader.data,
      qt_meta_data_QDeclarativeLoader,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QDeclarativeLoader::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QDeclarativeLoader.stringdata0))
        return static_cast<void*>(const_cast< QDeclarativeLoader*>(this));
    return QDeclarativeImplicitSizeItem::qt_metacast(_clname);
}

int QDeclarativeLoader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDeclarativeImplicitSizeItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

// SIGNAL 4
void QDeclarativeLoader::loaded()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
