/****************************************************************************
** Meta object code from reading C++ file 'qvertexblendanimation.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/qvertexblendanimation.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 'qvertexblendanimation.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_ZN13Qt3DAnimation21QVertexBlendAnimationE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DAnimation::QVertexBlendAnimation::qt_create_metaobjectdata<qt_meta_tag_ZN13Qt3DAnimation21QVertexBlendAnimationE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DAnimation::QVertexBlendAnimation",
        "targetPositionsChanged",
        "",
        "QList<float>",
        "targetPositions",
        "interpolatorChanged",
        "interpolator",
        "targetChanged",
        "Qt3DRender::QGeometryRenderer*",
        "target",
        "targetNameChanged",
        "name",
        "setTargetPositions",
        "setTarget",
        "setTargetName",
        "targetName"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'targetPositionsChanged'
        QtMocHelpers::SignalData<void(const QList<float> &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'interpolatorChanged'
        QtMocHelpers::SignalData<void(float)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 6 },
        }}),
        // Signal 'targetChanged'
        QtMocHelpers::SignalData<void(Qt3DRender::QGeometryRenderer *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'targetNameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Slot 'setTargetPositions'
        QtMocHelpers::SlotData<void(const QList<float> &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'setTarget'
        QtMocHelpers::SlotData<void(Qt3DRender::QGeometryRenderer *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'setTargetName'
        QtMocHelpers::SlotData<void(const QString)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'targetPositions'
        QtMocHelpers::PropertyData<QList<float>>(4, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'interpolator'
        QtMocHelpers::PropertyData<float>(6, QMetaType::Float, QMC::DefaultPropertyFlags, 1),
        // property 'target'
        QtMocHelpers::PropertyData<Qt3DRender::QGeometryRenderer*>(9, 0x80000000 | 8, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2),
        // property 'targetName'
        QtMocHelpers::PropertyData<QString>(15, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QVertexBlendAnimation, qt_meta_tag_ZN13Qt3DAnimation21QVertexBlendAnimationE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DAnimation::QVertexBlendAnimation::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractAnimation::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation21QVertexBlendAnimationE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation21QVertexBlendAnimationE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13Qt3DAnimation21QVertexBlendAnimationE_t>.metaTypes,
    nullptr
} };

void Qt3DAnimation::QVertexBlendAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QVertexBlendAnimation *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->targetPositionsChanged((*reinterpret_cast<std::add_pointer_t<QList<float>>>(_a[1]))); break;
        case 1: _t->interpolatorChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 2: _t->targetChanged((*reinterpret_cast<std::add_pointer_t<Qt3DRender::QGeometryRenderer*>>(_a[1]))); break;
        case 3: _t->targetNameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->setTargetPositions((*reinterpret_cast<std::add_pointer_t<QList<float>>>(_a[1]))); break;
        case 5: _t->setTarget((*reinterpret_cast<std::add_pointer_t<Qt3DRender::QGeometryRenderer*>>(_a[1]))); break;
        case 6: _t->setTargetName((*reinterpret_cast<std::add_pointer_t<QString>>(_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 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Qt3DRender::QGeometryRenderer* >(); break;
            }
            break;
        case 4:
            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 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Qt3DRender::QGeometryRenderer* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QVertexBlendAnimation::*)(const QList<float> & )>(_a, &QVertexBlendAnimation::targetPositionsChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QVertexBlendAnimation::*)(float )>(_a, &QVertexBlendAnimation::interpolatorChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QVertexBlendAnimation::*)(Qt3DRender::QGeometryRenderer * )>(_a, &QVertexBlendAnimation::targetChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QVertexBlendAnimation::*)(const QString & )>(_a, &QVertexBlendAnimation::targetNameChanged, 3))
            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 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DRender::QGeometryRenderer* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QList<float>*>(_v) = _t->targetPositions(); break;
        case 1: *reinterpret_cast<float*>(_v) = _t->interpolator(); break;
        case 2: *reinterpret_cast<Qt3DRender::QGeometryRenderer**>(_v) = _t->target(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->targetName(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTargetPositions(*reinterpret_cast<QList<float>*>(_v)); break;
        case 2: _t->setTarget(*reinterpret_cast<Qt3DRender::QGeometryRenderer**>(_v)); break;
        case 3: _t->setTargetName(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

void *Qt3DAnimation::QVertexBlendAnimation::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13Qt3DAnimation21QVertexBlendAnimationE_t>.strings))
        return static_cast<void*>(this);
    return QAbstractAnimation::qt_metacast(_clname);
}

int Qt3DAnimation::QVertexBlendAnimation::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 < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

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

// SIGNAL 1
void Qt3DAnimation::QVertexBlendAnimation::interpolatorChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DAnimation::QVertexBlendAnimation::targetChanged(Qt3DRender::QGeometryRenderer * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

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