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

#include "../src/konquest-17.04.3/game.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'game.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_Game[] = {

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

 // signals: signature, parameters, type, tag, flags
       6,    5,    5,    5, 0x05,
      16,    5,    5,    5, 0x05,
      34,   27,    5,    5, 0x05,
      91,   60,    5,    5, 0x05,
     159,  141,    5,    5, 0x25,
     212,  201,    5,    5, 0x25,
     250,  246,    5,    5, 0x25,

 // slots: signature, parameters, type, tag, flags
     276,    5,    5,    5, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Game[] = {
    "Game\0\0started()\0finished()\0player\0"
    "waitingForPlayer(Player*)\0"
    "msg,player,planet,planetPlayer\0"
    "gameMsg(KLocalizedString,Player*,Planet*,Player*)\0"
    "msg,player,planet\0"
    "gameMsg(KLocalizedString,Player*,Planet*)\0"
    "msg,player\0gameMsg(KLocalizedString,Player*)\0"
    "msg\0gameMsg(KLocalizedString)\0newTurn()\0"
};

void Game::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Game *_t = static_cast<Game *>(_o);
        switch (_id) {
        case 0: _t->started(); break;
        case 1: _t->finished(); break;
        case 2: _t->waitingForPlayer((*reinterpret_cast< Player*(*)>(_a[1]))); break;
        case 3: _t->gameMsg((*reinterpret_cast< const KLocalizedString(*)>(_a[1])),(*reinterpret_cast< Player*(*)>(_a[2])),(*reinterpret_cast< Planet*(*)>(_a[3])),(*reinterpret_cast< Player*(*)>(_a[4]))); break;
        case 4: _t->gameMsg((*reinterpret_cast< const KLocalizedString(*)>(_a[1])),(*reinterpret_cast< Player*(*)>(_a[2])),(*reinterpret_cast< Planet*(*)>(_a[3]))); break;
        case 5: _t->gameMsg((*reinterpret_cast< const KLocalizedString(*)>(_a[1])),(*reinterpret_cast< Player*(*)>(_a[2]))); break;
        case 6: _t->gameMsg((*reinterpret_cast< const KLocalizedString(*)>(_a[1]))); break;
        case 7: _t->newTurn(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Game::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Game::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Game,
      qt_meta_data_Game, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Game::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *Game::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Game))
        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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

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

// SIGNAL 1
void Game::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

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

// SIGNAL 3
void Game::gameMsg(const KLocalizedString & _t1, Player * _t2, Planet * _t3, Player * _t4)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
