/****************************************************************************
** Meta object code from reading C++ file 'MainWindow.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../PrismLauncher-11.0.2/launcher/ui/MainWindow.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 'MainWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MainWindow",
        "isClosing",
        "",
        "onCatToggled",
        "onCatChanged",
        "on_actionAbout_triggered",
        "on_actionAddInstance_triggered",
        "on_actionREDDIT_triggered",
        "on_actionMATRIX_triggered",
        "on_actionDISCORD_triggered",
        "on_actionCopyInstance_triggered",
        "on_actionChangeInstGroup_triggered",
        "on_actionChangeInstIcon_triggered",
        "on_actionViewLauncherRootFolder_triggered",
        "on_actionViewInstanceFolder_triggered",
        "on_actionViewCentralModsFolder_triggered",
        "on_actionViewIconThemeFolder_triggered",
        "on_actionViewWidgetThemeFolder_triggered",
        "on_actionViewCatPackFolder_triggered",
        "on_actionViewIconsFolder_triggered",
        "on_actionViewLogsFolder_triggered",
        "on_actionViewJavaFolder_triggered",
        "on_actionViewSkinsFolder_triggered",
        "on_actionViewSelectedInstFolder_triggered",
        "refreshInstances",
        "checkForUpdates",
        "on_actionSettings_triggered",
        "on_actionManageAccounts_triggered",
        "on_actionReportBug_triggered",
        "on_actionClearMetadata_triggered",
        "on_actionOpenWiki_triggered",
        "on_actionMoreNews_triggered",
        "newsButtonClicked",
        "on_actionLaunchInstance_triggered",
        "on_actionKillInstance_triggered",
        "on_actionDeleteInstance_triggered",
        "deleteGroup",
        "group",
        "renameGroup",
        "undoTrashInstance",
        "on_actionExportInstance_triggered",
        "on_actionExportInstanceZip_triggered",
        "on_actionExportInstanceMrPack_triggered",
        "on_actionExportInstanceFlamePack_triggered",
        "on_actionRenameInstance_triggered",
        "on_actionEditInstance_triggered",
        "on_actionCreateInstanceShortcut_triggered",
        "taskEnd",
        "iconUpdated",
        "showInstanceContextMenu",
        "QPoint",
        "updateMainToolBar",
        "updateLaunchButton",
        "updateThemeMenu",
        "instanceActivated",
        "QModelIndex",
        "instanceChanged",
        "current",
        "previous",
        "instanceSelectRequest",
        "id",
        "instanceDataChanged",
        "topLeft",
        "bottomRight",
        "selectionBad",
        "startTask",
        "Task*",
        "task",
        "defaultAccountChanged",
        "changeActiveAccount",
        "repopulateAccountsMenu",
        "updateNewsLabel",
        "konamiTriggered",
        "globalSettingsClosed",
        "setStatusBarVisibility",
        "lockToolbars",
        "keyReleaseEvent",
        "QKeyEvent*",
        "event",
        "refreshCurrentInstance"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'isClosing'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onCatToggled'
        QtMocHelpers::SlotData<void(bool)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onCatChanged'
        QtMocHelpers::SlotData<void(int)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_actionAbout_triggered'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionAddInstance_triggered'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionREDDIT_triggered'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionMATRIX_triggered'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionDISCORD_triggered'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionCopyInstance_triggered'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionChangeInstGroup_triggered'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionChangeInstIcon_triggered'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewLauncherRootFolder_triggered'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewInstanceFolder_triggered'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewCentralModsFolder_triggered'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewIconThemeFolder_triggered'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewWidgetThemeFolder_triggered'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewCatPackFolder_triggered'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewIconsFolder_triggered'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewLogsFolder_triggered'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewJavaFolder_triggered'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewSkinsFolder_triggered'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionViewSelectedInstFolder_triggered'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'refreshInstances'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkForUpdates'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionSettings_triggered'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionManageAccounts_triggered'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionReportBug_triggered'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionClearMetadata_triggered'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionOpenWiki_triggered'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionMoreNews_triggered'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'newsButtonClicked'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionLaunchInstance_triggered'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionKillInstance_triggered'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionDeleteInstance_triggered'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'deleteGroup'
        QtMocHelpers::SlotData<void(QString)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 37 },
        }}),
        // Slot 'renameGroup'
        QtMocHelpers::SlotData<void(QString)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 37 },
        }}),
        // Slot 'undoTrashInstance'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionExportInstance_triggered'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionExportInstanceZip_triggered'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionExportInstanceMrPack_triggered'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionExportInstanceFlamePack_triggered'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionRenameInstance_triggered'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionEditInstance_triggered'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionCreateInstanceShortcut_triggered'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'taskEnd'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'iconUpdated'
        QtMocHelpers::SlotData<void(QString)>(48, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'showInstanceContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 50, 2 },
        }}),
        // Slot 'updateMainToolBar'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateLaunchButton'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateThemeMenu'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'instanceActivated'
        QtMocHelpers::SlotData<void(QModelIndex)>(54, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 55, 2 },
        }}),
        // Slot 'instanceChanged'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QModelIndex &)>(56, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 55, 57 }, { 0x80000000 | 55, 58 },
        }}),
        // Slot 'instanceSelectRequest'
        QtMocHelpers::SlotData<void(QString)>(59, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 60 },
        }}),
        // Slot 'instanceDataChanged'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QModelIndex &)>(61, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 55, 62 }, { 0x80000000 | 55, 63 },
        }}),
        // Slot 'selectionBad'
        QtMocHelpers::SlotData<void()>(64, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'startTask'
        QtMocHelpers::SlotData<void(Task *)>(65, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 66, 67 },
        }}),
        // Slot 'defaultAccountChanged'
        QtMocHelpers::SlotData<void()>(68, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'changeActiveAccount'
        QtMocHelpers::SlotData<void()>(69, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'repopulateAccountsMenu'
        QtMocHelpers::SlotData<void()>(70, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateNewsLabel'
        QtMocHelpers::SlotData<void()>(71, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'konamiTriggered'
        QtMocHelpers::SlotData<void()>(72, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'globalSettingsClosed'
        QtMocHelpers::SlotData<void()>(73, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setStatusBarVisibility'
        QtMocHelpers::SlotData<void(bool)>(74, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'lockToolbars'
        QtMocHelpers::SlotData<void(bool)>(75, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'keyReleaseEvent'
        QtMocHelpers::SlotData<void(QKeyEvent *)>(76, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 77, 78 },
        }}),
        // Slot 'refreshCurrentInstance'
        QtMocHelpers::SlotData<void()>(79, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10MainWindowE_t>.metaTypes,
    nullptr
} };

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->isClosing(); break;
        case 1: _t->onCatToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->onCatChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->on_actionAbout_triggered(); break;
        case 4: _t->on_actionAddInstance_triggered(); break;
        case 5: _t->on_actionREDDIT_triggered(); break;
        case 6: _t->on_actionMATRIX_triggered(); break;
        case 7: _t->on_actionDISCORD_triggered(); break;
        case 8: _t->on_actionCopyInstance_triggered(); break;
        case 9: _t->on_actionChangeInstGroup_triggered(); break;
        case 10: _t->on_actionChangeInstIcon_triggered(); break;
        case 11: _t->on_actionViewLauncherRootFolder_triggered(); break;
        case 12: _t->on_actionViewInstanceFolder_triggered(); break;
        case 13: _t->on_actionViewCentralModsFolder_triggered(); break;
        case 14: _t->on_actionViewIconThemeFolder_triggered(); break;
        case 15: _t->on_actionViewWidgetThemeFolder_triggered(); break;
        case 16: _t->on_actionViewCatPackFolder_triggered(); break;
        case 17: _t->on_actionViewIconsFolder_triggered(); break;
        case 18: _t->on_actionViewLogsFolder_triggered(); break;
        case 19: _t->on_actionViewJavaFolder_triggered(); break;
        case 20: _t->on_actionViewSkinsFolder_triggered(); break;
        case 21: _t->on_actionViewSelectedInstFolder_triggered(); break;
        case 22: _t->refreshInstances(); break;
        case 23: _t->checkForUpdates(); break;
        case 24: _t->on_actionSettings_triggered(); break;
        case 25: _t->on_actionManageAccounts_triggered(); break;
        case 26: _t->on_actionReportBug_triggered(); break;
        case 27: _t->on_actionClearMetadata_triggered(); break;
        case 28: _t->on_actionOpenWiki_triggered(); break;
        case 29: _t->on_actionMoreNews_triggered(); break;
        case 30: _t->newsButtonClicked(); break;
        case 31: _t->on_actionLaunchInstance_triggered(); break;
        case 32: _t->on_actionKillInstance_triggered(); break;
        case 33: _t->on_actionDeleteInstance_triggered(); break;
        case 34: _t->deleteGroup((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 35: _t->renameGroup((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 36: _t->undoTrashInstance(); break;
        case 37: _t->on_actionExportInstance_triggered(); break;
        case 38: _t->on_actionExportInstanceZip_triggered(); break;
        case 39: _t->on_actionExportInstanceMrPack_triggered(); break;
        case 40: _t->on_actionExportInstanceFlamePack_triggered(); break;
        case 41: _t->on_actionRenameInstance_triggered(); break;
        case 42: _t->on_actionEditInstance_triggered(); break;
        case 43: _t->on_actionCreateInstanceShortcut_triggered(); break;
        case 44: _t->taskEnd(); break;
        case 45: _t->iconUpdated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 46: _t->showInstanceContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 47: _t->updateMainToolBar(); break;
        case 48: _t->updateLaunchButton(); break;
        case 49: _t->updateThemeMenu(); break;
        case 50: _t->instanceActivated((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 51: _t->instanceChanged((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[2]))); break;
        case 52: _t->instanceSelectRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 53: _t->instanceDataChanged((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[2]))); break;
        case 54: _t->selectionBad(); break;
        case 55: _t->startTask((*reinterpret_cast<std::add_pointer_t<Task*>>(_a[1]))); break;
        case 56: _t->defaultAccountChanged(); break;
        case 57: _t->changeActiveAccount(); break;
        case 58: _t->repopulateAccountsMenu(); break;
        case 59: _t->updateNewsLabel(); break;
        case 60: _t->konamiTriggered(); break;
        case 61: _t->globalSettingsClosed(); break;
        case 62: _t->setStatusBarVisibility((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 63: _t->lockToolbars((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 64: _t->keyReleaseEvent((*reinterpret_cast<std::add_pointer_t<QKeyEvent*>>(_a[1]))); break;
        case 65: _t->refreshCurrentInstance(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 55:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Task* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)()>(_a, &MainWindow::isClosing, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void MainWindow::isClosing()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
