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

#include <memory>
#include "../../../../kde-qtquick3d/src/quick3d/qquick3dloader_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquick3dloader_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QQuick3DLoader_t {
    QByteArrayData data[26];
    char stringdata0[286];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DLoader_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DLoader_t qt_meta_stringdata_QQuick3DLoader = {
    {
QT_MOC_LITERAL(0, 0, 14), // "QQuick3DLoader"
QT_MOC_LITERAL(1, 15, 11), // "itemChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 13), // "activeChanged"
QT_MOC_LITERAL(4, 42, 13), // "sourceChanged"
QT_MOC_LITERAL(5, 56, 22), // "sourceComponentChanged"
QT_MOC_LITERAL(6, 79, 13), // "statusChanged"
QT_MOC_LITERAL(7, 93, 15), // "progressChanged"
QT_MOC_LITERAL(8, 109, 6), // "loaded"
QT_MOC_LITERAL(9, 116, 19), // "asynchronousChanged"
QT_MOC_LITERAL(10, 136, 12), // "sourceLoaded"
QT_MOC_LITERAL(11, 149, 9), // "setSource"
QT_MOC_LITERAL(12, 159, 15), // "QQmlV4Function*"
QT_MOC_LITERAL(13, 175, 6), // "active"
QT_MOC_LITERAL(14, 182, 6), // "source"
QT_MOC_LITERAL(15, 189, 15), // "sourceComponent"
QT_MOC_LITERAL(16, 205, 14), // "QQmlComponent*"
QT_MOC_LITERAL(17, 220, 4), // "item"
QT_MOC_LITERAL(18, 225, 6), // "status"
QT_MOC_LITERAL(19, 232, 6), // "Status"
QT_MOC_LITERAL(20, 239, 8), // "progress"
QT_MOC_LITERAL(21, 248, 12), // "asynchronous"
QT_MOC_LITERAL(22, 261, 4), // "Null"
QT_MOC_LITERAL(23, 266, 5), // "Ready"
QT_MOC_LITERAL(24, 272, 7), // "Loading"
QT_MOC_LITERAL(25, 280, 5) // "Error"

    },
    "QQuick3DLoader\0itemChanged\0\0activeChanged\0"
    "sourceChanged\0sourceComponentChanged\0"
    "statusChanged\0progressChanged\0loaded\0"
    "asynchronousChanged\0sourceLoaded\0"
    "setSource\0QQmlV4Function*\0active\0"
    "source\0sourceComponent\0QQmlComponent*\0"
    "item\0status\0Status\0progress\0asynchronous\0"
    "Null\0Ready\0Loading\0Error"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DLoader[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       7,   76, // properties
       1,  104, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    0,   67,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,
       7,    0,   69,    2, 0x06 /* Public */,
       8,    0,   70,    2, 0x06 /* Public */,
       9,    0,   71,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,   72,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      11,    1,   73,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, 0x80000000 | 12,    2,

 // properties: name, type, flags
      13, QMetaType::Bool, 0x00495103,
      14, QMetaType::QUrl, 0x00495103,
      15, 0x80000000 | 16, 0x0049510f,
      17, QMetaType::QObjectStar, 0x00495001,
      18, 0x80000000 | 19, 0x00495009,
      20, QMetaType::QReal, 0x00495001,
      21, QMetaType::Bool, 0x00495103,

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

 // enums: name, alias, flags, count, data
      19,   19, 0x0,    4,  109,

 // enum data: key, value
      22, uint(QQuick3DLoader::Null),
      23, uint(QQuick3DLoader::Ready),
      24, uint(QQuick3DLoader::Loading),
      25, uint(QQuick3DLoader::Error),

       0        // eod
};

void QQuick3DLoader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuick3DLoader *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->itemChanged(); break;
        case 1: _t->activeChanged(); break;
        case 2: _t->sourceChanged(); break;
        case 3: _t->sourceComponentChanged(); break;
        case 4: _t->statusChanged(); break;
        case 5: _t->progressChanged(); break;
        case 6: _t->loaded(); break;
        case 7: _t->asynchronousChanged(); break;
        case 8: _t->sourceLoaded(); break;
        case 9: _t->setSource((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuick3DLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DLoader::itemChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuick3DLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DLoader::activeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuick3DLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DLoader::sourceChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuick3DLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DLoader::sourceComponentChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuick3DLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DLoader::statusChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuick3DLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DLoader::progressChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QQuick3DLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DLoader::loaded)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QQuick3DLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DLoader::asynchronousChanged)) {
                *result = 7;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuick3DLoader *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->active(); break;
        case 1: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;
        case 2: *reinterpret_cast< QQmlComponent**>(_v) = _t->sourceComponent(); break;
        case 3: *reinterpret_cast< QObject**>(_v) = _t->item(); break;
        case 4: *reinterpret_cast< Status*>(_v) = _t->status(); break;
        case 5: *reinterpret_cast< qreal*>(_v) = _t->progress(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->asynchronous(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuick3DLoader *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setActive(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;
        case 2: _t->setSourceComponent(*reinterpret_cast< QQmlComponent**>(_v)); break;
        case 6: _t->setAsynchronous(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QQuick3DLoader *_t = static_cast<QQuick3DLoader *>(_o);
        (void)_t;
        switch (_id) {
        case 2: _t->resetSourceComponent(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DLoader::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuick3DNode::staticMetaObject>(),
    qt_meta_stringdata_QQuick3DLoader.data,
    qt_meta_data_QQuick3DLoader,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuick3DLoader::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuick3DLoader.stringdata0))
        return static_cast<void*>(this);
    return QQuick3DNode::qt_metacast(_clname);
}

int QQuick3DLoader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuick3DNode::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QQuick3DLoader::activeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QQuick3DLoader::sourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QQuick3DLoader::sourceComponentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void QQuick3DLoader::statusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void QQuick3DLoader::progressChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void QQuick3DLoader::loaded()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QQuick3DLoader::asynchronousChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
