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

#include <memory>
#include "../../../../qt3d/src/animation/frontend/qkeyframeanimation.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qkeyframeanimation.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. 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__QKeyframeAnimation_t {
    QByteArrayData data[31];
    char stringdata0[402];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DAnimation__QKeyframeAnimation_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DAnimation__QKeyframeAnimation_t qt_meta_stringdata_Qt3DAnimation__QKeyframeAnimation = {
    {
QT_MOC_LITERAL(0, 0, 33), // "Qt3DAnimation::QKeyframeAnima..."
QT_MOC_LITERAL(1, 34, 21), // "framePositionsChanged"
QT_MOC_LITERAL(2, 56, 0), // ""
QT_MOC_LITERAL(3, 57, 14), // "QVector<float>"
QT_MOC_LITERAL(4, 72, 9), // "positions"
QT_MOC_LITERAL(5, 82, 13), // "targetChanged"
QT_MOC_LITERAL(6, 96, 21), // "Qt3DCore::QTransform*"
QT_MOC_LITERAL(7, 118, 6), // "target"
QT_MOC_LITERAL(8, 125, 13), // "easingChanged"
QT_MOC_LITERAL(9, 139, 12), // "QEasingCurve"
QT_MOC_LITERAL(10, 152, 6), // "easing"
QT_MOC_LITERAL(11, 159, 17), // "targetNameChanged"
QT_MOC_LITERAL(12, 177, 4), // "name"
QT_MOC_LITERAL(13, 182, 16), // "startModeChanged"
QT_MOC_LITERAL(14, 199, 30), // "QKeyframeAnimation::RepeatMode"
QT_MOC_LITERAL(15, 230, 9), // "startMode"
QT_MOC_LITERAL(16, 240, 14), // "endModeChanged"
QT_MOC_LITERAL(17, 255, 7), // "endMode"
QT_MOC_LITERAL(18, 263, 17), // "setFramePositions"
QT_MOC_LITERAL(19, 281, 9), // "setTarget"
QT_MOC_LITERAL(20, 291, 9), // "setEasing"
QT_MOC_LITERAL(21, 301, 13), // "setTargetName"
QT_MOC_LITERAL(22, 315, 12), // "setStartMode"
QT_MOC_LITERAL(23, 328, 10), // "RepeatMode"
QT_MOC_LITERAL(24, 339, 4), // "mode"
QT_MOC_LITERAL(25, 344, 10), // "setEndMode"
QT_MOC_LITERAL(26, 355, 14), // "framePositions"
QT_MOC_LITERAL(27, 370, 10), // "targetName"
QT_MOC_LITERAL(28, 381, 4), // "None"
QT_MOC_LITERAL(29, 386, 8), // "Constant"
QT_MOC_LITERAL(30, 395, 6) // "Repeat"

    },
    "Qt3DAnimation::QKeyframeAnimation\0"
    "framePositionsChanged\0\0QVector<float>\0"
    "positions\0targetChanged\0Qt3DCore::QTransform*\0"
    "target\0easingChanged\0QEasingCurve\0"
    "easing\0targetNameChanged\0name\0"
    "startModeChanged\0QKeyframeAnimation::RepeatMode\0"
    "startMode\0endModeChanged\0endMode\0"
    "setFramePositions\0setTarget\0setEasing\0"
    "setTargetName\0setStartMode\0RepeatMode\0"
    "mode\0setEndMode\0framePositions\0"
    "targetName\0None\0Constant\0Repeat"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DAnimation__QKeyframeAnimation[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       6,  110, // properties
       1,  134, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       5,    1,   77,    2, 0x06 /* Public */,
       8,    1,   80,    2, 0x06 /* Public */,
      11,    1,   83,    2, 0x06 /* Public */,
      13,    1,   86,    2, 0x06 /* Public */,
      16,    1,   89,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    1,   92,    2, 0x0a /* Public */,
      19,    1,   95,    2, 0x0a /* Public */,
      20,    1,   98,    2, 0x0a /* Public */,
      21,    1,  101,    2, 0x0a /* Public */,
      22,    1,  104,    2, 0x0a /* Public */,
      25,    1,  107,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 14,   17,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void, 0x80000000 | 23,   24,

 // properties: name, type, flags
      26, 0x80000000 | 3, 0x0049510b,
       7, 0x80000000 | 6, 0x0049510b,
      10, 0x80000000 | 9, 0x0049510b,
      27, QMetaType::QString, 0x00495103,
      15, 0x80000000 | 23, 0x0049510b,
      17, 0x80000000 | 23, 0x0049510b,

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

 // enums: name, alias, flags, count, data
      23,   23, 0x0,    3,  139,

 // enum data: key, value
      28, uint(Qt3DAnimation::QKeyframeAnimation::None),
      29, uint(Qt3DAnimation::QKeyframeAnimation::Constant),
      30, uint(Qt3DAnimation::QKeyframeAnimation::Repeat),

       0        // eod
};

void Qt3DAnimation::QKeyframeAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QKeyframeAnimation *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->framePositionsChanged((*reinterpret_cast< const QVector<float>(*)>(_a[1]))); break;
        case 1: _t->targetChanged((*reinterpret_cast< Qt3DCore::QTransform*(*)>(_a[1]))); break;
        case 2: _t->easingChanged((*reinterpret_cast< const QEasingCurve(*)>(_a[1]))); break;
        case 3: _t->targetNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->startModeChanged((*reinterpret_cast< QKeyframeAnimation::RepeatMode(*)>(_a[1]))); break;
        case 5: _t->endModeChanged((*reinterpret_cast< QKeyframeAnimation::RepeatMode(*)>(_a[1]))); break;
        case 6: _t->setFramePositions((*reinterpret_cast< const QVector<float>(*)>(_a[1]))); break;
        case 7: _t->setTarget((*reinterpret_cast< Qt3DCore::QTransform*(*)>(_a[1]))); break;
        case 8: _t->setEasing((*reinterpret_cast< const QEasingCurve(*)>(_a[1]))); break;
        case 9: _t->setTargetName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->setStartMode((*reinterpret_cast< RepeatMode(*)>(_a[1]))); break;
        case 11: _t->setEndMode((*reinterpret_cast< RepeatMode(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<float> >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QTransform* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<float> >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QTransform* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QKeyframeAnimation::*)(const QVector<float> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QKeyframeAnimation::framePositionsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QKeyframeAnimation::*)(Qt3DCore::QTransform * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QKeyframeAnimation::targetChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QKeyframeAnimation::*)(const QEasingCurve & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QKeyframeAnimation::easingChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QKeyframeAnimation::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QKeyframeAnimation::targetNameChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QKeyframeAnimation::*)(QKeyframeAnimation::RepeatMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QKeyframeAnimation::startModeChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QKeyframeAnimation::*)(QKeyframeAnimation::RepeatMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QKeyframeAnimation::endModeChanged)) {
                *result = 5;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<float> >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QTransform* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QKeyframeAnimation *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QVector<float>*>(_v) = _t->framePositions(); break;
        case 1: *reinterpret_cast< Qt3DCore::QTransform**>(_v) = _t->target(); break;
        case 2: *reinterpret_cast< QEasingCurve*>(_v) = _t->easing(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->targetName(); break;
        case 4: *reinterpret_cast< RepeatMode*>(_v) = _t->startMode(); break;
        case 5: *reinterpret_cast< RepeatMode*>(_v) = _t->endMode(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QKeyframeAnimation *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFramePositions(*reinterpret_cast< QVector<float>*>(_v)); break;
        case 1: _t->setTarget(*reinterpret_cast< Qt3DCore::QTransform**>(_v)); break;
        case 2: _t->setEasing(*reinterpret_cast< QEasingCurve*>(_v)); break;
        case 3: _t->setTargetName(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setStartMode(*reinterpret_cast< RepeatMode*>(_v)); break;
        case 5: _t->setEndMode(*reinterpret_cast< RepeatMode*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Qt3DAnimation::QKeyframeAnimation::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractAnimation::staticMetaObject>(),
    qt_meta_stringdata_Qt3DAnimation__QKeyframeAnimation.data,
    qt_meta_data_Qt3DAnimation__QKeyframeAnimation,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Qt3DAnimation::QKeyframeAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractAnimation::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
#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::QKeyframeAnimation::framePositionsChanged(const QVector<float> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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

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

// SIGNAL 5
void Qt3DAnimation::QKeyframeAnimation::endModeChanged(QKeyframeAnimation::RepeatMode _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
