/****************************************************************************
** Meta object code from reading C++ file 'qabstractclipanimator.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/qabstractclipanimator.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qabstractclipanimator.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_ZN13Qt3DAnimation21QAbstractClipAnimatorE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DAnimation::QAbstractClipAnimator::qt_create_metaobjectdata<qt_meta_tag_ZN13Qt3DAnimation21QAbstractClipAnimatorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DAnimation::QAbstractClipAnimator",
        "runningChanged",
        "",
        "running",
        "channelMapperChanged",
        "Qt3DAnimation::QChannelMapper*",
        "channelMapper",
        "loopCountChanged",
        "loops",
        "clockChanged",
        "Qt3DAnimation::QClock*",
        "clock",
        "normalizedTimeChanged",
        "index",
        "setRunning",
        "setChannelMapper",
        "setLoopCount",
        "setClock",
        "setNormalizedTime",
        "timeFraction",
        "start",
        "stop",
        "normalizedTime",
        "Loops",
        "Infinite"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'runningChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'channelMapperChanged'
        QtMocHelpers::SignalData<void(Qt3DAnimation::QChannelMapper *)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Signal 'loopCountChanged'
        QtMocHelpers::SignalData<void(int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 8 },
        }}),
        // Signal 'clockChanged'
        QtMocHelpers::SignalData<void(Qt3DAnimation::QClock *)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'normalizedTimeChanged'
        QtMocHelpers::SignalData<void(float)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 13 },
        }}),
        // Slot 'setRunning'
        QtMocHelpers::SlotData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'setChannelMapper'
        QtMocHelpers::SlotData<void(Qt3DAnimation::QChannelMapper *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Slot 'setLoopCount'
        QtMocHelpers::SlotData<void(int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 8 },
        }}),
        // Slot 'setClock'
        QtMocHelpers::SlotData<void(Qt3DAnimation::QClock *)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'setNormalizedTime'
        QtMocHelpers::SlotData<void(float)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 19 },
        }}),
        // Slot 'start'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stop'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'running'
        QtMocHelpers::PropertyData<bool>(3, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'loops'
        QtMocHelpers::PropertyData<int>(8, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable, 2),
        // property 'channelMapper'
        QtMocHelpers::PropertyData<Qt3DAnimation::QChannelMapper*>(6, 0x80000000 | 5, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 1),
        // property 'clock'
        QtMocHelpers::PropertyData<Qt3DAnimation::QClock*>(11, 0x80000000 | 10, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 3),
        // property 'normalizedTime'
        QtMocHelpers::PropertyData<float>(22, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Loops'
        QtMocHelpers::EnumData<enum Loops>(23, 23, QMC::EnumFlags{}).add({
            {   24, Loops::Infinite },
        }),
    };
    return QtMocHelpers::metaObjectData<QAbstractClipAnimator, qt_meta_tag_ZN13Qt3DAnimation21QAbstractClipAnimatorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DAnimation::QAbstractClipAnimator::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DCore::QComponent::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation21QAbstractClipAnimatorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation21QAbstractClipAnimatorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13Qt3DAnimation21QAbstractClipAnimatorE_t>.metaTypes,
    nullptr
} };

void Qt3DAnimation::QAbstractClipAnimator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QAbstractClipAnimator *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->runningChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->channelMapperChanged((*reinterpret_cast<std::add_pointer_t<Qt3DAnimation::QChannelMapper*>>(_a[1]))); break;
        case 2: _t->loopCountChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->clockChanged((*reinterpret_cast<std::add_pointer_t<Qt3DAnimation::QClock*>>(_a[1]))); break;
        case 4: _t->normalizedTimeChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 5: _t->setRunning((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->setChannelMapper((*reinterpret_cast<std::add_pointer_t<Qt3DAnimation::QChannelMapper*>>(_a[1]))); break;
        case 7: _t->setLoopCount((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->setClock((*reinterpret_cast<std::add_pointer_t<Qt3DAnimation::QClock*>>(_a[1]))); break;
        case 9: _t->setNormalizedTime((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 10: _t->start(); break;
        case 11: _t->stop(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< Qt3DAnimation::QChannelMapper* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Qt3DAnimation::QClock* >(); 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< Qt3DAnimation::QChannelMapper* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Qt3DAnimation::QClock* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QAbstractClipAnimator::*)(bool )>(_a, &QAbstractClipAnimator::runningChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QAbstractClipAnimator::*)(Qt3DAnimation::QChannelMapper * )>(_a, &QAbstractClipAnimator::channelMapperChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QAbstractClipAnimator::*)(int )>(_a, &QAbstractClipAnimator::loopCountChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QAbstractClipAnimator::*)(Qt3DAnimation::QClock * )>(_a, &QAbstractClipAnimator::clockChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QAbstractClipAnimator::*)(float )>(_a, &QAbstractClipAnimator::normalizedTimeChanged, 4))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DAnimation::QChannelMapper* >(); break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DAnimation::QClock* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->isRunning(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->loopCount(); break;
        case 2: *reinterpret_cast<Qt3DAnimation::QChannelMapper**>(_v) = _t->channelMapper(); break;
        case 3: *reinterpret_cast<Qt3DAnimation::QClock**>(_v) = _t->clock(); break;
        case 4: *reinterpret_cast<float*>(_v) = _t->normalizedTime(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRunning(*reinterpret_cast<bool*>(_v)); break;
        case 1: _t->setLoopCount(*reinterpret_cast<int*>(_v)); break;
        case 2: _t->setChannelMapper(*reinterpret_cast<Qt3DAnimation::QChannelMapper**>(_v)); break;
        case 3: _t->setClock(*reinterpret_cast<Qt3DAnimation::QClock**>(_v)); break;
        case 4: _t->setNormalizedTime(*reinterpret_cast<float*>(_v)); break;
        default: break;
        }
    }
}

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

void *Qt3DAnimation::QAbstractClipAnimator::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation21QAbstractClipAnimatorE_t>.strings))
        return static_cast<void*>(this);
    return Qt3DCore::QComponent::qt_metacast(_clname);
}

int Qt3DAnimation::QAbstractClipAnimator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DCore::QComponent::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 -= 5;
    }
    return _id;
}

// SIGNAL 0
void Qt3DAnimation::QAbstractClipAnimator::runningChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Qt3DAnimation::QAbstractClipAnimator::channelMapperChanged(Qt3DAnimation::QChannelMapper * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DAnimation::QAbstractClipAnimator::loopCountChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DAnimation::QAbstractClipAnimator::clockChanged(Qt3DAnimation::QClock * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DAnimation::QAbstractClipAnimator::normalizedTimeChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
