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

template <> constexpr inline auto Qt3DExtras::QOrbitCameraController::qt_create_metaobjectdata<qt_meta_tag_ZN10Qt3DExtras22QOrbitCameraControllerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DExtras::QOrbitCameraController",
        "zoomInLimitChanged",
        "",
        "upVectorChanged",
        "QVector3D",
        "upVector",
        "inverseXTranslateChanged",
        "isInverse",
        "inverseYTranslateChanged",
        "inversePanChanged",
        "inverseTiltChanged",
        "zoomTranslateViewCenterChanged",
        "isTranslate",
        "setZoomInLimit",
        "zoomInLimit",
        "setUpVector",
        "setInverseXTranslate",
        "setInverseYTranslate",
        "setInversePan",
        "setInverseTilt",
        "setZoomTranslateViewCenter",
        "inverseXTranslate",
        "inverseYTranslate",
        "inversePan",
        "inverseTilt",
        "zoomTranslateViewCenter"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'zoomInLimitChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'upVectorChanged'
        QtMocHelpers::SignalData<void(const QVector3D &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'inverseXTranslateChanged'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'inverseYTranslateChanged'
        QtMocHelpers::SignalData<void(bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'inversePanChanged'
        QtMocHelpers::SignalData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'inverseTiltChanged'
        QtMocHelpers::SignalData<void(bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'zoomTranslateViewCenterChanged'
        QtMocHelpers::SignalData<void(bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Slot 'setZoomInLimit'
        QtMocHelpers::SlotData<void(float)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 14 },
        }}),
        // Slot 'setUpVector'
        QtMocHelpers::SlotData<void(const QVector3D &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'setInverseXTranslate'
        QtMocHelpers::SlotData<void(bool)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'setInverseYTranslate'
        QtMocHelpers::SlotData<void(bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'setInversePan'
        QtMocHelpers::SlotData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'setInverseTilt'
        QtMocHelpers::SlotData<void(bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'setZoomTranslateViewCenter'
        QtMocHelpers::SlotData<void(bool)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'zoomInLimit'
        QtMocHelpers::PropertyData<float>(14, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'upVector'
        QtMocHelpers::PropertyData<QVector3D>(5, 0x80000000 | 4, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 1, 0x607),
        // property 'inverseXTranslate'
        QtMocHelpers::PropertyData<bool>(21, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2, 0x607),
        // property 'inverseYTranslate'
        QtMocHelpers::PropertyData<bool>(22, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3, 0x607),
        // property 'inversePan'
        QtMocHelpers::PropertyData<bool>(23, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4, 0x607),
        // property 'inverseTilt'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5, 0x607),
        // property 'zoomTranslateViewCenter'
        QtMocHelpers::PropertyData<bool>(25, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6, 0x607),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QOrbitCameraController, qt_meta_tag_ZN10Qt3DExtras22QOrbitCameraControllerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DExtras::QOrbitCameraController::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractCameraController::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras22QOrbitCameraControllerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras22QOrbitCameraControllerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10Qt3DExtras22QOrbitCameraControllerE_t>.metaTypes,
    nullptr
} };

void Qt3DExtras::QOrbitCameraController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QOrbitCameraController *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->zoomInLimitChanged(); break;
        case 1: _t->upVectorChanged((*reinterpret_cast<std::add_pointer_t<QVector3D>>(_a[1]))); break;
        case 2: _t->inverseXTranslateChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->inverseYTranslateChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->inversePanChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->inverseTiltChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->zoomTranslateViewCenterChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->setZoomInLimit((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 8: _t->setUpVector((*reinterpret_cast<std::add_pointer_t<QVector3D>>(_a[1]))); break;
        case 9: _t->setInverseXTranslate((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->setInverseYTranslate((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->setInversePan((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->setInverseTilt((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->setZoomTranslateViewCenter((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QOrbitCameraController::*)()>(_a, &QOrbitCameraController::zoomInLimitChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QOrbitCameraController::*)(const QVector3D & )>(_a, &QOrbitCameraController::upVectorChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QOrbitCameraController::*)(bool )>(_a, &QOrbitCameraController::inverseXTranslateChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QOrbitCameraController::*)(bool )>(_a, &QOrbitCameraController::inverseYTranslateChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QOrbitCameraController::*)(bool )>(_a, &QOrbitCameraController::inversePanChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QOrbitCameraController::*)(bool )>(_a, &QOrbitCameraController::inverseTiltChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QOrbitCameraController::*)(bool )>(_a, &QOrbitCameraController::zoomTranslateViewCenterChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<float*>(_v) = _t->zoomInLimit(); break;
        case 1: *reinterpret_cast<QVector3D*>(_v) = _t->upVector(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->inverseXTranslate(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->inverseYTranslate(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->inversePan(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->inverseTilt(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->zoomTranslateViewCenter(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setZoomInLimit(*reinterpret_cast<float*>(_v)); break;
        case 1: _t->setUpVector(*reinterpret_cast<QVector3D*>(_v)); break;
        case 2: _t->setInverseXTranslate(*reinterpret_cast<bool*>(_v)); break;
        case 3: _t->setInverseYTranslate(*reinterpret_cast<bool*>(_v)); break;
        case 4: _t->setInversePan(*reinterpret_cast<bool*>(_v)); break;
        case 5: _t->setInverseTilt(*reinterpret_cast<bool*>(_v)); break;
        case 6: _t->setZoomTranslateViewCenter(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *Qt3DExtras::QOrbitCameraController::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras22QOrbitCameraControllerE_t>.strings))
        return static_cast<void*>(this);
    return QAbstractCameraController::qt_metacast(_clname);
}

int Qt3DExtras::QOrbitCameraController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractCameraController::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 14;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void Qt3DExtras::QOrbitCameraController::zoomInLimitChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Qt3DExtras::QOrbitCameraController::upVectorChanged(const QVector3D & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DExtras::QOrbitCameraController::inverseXTranslateChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DExtras::QOrbitCameraController::inverseYTranslateChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DExtras::QOrbitCameraController::inversePanChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Qt3DExtras::QOrbitCameraController::inverseTiltChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Qt3DExtras::QOrbitCameraController::zoomTranslateViewCenterChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
