/****************************************************************************
** Meta object code from reading C++ file 'kgrlevelplayer.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/kgrlevelplayer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kgrlevelplayer.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_KGrLevelPlayer_t {
    QByteArrayData data[32];
    char stringdata0[273];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGrLevelPlayer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGrLevelPlayer_t qt_meta_stringdata_KGrLevelPlayer = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KGrLevelPlayer"
QT_MOC_LITERAL(1, 15, 8), // "endLevel"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 6), // "result"
QT_MOC_LITERAL(4, 32, 11), // "getMousePos"
QT_MOC_LITERAL(5, 44, 4), // "int&"
QT_MOC_LITERAL(6, 49, 1), // "i"
QT_MOC_LITERAL(7, 51, 1), // "j"
QT_MOC_LITERAL(8, 53, 11), // "setMousePos"
QT_MOC_LITERAL(9, 65, 9), // "animation"
QT_MOC_LITERAL(10, 75, 6), // "missed"
QT_MOC_LITERAL(11, 82, 9), // "paintCell"
QT_MOC_LITERAL(12, 92, 8), // "tileType"
QT_MOC_LITERAL(13, 101, 10), // "makeSprite"
QT_MOC_LITERAL(14, 112, 10), // "spriteType"
QT_MOC_LITERAL(15, 123, 14), // "startAnimation"
QT_MOC_LITERAL(16, 138, 8), // "spriteId"
QT_MOC_LITERAL(17, 147, 9), // "repeating"
QT_MOC_LITERAL(18, 157, 4), // "time"
QT_MOC_LITERAL(19, 162, 9), // "Direction"
QT_MOC_LITERAL(20, 172, 4), // "dirn"
QT_MOC_LITERAL(21, 177, 13), // "AnimationType"
QT_MOC_LITERAL(22, 191, 4), // "type"
QT_MOC_LITERAL(23, 196, 12), // "deleteSprite"
QT_MOC_LITERAL(24, 209, 7), // "gotGold"
QT_MOC_LITERAL(25, 217, 7), // "hasGold"
QT_MOC_LITERAL(26, 225, 4), // "lost"
QT_MOC_LITERAL(27, 230, 13), // "interruptDemo"
QT_MOC_LITERAL(28, 244, 4), // "tick"
QT_MOC_LITERAL(29, 249, 10), // "scaledTime"
QT_MOC_LITERAL(30, 260, 5), // "doDig"
QT_MOC_LITERAL(31, 266, 6) // "button"

    },
    "KGrLevelPlayer\0endLevel\0\0result\0"
    "getMousePos\0int&\0i\0j\0setMousePos\0"
    "animation\0missed\0paintCell\0tileType\0"
    "makeSprite\0spriteType\0startAnimation\0"
    "spriteId\0repeating\0time\0Direction\0"
    "dirn\0AnimationType\0type\0deleteSprite\0"
    "gotGold\0hasGold\0lost\0interruptDemo\0"
    "tick\0scaledTime\0doDig\0button"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGrLevelPlayer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       4,    2,   77,    2, 0x06 /* Public */,
       8,    2,   82,    2, 0x06 /* Public */,
       9,    1,   87,    2, 0x06 /* Public */,
      11,    3,   90,    2, 0x06 /* Public */,
      13,    3,   97,    2, 0x06 /* Public */,
      15,    7,  104,    2, 0x06 /* Public */,
      23,    1,  119,    2, 0x06 /* Public */,
      24,    5,  122,    2, 0x06 /* Public */,
      27,    0,  133,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      28,    2,  134,    2, 0x08 /* Private */,
      30,    1,  139,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 5,    6,    7,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    6,    7,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Char,    6,    7,   12,
    QMetaType::Int, QMetaType::Char, QMetaType::Int, QMetaType::Int,   14,    6,    7,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool, QMetaType::Int, QMetaType::Int, QMetaType::Int, 0x80000000 | 19, 0x80000000 | 21,   16,   17,    6,    7,   18,   20,   22,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Bool, QMetaType::Bool,   16,    6,    7,   25,   26,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool, QMetaType::Int,   10,   29,
    QMetaType::Void, QMetaType::Int,   31,

       0        // eod
};

void KGrLevelPlayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGrLevelPlayer *_t = static_cast<KGrLevelPlayer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->endLevel((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 1: _t->getMousePos((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->setMousePos((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 3: _t->animation((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->paintCell((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< char(*)>(_a[3]))); break;
        case 5: { int _r = _t->makeSprite((*reinterpret_cast< char(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 6: _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;
        case 7: _t->deleteSprite((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 8: _t->gotGold((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const int(*)>(_a[3])),(*reinterpret_cast< const bool(*)>(_a[4])),(*reinterpret_cast< const bool(*)>(_a[5]))); break;
        case 9: _t->interruptDemo(); break;
        case 10: _t->tick((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->doDig((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KGrLevelPlayer::*_t)(const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::endLevel)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KGrLevelPlayer::*_t)(int & , int & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::getMousePos)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KGrLevelPlayer::*_t)(const int , const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::setMousePos)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KGrLevelPlayer::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::animation)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KGrLevelPlayer::*_t)(int , int , char );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::paintCell)) {
                *result = 4;
                return;
            }
        }
        {
            typedef int (KGrLevelPlayer::*_t)(char , int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::makeSprite)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KGrLevelPlayer::*_t)(const int , const bool , const int , const int , const int , const Direction , const AnimationType );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::startAnimation)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (KGrLevelPlayer::*_t)(const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::deleteSprite)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (KGrLevelPlayer::*_t)(const int , const int , const int , const bool , const bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::gotGold)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (KGrLevelPlayer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KGrLevelPlayer::interruptDemo)) {
                *result = 9;
                return;
            }
        }
    }
}

const QMetaObject KGrLevelPlayer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KGrLevelPlayer.data,
      qt_meta_data_KGrLevelPlayer,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

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

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

// SIGNAL 4
void KGrLevelPlayer::paintCell(int _t1, int _t2, char _t3)
{
    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)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
int KGrLevelPlayer::makeSprite(char _t1, int _t2, int _t3)
{
    int _t0{};
    void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(&_t0)), 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, 5, _a);
    return _t0;
}

// SIGNAL 6
void KGrLevelPlayer::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, 6, _a);
}

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

// SIGNAL 8
void KGrLevelPlayer::gotGold(const int _t1, const int _t2, const int _t3, const bool _t4, const bool _t5)
{
    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)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void KGrLevelPlayer::interruptDemo()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
