/****************************************************************************
** Meta object code from reading C++ file 'qquick3dobject.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/qquick3dobject.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquick3dobject.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_QQuick3DObject_t {
    QByteArrayData data[26];
    char stringdata0[440];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DObject_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DObject_t qt_meta_stringdata_QQuick3DObject = {
    {
QT_MOC_LITERAL(0, 0, 14), // "QQuick3DObject"
QT_MOC_LITERAL(1, 15, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 31, 4), // "data"
QT_MOC_LITERAL(3, 36, 28), // "qt_QmlJSWrapperFactoryMethod"
QT_MOC_LITERAL(4, 65, 41), // "_q_createJSWrapper(QV4::Execu..."
QT_MOC_LITERAL(5, 107, 13), // "parentChanged"
QT_MOC_LITERAL(6, 121, 0), // ""
QT_MOC_LITERAL(7, 122, 15), // "childrenChanged"
QT_MOC_LITERAL(8, 138, 12), // "stateChanged"
QT_MOC_LITERAL(9, 151, 6), // "update"
QT_MOC_LITERAL(10, 158, 13), // "setParentItem"
QT_MOC_LITERAL(11, 172, 15), // "QQuick3DObject*"
QT_MOC_LITERAL(12, 188, 10), // "parentItem"
QT_MOC_LITERAL(13, 199, 24), // "_q_resourceObjectDeleted"
QT_MOC_LITERAL(14, 224, 18), // "_q_createJSWrapper"
QT_MOC_LITERAL(15, 243, 21), // "QV4::ExecutionEngine*"
QT_MOC_LITERAL(16, 265, 6), // "parent"
QT_MOC_LITERAL(17, 272, 25), // "QQmlListProperty<QObject>"
QT_MOC_LITERAL(18, 298, 9), // "resources"
QT_MOC_LITERAL(19, 308, 8), // "children"
QT_MOC_LITERAL(20, 317, 32), // "QQmlListProperty<QQuick3DObject>"
QT_MOC_LITERAL(21, 350, 6), // "states"
QT_MOC_LITERAL(22, 357, 29), // "QQmlListProperty<QQuickState>"
QT_MOC_LITERAL(23, 387, 11), // "transitions"
QT_MOC_LITERAL(24, 399, 34), // "QQmlListProperty<QQuickTransi..."
QT_MOC_LITERAL(25, 434, 5) // "state"

    },
    "QQuick3DObject\0DefaultProperty\0data\0"
    "qt_QmlJSWrapperFactoryMethod\0"
    "_q_createJSWrapper(QV4::ExecutionEngine*)\0"
    "parentChanged\0\0childrenChanged\0"
    "stateChanged\0update\0setParentItem\0"
    "QQuick3DObject*\0parentItem\0"
    "_q_resourceObjectDeleted\0_q_createJSWrapper\0"
    "QV4::ExecutionEngine*\0parent\0"
    "QQmlListProperty<QObject>\0resources\0"
    "children\0QQmlListProperty<QQuick3DObject>\0"
    "states\0QQmlListProperty<QQuickState>\0"
    "transitions\0QQmlListProperty<QQuickTransition>\0"
    "state"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DObject[] = {

 // content:
       8,       // revision
       0,       // classname
       2,   14, // classinfo
       7,   18, // methods
       7,   66, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // classinfo: key, value
       1,    2,
       3,    4,

 // signals: name, argc, parameters, tag, flags
       5,    0,   53,    6, 0x06 /* Public */,
       7,    0,   54,    6, 0x06 /* Public */,
       8,    0,   55,    6, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   56,    6, 0x0a /* Public */,
      10,    1,   57,    6, 0x0a /* Public */,
      13,    1,   60,    6, 0x08 /* Private */,
      14,    1,   63,    6, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QObjectStar,    6,
    QMetaType::ULongLong, 0x80000000 | 15,    6,

 // properties: name, type, flags
      16, 0x80000000 | 11, 0x0049480b,
       2, 0x80000000 | 17, 0x00094009,
      18, 0x80000000 | 17, 0x00094009,
      19, 0x80000000 | 20, 0x00494009,
      21, 0x80000000 | 22, 0x00094009,
      23, 0x80000000 | 24, 0x00094009,
      25, QMetaType::QString, 0x00495103,

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

       0        // eod
};

void QQuick3DObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuick3DObject *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->parentChanged(); break;
        case 1: _t->childrenChanged(); break;
        case 2: _t->stateChanged(); break;
        case 3: _t->update(); break;
        case 4: _t->setParentItem((*reinterpret_cast< QQuick3DObject*(*)>(_a[1]))); break;
        case 5: _t->d_func()->_q_resourceObjectDeleted((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 6: { quint64 _r = _t->d_func()->_q_createJSWrapper((*reinterpret_cast< QV4::ExecutionEngine*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< quint64*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DObject* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuick3DObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DObject::parentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuick3DObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DObject::childrenChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuick3DObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DObject::stateChanged)) {
                *result = 2;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QObject> >(); break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QQuick3DObject> >(); break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DObject* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuick3DObject *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuick3DObject**>(_v) = _t->parentItem(); break;
        case 1: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = _t->QQuick3DObject::d_func()->data(); break;
        case 2: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = _t->QQuick3DObject::d_func()->resources(); break;
        case 3: *reinterpret_cast< QQmlListProperty<QQuick3DObject>*>(_v) = _t->QQuick3DObject::d_func()->children(); break;
        case 4: *reinterpret_cast< QQmlListProperty<QQuickState>*>(_v) = _t->QQuick3DObject::d_func()->states(); break;
        case 5: *reinterpret_cast< QQmlListProperty<QQuickTransition>*>(_v) = _t->QQuick3DObject::d_func()->transitions(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->state(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuick3DObject *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setParentItem(*reinterpret_cast< QQuick3DObject**>(_v)); break;
        case 6: _t->setState(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DObject::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QQuick3DObject.data,
    qt_meta_data_QQuick3DObject,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuick3DObject::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuick3DObject.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    return QObject::qt_metacast(_clname);
}

int QQuick3DObject::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 < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _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 -= 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 QQuick3DObject::parentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void QQuick3DObject::stateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
