/****************************************************************************
** Meta object code from reading C++ file 'engine_two.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/lskat-17.08.3/src/engine_two.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'engine_two.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_EngineTwo_t {
    QByteArrayData data[14];
    char stringdata0[131];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EngineTwo_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EngineTwo_t qt_meta_stringdata_EngineTwo = {
    {
QT_MOC_LITERAL(0, 0, 9), // "EngineTwo"
QT_MOC_LITERAL(1, 10, 11), // "playerInput"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 7), // "inputId"
QT_MOC_LITERAL(4, 31, 12), // "playerNumber"
QT_MOC_LITERAL(5, 44, 10), // "cardNumber"
QT_MOC_LITERAL(6, 55, 11), // "isLegalMove"
QT_MOC_LITERAL(7, 67, 5), // "card1"
QT_MOC_LITERAL(8, 73, 5), // "card2"
QT_MOC_LITERAL(9, 79, 10), // "whoWonMove"
QT_MOC_LITERAL(10, 90, 5), // "Suite"
QT_MOC_LITERAL(11, 96, 5), // "trump"
QT_MOC_LITERAL(12, 102, 13), // "gameLoopStart"
QT_MOC_LITERAL(13, 116, 14) // "gameLoopFinish"

    },
    "EngineTwo\0playerInput\0\0inputId\0"
    "playerNumber\0cardNumber\0isLegalMove\0"
    "card1\0card2\0whoWonMove\0Suite\0trump\0"
    "gameLoopStart\0gameLoopFinish"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EngineTwo[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    3,   39,    2, 0x0a /* Public */,
       6,    3,   46,    2, 0x0a /* Public */,
       9,    3,   53,    2, 0x0a /* Public */,
      12,    0,   60,    2, 0x09 /* Protected */,
      13,    0,   61,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::Bool, QMetaType::Int, QMetaType::Int, QMetaType::Int,    7,    8,    4,
    QMetaType::Int, QMetaType::Int, QMetaType::Int, 0x80000000 | 10,    7,    8,   11,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void EngineTwo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EngineTwo *_t = static_cast<EngineTwo *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->playerInput((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: { bool _r = _t->isLegalMove((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { int _r = _t->whoWonMove((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Suite(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->gameLoopStart(); break;
        case 4: _t->gameLoopFinish(); break;
        default: ;
        }
    }
}

const QMetaObject EngineTwo::staticMetaObject = {
    { &AbstractEngine::staticMetaObject, qt_meta_stringdata_EngineTwo.data,
      qt_meta_data_EngineTwo,  qt_static_metacall, nullptr, nullptr}
};


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

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

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