/****************************************************************************
** Meta object code from reading C++ file 'kwin4doc.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/kfourinline-17.08.3/src/kwin4doc.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kwin4doc.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_KWin4Doc_t {
    QByteArrayData data[40];
    char stringdata0[418];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin4Doc_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin4Doc_t qt_meta_stringdata_KWin4Doc = {
    {
QT_MOC_LITERAL(0, 0, 8), // "KWin4Doc"
QT_MOC_LITERAL(1, 9, 13), // "signalGameRun"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 17), // "signalChatChanged"
QT_MOC_LITERAL(4, 42, 12), // "KWin4Player*"
QT_MOC_LITERAL(5, 55, 6), // "player"
QT_MOC_LITERAL(6, 62, 16), // "signalNextPlayer"
QT_MOC_LITERAL(7, 79, 12), // "playerNumber"
QT_MOC_LITERAL(8, 92, 8), // "moveDone"
QT_MOC_LITERAL(9, 101, 4), // "mode"
QT_MOC_LITERAL(10, 106, 12), // "loadSettings"
QT_MOC_LITERAL(11, 119, 10), // "repeatMove"
QT_MOC_LITERAL(12, 130, 20), // "processAIHintCommand"
QT_MOC_LITERAL(13, 151, 12), // "QDataStream&"
QT_MOC_LITERAL(14, 164, 2), // "in"
QT_MOC_LITERAL(15, 167, 15), // "KGameProcessIO*"
QT_MOC_LITERAL(16, 183, 2), // "io"
QT_MOC_LITERAL(17, 186, 16), // "processAICommand"
QT_MOC_LITERAL(18, 203, 15), // "clientConnected"
QT_MOC_LITERAL(19, 219, 3), // "cid"
QT_MOC_LITERAL(20, 223, 6), // "KGame*"
QT_MOC_LITERAL(21, 230, 2), // "me"
QT_MOC_LITERAL(22, 233, 13), // "prepareAITurn"
QT_MOC_LITERAL(23, 247, 6), // "stream"
QT_MOC_LITERAL(24, 254, 1), // "b"
QT_MOC_LITERAL(25, 256, 8), // "KGameIO*"
QT_MOC_LITERAL(26, 265, 5), // "input"
QT_MOC_LITERAL(27, 271, 5), // "bool*"
QT_MOC_LITERAL(28, 277, 8), // "eatevent"
QT_MOC_LITERAL(29, 286, 20), // "networkMessageUpdate"
QT_MOC_LITERAL(30, 307, 2), // "id"
QT_MOC_LITERAL(31, 310, 6), // "sender"
QT_MOC_LITERAL(32, 317, 8), // "receiver"
QT_MOC_LITERAL(33, 326, 21), // "playerPropertyChanged"
QT_MOC_LITERAL(34, 348, 18), // "KGamePropertyBase*"
QT_MOC_LITERAL(35, 367, 4), // "prop"
QT_MOC_LITERAL(36, 372, 8), // "KPlayer*"
QT_MOC_LITERAL(37, 381, 19), // "gamePropertyChanged"
QT_MOC_LITERAL(38, 401, 14), // "receivedStderr"
QT_MOC_LITERAL(39, 416, 1) // "s"

    },
    "KWin4Doc\0signalGameRun\0\0signalChatChanged\0"
    "KWin4Player*\0player\0signalNextPlayer\0"
    "playerNumber\0moveDone\0mode\0loadSettings\0"
    "repeatMove\0processAIHintCommand\0"
    "QDataStream&\0in\0KGameProcessIO*\0io\0"
    "processAICommand\0clientConnected\0cid\0"
    "KGame*\0me\0prepareAITurn\0stream\0b\0"
    "KGameIO*\0input\0bool*\0eatevent\0"
    "networkMessageUpdate\0id\0sender\0receiver\0"
    "playerPropertyChanged\0KGamePropertyBase*\0"
    "prop\0KPlayer*\0gamePropertyChanged\0"
    "receivedStderr\0s"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin4Doc[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x06 /* Public */,
       3,    1,   85,    2, 0x06 /* Public */,
       6,    1,   88,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   91,    2, 0x0a /* Public */,
      10,    0,   94,    2, 0x0a /* Public */,
      11,    0,   95,    2, 0x09 /* Protected */,
      12,    2,   96,    2, 0x09 /* Protected */,
      17,    2,  101,    2, 0x09 /* Protected */,
      18,    2,  106,    2, 0x09 /* Protected */,
      22,    4,  111,    2, 0x09 /* Protected */,
      29,    3,  120,    2, 0x09 /* Protected */,
      33,    2,  127,    2, 0x09 /* Protected */,
      37,    2,  132,    2, 0x09 /* Protected */,
      38,    1,  137,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, QMetaType::Int,    7,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 15,   14,   16,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 15,   14,   16,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 20,   19,   21,
    QMetaType::Void, 0x80000000 | 13, QMetaType::Bool, 0x80000000 | 25, 0x80000000 | 27,   23,   24,   26,   28,
    QMetaType::Void, QMetaType::Int, QMetaType::UInt, QMetaType::UInt,   30,   31,   32,
    QMetaType::Void, 0x80000000 | 34, 0x80000000 | 36,   35,    5,
    QMetaType::Void, 0x80000000 | 34, 0x80000000 | 20,   35,   21,
    QMetaType::Void, QMetaType::QString,   39,

       0        // eod
};

