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

template <> constexpr inline auto JoySensor::qt_create_metaobjectdata<qt_meta_tag_ZN9JoySensorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "JoySensor",
        "moved",
        "",
        "xaxis",
        "yaxis",
        "zaxis",
        "active",
        "released",
        "deadZoneChanged",
        "value",
        "diagonalRangeChanged",
        "maxZoneChanged",
        "sensorDelayChanged",
        "sensorNameChanged",
        "propertyUpdated",
        "reset",
        "setDeadZone",
        "setMaxZone",
        "setDiagonalRange",
        "setSensorDelay",
        "setSensorName",
        "tempName",
        "establishPropertyUpdatedConnection",
        "delayTimerExpired"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'moved'
        QtMocHelpers::SignalData<void(float, float, float)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 3 }, { QMetaType::Float, 4 }, { QMetaType::Float, 5 },
        }}),
        // Signal 'active'
        QtMocHelpers::SignalData<void(float, float, float)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 3 }, { QMetaType::Float, 4 }, { QMetaType::Float, 5 },
        }}),
        // Signal 'released'
        QtMocHelpers::SignalData<void(float, float, float)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 3 }, { QMetaType::Float, 4 }, { QMetaType::Float, 5 },
        }}),
        // Signal 'deadZoneChanged'
        QtMocHelpers::SignalData<void(double)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Signal 'diagonalRangeChanged'
        QtMocHelpers::SignalData<void(double)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Signal 'maxZoneChanged'
        QtMocHelpers::SignalData<void(double)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Signal 'sensorDelayChanged'
        QtMocHelpers::SignalData<void(int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'sensorNameChanged'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'propertyUpdated'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reset'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setDeadZone'
        QtMocHelpers::SlotData<void(double)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Slot 'setMaxZone'
        QtMocHelpers::SlotData<void(double)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Slot 'setDiagonalRange'
        QtMocHelpers::SlotData<void(double)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Slot 'setSensorDelay'
        QtMocHelpers::SlotData<void(unsigned int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 9 },
        }}),
        // Slot 'setSensorName'
        QtMocHelpers::SlotData<void(QString)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 },
        }}),
        // Slot 'establishPropertyUpdatedConnection'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'delayTimerExpired'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<JoySensor, qt_meta_tag_ZN9JoySensorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject JoySensor::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9JoySensorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9JoySensorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9JoySensorE_t>.metaTypes,
    nullptr
} };

void JoySensor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<JoySensor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->moved((*reinterpret_cast<std::add_pointer_t<float>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[3]))); break;
        case 1: _t->active((*reinterpret_cast<std::add_pointer_t<float>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[3]))); break;
        case 2: _t->released((*reinterpret_cast<std::add_pointer_t<float>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[3]))); break;
        case 3: _t->deadZoneChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 4: _t->diagonalRangeChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 5: _t->maxZoneChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 6: _t->sensorDelayChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->sensorNameChanged(); break;
        case 8: _t->propertyUpdated(); break;
        case 9: _t->reset(); break;
        case 10: _t->setDeadZone((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 11: _t->setMaxZone((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 12: _t->setDiagonalRange((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 13: _t->setSensorDelay((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 14: _t->setSensorName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 15: _t->establishPropertyUpdatedConnection(); break;
        case 16: _t->delayTimerExpired(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)(float , float , float )>(_a, &JoySensor::moved, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)(float , float , float )>(_a, &JoySensor::active, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)(float , float , float )>(_a, &JoySensor::released, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)(double )>(_a, &JoySensor::deadZoneChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)(double )>(_a, &JoySensor::diagonalRangeChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)(double )>(_a, &JoySensor::maxZoneChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)(int )>(_a, &JoySensor::sensorDelayChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)()>(_a, &JoySensor::sensorNameChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoySensor::*)()>(_a, &JoySensor::propertyUpdated, 8))
            return;
    }
}

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

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

int JoySensor::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 < 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;
    }
    return _id;
}

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

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

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

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

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

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

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

// SIGNAL 7
void JoySensor::sensorNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

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