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

template <> constexpr inline auto AdvanceStickAssignmentDialog::qt_create_metaobjectdata<qt_meta_tag_ZN28AdvanceStickAssignmentDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AdvanceStickAssignmentDialog",
        "stickConfigurationChanged",
        "",
        "vdpadConfigurationChanged",
        "refreshStickConfiguration",
        "JoyControlStick*",
        "stick1",
        "stick2",
        "refreshVDPadsConfiguration",
        "checkForAxisAssignmentStickOne",
        "QWidget*",
        "comboBox",
        "checkForAxisAssignmentStickTwo",
        "changeStateStickOneWidgets",
        "enabled",
        "changeStateStickTwoWidgets",
        "changeStateVDPadWidgets",
        "enabledVDPads",
        "populateDPadComboBoxes",
        "changeVDPadUpButton",
        "index",
        "changeVDPadDownButton",
        "changeVDPadLeftButton",
        "changeVDPadRightButton",
        "disableVDPadComboBoxes",
        "enableVDPadComboBoxes",
        "openQuickAssignDialogStick1",
        "openQuickAssignDialogStick2",
        "openAssignVDPadUp",
        "openAssignVDPadDown",
        "openAssignVDPadLeft",
        "openAssignVDPadRight",
        "quickAssignVDPadUp",
        "JoyAxisButton*",
        "joyaxisbtn",
        "quickAssignVDPadUpBtn",
        "JoyButton*",
        "joybtn",
        "quickAssignVDPadDown",
        "axbtn",
        "quickAssignVDPadDownJbtn",
        "quickAssignVDPadLeft",
        "quickAssignVDPadLeftJbtn",
        "quickAssignVDPadRight",
        "quickAssignVDPadRightJbtn",
        "reenableButtonEvents"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'stickConfigurationChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'vdpadConfigurationChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'refreshStickConfiguration'
        QtMocHelpers::SlotData<void(JoyControlStick *, JoyControlStick *)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 5, 6 }, { 0x80000000 | 5, 7 },
        }}),
        // Slot 'refreshVDPadsConfiguration'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkForAxisAssignmentStickOne'
        QtMocHelpers::SlotData<void(QWidget *)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'checkForAxisAssignmentStickTwo'
        QtMocHelpers::SlotData<void(QWidget *)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'changeStateStickOneWidgets'
        QtMocHelpers::SlotData<void(bool)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 14 },
        }}),
        // Slot 'changeStateStickTwoWidgets'
        QtMocHelpers::SlotData<void(bool)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 14 },
        }}),
        // Slot 'changeStateVDPadWidgets'
        QtMocHelpers::SlotData<void(bool)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 17 },
        }}),
        // Slot 'populateDPadComboBoxes'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeVDPadUpButton'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'changeVDPadDownButton'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'changeVDPadLeftButton'
        QtMocHelpers::SlotData<void(int)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'changeVDPadRightButton'
        QtMocHelpers::SlotData<void(int)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'disableVDPadComboBoxes'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'enableVDPadComboBoxes'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openQuickAssignDialogStick1'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openQuickAssignDialogStick2'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openAssignVDPadUp'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openAssignVDPadDown'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openAssignVDPadLeft'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openAssignVDPadRight'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'quickAssignVDPadUp'
        QtMocHelpers::SlotData<void(JoyAxisButton *)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 33, 34 },
        }}),
        // Slot 'quickAssignVDPadUpBtn'
        QtMocHelpers::SlotData<void(JoyButton *)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 36, 37 },
        }}),
        // Slot 'quickAssignVDPadDown'
        QtMocHelpers::SlotData<void(JoyAxisButton *)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 33, 39 },
        }}),
        // Slot 'quickAssignVDPadDownJbtn'
        QtMocHelpers::SlotData<void(JoyButton *)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 36, 39 },
        }}),
        // Slot 'quickAssignVDPadLeft'
        QtMocHelpers::SlotData<void(JoyAxisButton *)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 33, 34 },
        }}),
        // Slot 'quickAssignVDPadLeftJbtn'
        QtMocHelpers::SlotData<void(JoyButton *)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 36, 37 },
        }}),
        // Slot 'quickAssignVDPadRight'
        QtMocHelpers::SlotData<void(JoyAxisButton *)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 33, 34 },
        }}),
        // Slot 'quickAssignVDPadRightJbtn'
        QtMocHelpers::SlotData<void(JoyButton *)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 36, 37 },
        }}),
        // Slot 'reenableButtonEvents'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AdvanceStickAssignmentDialog, qt_meta_tag_ZN28AdvanceStickAssignmentDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AdvanceStickAssignmentDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN28AdvanceStickAssignmentDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN28AdvanceStickAssignmentDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN28AdvanceStickAssignmentDialogE_t>.metaTypes,
    nullptr
} };

void AdvanceStickAssignmentDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AdvanceStickAssignmentDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->stickConfigurationChanged(); break;
        case 1: _t->vdpadConfigurationChanged(); break;
        case 2: _t->refreshStickConfiguration((*reinterpret_cast<std::add_pointer_t<JoyControlStick*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<JoyControlStick*>>(_a[2]))); break;
        case 3: _t->refreshVDPadsConfiguration(); break;
        case 4: _t->checkForAxisAssignmentStickOne((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1]))); break;
        case 5: _t->checkForAxisAssignmentStickTwo((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1]))); break;
        case 6: _t->changeStateStickOneWidgets((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->changeStateStickTwoWidgets((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->changeStateVDPadWidgets((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->populateDPadComboBoxes(); break;
        case 10: _t->changeVDPadUpButton((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->changeVDPadDownButton((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: _t->changeVDPadLeftButton((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 13: _t->changeVDPadRightButton((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 14: _t->disableVDPadComboBoxes(); break;
        case 15: _t->enableVDPadComboBoxes(); break;
        case 16: _t->openQuickAssignDialogStick1(); break;
        case 17: _t->openQuickAssignDialogStick2(); break;
        case 18: _t->openAssignVDPadUp(); break;
        case 19: _t->openAssignVDPadDown(); break;
        case 20: _t->openAssignVDPadLeft(); break;
        case 21: _t->openAssignVDPadRight(); break;
        case 22: _t->quickAssignVDPadUp((*reinterpret_cast<std::add_pointer_t<JoyAxisButton*>>(_a[1]))); break;
        case 23: _t->quickAssignVDPadUpBtn((*reinterpret_cast<std::add_pointer_t<JoyButton*>>(_a[1]))); break;
        case 24: _t->quickAssignVDPadDown((*reinterpret_cast<std::add_pointer_t<JoyAxisButton*>>(_a[1]))); break;
        case 25: _t->quickAssignVDPadDownJbtn((*reinterpret_cast<std::add_pointer_t<JoyButton*>>(_a[1]))); break;
        case 26: _t->quickAssignVDPadLeft((*reinterpret_cast<std::add_pointer_t<JoyAxisButton*>>(_a[1]))); break;
        case 27: _t->quickAssignVDPadLeftJbtn((*reinterpret_cast<std::add_pointer_t<JoyButton*>>(_a[1]))); break;
        case 28: _t->quickAssignVDPadRight((*reinterpret_cast<std::add_pointer_t<JoyAxisButton*>>(_a[1]))); break;
        case 29: _t->quickAssignVDPadRightJbtn((*reinterpret_cast<std::add_pointer_t<JoyButton*>>(_a[1]))); break;
        case 30: _t->reenableButtonEvents(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AdvanceStickAssignmentDialog::*)()>(_a, &AdvanceStickAssignmentDialog::stickConfigurationChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AdvanceStickAssignmentDialog::*)()>(_a, &AdvanceStickAssignmentDialog::vdpadConfigurationChanged, 1))
            return;
    }
}

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

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

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

// SIGNAL 0
void AdvanceStickAssignmentDialog::stickConfigurationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void AdvanceStickAssignmentDialog::vdpadConfigurationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
