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

template <> constexpr inline auto VirtualKeyboardMouseWidget::qt_create_metaobjectdata<qt_meta_tag_ZN26VirtualKeyboardMouseWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VirtualKeyboardMouseWidget",
        "selectionFinished",
        "",
        "selectionCleared",
        "selectionMade",
        "keycode",
        "alias",
        "JoyButtonSlot*",
        "slot",
        "buttonDialogClosed",
        "establishVirtualKeyboardSingleSignalConnections",
        "establishVirtualMouseSignalConnections",
        "establishVirtualKeyboardAdvancedSignalConnections",
        "establishVirtualMouseAdvancedSignalConnections",
        "enableMouseSettingButton",
        "disableMouseSettingButton",
        "processSingleKeyboardSelection",
        "processAdvancedKeyboardSelection",
        "processSingleMouseSelection",
        "tempslot",
        "processAdvancedMouseSelection",
        "clearButtonSlots",
        "clearButtonSlotsFinish",
        "openMouseSettingsDialog",
        "setButtonFontSizes",
        "otherKeysActionSingle",
        "QAction*",
        "action",
        "triggered",
        "otherKeysActionAdvanced",
        "nullifyDialogPointer"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'selectionFinished'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectionCleared'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectionMade'
        QtMocHelpers::SignalData<void(int, int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 }, { QMetaType::Int, 6 },
        }}),
        // Signal 'selectionMade'
        QtMocHelpers::SignalData<void(JoyButtonSlot *)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'buttonDialogClosed'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'establishVirtualKeyboardSingleSignalConnections'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'establishVirtualMouseSignalConnections'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'establishVirtualKeyboardAdvancedSignalConnections'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'establishVirtualMouseAdvancedSignalConnections'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'enableMouseSettingButton'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'disableMouseSettingButton'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'processSingleKeyboardSelection'
        QtMocHelpers::SlotData<void(int, int)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 5 }, { QMetaType::Int, 6 },
        }}),
        // Slot 'processAdvancedKeyboardSelection'
        QtMocHelpers::SlotData<void(int, int)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 5 }, { QMetaType::Int, 6 },
        }}),
        // Slot 'processSingleMouseSelection'
        QtMocHelpers::SlotData<void(JoyButtonSlot *)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 19 },
        }}),
        // Slot 'processAdvancedMouseSelection'
        QtMocHelpers::SlotData<void(JoyButtonSlot *)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 19 },
        }}),
        // Slot 'clearButtonSlots'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'clearButtonSlotsFinish'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openMouseSettingsDialog'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setButtonFontSizes'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'otherKeysActionSingle'
        QtMocHelpers::SlotData<void(QAction *, bool)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 26, 27 }, { QMetaType::Bool, 28 },
        }}),
        // Slot 'otherKeysActionAdvanced'
        QtMocHelpers::SlotData<void(QAction *, bool)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 26, 27 }, { QMetaType::Bool, 28 },
        }}),
        // Slot 'nullifyDialogPointer'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<VirtualKeyboardMouseWidget, qt_meta_tag_ZN26VirtualKeyboardMouseWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject VirtualKeyboardMouseWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QTabWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26VirtualKeyboardMouseWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26VirtualKeyboardMouseWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN26VirtualKeyboardMouseWidgetE_t>.metaTypes,
    nullptr
} };

void VirtualKeyboardMouseWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VirtualKeyboardMouseWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->selectionFinished(); break;
        case 1: _t->selectionCleared(); break;
        case 2: _t->selectionMade((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->selectionMade((*reinterpret_cast<std::add_pointer_t<JoyButtonSlot*>>(_a[1]))); break;
        case 4: _t->buttonDialogClosed(); break;
        case 5: _t->establishVirtualKeyboardSingleSignalConnections(); break;
        case 6: _t->establishVirtualMouseSignalConnections(); break;
        case 7: _t->establishVirtualKeyboardAdvancedSignalConnections(); break;
        case 8: _t->establishVirtualMouseAdvancedSignalConnections(); break;
        case 9: _t->enableMouseSettingButton(); break;
        case 10: _t->disableMouseSettingButton(); break;
        case 11: _t->processSingleKeyboardSelection((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 12: _t->processAdvancedKeyboardSelection((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 13: _t->processSingleMouseSelection((*reinterpret_cast<std::add_pointer_t<JoyButtonSlot*>>(_a[1]))); break;
        case 14: _t->processAdvancedMouseSelection((*reinterpret_cast<std::add_pointer_t<JoyButtonSlot*>>(_a[1]))); break;
        case 15: _t->clearButtonSlots(); break;
        case 16: _t->clearButtonSlotsFinish(); break;
        case 17: _t->openMouseSettingsDialog(); break;
        case 18: _t->setButtonFontSizes(); break;
        case 19: _t->otherKeysActionSingle((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 20: _t->otherKeysActionAdvanced((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 21: _t->nullifyDialogPointer(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 19:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (VirtualKeyboardMouseWidget::*)()>(_a, &VirtualKeyboardMouseWidget::selectionFinished, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (VirtualKeyboardMouseWidget::*)()>(_a, &VirtualKeyboardMouseWidget::selectionCleared, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (VirtualKeyboardMouseWidget::*)(int , int )>(_a, &VirtualKeyboardMouseWidget::selectionMade, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (VirtualKeyboardMouseWidget::*)(JoyButtonSlot * )>(_a, &VirtualKeyboardMouseWidget::selectionMade, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (VirtualKeyboardMouseWidget::*)()>(_a, &VirtualKeyboardMouseWidget::buttonDialogClosed, 4))
            return;
    }
}

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

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

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

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

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

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

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

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