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

#include "../../../../src/qt3d-opensource-src-5.9.3/src/core/nodes/qnode.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qnode.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.3. 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_Qt3DCore__QNode_t {
    QByteArrayData data[24];
    char stringdata0[367];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DCore__QNode_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DCore__QNode_t qt_meta_stringdata_Qt3DCore__QNode = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Qt3DCore::QNode"
QT_MOC_LITERAL(1, 16, 13), // "parentChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 6), // "parent"
QT_MOC_LITERAL(4, 38, 14), // "enabledChanged"
QT_MOC_LITERAL(5, 53, 7), // "enabled"
QT_MOC_LITERAL(6, 61, 34), // "defaultPropertyTrackingModeCh..."
QT_MOC_LITERAL(7, 96, 20), // "PropertyTrackingMode"
QT_MOC_LITERAL(8, 117, 4), // "mode"
QT_MOC_LITERAL(9, 122, 13), // "nodeDestroyed"
QT_MOC_LITERAL(10, 136, 9), // "setParent"
QT_MOC_LITERAL(11, 146, 6), // "QNode*"
QT_MOC_LITERAL(12, 153, 10), // "setEnabled"
QT_MOC_LITERAL(13, 164, 9), // "isEnabled"
QT_MOC_LITERAL(14, 174, 30), // "setDefaultPropertyTrackingMode"
QT_MOC_LITERAL(15, 205, 22), // "_q_postConstructorInit"
QT_MOC_LITERAL(16, 228, 11), // "_q_addChild"
QT_MOC_LITERAL(17, 240, 16), // "Qt3DCore::QNode*"
QT_MOC_LITERAL(18, 257, 14), // "_q_removeChild"
QT_MOC_LITERAL(19, 272, 18), // "_q_setParentHelper"
QT_MOC_LITERAL(20, 291, 27), // "defaultPropertyTrackingMode"
QT_MOC_LITERAL(21, 319, 16), // "TrackFinalValues"
QT_MOC_LITERAL(22, 336, 15), // "DontTrackValues"
QT_MOC_LITERAL(23, 352, 14) // "TrackAllValues"

    },
    "Qt3DCore::QNode\0parentChanged\0\0parent\0"
    "enabledChanged\0enabled\0"
    "defaultPropertyTrackingModeChanged\0"
    "PropertyTrackingMode\0mode\0nodeDestroyed\0"
    "setParent\0QNode*\0setEnabled\0isEnabled\0"
    "setDefaultPropertyTrackingMode\0"
    "_q_postConstructorInit\0_q_addChild\0"
    "Qt3DCore::QNode*\0_q_removeChild\0"
    "_q_setParentHelper\0defaultPropertyTrackingMode\0"
    "TrackFinalValues\0DontTrackValues\0"
    "TrackAllValues"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DCore__QNode[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       3,   98, // properties
       1,  113, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       4,    1,   72,    2, 0x06 /* Public */,
       6,    1,   75,    2, 0x06 /* Public */,
       9,    0,   78,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   79,    2, 0x0a /* Public */,
      12,    1,   82,    2, 0x0a /* Public */,
      14,    1,   85,    2, 0x0a /* Public */,
      15,    0,   88,    2, 0x08 /* Private */,
      16,    1,   89,    2, 0x08 /* Private */,
      18,    1,   92,    2, 0x08 /* Private */,
      19,    1,   95,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QObjectStar,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 11,    3,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void, 0x80000000 | 17,    2,

 // properties: name, type, flags
       3, 0x80000000 | 17, 0x0049510b,
       5, QMetaType::Bool, 0x00495103,
      20, 0x80000000 | 7, 0x00c9510b,

 // properties: notify_signal_id
       0,
       1,
       2,

 // properties: revision
       0,
       0,
       9,

 // enums: name, flags, count, data
       7, 0x0,    3,  117,

 // enum data: key, value
      21, uint(Qt3DCore::QNode::TrackFinalValues),
      22, uint(Qt3DCore::QNode::DontTrackValues),
      23, uint(Qt3DCore::QNode::TrackAllValues),

       0        // eod
};

void Qt3DCore::QNode::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QNode *_t = static_cast<QNode *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->parentChanged((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 1: _t->enabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->defaultPropertyTrackingModeChanged((*reinterpret_cast< PropertyTrackingMode(*)>(_a[1]))); break;
        case 3: _t->nodeDestroyed(); break;
        case 4: _t->setParent((*reinterpret_cast< QNode*(*)>(_a[1]))); break;
        case 5: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->setDefaultPropertyTrackingMode((*reinterpret_cast< PropertyTrackingMode(*)>(_a[1]))); break;
        case 7: _t->d_func()->_q_postConstructorInit(); break;
        case 8: _t->d_func()->_q_addChild((*reinterpret_cast< Qt3DCore::QNode*(*)>(_a[1]))); break;
        case 9: _t->d_func()->_q_removeChild((*reinterpret_cast< Qt3DCore::QNode*(*)>(_a[1]))); break;
        case 10: _t->d_func()->_q_setParentHelper((*reinterpret_cast< Qt3DCore::QNode*(*)>(_a[1]))); 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< QNode* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QNode* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QNode* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QNode* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QNode::*_t)(QObject * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNode::parentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QNode::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNode::enabledChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QNode::*_t)(PropertyTrackingMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNode::defaultPropertyTrackingModeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QNode::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNode::nodeDestroyed)) {
                *result = 3;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QNode* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QNode *_t = static_cast<QNode *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt3DCore::QNode**>(_v) = _t->parentNode(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
        case 2: *reinterpret_cast< PropertyTrackingMode*>(_v) = _t->defaultPropertyTrackingMode(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QNode *_t = static_cast<QNode *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setParent(*reinterpret_cast< Qt3DCore::QNode**>(_v)); break;
        case 1: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setDefaultPropertyTrackingMode(*reinterpret_cast< PropertyTrackingMode*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Qt3DCore::QNode::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Qt3DCore__QNode.data,
      qt_meta_data_Qt3DCore__QNode,  qt_static_metacall, nullptr, nullptr}
};


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

void *Qt3DCore::QNode::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3DCore__QNode.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Qt3DCore::QNode::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3DCore::QNode::parentChanged(QObject * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Qt3DCore::QNode::enabledChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Qt3DCore::QNode::defaultPropertyTrackingModeChanged(PropertyTrackingMode _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Qt3DCore::QNode::nodeDestroyed()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
