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

template <> constexpr inline auto Qt3DCore::QJoint::qt_create_metaobjectdata<qt_meta_tag_ZN8Qt3DCore6QJointE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DCore::QJoint",
        "scaleChanged",
        "",
        "QVector3D",
        "scale",
        "rotationChanged",
        "QQuaternion",
        "rotation",
        "translationChanged",
        "translation",
        "inverseBindMatrixChanged",
        "QMatrix4x4",
        "inverseBindMatrix",
        "rotationXChanged",
        "rotationX",
        "rotationYChanged",
        "rotationY",
        "rotationZChanged",
        "rotationZ",
        "nameChanged",
        "name",
        "setScale",
        "setRotation",
        "setTranslation",
        "setInverseBindMatrix",
        "setRotationX",
        "setRotationY",
        "setRotationZ",
        "setName",
        "setToIdentity"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'scaleChanged'
        QtMocHelpers::SignalData<void(const QVector3D &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'rotationChanged'
        QtMocHelpers::SignalData<void(const QQuaternion &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'translationChanged'
        QtMocHelpers::SignalData<void(const QVector3D &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 9 },
        }}),
        // Signal 'inverseBindMatrixChanged'
        QtMocHelpers::SignalData<void(const QMatrix4x4 &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Signal 'rotationXChanged'
        QtMocHelpers::SignalData<void(float)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 14 },
        }}),
        // Signal 'rotationYChanged'
        QtMocHelpers::SignalData<void(float)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 16 },
        }}),
        // Signal 'rotationZChanged'
        QtMocHelpers::SignalData<void(float)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 18 },
        }}),
        // Signal 'nameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 },
        }}),
        // Slot 'setScale'
        QtMocHelpers::SlotData<void(const QVector3D &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'setRotation'
        QtMocHelpers::SlotData<void(const QQuaternion &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'setTranslation'
        QtMocHelpers::SlotData<void(const QVector3D &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 9 },
        }}),
        // Slot 'setInverseBindMatrix'
        QtMocHelpers::SlotData<void(const QMatrix4x4 &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'setRotationX'
        QtMocHelpers::SlotData<void(float)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 14 },
        }}),
        // Slot 'setRotationY'
        QtMocHelpers::SlotData<void(float)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 16 },
        }}),
        // Slot 'setRotationZ'
        QtMocHelpers::SlotData<void(float)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 18 },
        }}),
        // Slot 'setName'
        QtMocHelpers::SlotData<void(const QString &)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 },
        }}),
        // Slot 'setToIdentity'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'scale'
        QtMocHelpers::PropertyData<QVector3D>(4, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'rotation'
        QtMocHelpers::PropertyData<QQuaternion>(7, 0x80000000 | 6, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 1),
        // property 'translation'
        QtMocHelpers::PropertyData<QVector3D>(9, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2),
        // property 'inverseBindMatrix'
        QtMocHelpers::PropertyData<QMatrix4x4>(12, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 3),
        // property 'rotationX'
        QtMocHelpers::PropertyData<float>(14, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'rotationY'
        QtMocHelpers::PropertyData<float>(16, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'rotationZ'
        QtMocHelpers::PropertyData<float>(18, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'name'
        QtMocHelpers::PropertyData<QString>(20, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 7),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QJoint, qt_meta_tag_ZN8Qt3DCore6QJointE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DCore::QJoint::staticMetaObject = { {
    QMetaObject::SuperData::link<QNode::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Qt3DCore6QJointE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Qt3DCore6QJointE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8Qt3DCore6QJointE_t>.metaTypes,
    nullptr
} };

void Qt3DCore::QJoint::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QJoint *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->scaleChanged((*reinterpret_cast<std::add_pointer_t<QVector3D>>(_a[1]))); break;
        case 1: _t->rotationChanged((*reinterpret_cast<std::add_pointer_t<QQuaternion>>(_a[1]))); break;
        case 2: _t->translationChanged((*reinterpret_cast<std::add_pointer_t<QVector3D>>(_a[1]))); break;
        case 3: _t->inverseBindMatrixChanged((*reinterpret_cast<std::add_pointer_t<QMatrix4x4>>(_a[1]))); break;
        case 4: _t->rotationXChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 5: _t->rotationYChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 6: _t->rotationZChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 7: _t->nameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->setScale((*reinterpret_cast<std::add_pointer_t<QVector3D>>(_a[1]))); break;
        case 9: _t->setRotation((*reinterpret_cast<std::add_pointer_t<QQuaternion>>(_a[1]))); break;
        case 10: _t->setTranslation((*reinterpret_cast<std::add_pointer_t<QVector3D>>(_a[1]))); break;
        case 11: _t->setInverseBindMatrix((*reinterpret_cast<std::add_pointer_t<QMatrix4x4>>(_a[1]))); break;
        case 12: _t->setRotationX((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 13: _t->setRotationY((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 14: _t->setRotationZ((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 15: _t->setName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 16: _t->setToIdentity(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QJoint::*)(const QVector3D & )>(_a, &QJoint::scaleChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QJoint::*)(const QQuaternion & )>(_a, &QJoint::rotationChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QJoint::*)(const QVector3D & )>(_a, &QJoint::translationChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QJoint::*)(const QMatrix4x4 & )>(_a, &QJoint::inverseBindMatrixChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QJoint::*)(float )>(_a, &QJoint::rotationXChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QJoint::*)(float )>(_a, &QJoint::rotationYChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QJoint::*)(float )>(_a, &QJoint::rotationZChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (QJoint::*)(const QString & )>(_a, &QJoint::nameChanged, 7))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QVector3D*>(_v) = _t->scale(); break;
        case 1: *reinterpret_cast<QQuaternion*>(_v) = _t->rotation(); break;
        case 2: *reinterpret_cast<QVector3D*>(_v) = _t->translation(); break;
        case 3: *reinterpret_cast<QMatrix4x4*>(_v) = _t->inverseBindMatrix(); break;
        case 4: *reinterpret_cast<float*>(_v) = _t->rotationX(); break;
        case 5: *reinterpret_cast<float*>(_v) = _t->rotationY(); break;
        case 6: *reinterpret_cast<float*>(_v) = _t->rotationZ(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->name(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setScale(*reinterpret_cast<QVector3D*>(_v)); break;
        case 1: _t->setRotation(*reinterpret_cast<QQuaternion*>(_v)); break;
        case 2: _t->setTranslation(*reinterpret_cast<QVector3D*>(_v)); break;
        case 3: _t->setInverseBindMatrix(*reinterpret_cast<QMatrix4x4*>(_v)); break;
        case 4: _t->setRotationX(*reinterpret_cast<float*>(_v)); break;
        case 5: _t->setRotationY(*reinterpret_cast<float*>(_v)); break;
        case 6: _t->setRotationZ(*reinterpret_cast<float*>(_v)); break;
        case 7: _t->setName(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

void *Qt3DCore::QJoint::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Qt3DCore6QJointE_t>.strings))
        return static_cast<void*>(this);
    return QNode::qt_metacast(_clname);
}

int Qt3DCore::QJoint::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QNode::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 17;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void Qt3DCore::QJoint::scaleChanged(const QVector3D & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Qt3DCore::QJoint::rotationChanged(const QQuaternion & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DCore::QJoint::translationChanged(const QVector3D & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DCore::QJoint::inverseBindMatrixChanged(const QMatrix4x4 & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DCore::QJoint::rotationXChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Qt3DCore::QJoint::rotationYChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Qt3DCore::QJoint::rotationZChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Qt3DCore::QJoint::nameChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
QT_WARNING_POP