void KWin4Doc::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KWin4Doc *_t = static_cast<KWin4Doc *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalGameRun(); break;
        case 1: _t->signalChatChanged((*reinterpret_cast< KWin4Player*(*)>(_a[1]))); break;
        case 2: _t->signalNextPlayer((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->moveDone((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->loadSettings(); break;
        case 5: _t->repeatMove(); break;
        case 6: _t->processAIHintCommand((*reinterpret_cast< QDataStream(*)>(_a[1])),(*reinterpret_cast< KGameProcessIO*(*)>(_a[2]))); break;
        case 7: _t->processAICommand((*reinterpret_cast< QDataStream(*)>(_a[1])),(*reinterpret_cast< KGameProcessIO*(*)>(_a[2]))); break;
        case 8: _t->clientConnected((*reinterpret_cast< quint32(*)>(_a[1])),(*reinterpret_cast< KGame*(*)>(_a[2]))); break;
        case 9: _t->prepareAITurn((*reinterpret_cast< QDataStream(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< KGameIO*(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break;
        case 10: _t->networkMessageUpdate((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2])),(*reinterpret_cast< quint32(*)>(_a[3]))); break;
        case 11: _t->playerPropertyChanged((*reinterpret_cast< KGamePropertyBase*(*)>(_a[1])),(*reinterpret_cast< KPlayer*(*)>(_a[2]))); break;
        case 12: _t->gamePropertyChanged((*reinterpret_cast< KGamePropertyBase*(*)>(_a[1])),(*reinterpret_cast< KGame*(*)>(_a[2]))); break;
        case 13: _t->receivedStderr((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin4Player* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGameProcessIO* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGameProcessIO* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGame* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGameIO* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KPlayer* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGame* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KWin4Doc::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KWin4Doc::signalGameRun)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KWin4Doc::*_t)(KWin4Player * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KWin4Doc::signalChatChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KWin4Doc::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KWin4Doc::signalNextPlayer)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KWin4Doc::staticMetaObject = {
    { &KGame::staticMetaObject, qt_meta_stringdata_KWin4Doc.data,
      qt_meta_data_KWin4Doc,  qt_static_metacall, nullptr, nullptr}
};


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

void *KWin4Doc::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWin4Doc.stringdata0))
        return static_cast<void*>(this);
    return KGame::qt_metacast(_clname);
}

int KWin4Doc::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KGame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void KWin4Doc::signalGameRun()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KWin4Doc::signalChatChanged(KWin4Player * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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