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

#include "../../../../../../../vita3k/gui-qt/include/gui-qt/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.11.1. 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",
        "on_about_action_triggered",
        "",
        "on_about_qt_action_triggered",
        "on_controls_action_triggered",
        "on_check_for_updates_action_triggered",
        "on_app_selected",
        "app::AppEntry",
        "app",
        "open_settings",
        "tab_index",
        "apply_ui_language",
        "locale_tag",
        "on_game_closed",
        "restart_running_app",
        "pump_sdl_events",
        "open_trophy_collection",
        "open_user_management",
        "open_vita_themes",
        "show_live_area",
        "std::string",
        "title_id",
        "on_live_area_play",
        "on_live_area_closed",
        "on_install_firmware_triggered",
        "on_install_pkg_triggered",
        "on_install_zip_triggered",
        "on_install_license_triggered",
        "on_install_finished",
        "on_pause_triggered",
        "on_stop_triggered",
        "on_ps_button",
        "on_toolbar_refresh",
        "on_toolbar_fullscreen",
        "on_toolbar_start",
        "on_app_selection_changed",
        "const app::AppEntry*",
        "on_context_menu_requested",
        "QPoint",
        "global_pos",
        "std::vector<const app::AppEntry*>",
        "apps",
        "resize_icons",
        "index"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'on_about_action_triggered'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_about_qt_action_triggered'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_controls_action_triggered'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_check_for_updates_action_triggered'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_app_selected'
        QtMocHelpers::SlotData<void(const app::AppEntry &)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'open_settings'
        QtMocHelpers::SlotData<void(int)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 10 },
        }}),
        // Slot 'open_settings'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'apply_ui_language'
        QtMocHelpers::SlotData<void(const QString &)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Slot 'on_game_closed'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'restart_running_app'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pump_sdl_events'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'open_trophy_collection'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'open_user_management'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'open_vita_themes'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'show_live_area'
        QtMocHelpers::SlotData<void(const std::string &)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 20, 21 },
        }}),
        // Slot 'on_live_area_play'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_live_area_closed'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_install_firmware_triggered'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_install_pkg_triggered'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_install_zip_triggered'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_install_license_triggered'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_install_finished'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_pause_triggered'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_stop_triggered'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ps_button'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_toolbar_refresh'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_toolbar_fullscreen'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_toolbar_start'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_app_selection_changed'
        QtMocHelpers::SlotData<void(const app::AppEntry *)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 36, 8 },
        }}),
        // Slot 'on_context_menu_requested'
        QtMocHelpers::SlotData<void(const QPoint &, const std::vector<const app::AppEntry*> &)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 38, 39 }, { 0x80000000 | 40, 41 },
        }}),
        // Slot 'resize_icons'
        QtMocHelpers::SlotData<void(int)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 43 },
        }}),
    };
    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->on_about_action_triggered(); break;
        case 1: _t->on_about_qt_action_triggered(); break;
        case 2: _t->on_controls_action_triggered(); break;
        case 3: _t->on_check_for_updates_action_triggered(); break;
        case 4: _t->on_app_selected((*reinterpret_cast<std::add_pointer_t<app::AppEntry>>(_a[1]))); break;
        case 5: _t->open_settings((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->open_settings(); break;
        case 7: _t->apply_ui_language((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->on_game_closed(); break;
        case 9: _t->restart_running_app(); break;
        case 10: _t->pump_sdl_events(); break;
        case 11: _t->open_trophy_collection(); break;
        case 12: _t->open_user_management(); break;
        case 13: _t->open_vita_themes(); break;
        case 14: _t->show_live_area((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 15: _t->on_live_area_play(); break;
        case 16: _t->on_live_area_closed(); break;
        case 17: _t->on_install_firmware_triggered(); break;
        case 18: _t->on_install_pkg_triggered(); break;
        case 19: _t->on_install_zip_triggered(); break;
        case 20: _t->on_install_license_triggered(); break;
        case 21: _t->on_install_finished(); break;
        case 22: _t->on_pause_triggered(); break;
        case 23: _t->on_stop_triggered(); break;
        case 24: _t->on_ps_button(); break;
        case 25: _t->on_toolbar_refresh(); break;
        case 26: _t->on_toolbar_fullscreen(); break;
        case 27: _t->on_toolbar_start(); break;
        case 28: _t->on_app_selection_changed((*reinterpret_cast<std::add_pointer_t<const app::AppEntry*>>(_a[1]))); break;
        case 29: _t->on_context_menu_requested((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<const app::AppEntry*>>>(_a[2]))); break;
        case 30: _t->resize_icons((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
}

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