/****************************************************************************
** Meta object code from reading C++ file 'kgrgame.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/kgoldrunner-17.08.3/src/kgrgame.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kgrgame.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_KGrGame_t {
    QByteArrayData data[37];
    char stringdata0[384];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGrGame_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGrGame_t qt_meta_stringdata_KGrGame = {
    {
QT_MOC_LITERAL(0, 0, 7), // "KGrGame"
QT_MOC_LITERAL(1, 8, 9), // "showScore"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 9), // "showLives"
QT_MOC_LITERAL(4, 29, 13), // "hintAvailable"
QT_MOC_LITERAL(5, 43, 11), // "setEditMenu"
QT_MOC_LITERAL(6, 55, 10), // "gameFreeze"
QT_MOC_LITERAL(7, 66, 8), // "quitGame"
QT_MOC_LITERAL(8, 75, 9), // "setToggle"
QT_MOC_LITERAL(9, 85, 11), // "const char*"
QT_MOC_LITERAL(10, 97, 10), // "actionName"
QT_MOC_LITERAL(11, 108, 5), // "onOff"
QT_MOC_LITERAL(12, 114, 8), // "setAvail"
QT_MOC_LITERAL(13, 123, 8), // "initGame"
QT_MOC_LITERAL(14, 132, 11), // "gameActions"
QT_MOC_LITERAL(15, 144, 6), // "action"
QT_MOC_LITERAL(16, 151, 11), // "editActions"
QT_MOC_LITERAL(17, 163, 18), // "editToolbarActions"
QT_MOC_LITERAL(18, 182, 8), // "settings"
QT_MOC_LITERAL(19, 191, 9), // "kbControl"
QT_MOC_LITERAL(20, 201, 4), // "dirn"
QT_MOC_LITERAL(21, 206, 7), // "pressed"
QT_MOC_LITERAL(22, 214, 8), // "incScore"
QT_MOC_LITERAL(23, 223, 1), // "n"
QT_MOC_LITERAL(24, 225, 9), // "playSound"
QT_MOC_LITERAL(25, 235, 13), // "interruptDemo"
QT_MOC_LITERAL(26, 249, 8), // "endLevel"
QT_MOC_LITERAL(27, 258, 6), // "result"
QT_MOC_LITERAL(28, 265, 11), // "finalBreath"
QT_MOC_LITERAL(29, 277, 11), // "repeatLevel"
QT_MOC_LITERAL(30, 289, 12), // "goUpOneLevel"
QT_MOC_LITERAL(31, 302, 14), // "quickStartPlay"
QT_MOC_LITERAL(32, 317, 17), // "quickStartNewGame"
QT_MOC_LITERAL(33, 335, 17), // "quickStartUseMenu"
QT_MOC_LITERAL(34, 353, 14), // "quickStartQuit"
QT_MOC_LITERAL(35, 368, 10), // "dbgControl"
QT_MOC_LITERAL(36, 379, 4) // "code"

    },
    "KGrGame\0showScore\0\0showLives\0hintAvailable\0"
    "setEditMenu\0gameFreeze\0quitGame\0"
    "setToggle\0const char*\0actionName\0onOff\0"
    "setAvail\0initGame\0gameActions\0action\0"
    "editActions\0editToolbarActions\0settings\0"
    "kbControl\0dirn\0pressed\0incScore\0n\0"
    "playSound\0interruptDemo\0endLevel\0"
    "result\0finalBreath\0repeatLevel\0"
    "goUpOneLevel\0quickStartPlay\0"
    "quickStartNewGame\0quickStartUseMenu\0"
    "quickStartQuit\0dbgControl\0code"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGrGame[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  154,    2, 0x06 /* Public */,
       3,    1,  157,    2, 0x06 /* Public */,
       4,    1,  160,    2, 0x06 /* Public */,
       5,    1,  163,    2, 0x06 /* Public */,
       6,    1,  166,    2, 0x06 /* Public */,
       7,    0,  169,    2, 0x06 /* Public */,
       8,    2,  170,    2, 0x06 /* Public */,
      12,    2,  175,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,  180,    2, 0x0a /* Public */,
      14,    1,  181,    2, 0x0a /* Public */,
      16,    1,  184,    2, 0x0a /* Public */,
      17,    1,  187,    2, 0x0a /* Public */,
      18,    1,  190,    2, 0x0a /* Public */,
      19,    2,  193,    2, 0x0a /* Public */,
      19,    1,  198,    2, 0x2a /* Public | MethodCloned */,
      22,    1,  201,    2, 0x0a /* Public */,
      24,    2,  204,    2, 0x0a /* Public */,
      24,    1,  209,    2, 0x2a /* Public | MethodCloned */,
      25,    0,  212,    2, 0x08 /* Private */,
      26,    1,  213,    2, 0x08 /* Private */,
      28,    0,  216,    2, 0x08 /* Private */,
      29,    0,  217,    2, 0x08 /* Private */,
      30,    0,  218,    2, 0x08 /* Private */,
      31,    0,  219,    2, 0x08 /* Private */,
      32,    0,  220,    2, 0x08 /* Private */,
      33,    0,  221,    2, 0x08 /* Private */,
      34,    0,  222,    2, 0x08 /* Private */,
      35,    1,  223,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Long,    2,
    QMetaType::Void, QMetaType::Long,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Bool,   10,   11,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Bool,   10,   11,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,   20,   21,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,   23,   11,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   27,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   36,

       0        // eod
};

void KGrGame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGrGame *_t = static_cast<KGrGame *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->showScore((*reinterpret_cast< long(*)>(_a[1]))); break;
        case 1: _t->showLives((*reinterpret_cast< long(*)>(_a[1]))); break;
        case 2: _t->hintAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->setEditMenu((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->gameFreeze((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->quitGame(); break;
        case 6: _t->setToggle((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 7: _t->setAvail((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 8: _t->initGame(); break;
        case 9: _t->gameActions((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 10: _t->editActions((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 11: _t->editToolbarActions((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 12: _t->settings((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 13: _t->kbControl((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 14: _t->kbControl((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 15: _t->incScore((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 16: _t->playSound((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 17: _t->playSound((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 18: _t->interruptDemo(); break;
        case 19: _t->endLevel((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 20: _t->finalBreath(); break;
        case 21: _t->repeatLevel(); break;
        case 22: _t->goUpOneLevel(); break;
        case 23: _t->quickStartPlay(); break;
        case 24: _t->quickStartNewGame(); break;
        case 25: _t->quickStartUseMenu(); break;
        case 26: _t->quickStartQuit(); break;
        case 27: _t->dbgControl((*reinterpret_cast< const int(*)>(_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 (KGrGame::*_t)(long );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrGame::showScore)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KGrGame::*_t)(long );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrGame::showLives)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KGrGame::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrGame::hintAvailable)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KGrGame::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrGame::setEditMenu)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KGrGame::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrGame::gameFreeze)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KGrGame::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrGame::quitGame)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KGrGame::*_t)(const char * , const bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrGame::setToggle)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (KGrGame::*_t)(const char * , const bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrGame::setAvail)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject KGrGame::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KGrGame.data,
      qt_meta_data_KGrGame,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KGrGame::showLives(long _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KGrGame::hintAvailable(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KGrGame::setEditMenu(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KGrGame::gameFreeze(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KGrGame::quitGame()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KGrGame::setToggle(const char * _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, 6, _a);
}

// SIGNAL 7
void KGrGame::setAvail(const char * _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, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
