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

#include "../../src/kigo-17.08.3/src/gui/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.9.2. 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_Kigo__MainWindow_t {
    QByteArrayData data[23];
    char stringdata0[237];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kigo__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kigo__MainWindow_t qt_meta_stringdata_Kigo__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 16), // "Kigo::MainWindow"
QT_MOC_LITERAL(1, 17, 7), // "newGame"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 8), // "loadGame"
QT_MOC_LITERAL(4, 35, 8), // "fileName"
QT_MOC_LITERAL(5, 44, 12), // "getMoreGames"
QT_MOC_LITERAL(6, 57, 12), // "backendError"
QT_MOC_LITERAL(7, 70, 8), // "saveGame"
QT_MOC_LITERAL(8, 79, 9), // "startGame"
QT_MOC_LITERAL(9, 89, 10), // "finishGame"
QT_MOC_LITERAL(10, 100, 4), // "undo"
QT_MOC_LITERAL(11, 105, 4), // "redo"
QT_MOC_LITERAL(12, 110, 4), // "pass"
QT_MOC_LITERAL(13, 115, 4), // "hint"
QT_MOC_LITERAL(14, 120, 15), // "showPreferences"
QT_MOC_LITERAL(15, 136, 16), // "applyPreferences"
QT_MOC_LITERAL(16, 153, 8), // "showBusy"
QT_MOC_LITERAL(17, 162, 4), // "busy"
QT_MOC_LITERAL(18, 167, 20), // "showFinishGameAction"
QT_MOC_LITERAL(19, 188, 13), // "playerChanged"
QT_MOC_LITERAL(20, 202, 12), // "generateMove"
QT_MOC_LITERAL(21, 215, 14), // "passMovePlayed"
QT_MOC_LITERAL(22, 230, 6) // "Player"

    },
    "Kigo::MainWindow\0newGame\0\0loadGame\0"
    "fileName\0getMoreGames\0backendError\0"
    "saveGame\0startGame\0finishGame\0undo\0"
    "redo\0pass\0hint\0showPreferences\0"
    "applyPreferences\0showBusy\0busy\0"
    "showFinishGameAction\0playerChanged\0"
    "generateMove\0passMovePlayed\0Player"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kigo__MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x08 /* Private */,
       3,    0,  110,    2, 0x08 /* Private */,
       3,    1,  111,    2, 0x08 /* Private */,
       5,    0,  114,    2, 0x08 /* Private */,
       6,    0,  115,    2, 0x08 /* Private */,
       7,    0,  116,    2, 0x08 /* Private */,
       8,    0,  117,    2, 0x08 /* Private */,
       9,    0,  118,    2, 0x08 /* Private */,
      10,    0,  119,    2, 0x08 /* Private */,
      11,    0,  120,    2, 0x08 /* Private */,
      12,    0,  121,    2, 0x08 /* Private */,
      13,    0,  122,    2, 0x08 /* Private */,
      14,    0,  123,    2, 0x08 /* Private */,
      15,    0,  124,    2, 0x08 /* Private */,
      16,    1,  125,    2, 0x08 /* Private */,
      18,    0,  128,    2, 0x08 /* Private */,
      19,    0,  129,    2, 0x08 /* Private */,
      20,    0,  130,    2, 0x08 /* Private */,
      21,    1,  131,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::QString,    4,
    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::Bool,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,    2,

       0        // eod
};

void Kigo::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainWindow *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->newGame(); break;
        case 1: _t->loadGame(); break;
        case 2: { bool _r = _t->loadGame((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->getMoreGames(); break;
        case 4: _t->backendError(); break;
        case 5: _t->saveGame(); break;
        case 6: _t->startGame(); break;
        case 7: _t->finishGame(); break;
        case 8: _t->undo(); break;
        case 9: _t->redo(); break;
        case 10: _t->pass(); break;
        case 11: _t->hint(); break;
        case 12: _t->showPreferences(); break;
        case 13: _t->applyPreferences(); break;
        case 14: _t->showBusy((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->showFinishGameAction(); break;
        case 16: _t->playerChanged(); break;
        case 17: _t->generateMove(); break;
        case 18: _t->passMovePlayed((*reinterpret_cast< const Player(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Kigo::MainWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_Kigo__MainWindow.data,
      qt_meta_data_Kigo__MainWindow,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kigo::MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kigo__MainWindow.stringdata0))
        return static_cast<void*>(this);
    return KXmlGuiWindow::qt_metacast(_clname);
}

int Kigo::MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KXmlGuiWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
