/****************************************************************************
** Meta object code from reading C++ file 'main_window.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 "../../../../../rpcs3/rpcs3/rpcs3qt/main_window.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 'main_window.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_ZN11main_windowE_t {};
} // unnamed namespace

template <> constexpr inline auto main_window::qt_create_metaobjectdata<qt_meta_tag_ZN11main_windowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "main_window",
        "RequestLanguageChange",
        "",
        "language",
        "RequestGlobalStylesheetChange",
        "RequestDialogRepaint",
        "NotifyEmuSettingsChange",
        "NotifyWindowCloseEvent",
        "closed",
        "NotifyShortcutHandlers",
        "OnEmuStop",
        "OnEmuRun",
        "start_playtime",
        "OnEmuResume",
        "OnEmuPause",
        "OnEmuReady",
        "OnEnableDiscEject",
        "enabled",
        "OnEnableDiscInsert",
        "OnAddBreakpoint",
        "u32",
        "addr",
        "RepaintGui",
        "RetranslateUI",
        "language_codes",
        "language_code",
        "OnPlayOrPause",
        "Boot",
        "std::string",
        "path",
        "title_id",
        "direct",
        "refresh_list",
        "cfg_mode",
        "config_mode",
        "config_path",
        "BootElf",
        "BootTest",
        "BootGame",
        "BootISO",
        "BootVSH",
        "BootSavestate",
        "BootRsxCapture",
        "DecryptSPRXLibraries",
        "show_boot_error",
        "game_boot_result",
        "status",
        "SaveWindowState",
        "SetIconSizeActions",
        "idx",
        "ResizeIcons",
        "index",
        "CleanUpGameList",
        "RemoveFirmwareCache",
        "CreateFirmwareCache",
        "handle_shortcut",
        "gui::shortcuts::shortcut",
        "shortcut_key",
        "QKeySequence",
        "key_sequence",
        "update_gui_pad_thread"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'RequestLanguageChange'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'RequestGlobalStylesheetChange'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'RequestDialogRepaint'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'NotifyEmuSettingsChange'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'NotifyWindowCloseEvent'
        QtMocHelpers::SignalData<void(bool)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Signal 'NotifyShortcutHandlers'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'OnEmuStop'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'OnEmuRun'
        QtMocHelpers::SlotData<void(bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Slot 'OnEmuResume'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'OnEmuPause'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'OnEmuReady'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'OnEnableDiscEject'
        QtMocHelpers::SlotData<void(bool) const>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 17 },
        }}),
        // Slot 'OnEnableDiscInsert'
        QtMocHelpers::SlotData<void(bool) const>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 17 },
        }}),
        // Slot 'OnAddBreakpoint'
        QtMocHelpers::SlotData<void(u32) const>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 21 },
        }}),
        // Slot 'RepaintGui'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'RetranslateUI'
        QtMocHelpers::SlotData<void(const QStringList &, const QString &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 24 }, { QMetaType::QString, 25 },
        }}),
        // Slot 'OnPlayOrPause'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Boot'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &, bool, bool, cfg_mode, const std::string &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 28, 30 }, { QMetaType::Bool, 31 }, { QMetaType::Bool, 32 },
            { 0x80000000 | 33, 34 }, { 0x80000000 | 28, 35 },
        }}),
        // Slot 'Boot'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &, bool, bool, cfg_mode)>(27, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 28, 30 }, { QMetaType::Bool, 31 }, { QMetaType::Bool, 32 },
            { 0x80000000 | 33, 34 },
        }}),
        // Slot 'Boot'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &, bool, bool)>(27, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 28, 30 }, { QMetaType::Bool, 31 }, { QMetaType::Bool, 32 },
        }}),
        // Slot 'Boot'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &, bool)>(27, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 28, 30 }, { QMetaType::Bool, 31 },
        }}),
        // Slot 'Boot'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &)>(27, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 28, 30 },
        }}),
        // Slot 'Boot'
        QtMocHelpers::SlotData<void(const std::string &)>(27, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 28, 29 },
        }}),
        // Slot 'BootElf'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'BootTest'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'BootGame'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'BootISO'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'BootVSH'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'BootSavestate'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'BootRsxCapture'
        QtMocHelpers::SlotData<void(std::string)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 29 },
        }}),
        // Slot 'BootRsxCapture'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'DecryptSPRXLibraries'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'show_boot_error'
        QtMocHelpers::SlotData<void(game_boot_result)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 45, 46 },
        }}),
        // Slot 'SaveWindowState'
        QtMocHelpers::SlotData<void() const>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'SetIconSizeActions'
        QtMocHelpers::SlotData<void(int) const>(48, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 49 },
        }}),
        // Slot 'ResizeIcons'
        QtMocHelpers::SlotData<void(int)>(50, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 51 },
        }}),
        // Slot 'CleanUpGameList'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'RemoveFirmwareCache'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'CreateFirmwareCache'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'handle_shortcut'
        QtMocHelpers::SlotData<void(gui::shortcuts::shortcut, const QKeySequence &)>(55, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 56, 57 }, { 0x80000000 | 58, 59 },
        }}),
        // Slot 'update_gui_pad_thread'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<main_window, qt_meta_tag_ZN11main_windowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject main_window::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11main_windowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11main_windowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11main_windowE_t>.metaTypes,
    nullptr
} };

void main_window::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<main_window *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->RequestLanguageChange((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->RequestGlobalStylesheetChange(); break;
        case 2: _t->RequestDialogRepaint(); break;
        case 3: _t->NotifyEmuSettingsChange(); break;
        case 4: _t->NotifyWindowCloseEvent((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->NotifyShortcutHandlers(); break;
        case 6: _t->OnEmuStop(); break;
        case 7: _t->OnEmuRun((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->OnEmuResume(); break;
        case 9: _t->OnEmuPause(); break;
        case 10: _t->OnEmuReady(); break;
        case 11: _t->OnEnableDiscEject((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->OnEnableDiscInsert((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->OnAddBreakpoint((*reinterpret_cast<std::add_pointer_t<u32>>(_a[1]))); break;
        case 14: _t->RepaintGui(); break;
        case 15: _t->RetranslateUI((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 16: _t->OnPlayOrPause(); break;
        case 17: _t->Boot((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<cfg_mode>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[6]))); break;
        case 18: _t->Boot((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<cfg_mode>>(_a[5]))); break;
        case 19: _t->Boot((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4]))); break;
        case 20: _t->Boot((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 21: _t->Boot((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 22: _t->Boot((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 23: _t->BootElf(); break;
        case 24: _t->BootTest(); break;
        case 25: _t->BootGame(); break;
        case 26: _t->BootISO(); break;
        case 27: _t->BootVSH(); break;
        case 28: _t->BootSavestate(); break;
        case 29: _t->BootRsxCapture((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 30: _t->BootRsxCapture(); break;
        case 31: _t->DecryptSPRXLibraries(); break;
        case 32: _t->show_boot_error((*reinterpret_cast<std::add_pointer_t<game_boot_result>>(_a[1]))); break;
        case 33: _t->SaveWindowState(); break;
        case 34: _t->SetIconSizeActions((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 35: _t->ResizeIcons((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 36: _t->CleanUpGameList(); break;
        case 37: _t->RemoveFirmwareCache(); break;
        case 38: _t->CreateFirmwareCache(); break;
        case 39: _t->handle_shortcut((*reinterpret_cast<std::add_pointer_t<gui::shortcuts::shortcut>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QKeySequence>>(_a[2]))); break;
        case 40: _t->update_gui_pad_thread(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (main_window::*)(const QString & )>(_a, &main_window::RequestLanguageChange, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (main_window::*)()>(_a, &main_window::RequestGlobalStylesheetChange, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (main_window::*)()>(_a, &main_window::RequestDialogRepaint, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (main_window::*)()>(_a, &main_window::NotifyEmuSettingsChange, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (main_window::*)(bool )>(_a, &main_window::NotifyWindowCloseEvent, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (main_window::*)()>(_a, &main_window::NotifyShortcutHandlers, 5))
            return;
    }
}

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

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

int main_window::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 41)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 41;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 41)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 41;
    }
    return _id;
}

// SIGNAL 0
void main_window::RequestLanguageChange(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

// SIGNAL 2
void main_window::RequestDialogRepaint()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

// SIGNAL 4
void main_window::NotifyWindowCloseEvent(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

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