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

#include "../../../antimicrox/src/joycontrolstick.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 'joycontrolstick.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN15JoyControlStickE_t {};
} // unnamed namespace

template <> constexpr inline auto JoyControlStick::qt_create_metaobjectdata<qt_meta_tag_ZN15JoyControlStickE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "JoyControlStick",
        "moved",
        "",
        "xaxis",
        "yaxis",
        "active",
        "released",
        "axis",
        "deadZoneChanged",
        "value",
        "diagonalRangeChanged",
        "maxZoneChanged",
        "modifierZoneChanged",
        "circleAdjustChange",
        "circle",
        "stickDelayChanged",
        "stickNameChanged",
        "joyModeChanged",
        "propertyUpdated",
        "reset",
        "setDeadZone",
        "setMaxZone",
        "setModifierZone",
        "setModifierZoneInverted",
        "setDiagonalRange",
        "setStickName",
        "tempName",
        "setButtonsSpringRelativeStatus",
        "setCircleAdjust",
        "setStickDelay",
        "setButtonsEasingDuration",
        "establishPropertyUpdatedConnection",
        "disconnectPropertyUpdatedConnection",
        "stickDirectionChangeEvent"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'moved'
        QtMocHelpers::SignalData<void(int, int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 },
        }}),
        // Signal 'active'
        QtMocHelpers::SignalData<void(int, int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 },
        }}),
        // Signal 'released'
        QtMocHelpers::SignalData<void(int, int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 7 }, { QMetaType::Int, 4 },
        }}),
        // Signal 'deadZoneChanged'
        QtMocHelpers::SignalData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'diagonalRangeChanged'
        QtMocHelpers::SignalData<void(int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'maxZoneChanged'
        QtMocHelpers::SignalData<void(int)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'modifierZoneChanged'
        QtMocHelpers::SignalData<void(int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'circleAdjustChange'
        QtMocHelpers::SignalData<void(double)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 14 },
        }}),
        // Signal 'stickDelayChanged'
        QtMocHelpers::SignalData<void(int)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'stickNameChanged'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'joyModeChanged'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'propertyUpdated'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reset'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setDeadZone'
        QtMocHelpers::SlotData<void(int)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Slot 'setMaxZone'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Slot 'setModifierZone'
        QtMocHelpers::SlotData<void(int)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Slot 'setModifierZoneInverted'
        QtMocHelpers::SlotData<void(bool)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 9 },
        }}),
        // Slot 'setDiagonalRange'
        QtMocHelpers::SlotData<void(int)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Slot 'setStickName'
        QtMocHelpers::SlotData<void(QString)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 26 },
        }}),
        // Slot 'setButtonsSpringRelativeStatus'
        QtMocHelpers::SlotData<void(bool)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 9 },
        }}),
        // Slot 'setCircleAdjust'
        QtMocHelpers::SlotData<void(double)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 14 },
        }}),
        // Slot 'setStickDelay'
        QtMocHelpers::SlotData<void(int)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Slot 'setButtonsEasingDuration'
        QtMocHelpers::SlotData<void(double)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Slot 'establishPropertyUpdatedConnection'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'disconnectPropertyUpdatedConnection'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stickDirectionChangeEvent'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<JoyControlStick, qt_meta_tag_ZN15JoyControlStickE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject JoyControlStick::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15JoyControlStickE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15JoyControlStickE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15JoyControlStickE_t>.metaTypes,
    nullptr
} };

void JoyControlStick::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<JoyControlStick *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->moved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 1: _t->active((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 2: _t->released((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->deadZoneChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->diagonalRangeChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->maxZoneChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->modifierZoneChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->circleAdjustChange((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 8: _t->stickDelayChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->stickNameChanged(); break;
        case 10: _t->joyModeChanged(); break;
        case 11: _t->propertyUpdated(); break;
        case 12: _t->reset(); break;
        case 13: _t->setDeadZone((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 14: _t->setMaxZone((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 15: _t->setModifierZone((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->setModifierZoneInverted((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 17: _t->setDiagonalRange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->setStickName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 19: _t->setButtonsSpringRelativeStatus((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->setCircleAdjust((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 21: _t->setStickDelay((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 22: _t->setButtonsEasingDuration((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 23: _t->establishPropertyUpdatedConnection(); break;
        case 24: _t->disconnectPropertyUpdatedConnection(); break;
        case 25: _t->stickDirectionChangeEvent(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(int , int )>(_a, &JoyControlStick::moved, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(int , int )>(_a, &JoyControlStick::active, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(int , int )>(_a, &JoyControlStick::released, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(int )>(_a, &JoyControlStick::deadZoneChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(int )>(_a, &JoyControlStick::diagonalRangeChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(int )>(_a, &JoyControlStick::maxZoneChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(int )>(_a, &JoyControlStick::modifierZoneChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(double )>(_a, &JoyControlStick::circleAdjustChange, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)(int )>(_a, &JoyControlStick::stickDelayChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)()>(_a, &JoyControlStick::stickNameChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)()>(_a, &JoyControlStick::joyModeChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyControlStick::*)()>(_a, &JoyControlStick::propertyUpdated, 11))
            return;
    }
}

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

void *JoyControlStick::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15JoyControlStickE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "JoyStickDirectionsType"))
        return static_cast< JoyStickDirectionsType*>(this);
    return QObject::qt_metacast(_clname);
}

int JoyControlStick::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 26;
    }
    return _id;
}

// SIGNAL 0
void JoyControlStick::moved(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void JoyControlStick::active(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void JoyControlStick::released(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void JoyControlStick::deadZoneChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void JoyControlStick::diagonalRangeChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void JoyControlStick::maxZoneChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void JoyControlStick::modifierZoneChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void JoyControlStick::circleAdjustChange(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void JoyControlStick::stickDelayChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void JoyControlStick::stickNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void JoyControlStick::joyModeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void JoyControlStick::propertyUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}
QT_WARNING_POP
