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

template <> constexpr inline auto MainSettingsDialog::qt_create_metaobjectdata<qt_meta_tag_ZN18MainSettingsDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MainSettingsDialog",
        "changeLanguage",
        "",
        "language",
        "mappingsTableItemChanged",
        "QTableWidgetItem*",
        "item",
        "insertMappingRow",
        "deleteMappingRow",
        "syncMappingSettings",
        "saveNewSettings",
        "selectDefaultProfileDir",
        "fillGUIDComboBox",
        "changeDeviceForProfileTable",
        "index",
        "saveAutoProfileSettings",
        "processAutoProfileActiveClick",
        "openAddAutoProfileDialog",
        "openEditAutoProfileDialog",
        "openDeleteAutoProfileConfirmDialog",
        "changeAutoProfileButtonsState",
        "transferEditsToCurrentTableRow",
        "AddEditAutoProfileDialog*",
        "dialog",
        "transferAllProfileEditToCurrentTableRow",
        "EditAllDefaultAutoProfileDialog*",
        "addNewAutoProfile",
        "autoProfileButtonsActiveState",
        "enabled",
        "changeKeyRepeatWidgetsStatus",
        "checkSmoothingWidgetStatus",
        "resetMouseAcceleration",
        "selectLogFile",
        "on_resetBtn_clicked"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'changeLanguage'
        QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'mappingsTableItemChanged'
        QtMocHelpers::SlotData<void(QTableWidgetItem *)>(4, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Slot 'insertMappingRow'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'deleteMappingRow'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'syncMappingSettings'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'saveNewSettings'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'selectDefaultProfileDir'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'fillGUIDComboBox'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'changeDeviceForProfileTable'
        QtMocHelpers::SlotData<void(int)>(13, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot 'saveAutoProfileSettings'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'processAutoProfileActiveClick'
        QtMocHelpers::SlotData<void(QTableWidgetItem *)>(16, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Slot 'openAddAutoProfileDialog'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'openEditAutoProfileDialog'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'openDeleteAutoProfileConfirmDialog'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'changeAutoProfileButtonsState'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'transferEditsToCurrentTableRow'
        QtMocHelpers::SlotData<void(AddEditAutoProfileDialog *)>(21, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'transferAllProfileEditToCurrentTableRow'
        QtMocHelpers::SlotData<void(EditAllDefaultAutoProfileDialog *)>(24, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 25, 23 },
        }}),
        // Slot 'addNewAutoProfile'
        QtMocHelpers::SlotData<void(AddEditAutoProfileDialog *)>(26, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'autoProfileButtonsActiveState'
        QtMocHelpers::SlotData<void(bool)>(27, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 28 },
        }}),
        // Slot 'changeKeyRepeatWidgetsStatus'
        QtMocHelpers::SlotData<void(bool)>(29, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 28 },
        }}),
        // Slot 'checkSmoothingWidgetStatus'
        QtMocHelpers::SlotData<void(bool)>(30, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 28 },
        }}),
        // Slot 'resetMouseAcceleration'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'selectLogFile'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'on_resetBtn_clicked'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainSettingsDialog, qt_meta_tag_ZN18MainSettingsDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MainSettingsDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18MainSettingsDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18MainSettingsDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18MainSettingsDialogE_t>.metaTypes,
    nullptr
} };

void MainSettingsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainSettingsDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->changeLanguage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->mappingsTableItemChanged((*reinterpret_cast<std::add_pointer_t<QTableWidgetItem*>>(_a[1]))); break;
        case 2: _t->insertMappingRow(); break;
        case 3: _t->deleteMappingRow(); break;
        case 4: _t->syncMappingSettings(); break;
        case 5: _t->saveNewSettings(); break;
        case 6: _t->selectDefaultProfileDir(); break;
        case 7: _t->fillGUIDComboBox(); break;
        case 8: _t->changeDeviceForProfileTable((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->saveAutoProfileSettings(); break;
        case 10: _t->processAutoProfileActiveClick((*reinterpret_cast<std::add_pointer_t<QTableWidgetItem*>>(_a[1]))); break;
        case 11: _t->openAddAutoProfileDialog(); break;
        case 12: _t->openEditAutoProfileDialog(); break;
        case 13: _t->openDeleteAutoProfileConfirmDialog(); break;
        case 14: _t->changeAutoProfileButtonsState(); break;
        case 15: _t->transferEditsToCurrentTableRow((*reinterpret_cast<std::add_pointer_t<AddEditAutoProfileDialog*>>(_a[1]))); break;
        case 16: _t->transferAllProfileEditToCurrentTableRow((*reinterpret_cast<std::add_pointer_t<EditAllDefaultAutoProfileDialog*>>(_a[1]))); break;
        case 17: _t->addNewAutoProfile((*reinterpret_cast<std::add_pointer_t<AddEditAutoProfileDialog*>>(_a[1]))); break;
        case 18: _t->autoProfileButtonsActiveState((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 19: _t->changeKeyRepeatWidgetsStatus((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->checkSmoothingWidgetStatus((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->resetMouseAcceleration(); break;
        case 22: _t->selectLogFile(); break;
        case 23: _t->on_resetBtn_clicked(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MainSettingsDialog::*)(QString )>(_a, &MainSettingsDialog::changeLanguage, 0))
            return;
    }
}

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

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

int MainSettingsDialog::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 < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 24;
    }
    return _id;
}

// SIGNAL 0
void MainSettingsDialog::changeLanguage(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
