/****************************************************************************
** Meta object code from reading C++ file 'game.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/game/game.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'game.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__Game_t {
    QByteArrayData data[19];
    char stringdata0[244];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kigo__Game_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kigo__Game_t qt_meta_stringdata_Kigo__Game = {
    {
QT_MOC_LITERAL(0, 0, 10), // "Kigo::Game"
QT_MOC_LITERAL(1, 11, 16), // "boardInitialized"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 12), // "boardChanged"
QT_MOC_LITERAL(4, 42, 16), // "boardSizeChanged"
QT_MOC_LITERAL(5, 59, 8), // "resigned"
QT_MOC_LITERAL(6, 68, 6), // "Player"
QT_MOC_LITERAL(7, 75, 14), // "passMovePlayed"
QT_MOC_LITERAL(8, 90, 26), // "consecutivePassMovesPlayed"
QT_MOC_LITERAL(9, 117, 20), // "currentPlayerChanged"
QT_MOC_LITERAL(10, 138, 7), // "waiting"
QT_MOC_LITERAL(11, 146, 14), // "canRedoChanged"
QT_MOC_LITERAL(12, 161, 14), // "canUndoChanged"
QT_MOC_LITERAL(13, 176, 9), // "gameSetup"
QT_MOC_LITERAL(14, 186, 12), // "waitResponse"
QT_MOC_LITERAL(15, 199, 11), // "nonBlocking"
QT_MOC_LITERAL(16, 211, 9), // "readyRead"
QT_MOC_LITERAL(17, 221, 16), // "undoIndexChanged"
QT_MOC_LITERAL(18, 238, 5) // "index"

    },
    "Kigo::Game\0boardInitialized\0\0boardChanged\0"
    "boardSizeChanged\0resigned\0Player\0"
    "passMovePlayed\0consecutivePassMovesPlayed\0"
    "currentPlayerChanged\0waiting\0"
    "canRedoChanged\0canUndoChanged\0gameSetup\0"
    "waitResponse\0nonBlocking\0readyRead\0"
    "undoIndexChanged\0index"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kigo__Game[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   89,    2, 0x06 /* Public */,
       3,    0,   90,    2, 0x06 /* Public */,
       4,    1,   91,    2, 0x06 /* Public */,
       5,    1,   94,    2, 0x06 /* Public */,
       7,    1,   97,    2, 0x06 /* Public */,
       8,    1,  100,    2, 0x06 /* Public */,
       9,    1,  103,    2, 0x06 /* Public */,
      10,    1,  106,    2, 0x06 /* Public */,
      11,    1,  109,    2, 0x06 /* Public */,
      12,    1,  112,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,  115,    2, 0x0a /* Public */,
      14,    1,  116,    2, 0x08 /* Private */,
      14,    0,  119,    2, 0x28 /* Private | MethodCloned */,
      16,    0,  120,    2, 0x08 /* Private */,
      17,    1,  121,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Bool, QMetaType::Bool,   15,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   18,

       0        // eod
};

void Kigo::Game::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Game *_t = static_cast<Game *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->boardInitialized(); break;
        case 1: _t->boardChanged(); break;
        case 2: _t->boardSizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->resigned((*reinterpret_cast< const Player(*)>(_a[1]))); break;
        case 4: _t->passMovePlayed((*reinterpret_cast< const Player(*)>(_a[1]))); break;
        case 5: _t->consecutivePassMovesPlayed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->currentPlayerChanged((*reinterpret_cast< const Player(*)>(_a[1]))); break;
        case 7: _t->waiting((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->canRedoChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->canUndoChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->gameSetup(); break;
        case 11: { bool _r = _t->waitResponse((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: { bool _r = _t->waitResponse();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->readyRead(); break;
        case 14: _t->undoIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Game::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::boardInitialized)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Game::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::boardChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Game::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::boardSizeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Game::*_t)(const Player & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::resigned)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Game::*_t)(const Player & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::passMovePlayed)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Game::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::consecutivePassMovesPlayed)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Game::*_t)(const Player & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::currentPlayerChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Game::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::waiting)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Game::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::canRedoChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Game::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::canUndoChanged)) {
                *result = 9;
                return;
            }
        }
    }
}

const QMetaObject Kigo::Game::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kigo__Game.data,
      qt_meta_data_Kigo__Game,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Kigo::Game::boardInitialized()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Kigo::Game::boardChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Kigo::Game::boardSizeChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Kigo::Game::resigned(const Player & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Kigo::Game::passMovePlayed(const Player & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Kigo::Game::consecutivePassMovesPlayed(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Kigo::Game::currentPlayerChanged(const Player & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Kigo::Game::waiting(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Kigo::Game::canRedoChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Kigo::Game::canUndoChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
