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

#include "../../src/kgoldrunner-17.12.3/src/kgrrunner.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kgrrunner.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KGrRunner_t {
    QByteArrayData data[14];
    char stringdata0[99];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGrRunner_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGrRunner_t qt_meta_stringdata_KGrRunner = {
    {
QT_MOC_LITERAL(0, 0, 9), // "KGrRunner"
QT_MOC_LITERAL(1, 10, 8), // "incScore"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 1), // "n"
QT_MOC_LITERAL(4, 22, 14), // "startAnimation"
QT_MOC_LITERAL(5, 37, 8), // "spriteId"
QT_MOC_LITERAL(6, 46, 9), // "repeating"
QT_MOC_LITERAL(7, 56, 1), // "i"
QT_MOC_LITERAL(8, 58, 1), // "j"
QT_MOC_LITERAL(9, 60, 4), // "time"
QT_MOC_LITERAL(10, 65, 9), // "Direction"
QT_MOC_LITERAL(11, 75, 4), // "dirn"
QT_MOC_LITERAL(12, 80, 13), // "AnimationType"
QT_MOC_LITERAL(13, 94, 4) // "type"

    },
    "KGrRunner\0incScore\0\0n\0startAnimation\0"
    "spriteId\0repeating\0i\0j\0time\0Direction\0"
    "dirn\0AnimationType\0type"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGrRunner[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x06 /* Public */,
       4,    7,   27,    2, 0x06 /* Public */,

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

       0        // eod
};

void KGrRunner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGrRunner *_t = static_cast<KGrRunner *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->incScore((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 1: _t->startAnimation((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2])),(*reinterpret_cast< const int(*)>(_a[3])),(*reinterpret_cast< const int(*)>(_a[4])),(*reinterpret_cast< const int(*)>(_a[5])),(*reinterpret_cast< const Direction(*)>(_a[6])),(*reinterpret_cast< const AnimationType(*)>(_a[7]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KGrRunner::*_t)(const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrRunner::incScore)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KGrRunner::*_t)(const int , const bool , const int , const int , const int , const Direction , const AnimationType );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrRunner::startAnimation)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KGrRunner::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KGrRunner.data,
      qt_meta_data_KGrRunner,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KGrRunner::startAnimation(const int _t1, const bool _t2, const int _t3, const int _t4, const int _t5, const Direction _t6, const AnimationType _t7)
{
    void *_a[] = { 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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)), const_cast<void*>(reinterpret_cast<const void*>(&_t7)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_KGrHero_t {
    QByteArrayData data[6];
    char stringdata0[40];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGrHero_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGrHero_t qt_meta_stringdata_KGrHero = {
    {
QT_MOC_LITERAL(0, 0, 7), // "KGrHero"
QT_MOC_LITERAL(1, 8, 11), // "soundSignal"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 1), // "n"
QT_MOC_LITERAL(4, 23, 5), // "onOff"
QT_MOC_LITERAL(5, 29, 10) // "invalidDig"

    },
    "KGrHero\0soundSignal\0\0n\0onOff\0invalidDig"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGrHero[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   29,    2, 0x06 /* Public */,
       1,    1,   34,    2, 0x26 /* Public | MethodCloned */,
       5,    0,   37,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    3,    4,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,

       0        // eod
};

void KGrHero::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGrHero *_t = static_cast<KGrHero *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->soundSignal((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 1: _t->soundSignal((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 2: _t->invalidDig(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KGrHero::*_t)(const int , const bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrHero::soundSignal)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KGrHero::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrHero::invalidDig)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KGrHero::staticMetaObject = {
    { &KGrRunner::staticMetaObject, qt_meta_stringdata_KGrHero.data,
      qt_meta_data_KGrHero,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KGrHero::soundSignal(const int _t1, const bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 2
void KGrHero::invalidDig()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
struct qt_meta_stringdata_KGrEnemy_t {
    QByteArrayData data[1];
    char stringdata0[9];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGrEnemy_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGrEnemy_t qt_meta_stringdata_KGrEnemy = {
    {
QT_MOC_LITERAL(0, 0, 8) // "KGrEnemy"

    },
    "KGrEnemy"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGrEnemy[] = {

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

       0        // eod
};

void KGrEnemy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KGrEnemy::staticMetaObject = {
    { &KGrRunner::staticMetaObject, qt_meta_stringdata_KGrEnemy.data,
      qt_meta_data_KGrEnemy,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KGrEnemy::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KGrRunner::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
