/****************************************************************************
** Meta object code from reading C++ file 'engine.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/killbots-15.04.3/engine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'engine.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_Killbots__Engine_t {
    QByteArrayData data[20];
    char stringdata[283];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Killbots__Engine_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Killbots__Engine_t qt_meta_stringdata_Killbots__Engine = {
    {
QT_MOC_LITERAL(0, 0, 16), // "Killbots::Engine"
QT_MOC_LITERAL(1, 17, 12), // "roundChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 5), // "round"
QT_MOC_LITERAL(4, 37, 12), // "scoreChanged"
QT_MOC_LITERAL(5, 50, 5), // "score"
QT_MOC_LITERAL(6, 56, 17), // "enemyCountChanged"
QT_MOC_LITERAL(7, 74, 10), // "enemyCount"
QT_MOC_LITERAL(8, 85, 13), // "energyChanged"
QT_MOC_LITERAL(9, 99, 6), // "energy"
QT_MOC_LITERAL(10, 106, 8), // "gameOver"
QT_MOC_LITERAL(11, 115, 18), // "showNewGameMessage"
QT_MOC_LITERAL(12, 134, 24), // "showRoundCompleteMessage"
QT_MOC_LITERAL(13, 159, 20), // "showBoardFullMessage"
QT_MOC_LITERAL(14, 180, 19), // "showGameOverMessage"
QT_MOC_LITERAL(15, 200, 15), // "teleportAllowed"
QT_MOC_LITERAL(16, 216, 7), // "allowed"
QT_MOC_LITERAL(17, 224, 21), // "teleportSafelyAllowed"
QT_MOC_LITERAL(18, 246, 16), // "vaporizerAllowed"
QT_MOC_LITERAL(19, 263, 19) // "waitOutRoundAllowed"

    },
    "Killbots::Engine\0roundChanged\0\0round\0"
    "scoreChanged\0score\0enemyCountChanged\0"
    "enemyCount\0energyChanged\0energy\0"
    "gameOver\0showNewGameMessage\0"
    "showRoundCompleteMessage\0showBoardFullMessage\0"
    "showGameOverMessage\0teleportAllowed\0"
    "allowed\0teleportSafelyAllowed\0"
    "vaporizerAllowed\0waitOutRoundAllowed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Killbots__Engine[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       4,    1,   82,    2, 0x06 /* Public */,
       6,    1,   85,    2, 0x06 /* Public */,
       8,    1,   88,    2, 0x06 /* Public */,
      10,    2,   91,    2, 0x06 /* Public */,
      11,    0,   96,    2, 0x06 /* Public */,
      12,    0,   97,    2, 0x06 /* Public */,
      13,    0,   98,    2, 0x06 /* Public */,
      14,    0,   99,    2, 0x06 /* Public */,
      15,    1,  100,    2, 0x06 /* Public */,
      17,    1,  103,    2, 0x06 /* Public */,
      18,    1,  106,    2, 0x06 /* Public */,
      19,    1,  109,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    5,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::Bool,   16,

       0        // eod
};

void Killbots::Engine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Engine *_t = static_cast<Engine *>(_o);
        switch (_id) {
        case 0: _t->roundChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->scoreChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->enemyCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->energyChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->gameOver((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->showNewGameMessage(); break;
        case 6: _t->showRoundCompleteMessage(); break;
        case 7: _t->showBoardFullMessage(); break;
        case 8: _t->showGameOverMessage(); break;
        case 9: _t->teleportAllowed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->teleportSafelyAllowed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->vaporizerAllowed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->waitOutRoundAllowed((*reinterpret_cast< bool(*)>(_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 (Engine::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::roundChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (Engine::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::scoreChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (Engine::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::enemyCountChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (Engine::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::energyChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (Engine::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::gameOver)) {
                *result = 4;
            }
        }
        {
            typedef void (Engine::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::showNewGameMessage)) {
                *result = 5;
            }
        }
        {
            typedef void (Engine::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::showRoundCompleteMessage)) {
                *result = 6;
            }
        }
        {
            typedef void (Engine::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::showBoardFullMessage)) {
                *result = 7;
            }
        }
        {
            typedef void (Engine::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::showGameOverMessage)) {
                *result = 8;
            }
        }
        {
            typedef void (Engine::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::teleportAllowed)) {
                *result = 9;
            }
        }
        {
            typedef void (Engine::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::teleportSafelyAllowed)) {
                *result = 10;
            }
        }
        {
            typedef void (Engine::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::vaporizerAllowed)) {
                *result = 11;
            }
        }
        {
            typedef void (Engine::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Engine::waitOutRoundAllowed)) {
                *result = 12;
            }
        }
    }
}

const QMetaObject Killbots::Engine::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Killbots__Engine.data,
      qt_meta_data_Killbots__Engine,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

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

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

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

// SIGNAL 4
void Killbots::Engine::gameOver(int _t1, int _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 Killbots::Engine::showNewGameMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void Killbots::Engine::showRoundCompleteMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void Killbots::Engine::showBoardFullMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void Killbots::Engine::showGameOverMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void Killbots::Engine::teleportAllowed(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Killbots::Engine::teleportSafelyAllowed(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Killbots::Engine::vaporizerAllowed(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Killbots::Engine::waitOutRoundAllowed(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}
QT_END_MOC_NAMESPACE
