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

#include "../src/kjumpingcube-15.04.3/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.4.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
struct qt_meta_stringdata_Game_t {
    QByteArrayData data[27];
    char stringdata[239];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Game_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Game_t qt_meta_stringdata_Game = {
    {
QT_MOC_LITERAL(0, 0, 4), // "Game"
QT_MOC_LITERAL(1, 5, 13), // "playerChanged"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 9), // "newPlayer"
QT_MOC_LITERAL(4, 30, 12), // "buttonChange"
QT_MOC_LITERAL(5, 43, 7), // "enabled"
QT_MOC_LITERAL(6, 51, 4), // "stop"
QT_MOC_LITERAL(7, 56, 7), // "caption"
QT_MOC_LITERAL(8, 64, 9), // "setAction"
QT_MOC_LITERAL(9, 74, 6), // "Action"
QT_MOC_LITERAL(10, 81, 1), // "a"
QT_MOC_LITERAL(11, 83, 5), // "onOff"
QT_MOC_LITERAL(12, 89, 13), // "statusMessage"
QT_MOC_LITERAL(13, 103, 7), // "message"
QT_MOC_LITERAL(14, 111, 5), // "timed"
QT_MOC_LITERAL(15, 117, 11), // "gameActions"
QT_MOC_LITERAL(16, 129, 6), // "action"
QT_MOC_LITERAL(17, 136, 18), // "showSettingsDialog"
QT_MOC_LITERAL(18, 155, 4), // "show"
QT_MOC_LITERAL(19, 160, 11), // "newSettings"
QT_MOC_LITERAL(20, 172, 14), // "startHumanMove"
QT_MOC_LITERAL(21, 187, 1), // "x"
QT_MOC_LITERAL(22, 189, 1), // "y"
QT_MOC_LITERAL(23, 191, 19), // "moveCalculationDone"
QT_MOC_LITERAL(24, 211, 5), // "index"
QT_MOC_LITERAL(25, 217, 13), // "animationDone"
QT_MOC_LITERAL(26, 231, 7) // "newGame"

    },
    "Game\0playerChanged\0\0newPlayer\0"
    "buttonChange\0enabled\0stop\0caption\0"
    "setAction\0Action\0a\0onOff\0statusMessage\0"
    "message\0timed\0gameActions\0action\0"
    "showSettingsDialog\0show\0newSettings\0"
    "startHumanMove\0x\0y\0moveCalculationDone\0"
    "index\0animationDone\0newGame"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Game[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       4,    3,   87,    2, 0x06 /* Public */,
       4,    2,   94,    2, 0x26 /* Public | MethodCloned */,
       4,    1,   99,    2, 0x26 /* Public | MethodCloned */,
       8,    2,  102,    2, 0x06 /* Public */,
      12,    2,  107,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  112,    2, 0x0a /* Public */,
      17,    1,  115,    2, 0x08 /* Private */,
      17,    0,  118,    2, 0x28 /* Private | MethodCloned */,
      19,    0,  119,    2, 0x08 /* Private */,
      20,    2,  120,    2, 0x08 /* Private */,
      23,    1,  125,    2, 0x08 /* Private */,
      25,    1,  128,    2, 0x08 /* Private */,
      26,    0,  131,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Bool, QMetaType::Bool, QMetaType::QString,    5,    6,    7,
    QMetaType::Void, QMetaType::Bool, QMetaType::Bool,    5,    6,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Bool,   10,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   13,   14,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   21,   22,
    QMetaType::Void, QMetaType::Int,   24,
    QMetaType::Void, QMetaType::Int,   24,
    QMetaType::Void,

       0        // eod
};

void Game::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Game *_t = static_cast<Game *>(_o);
        switch (_id) {
        case 0: _t->playerChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->buttonChange((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 2: _t->buttonChange((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->buttonChange((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->setAction((*reinterpret_cast< const Action(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 5: _t->statusMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->gameActions((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 7: _t->showSettingsDialog((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->showSettingsDialog(); break;
        case 9: _t->newSettings(); break;
        case 10: _t->startHumanMove((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->moveCalculationDone((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->animationDone((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->newGame(); 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)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::playerChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (Game::*_t)(bool , bool , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::buttonChange)) {
                *result = 1;
            }
        }
        {
            typedef void (Game::*_t)(const Action , const bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::setAction)) {
                *result = 4;
            }
        }
        {
            typedef void (Game::*_t)(const QString & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Game::statusMessage)) {
                *result = 5;
            }
        }
    }
}

const QMetaObject Game::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Game.data,
      qt_meta_data_Game,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Game::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Game.stringdata))
        return static_cast<void*>(const_cast< Game*>(this));
    return QObject::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void Game::buttonChange(bool _t1, bool _t2, const QString & _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 4
void Game::setAction(const Action _t1, const bool _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Game::statusMessage(const QString & _t1, bool _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
