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

#include <memory>
#include "../../../../qt3d/src/animation/frontend/qanimationcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qanimationcontroller.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Qt3DAnimation__QAnimationController_t {
    QByteArrayData data[28];
    char stringdata0[427];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DAnimation__QAnimationController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DAnimation__QAnimationController_t qt_meta_stringdata_Qt3DAnimation__QAnimationController = {
    {
QT_MOC_LITERAL(0, 0, 35), // "Qt3DAnimation::QAnimationCont..."
QT_MOC_LITERAL(1, 36, 27), // "activeAnimationGroupChanged"
QT_MOC_LITERAL(2, 64, 0), // ""
QT_MOC_LITERAL(3, 65, 5), // "index"
QT_MOC_LITERAL(4, 71, 15), // "positionChanged"
QT_MOC_LITERAL(5, 87, 8), // "position"
QT_MOC_LITERAL(6, 96, 20), // "positionScaleChanged"
QT_MOC_LITERAL(7, 117, 5), // "scale"
QT_MOC_LITERAL(8, 123, 21), // "positionOffsetChanged"
QT_MOC_LITERAL(9, 145, 6), // "offset"
QT_MOC_LITERAL(10, 152, 13), // "entityChanged"
QT_MOC_LITERAL(11, 166, 18), // "Qt3DCore::QEntity*"
QT_MOC_LITERAL(12, 185, 6), // "entity"
QT_MOC_LITERAL(13, 192, 16), // "recursiveChanged"
QT_MOC_LITERAL(14, 209, 9), // "recursive"
QT_MOC_LITERAL(15, 219, 23), // "setActiveAnimationGroup"
QT_MOC_LITERAL(16, 243, 11), // "setPosition"
QT_MOC_LITERAL(17, 255, 16), // "setPositionScale"
QT_MOC_LITERAL(18, 272, 17), // "setPositionOffset"
QT_MOC_LITERAL(19, 290, 9), // "setEntity"
QT_MOC_LITERAL(20, 300, 12), // "setRecursive"
QT_MOC_LITERAL(21, 313, 17), // "getAnimationIndex"
QT_MOC_LITERAL(22, 331, 4), // "name"
QT_MOC_LITERAL(23, 336, 8), // "getGroup"
QT_MOC_LITERAL(24, 345, 31), // "Qt3DAnimation::QAnimationGroup*"
QT_MOC_LITERAL(25, 377, 20), // "activeAnimationGroup"
QT_MOC_LITERAL(26, 398, 13), // "positionScale"
QT_MOC_LITERAL(27, 412, 14) // "positionOffset"

    },
    "Qt3DAnimation::QAnimationController\0"
    "activeAnimationGroupChanged\0\0index\0"
    "positionChanged\0position\0positionScaleChanged\0"
    "scale\0positionOffsetChanged\0offset\0"
    "entityChanged\0Qt3DCore::QEntity*\0"
    "entity\0recursiveChanged\0recursive\0"
    "setActiveAnimationGroup\0setPosition\0"
    "setPositionScale\0setPositionOffset\0"
    "setEntity\0setRecursive\0getAnimationIndex\0"
    "name\0getGroup\0Qt3DAnimation::QAnimationGroup*\0"
    "activeAnimationGroup\0positionScale\0"
    "positionOffset"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DAnimation__QAnimationController[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   14, // methods
       6,  126, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       4,    1,   87,    2, 0x06 /* Public */,
       6,    1,   90,    2, 0x06 /* Public */,
       8,    1,   93,    2, 0x06 /* Public */,
      10,    1,   96,    2, 0x06 /* Public */,
      13,    1,   99,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  102,    2, 0x0a /* Public */,
      16,    1,  105,    2, 0x0a /* Public */,
      17,    1,  108,    2, 0x0a /* Public */,
      18,    1,  111,    2, 0x0a /* Public */,
      19,    1,  114,    2, 0x0a /* Public */,
      20,    1,  117,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      21,    1,  120,    2, 0x02 /* Public */,
      23,    1,  123,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Float,    5,
    QMetaType::Void, QMetaType::Float,    7,
    QMetaType::Void, QMetaType::Float,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::Bool,   14,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Float,    5,
    QMetaType::Void, QMetaType::Float,    7,
    QMetaType::Void, QMetaType::Float,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::Bool,   14,

 // methods: parameters
    QMetaType::Int, QMetaType::QString,   22,
    0x80000000 | 24, QMetaType::Int,    3,

 // properties: name, type, flags
      25, QMetaType::Int, 0x00495103,
       5, QMetaType::Float, 0x00495103,
      26, QMetaType::Float, 0x00495103,
      27, QMetaType::Float, 0x00495103,
      12, 0x80000000 | 11, 0x0049510b,
      14, QMetaType::Bool, 0x00495103,

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

       0        // eod
};

void Qt3DAnimation::QAnimationController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QAnimationController *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->activeAnimationGroupChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->positionChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 2: _t->positionScaleChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 3: _t->positionOffsetChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 4: _t->entityChanged((*reinterpret_cast< Qt3DCore::QEntity*(*)>(_a[1]))); break;
        case 5: _t->recursiveChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->setActiveAnimationGroup((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setPosition((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 8: _t->setPositionScale((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 9: _t->setPositionOffset((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 10: _t->setEntity((*reinterpret_cast< Qt3DCore::QEntity*(*)>(_a[1]))); break;
        case 11: _t->setRecursive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: { int _r = _t->getAnimationIndex((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 13: { Qt3DAnimation::QAnimationGroup* _r = _t->getGroup((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Qt3DAnimation::QAnimationGroup**>(_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< Qt3DCore::QEntity* >(); 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::QEntity* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QAnimationController::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAnimationController::activeAnimationGroupChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QAnimationController::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAnimationController::positionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QAnimationController::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAnimationController::positionScaleChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QAnimationController::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAnimationController::positionOffsetChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QAnimationController::*)(Qt3DCore::QEntity * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAnimationController::entityChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QAnimationController::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAnimationController::recursiveChanged)) {
                *result = 5;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QEntity* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QAnimationController *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->activeAnimationGroup(); break;
        case 1: *reinterpret_cast< float*>(_v) = _t->position(); break;
        case 2: *reinterpret_cast< float*>(_v) = _t->positionScale(); break;
        case 3: *reinterpret_cast< float*>(_v) = _t->positionOffset(); break;
        case 4: *reinterpret_cast< Qt3DCore::QEntity**>(_v) = _t->entity(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->recursive(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QAnimationController *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setActiveAnimationGroup(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setPosition(*reinterpret_cast< float*>(_v)); break;
        case 2: _t->setPositionScale(*reinterpret_cast< float*>(_v)); break;
        case 3: _t->setPositionOffset(*reinterpret_cast< float*>(_v)); break;
        case 4: _t->setEntity(*reinterpret_cast< Qt3DCore::QEntity**>(_v)); break;
        case 5: _t->setRecursive(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Qt3DAnimation::QAnimationController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Qt3DAnimation__QAnimationController.data,
    qt_meta_data_Qt3DAnimation__QAnimationController,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Qt3DAnimation::QAnimationController::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
#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 -= 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;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3DAnimation::QAnimationController::activeAnimationGroupChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Qt3DAnimation::QAnimationController::positionChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Qt3DAnimation::QAnimationController::positionScaleChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Qt3DAnimation::QAnimationController::positionOffsetChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Qt3DAnimation::QAnimationController::entityChanged(Qt3DCore::QEntity * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Qt3DAnimation::QAnimationController::recursiveChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
