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

#include <memory>
#include "../../../../mgba-0.10.5/src/platform/qt/Window.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Window.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_QGBA__Window_t {
    QByteArrayData data[55];
    char stringdata0[693];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QGBA__Window_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QGBA__Window_t qt_meta_stringdata_QGBA__Window = {
    {
QT_MOC_LITERAL(0, 0, 12), // "QGBA::Window"
QT_MOC_LITERAL(1, 13, 12), // "startDrawing"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 8), // "shutdown"
QT_MOC_LITERAL(4, 36, 6), // "paused"
QT_MOC_LITERAL(5, 43, 13), // "setController"
QT_MOC_LITERAL(6, 57, 15), // "CoreController*"
QT_MOC_LITERAL(7, 73, 10), // "controller"
QT_MOC_LITERAL(8, 84, 5), // "fname"
QT_MOC_LITERAL(9, 90, 9), // "selectROM"
QT_MOC_LITERAL(10, 100, 8), // "bootBIOS"
QT_MOC_LITERAL(11, 109, 18), // "selectROMInArchive"
QT_MOC_LITERAL(12, 128, 15), // "addDirToLibrary"
QT_MOC_LITERAL(13, 144, 10), // "selectSave"
QT_MOC_LITERAL(14, 155, 9), // "temporary"
QT_MOC_LITERAL(15, 165, 11), // "selectState"
QT_MOC_LITERAL(16, 177, 4), // "load"
QT_MOC_LITERAL(17, 182, 11), // "selectPatch"
QT_MOC_LITERAL(18, 194, 8), // "scanCard"
QT_MOC_LITERAL(19, 203, 9), // "parseCard"
QT_MOC_LITERAL(20, 213, 15), // "enterFullScreen"
QT_MOC_LITERAL(21, 229, 14), // "exitFullScreen"
QT_MOC_LITERAL(22, 244, 16), // "toggleFullScreen"
QT_MOC_LITERAL(23, 261, 10), // "loadConfig"
QT_MOC_LITERAL(24, 272, 12), // "reloadConfig"
QT_MOC_LITERAL(25, 285, 10), // "saveConfig"
QT_MOC_LITERAL(26, 296, 12), // "loadCamImage"
QT_MOC_LITERAL(27, 309, 10), // "replaceROM"
QT_MOC_LITERAL(28, 320, 18), // "multiplayerChanged"
QT_MOC_LITERAL(29, 339, 15), // "importSharkport"
QT_MOC_LITERAL(30, 355, 15), // "exportSharkport"
QT_MOC_LITERAL(31, 371, 18), // "openSettingsWindow"
QT_MOC_LITERAL(32, 390, 18), // "SettingsView::Page"
QT_MOC_LITERAL(33, 409, 13), // "startVideoLog"
QT_MOC_LITERAL(34, 423, 11), // "consoleOpen"
QT_MOC_LITERAL(35, 435, 7), // "gdbOpen"
QT_MOC_LITERAL(36, 443, 13), // "scriptingOpen"
QT_MOC_LITERAL(37, 457, 11), // "gameStarted"
QT_MOC_LITERAL(38, 469, 11), // "gameStopped"
QT_MOC_LITERAL(39, 481, 11), // "gameCrashed"
QT_MOC_LITERAL(40, 493, 10), // "gameFailed"
QT_MOC_LITERAL(41, 504, 21), // "unimplementedBiosCall"
QT_MOC_LITERAL(42, 526, 17), // "reloadAudioDriver"
QT_MOC_LITERAL(43, 544, 19), // "reloadDisplayDriver"
QT_MOC_LITERAL(44, 564, 13), // "attachDisplay"
QT_MOC_LITERAL(45, 578, 14), // "changeRenderer"
QT_MOC_LITERAL(46, 593, 15), // "tryMakePortable"
QT_MOC_LITERAL(47, 609, 11), // "mustRestart"
QT_MOC_LITERAL(48, 621, 9), // "mustReset"
QT_MOC_LITERAL(49, 631, 11), // "recordFrame"
QT_MOC_LITERAL(50, 643, 7), // "showFPS"
QT_MOC_LITERAL(51, 651, 10), // "focusCheck"
QT_MOC_LITERAL(52, 662, 11), // "updateFrame"
QT_MOC_LITERAL(53, 674, 10), // "updateMute"
QT_MOC_LITERAL(54, 685, 7) // "setLogo"

    },
    "QGBA::Window\0startDrawing\0\0shutdown\0"
    "paused\0setController\0CoreController*\0"
    "controller\0fname\0selectROM\0bootBIOS\0"
    "selectROMInArchive\0addDirToLibrary\0"
    "selectSave\0temporary\0selectState\0load\0"
    "selectPatch\0scanCard\0parseCard\0"
    "enterFullScreen\0exitFullScreen\0"
    "toggleFullScreen\0loadConfig\0reloadConfig\0"
    "saveConfig\0loadCamImage\0replaceROM\0"
    "multiplayerChanged\0importSharkport\0"
    "exportSharkport\0openSettingsWindow\0"
    "SettingsView::Page\0startVideoLog\0"
    "consoleOpen\0gdbOpen\0scriptingOpen\0"
    "gameStarted\0gameStopped\0gameCrashed\0"
    "gameFailed\0unimplementedBiosCall\0"
    "reloadAudioDriver\0reloadDisplayDriver\0"
    "attachDisplay\0changeRenderer\0"
    "tryMakePortable\0mustRestart\0mustReset\0"
    "recordFrame\0showFPS\0focusCheck\0"
    "updateFrame\0updateMute\0setLogo"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QGBA__Window[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  254,    2, 0x06 /* Public */,
       3,    0,  255,    2, 0x06 /* Public */,
       4,    1,  256,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    2,  259,    2, 0x0a /* Public */,
       9,    0,  264,    2, 0x0a /* Public */,
      10,    0,  265,    2, 0x0a /* Public */,
      11,    0,  266,    2, 0x0a /* Public */,
      12,    0,  267,    2, 0x0a /* Public */,
      13,    1,  268,    2, 0x0a /* Public */,
      15,    1,  271,    2, 0x0a /* Public */,
      17,    0,  274,    2, 0x0a /* Public */,
      18,    0,  275,    2, 0x0a /* Public */,
      19,    0,  276,    2, 0x0a /* Public */,
      20,    0,  277,    2, 0x0a /* Public */,
      21,    0,  278,    2, 0x0a /* Public */,
      22,    0,  279,    2, 0x0a /* Public */,
      23,    0,  280,    2, 0x0a /* Public */,
      24,    0,  281,    2, 0x0a /* Public */,
      25,    0,  282,    2, 0x0a /* Public */,
      26,    0,  283,    2, 0x0a /* Public */,
      27,    0,  284,    2, 0x0a /* Public */,
      28,    0,  285,    2, 0x0a /* Public */,
      29,    0,  286,    2, 0x0a /* Public */,
      30,    0,  287,    2, 0x0a /* Public */,
      31,    0,  288,    2, 0x0a /* Public */,
      31,    1,  289,    2, 0x0a /* Public */,
      33,    0,  292,    2, 0x0a /* Public */,
      34,    0,  293,    2, 0x0a /* Public */,
      35,    0,  294,    2, 0x0a /* Public */,
      36,    0,  295,    2, 0x0a /* Public */,
      37,    0,  296,    2, 0x08 /* Private */,
      38,    0,  297,    2, 0x08 /* Private */,
      39,    1,  298,    2, 0x08 /* Private */,
      40,    0,  301,    2, 0x08 /* Private */,
      41,    1,  302,    2, 0x08 /* Private */,
      42,    0,  305,    2, 0x08 /* Private */,
      43,    0,  306,    2, 0x08 /* Private */,
      44,    0,  307,    2, 0x08 /* Private */,
      45,    0,  308,    2, 0x08 /* Private */,
      46,    0,  309,    2, 0x08 /* Private */,
      47,    0,  310,    2, 0x08 /* Private */,
      48,    0,  311,    2, 0x08 /* Private */,
      49,    0,  312,    2, 0x08 /* Private */,
      50,    0,  313,    2, 0x08 /* Private */,
      51,    0,  314,    2, 0x08 /* Private */,
      52,    0,  315,    2, 0x08 /* Private */,
      53,    0,  316,    2, 0x08 /* Private */,
      54,    0,  317,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6, QMetaType::QString,    7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::Bool,   16,
    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, 0x80000000 | 32,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    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,

       0        // eod
};

void QGBA::Window::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Window *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->startDrawing(); break;
        case 1: _t->shutdown(); break;
        case 2: _t->paused((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->setController((*reinterpret_cast< CoreController*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->selectROM(); break;
        case 5: _t->bootBIOS(); break;
        case 6: _t->selectROMInArchive(); break;
        case 7: _t->addDirToLibrary(); break;
        case 8: _t->selectSave((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->selectState((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->selectPatch(); break;
        case 11: _t->scanCard(); break;
        case 12: _t->parseCard(); break;
        case 13: _t->enterFullScreen(); break;
        case 14: _t->exitFullScreen(); break;
        case 15: _t->toggleFullScreen(); break;
        case 16: _t->loadConfig(); break;
        case 17: _t->reloadConfig(); break;
        case 18: _t->saveConfig(); break;
        case 19: _t->loadCamImage(); break;
        case 20: _t->replaceROM(); break;
        case 21: _t->multiplayerChanged(); break;
        case 22: _t->importSharkport(); break;
        case 23: _t->exportSharkport(); break;
        case 24: _t->openSettingsWindow(); break;
        case 25: _t->openSettingsWindow((*reinterpret_cast< SettingsView::Page(*)>(_a[1]))); break;
        case 26: _t->startVideoLog(); break;
        case 27: _t->consoleOpen(); break;
        case 28: _t->gdbOpen(); break;
        case 29: _t->scriptingOpen(); break;
        case 30: _t->gameStarted(); break;
        case 31: _t->gameStopped(); break;
        case 32: _t->gameCrashed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 33: _t->gameFailed(); break;
        case 34: _t->unimplementedBiosCall((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 35: _t->reloadAudioDriver(); break;
        case 36: _t->reloadDisplayDriver(); break;
        case 37: _t->attachDisplay(); break;
        case 38: _t->changeRenderer(); break;
        case 39: _t->tryMakePortable(); break;
        case 40: _t->mustRestart(); break;
        case 41: _t->mustReset(); break;
        case 42: _t->recordFrame(); break;
        case 43: _t->showFPS(); break;
        case 44: _t->focusCheck(); break;
        case 45: _t->updateFrame(); break;
        case 46: _t->updateMute(); break;
        case 47: _t->setLogo(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Window::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Window::startDrawing)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Window::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Window::shutdown)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Window::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Window::paused)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QGBA::Window::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_QGBA__Window.data,
    qt_meta_data_QGBA__Window,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QGBA::Window::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QGBA__Window.stringdata0))
        return static_cast<void*>(this);
    return QMainWindow::qt_metacast(_clname);
}

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

// SIGNAL 0
void QGBA::Window::startDrawing()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QGBA::Window::shutdown()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QGBA::Window::paused(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_QGBA__WindowBackground_t {
    QByteArrayData data[1];
    char stringdata0[23];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QGBA__WindowBackground_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QGBA__WindowBackground_t qt_meta_stringdata_QGBA__WindowBackground = {
    {
QT_MOC_LITERAL(0, 0, 22) // "QGBA::WindowBackground"

    },
    "QGBA::WindowBackground"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QGBA__WindowBackground[] = {

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

       0        // eod
};

void QGBA::WindowBackground::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject QGBA::WindowBackground::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_QGBA__WindowBackground.data,
    qt_meta_data_QGBA__WindowBackground,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QGBA::WindowBackground::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QGBA__WindowBackground.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int QGBA::WindowBackground::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
