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

template <> constexpr inline auto ButtonEditDialog::qt_create_metaobjectdata<qt_meta_tag_ZN16ButtonEditDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ButtonEditDialog",
        "advancedDialogOpened",
        "",
        "sendTempSlotToAdvanced",
        "JoyButtonSlot*",
        "tempslot",
        "keyGrabbed",
        "selectionCleared",
        "selectionFinished",
        "buttonDialogClosed",
        "nullifyDialogPointer",
        "refreshSlotSummaryLabel",
        "changeToggleSetting",
        "changeTurboSetting",
        "changeNumKeypadSetting",
        "openAdvancedDialog",
        "closedAdvancedDialog",
        "createTempSlot",
        "keycode",
        "alias",
        "checkTurboSetting",
        "state",
        "setTurboButtonEnabled",
        "processSlotAssignment",
        "clearButtonSlots",
        "sendSelectionFinished",
        "updateWindowTitleButtonName",
        "checkForKeyboardWidgetFocus",
        "QWidget*",
        "old",
        "now"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'advancedDialogOpened'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sendTempSlotToAdvanced'
        QtMocHelpers::SignalData<void(JoyButtonSlot *)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'keyGrabbed'
        QtMocHelpers::SignalData<void(JoyButtonSlot *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'selectionCleared'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectionFinished'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'buttonDialogClosed'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'nullifyDialogPointer'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'refreshSlotSummaryLabel'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeToggleSetting'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeTurboSetting'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeNumKeypadSetting'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openAdvancedDialog'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'closedAdvancedDialog'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'createTempSlot'
        QtMocHelpers::SlotData<void(int, int)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 18 }, { QMetaType::Int, 19 },
        }}),
        // Slot 'checkTurboSetting'
        QtMocHelpers::SlotData<void(bool)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 21 },
        }}),
        // Slot 'setTurboButtonEnabled'
        QtMocHelpers::SlotData<void(bool)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 21 },
        }}),
        // Slot 'processSlotAssignment'
        QtMocHelpers::SlotData<void(JoyButtonSlot *)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'clearButtonSlots'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'sendSelectionFinished'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateWindowTitleButtonName'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkForKeyboardWidgetFocus'
        QtMocHelpers::SlotData<void(QWidget *, QWidget *)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 28, 30 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ButtonEditDialog, qt_meta_tag_ZN16ButtonEditDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ButtonEditDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16ButtonEditDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16ButtonEditDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16ButtonEditDialogE_t>.metaTypes,
    nullptr
} };

void ButtonEditDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ButtonEditDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->advancedDialogOpened(); break;
        case 1: _t->sendTempSlotToAdvanced((*reinterpret_cast<std::add_pointer_t<JoyButtonSlot*>>(_a[1]))); break;
        case 2: _t->keyGrabbed((*reinterpret_cast<std::add_pointer_t<JoyButtonSlot*>>(_a[1]))); break;
        case 3: _t->selectionCleared(); break;
        case 4: _t->selectionFinished(); break;
        case 5: _t->buttonDialogClosed(); break;
        case 6: _t->nullifyDialogPointer(); break;
        case 7: _t->refreshSlotSummaryLabel(); break;
        case 8: _t->changeToggleSetting(); break;
        case 9: _t->changeTurboSetting(); break;
        case 10: _t->changeNumKeypadSetting(); break;
        case 11: _t->openAdvancedDialog(); break;
        case 12: _t->closedAdvancedDialog(); break;
        case 13: _t->createTempSlot((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 14: _t->checkTurboSetting((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->setTurboButtonEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 16: _t->processSlotAssignment((*reinterpret_cast<std::add_pointer_t<JoyButtonSlot*>>(_a[1]))); break;
        case 17: _t->clearButtonSlots(); break;
        case 18: _t->sendSelectionFinished(); break;
        case 19: _t->updateWindowTitleButtonName(); break;
        case 20: _t->checkForKeyboardWidgetFocus((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< JoyButtonSlot* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< JoyButtonSlot* >(); break;
            }
            break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< JoyButtonSlot* >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ButtonEditDialog::*)()>(_a, &ButtonEditDialog::advancedDialogOpened, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ButtonEditDialog::*)(JoyButtonSlot * )>(_a, &ButtonEditDialog::sendTempSlotToAdvanced, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ButtonEditDialog::*)(JoyButtonSlot * )>(_a, &ButtonEditDialog::keyGrabbed, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ButtonEditDialog::*)()>(_a, &ButtonEditDialog::selectionCleared, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ButtonEditDialog::*)()>(_a, &ButtonEditDialog::selectionFinished, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ButtonEditDialog::*)()>(_a, &ButtonEditDialog::buttonDialogClosed, 5))
            return;
    }
}

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

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

int ButtonEditDialog::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    return _id;
}

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

// SIGNAL 1
void ButtonEditDialog::sendTempSlotToAdvanced(JoyButtonSlot * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ButtonEditDialog::keyGrabbed(JoyButtonSlot * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void ButtonEditDialog::selectionCleared()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void ButtonEditDialog::selectionFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void ButtonEditDialog::buttonDialogClosed()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
