/****************************************************************************
** Meta object code from reading C++ file 'joytabwidget.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/gui/joytabwidget.h"
#include <QtGui/qtextcursor.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 'joytabwidget.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_ZN12JoyTabWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto JoyTabWidget::qt_create_metaobjectdata<qt_meta_tag_ZN12JoyTabWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "JoyTabWidget",
        "joystickConfigChanged",
        "",
        "index",
        "joystickAxisRefreshLabels",
        "axisIndex",
        "namesDisplayChanged",
        "status",
        "forceTabUnflash",
        "JoyTabWidget*",
        "tabWidget",
        "mappingUpdated",
        "mapping",
        "InputDevice*",
        "device",
        "openConfigFileDialog",
        "fillButtons",
        "saveDeviceSettings",
        "sync",
        "loadDeviceSettings",
        "changeNameDisplay",
        "displayNames",
        "changeCurrentSet",
        "loadConfigFile",
        "fileLocation",
        "refreshButtons",
        "saveConfigFile",
        "resetJoystick",
        "saveAsConfig",
        "removeConfig",
        "changeJoyConfig",
        "showAxisDialog",
        "showButtonDialog",
        "showStickAssignmentDialog",
        "showQuickSetDialog",
        "showKeyDelayDialog",
        "showSetNamesDialog",
        "toggleNames",
        "updateBatteryIcon",
        "changeSetOne",
        "changeSetTwo",
        "changeSetThree",
        "changeSetFour",
        "changeSetFive",
        "changeSetSix",
        "changeSetSeven",
        "changeSetEight",
        "displayProfileEditNotification",
        "removeProfileEditNotification",
        "checkForUnsavedProfile",
        "newindex",
        "checkStickDisplay",
        "checkSensorDisplay",
        "checkDPadButtonDisplay",
        "checkAxisButtonDisplay",
        "checkButtonDisplay",
        "checkStickEmptyDisplay",
        "checkSensorEmptyDisplay",
        "checkDPadButtonEmptyDisplay",
        "checkAxisButtonEmptyDisplay",
        "checkButtonEmptyDisplay",
        "editCurrentProfileItemText",
        "text",
        "refreshCopySetActions",
        "performSetCopy",
        "disableCopyCurrentSet",
        "refreshSetButtons",
        "openGameControllerMappingWindow",
        "propogateMappingUpdate"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'joystickConfigChanged'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'joystickAxisRefreshLabels'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 },
        }}),
        // Signal 'namesDisplayChanged'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'forceTabUnflash'
        QtMocHelpers::SignalData<void(JoyTabWidget *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Signal 'mappingUpdated'
        QtMocHelpers::SignalData<void(QString, InputDevice *)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 }, { 0x80000000 | 13, 14 },
        }}),
        // Slot 'openConfigFileDialog'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'fillButtons'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveDeviceSettings'
        QtMocHelpers::SlotData<void(bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 18 },
        }}),
        // Slot 'saveDeviceSettings'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'loadDeviceSettings'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'changeNameDisplay'
        QtMocHelpers::SlotData<void(bool)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 21 },
        }}),
        // Slot 'changeCurrentSet'
        QtMocHelpers::SlotData<void(int)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Slot 'loadConfigFile'
        QtMocHelpers::SlotData<void(QString)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 24 },
        }}),
        // Slot 'refreshButtons'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveConfigFile'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'resetJoystick'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'saveAsConfig'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'removeConfig'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeJoyConfig'
        QtMocHelpers::SlotData<void(int)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Slot 'showAxisDialog'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showButtonDialog'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showStickAssignmentDialog'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showQuickSetDialog'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showKeyDelayDialog'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showSetNamesDialog'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'toggleNames'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateBatteryIcon'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeSetOne'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeSetTwo'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeSetThree'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeSetFour'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeSetFive'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeSetSix'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeSetSeven'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeSetEight'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'displayProfileEditNotification'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'removeProfileEditNotification'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkForUnsavedProfile'
        QtMocHelpers::SlotData<void(int)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 50 },
        }}),
        // Slot 'checkForUnsavedProfile'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'checkStickDisplay'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkSensorDisplay'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkDPadButtonDisplay'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkAxisButtonDisplay'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkButtonDisplay'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkStickEmptyDisplay'
        QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkSensorEmptyDisplay'
        QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkDPadButtonEmptyDisplay'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkAxisButtonEmptyDisplay'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkButtonEmptyDisplay'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'editCurrentProfileItemText'
        QtMocHelpers::SlotData<void(QString)>(61, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 62 },
        }}),
        // Slot 'refreshCopySetActions'
        QtMocHelpers::SlotData<void()>(63, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'performSetCopy'
        QtMocHelpers::SlotData<void()>(64, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'disableCopyCurrentSet'
        QtMocHelpers::SlotData<void()>(65, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'refreshSetButtons'
        QtMocHelpers::SlotData<void()>(66, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openGameControllerMappingWindow'
        QtMocHelpers::SlotData<void()>(67, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'propogateMappingUpdate'
        QtMocHelpers::SlotData<void(QString, InputDevice *)>(68, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 12 }, { 0x80000000 | 13, 14 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<JoyTabWidget, qt_meta_tag_ZN12JoyTabWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject JoyTabWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12JoyTabWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12JoyTabWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12JoyTabWidgetE_t>.metaTypes,
    nullptr
} };

void JoyTabWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<JoyTabWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->joystickConfigChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->joystickAxisRefreshLabels((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->namesDisplayChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->forceTabUnflash((*reinterpret_cast<std::add_pointer_t<JoyTabWidget*>>(_a[1]))); break;
        case 4: _t->mappingUpdated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<InputDevice*>>(_a[2]))); break;
        case 5: _t->openConfigFileDialog(); break;
        case 6: _t->fillButtons(); break;
        case 7: _t->saveDeviceSettings((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->saveDeviceSettings(); break;
        case 9: _t->loadDeviceSettings(); break;
        case 10: _t->changeNameDisplay((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->changeCurrentSet((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: _t->loadConfigFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->refreshButtons(); break;
        case 14: _t->saveConfigFile(); break;
        case 15: _t->resetJoystick(); break;
        case 16: _t->saveAsConfig(); break;
        case 17: _t->removeConfig(); break;
        case 18: _t->changeJoyConfig((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 19: _t->showAxisDialog(); break;
        case 20: _t->showButtonDialog(); break;
        case 21: _t->showStickAssignmentDialog(); break;
        case 22: _t->showQuickSetDialog(); break;
        case 23: _t->showKeyDelayDialog(); break;
        case 24: _t->showSetNamesDialog(); break;
        case 25: _t->toggleNames(); break;
        case 26: _t->updateBatteryIcon(); break;
        case 27: _t->changeSetOne(); break;
        case 28: _t->changeSetTwo(); break;
        case 29: _t->changeSetThree(); break;
        case 30: _t->changeSetFour(); break;
        case 31: _t->changeSetFive(); break;
        case 32: _t->changeSetSix(); break;
        case 33: _t->changeSetSeven(); break;
        case 34: _t->changeSetEight(); break;
        case 35: _t->displayProfileEditNotification(); break;
        case 36: _t->removeProfileEditNotification(); break;
        case 37: _t->checkForUnsavedProfile((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 38: _t->checkForUnsavedProfile(); break;
        case 39: _t->checkStickDisplay(); break;
        case 40: _t->checkSensorDisplay(); break;
        case 41: _t->checkDPadButtonDisplay(); break;
        case 42: _t->checkAxisButtonDisplay(); break;
        case 43: _t->checkButtonDisplay(); break;
        case 44: _t->checkStickEmptyDisplay(); break;
        case 45: _t->checkSensorEmptyDisplay(); break;
        case 46: _t->checkDPadButtonEmptyDisplay(); break;
        case 47: _t->checkAxisButtonEmptyDisplay(); break;
        case 48: _t->checkButtonEmptyDisplay(); break;
        case 49: _t->editCurrentProfileItemText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 50: _t->refreshCopySetActions(); break;
        case 51: _t->performSetCopy(); break;
        case 52: _t->disableCopyCurrentSet(); break;
        case 53: _t->refreshSetButtons(); break;
        case 54: _t->openGameControllerMappingWindow(); break;
        case 55: _t->propogateMappingUpdate((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<InputDevice*>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< JoyTabWidget* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (JoyTabWidget::*)(int )>(_a, &JoyTabWidget::joystickConfigChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyTabWidget::*)(int )>(_a, &JoyTabWidget::joystickAxisRefreshLabels, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyTabWidget::*)(bool )>(_a, &JoyTabWidget::namesDisplayChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyTabWidget::*)(JoyTabWidget * )>(_a, &JoyTabWidget::forceTabUnflash, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (JoyTabWidget::*)(QString , InputDevice * )>(_a, &JoyTabWidget::mappingUpdated, 4))
            return;
    }
}

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

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

int JoyTabWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 56)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 56;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 56)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 56;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void JoyTabWidget::forceTabUnflash(JoyTabWidget * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void JoyTabWidget::mappingUpdated(QString _t1, InputDevice * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}
QT_WARNING_POP
