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

#include "../../../../../qt3d/src/animation/frontend/qkeyframeanimation.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qkeyframeanimation.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN13Qt3DAnimation18QKeyframeAnimationE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DAnimation::QKeyframeAnimation::qt_create_metaobjectdata<qt_meta_tag_ZN13Qt3DAnimation18QKeyframeAnimationE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DAnimation::QKeyframeAnimation",
        "framePositionsChanged",
        "",
        "QList<float>",
        "positions",
        "targetChanged",
        "Qt3DCore::QTransform*",
        "target",
        "easingChanged",
        "QEasingCurve",
        "easing",
        "targetNameChanged",
        "name",
        "startModeChanged",
        "QKeyframeAnimation::RepeatMode",
        "startMode",
        "endModeChanged",
        "endMode",
        "setFramePositions",
        "setTarget",
        "setEasing",
        "setTargetName",
        "setStartMode",
        "RepeatMode",
        "mode",
        "setEndMode",
        "framePositions",
        "targetName",
        "None",
        "Constant",
        "Repeat"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'framePositionsChanged'
        QtMocHelpers::SignalData<void(const QList<float> &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'targetChanged'
        QtMocHelpers::SignalData<void(Qt3DCore::QTransform *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'easingChanged'
        QtMocHelpers::SignalData<void(const QEasingCurve &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Signal 'targetNameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Signal 'startModeChanged'
        QtMocHelpers::SignalData<void(QKeyframeAnimation::RepeatMode)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Signal 'endModeChanged'
        QtMocHelpers::SignalData<void(QKeyframeAnimation::RepeatMode)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 17 },
        }}),
        // Slot 'setFramePositions'
        QtMocHelpers::SlotData<void(const QList<float> &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'setTarget'
        QtMocHelpers::SlotData<void(Qt3DCore::QTransform *)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'setEasing'
        QtMocHelpers::SlotData<void(const QEasingCurve &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Slot 'setTargetName'
        QtMocHelpers::SlotData<void(const QString &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Slot 'setStartMode'
        QtMocHelpers::SlotData<void(enum RepeatMode)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Slot 'setEndMode'
        QtMocHelpers::SlotData<void(enum RepeatMode)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'framePositions'
        QtMocHelpers::PropertyData<QList<float>>(26, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'target'
        QtMocHelpers::PropertyData<Qt3DCore::QTransform*>(7, 0x80000000 | 6, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 1),
        // property 'easing'
        QtMocHelpers::PropertyData<QEasingCurve>(10, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2),
        // property 'targetName'
        QtMocHelpers::PropertyData<QString>(27, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'startMode'
        QtMocHelpers::PropertyData<enum RepeatMode>(15, 0x80000000 | 23, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 4),
        // property 'endMode'
        QtMocHelpers::PropertyData<enum RepeatMode>(17, 0x80000000 | 23, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 5),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'RepeatMode'
        QtMocHelpers::EnumData<enum RepeatMode>(23, 23, QMC::EnumFlags{}).add({
            {   28, RepeatMode::None },
            {   29, RepeatMode::Constant },
            {   30, RepeatMode::Repeat },
        }),
    };
    return QtMocHelpers::metaObjectData<QKeyframeAnimation, qt_meta_tag_ZN13Qt3DAnimation18QKeyframeAnimationE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DAnimation::QKeyframeAnimation::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractAnimation::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation18QKeyframeAnimationE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation18QKeyframeAnimationE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13Qt3DAnimation18QKeyframeAnimationE_t>.metaTypes,
    nullptr
} };

void Qt3DAnimation::QKeyframeAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QKeyframeAnimation *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->framePositionsChanged((*reinterpret_cast<std::add_pointer_t<QList<float>>>(_a[1]))); break;
        case 1: _t->targetChanged((*reinterpret_cast<std::add_pointer_t<Qt3DCore::QTransform*>>(_a[1]))); break;
        case 2: _t->easingChanged((*reinterpret_cast<std::add_pointer_t<QEasingCurve>>(_a[1]))); break;
        case 3: _t->targetNameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->startModeChanged((*reinterpret_cast<std::add_pointer_t<QKeyframeAnimation::RepeatMode>>(_a[1]))); break;
        case 5: _t->endModeChanged((*reinterpret_cast<std::add_pointer_t<QKeyframeAnimation::RepeatMode>>(_a[1]))); break;
        case 6: _t->setFramePositions((*reinterpret_cast<std::add_pointer_t<QList<float>>>(_a[1]))); break;
        case 7: _t->setTarget((*reinterpret_cast<std::add_pointer_t<Qt3DCore::QTransform*>>(_a[1]))); break;
        case 8: _t->setEasing((*reinterpret_cast<std::add_pointer_t<QEasingCurve>>(_a[1]))); break;
        case 9: _t->setTargetName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->setStartMode((*reinterpret_cast<std::add_pointer_t<enum RepeatMode>>(_a[1]))); break;
        case 11: _t->setEndMode((*reinterpret_cast<std::add_pointer_t<enum RepeatMode>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<float> >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Qt3DCore::QTransform* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<float> >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Qt3DCore::QTransform* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QKeyframeAnimation::*)(const QList<float> & )>(_a, &QKeyframeAnimation::framePositionsChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QKeyframeAnimation::*)(Qt3DCore::QTransform * )>(_a, &QKeyframeAnimation::targetChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QKeyframeAnimation::*)(const QEasingCurve & )>(_a, &QKeyframeAnimation::easingChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QKeyframeAnimation::*)(const QString & )>(_a, &QKeyframeAnimation::targetNameChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QKeyframeAnimation::*)(QKeyframeAnimation::RepeatMode )>(_a, &QKeyframeAnimation::startModeChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QKeyframeAnimation::*)(QKeyframeAnimation::RepeatMode )>(_a, &QKeyframeAnimation::endModeChanged, 5))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<float> >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QTransform* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QList<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<enum RepeatMode*>(_v) = _t->startMode(); break;
        case 5: *reinterpret_cast<enum RepeatMode*>(_v) = _t->endMode(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFramePositions(*reinterpret_cast<QList<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<enum RepeatMode*>(_v)); break;
        case 5: _t->setEndMode(*reinterpret_cast<enum RepeatMode*>(_v)); break;
        default: break;
        }
    }
}

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_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation18QKeyframeAnimationE_t>.strings))
        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;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void Qt3DAnimation::QKeyframeAnimation::framePositionsChanged(const QList<float> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Qt3DAnimation::QKeyframeAnimation::targetChanged(Qt3DCore::QTransform * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DAnimation::QKeyframeAnimation::easingChanged(const QEasingCurve & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DAnimation::QKeyframeAnimation::targetNameChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DAnimation::QKeyframeAnimation::startModeChanged(QKeyframeAnimation::RepeatMode _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Qt3DAnimation::QKeyframeAnimation::endModeChanged(QKeyframeAnimation::RepeatMode _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}
QT_WARNING_POP
