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

#include <memory>
#include "../../../../../src/decaf-qt/src/mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.11. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
    QByteArrayData data[49];
    char stringdata0[713];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 8), // "openFile"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 4), // "exit"
QT_MOC_LITERAL(4, 26, 19), // "setViewModeGamepad1"
QT_MOC_LITERAL(5, 46, 16), // "setViewModeSplit"
QT_MOC_LITERAL(6, 63, 13), // "setViewModeTV"
QT_MOC_LITERAL(7, 77, 20), // "setTitleListModeList"
QT_MOC_LITERAL(8, 98, 20), // "setTitleListModeGrid"
QT_MOC_LITERAL(9, 119, 16), // "toggleFullScreen"
QT_MOC_LITERAL(10, 136, 12), // "openDebugger"
QT_MOC_LITERAL(11, 149, 12), // "openSettings"
QT_MOC_LITERAL(12, 162, 17), // "openDebugSettings"
QT_MOC_LITERAL(13, 180, 17), // "openInputSettings"
QT_MOC_LITERAL(14, 198, 19), // "openLoggingSettings"
QT_MOC_LITERAL(15, 218, 14), // "openRecentFile"
QT_MOC_LITERAL(16, 233, 18), // "openSystemSettings"
QT_MOC_LITERAL(17, 252, 17), // "openAudioSettings"
QT_MOC_LITERAL(18, 270, 19), // "openDisplaySettings"
QT_MOC_LITERAL(19, 290, 19), // "openContentSettings"
QT_MOC_LITERAL(20, 310, 15), // "openAboutDialog"
QT_MOC_LITERAL(21, 326, 14), // "debugInterrupt"
QT_MOC_LITERAL(22, 341, 11), // "titleLoaded"
QT_MOC_LITERAL(23, 353, 2), // "id"
QT_MOC_LITERAL(24, 356, 4), // "name"
QT_MOC_LITERAL(25, 361, 15), // "settingsChanged"
QT_MOC_LITERAL(26, 377, 20), // "softwareKeyboardOpen"
QT_MOC_LITERAL(27, 398, 11), // "defaultText"
QT_MOC_LITERAL(28, 410, 21), // "softwareKeyboardClose"
QT_MOC_LITERAL(29, 432, 34), // "softwareKeyboardInputStringCh..."
QT_MOC_LITERAL(30, 467, 4), // "text"
QT_MOC_LITERAL(31, 472, 29), // "softwareKeyboardInputFinished"
QT_MOC_LITERAL(32, 502, 6), // "result"
QT_MOC_LITERAL(33, 509, 24), // "erreulaOpenWithErrorCode"
QT_MOC_LITERAL(34, 534, 7), // "int32_t"
QT_MOC_LITERAL(35, 542, 9), // "errorCode"
QT_MOC_LITERAL(36, 552, 22), // "erreulaOpenWithMessage"
QT_MOC_LITERAL(37, 575, 7), // "message"
QT_MOC_LITERAL(38, 583, 7), // "button1"
QT_MOC_LITERAL(39, 591, 7), // "button2"
QT_MOC_LITERAL(40, 599, 12), // "erreulaClose"
QT_MOC_LITERAL(41, 612, 20), // "erreulaButtonClicked"
QT_MOC_LITERAL(42, 633, 16), // "QAbstractButton*"
QT_MOC_LITERAL(43, 650, 6), // "button"
QT_MOC_LITERAL(44, 657, 15), // "updateStatusBar"
QT_MOC_LITERAL(45, 673, 17), // "showStatusMessage"
QT_MOC_LITERAL(46, 691, 7), // "timeout"
QT_MOC_LITERAL(47, 699, 8), // "loadFile"
QT_MOC_LITERAL(48, 708, 4) // "path"

    },
    "MainWindow\0openFile\0\0exit\0setViewModeGamepad1\0"
    "setViewModeSplit\0setViewModeTV\0"
    "setTitleListModeList\0setTitleListModeGrid\0"
    "toggleFullScreen\0openDebugger\0"
    "openSettings\0openDebugSettings\0"
    "openInputSettings\0openLoggingSettings\0"
    "openRecentFile\0openSystemSettings\0"
    "openAudioSettings\0openDisplaySettings\0"
    "openContentSettings\0openAboutDialog\0"
    "debugInterrupt\0titleLoaded\0id\0name\0"
    "settingsChanged\0softwareKeyboardOpen\0"
    "defaultText\0softwareKeyboardClose\0"
    "softwareKeyboardInputStringChanged\0"
    "text\0softwareKeyboardInputFinished\0"
    "result\0erreulaOpenWithErrorCode\0int32_t\0"
    "errorCode\0erreulaOpenWithMessage\0"
    "message\0button1\0button2\0erreulaClose\0"
    "erreulaButtonClicked\0QAbstractButton*\0"
    "button\0updateStatusBar\0showStatusMessage\0"
    "timeout\0loadFile\0path"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      33,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    0,  179,    2, 0x08 /* Private */,
       3,    0,  180,    2, 0x08 /* Private */,
       4,    0,  181,    2, 0x08 /* Private */,
       5,    0,  182,    2, 0x08 /* Private */,
       6,    0,  183,    2, 0x08 /* Private */,
       7,    0,  184,    2, 0x08 /* Private */,
       8,    0,  185,    2, 0x08 /* Private */,
       9,    0,  186,    2, 0x08 /* Private */,
      10,    0,  187,    2, 0x08 /* Private */,
      11,    0,  188,    2, 0x08 /* Private */,
      12,    0,  189,    2, 0x08 /* Private */,
      13,    0,  190,    2, 0x08 /* Private */,
      14,    0,  191,    2, 0x08 /* Private */,
      15,    0,  192,    2, 0x08 /* Private */,
      16,    0,  193,    2, 0x08 /* Private */,
      17,    0,  194,    2, 0x08 /* Private */,
      18,    0,  195,    2, 0x08 /* Private */,
      19,    0,  196,    2, 0x08 /* Private */,
      20,    0,  197,    2, 0x08 /* Private */,
      21,    0,  198,    2, 0x08 /* Private */,
      22,    2,  199,    2, 0x08 /* Private */,
      25,    0,  204,    2, 0x08 /* Private */,
      26,    1,  205,    2, 0x08 /* Private */,
      28,    0,  208,    2, 0x08 /* Private */,
      29,    1,  209,    2, 0x08 /* Private */,
      31,    1,  212,    2, 0x08 /* Private */,
      33,    1,  215,    2, 0x08 /* Private */,
      36,    3,  218,    2, 0x08 /* Private */,
      40,    0,  225,    2, 0x08 /* Private */,
      41,    1,  226,    2, 0x08 /* Private */,
      44,    0,  229,    2, 0x08 /* Private */,
      45,    2,  230,    2, 0x08 /* Private */,
      47,    1,  235,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::ULongLong, QMetaType::QString,   23,   24,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   27,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   30,
    QMetaType::Void, QMetaType::Int,   32,
    QMetaType::Void, 0x80000000 | 34,   35,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   37,   38,   39,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 42,   43,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   37,   46,
    QMetaType::Bool, QMetaType::QString,   48,

       0        // eod
};

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->openFile(); break;
        case 1: _t->exit(); break;
        case 2: _t->setViewModeGamepad1(); break;
        case 3: _t->setViewModeSplit(); break;
        case 4: _t->setViewModeTV(); break;
        case 5: _t->setTitleListModeList(); break;
        case 6: _t->setTitleListModeGrid(); break;
        case 7: _t->toggleFullScreen(); break;
        case 8: _t->openDebugger(); break;
        case 9: _t->openSettings(); break;
        case 10: _t->openDebugSettings(); break;
        case 11: _t->openInputSettings(); break;
        case 12: _t->openLoggingSettings(); break;
        case 13: _t->openRecentFile(); break;
        case 14: _t->openSystemSettings(); break;
        case 15: _t->openAudioSettings(); break;
        case 16: _t->openDisplaySettings(); break;
        case 17: _t->openContentSettings(); break;
        case 18: _t->openAboutDialog(); break;
        case 19: _t->debugInterrupt(); break;
        case 20: _t->titleLoaded((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 21: _t->settingsChanged(); break;
        case 22: _t->softwareKeyboardOpen((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 23: _t->softwareKeyboardClose(); break;
        case 24: _t->softwareKeyboardInputStringChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 25: _t->softwareKeyboardInputFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->erreulaOpenWithErrorCode((*reinterpret_cast< int32_t(*)>(_a[1]))); break;
        case 27: _t->erreulaOpenWithMessage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 28: _t->erreulaClose(); break;
        case 29: _t->erreulaButtonClicked((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
        case 30: _t->updateStatusBar(); break;
        case 31: _t->showStatusMessage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 32: { bool _r = _t->loadFile((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_MainWindow.data,
    qt_meta_data_MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_MainWindow.stringdata0))
        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 < 33)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 33;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 33)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 33;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
