/****************************************************************************
** Meta object code from reading C++ file 'kgrscene.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/kgrscene.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kgrscene.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_KGrScene_t {
    QByteArrayData data[38];
    char stringdata0[355];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGrScene_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGrScene_t qt_meta_stringdata_KGrScene = {
    {
QT_MOC_LITERAL(0, 0, 8), // "KGrScene"
QT_MOC_LITERAL(1, 9, 12), // "fadeFinished"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 17), // "redrawEditToolbar"
QT_MOC_LITERAL(4, 41, 9), // "showLives"
QT_MOC_LITERAL(5, 51, 5), // "lives"
QT_MOC_LITERAL(6, 57, 9), // "showScore"
QT_MOC_LITERAL(7, 67, 5), // "score"
QT_MOC_LITERAL(8, 73, 10), // "makeSprite"
QT_MOC_LITERAL(9, 84, 4), // "type"
QT_MOC_LITERAL(10, 89, 1), // "i"
QT_MOC_LITERAL(11, 91, 1), // "j"
QT_MOC_LITERAL(12, 93, 7), // "animate"
QT_MOC_LITERAL(13, 101, 6), // "missed"
QT_MOC_LITERAL(14, 108, 7), // "gotGold"
QT_MOC_LITERAL(15, 116, 8), // "spriteId"
QT_MOC_LITERAL(16, 125, 13), // "spriteHasGold"
QT_MOC_LITERAL(17, 139, 4), // "lost"
QT_MOC_LITERAL(18, 144, 17), // "showHiddenLadders"
QT_MOC_LITERAL(19, 162, 10), // "QList<int>"
QT_MOC_LITERAL(20, 173, 7), // "ladders"
QT_MOC_LITERAL(21, 181, 5), // "width"
QT_MOC_LITERAL(22, 187, 12), // "deleteSprite"
QT_MOC_LITERAL(23, 200, 2), // "id"
QT_MOC_LITERAL(24, 203, 16), // "deleteAllSprites"
QT_MOC_LITERAL(25, 220, 9), // "paintCell"
QT_MOC_LITERAL(26, 230, 14), // "startAnimation"
QT_MOC_LITERAL(27, 245, 9), // "repeating"
QT_MOC_LITERAL(28, 255, 4), // "time"
QT_MOC_LITERAL(29, 260, 9), // "Direction"
QT_MOC_LITERAL(30, 270, 4), // "dirn"
QT_MOC_LITERAL(31, 275, 13), // "AnimationType"
QT_MOC_LITERAL(32, 289, 16), // "preRenderSprites"
QT_MOC_LITERAL(33, 306, 11), // "setMousePos"
QT_MOC_LITERAL(34, 318, 11), // "getMousePos"
QT_MOC_LITERAL(35, 330, 4), // "int&"
QT_MOC_LITERAL(36, 335, 13), // "drawSpotlight"
QT_MOC_LITERAL(37, 349, 5) // "ratio"

    },
    "KGrScene\0fadeFinished\0\0redrawEditToolbar\0"
    "showLives\0lives\0showScore\0score\0"
    "makeSprite\0type\0i\0j\0animate\0missed\0"
    "gotGold\0spriteId\0spriteHasGold\0lost\0"
    "showHiddenLadders\0QList<int>\0ladders\0"
    "width\0deleteSprite\0id\0deleteAllSprites\0"
    "paintCell\0startAnimation\0repeating\0"
    "time\0Direction\0dirn\0AnimationType\0"
    "preRenderSprites\0setMousePos\0getMousePos\0"
    "int&\0drawSpotlight\0ratio"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGrScene[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   99,    2, 0x06 /* Public */,
       3,    0,  100,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,  101,    2, 0x0a /* Public */,
       6,    1,  104,    2, 0x0a /* Public */,
       8,    3,  107,    2, 0x0a /* Public */,
      12,    1,  114,    2, 0x0a /* Public */,
      14,    5,  117,    2, 0x0a /* Public */,
      14,    4,  128,    2, 0x2a /* Public | MethodCloned */,
      18,    2,  137,    2, 0x0a /* Public */,
      22,    1,  142,    2, 0x0a /* Public */,
      24,    0,  145,    2, 0x0a /* Public */,
      25,    3,  146,    2, 0x0a /* Public */,
      26,    7,  153,    2, 0x0a /* Public */,
      32,    0,  168,    2, 0x0a /* Public */,
      33,    2,  169,    2, 0x0a /* Public */,
      34,    2,  174,    2, 0x0a /* Public */,
      36,    1,  179,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Long,    5,
    QMetaType::Void, QMetaType::Long,    7,
    QMetaType::Int, QMetaType::Char, QMetaType::Int, QMetaType::Int,    9,   10,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Bool, QMetaType::Bool,   15,   10,   11,   16,   17,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Bool,   15,   10,   11,   16,
    QMetaType::Void, 0x80000000 | 19, QMetaType::Int,   20,   21,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Char,   10,   11,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool, QMetaType::Int, QMetaType::Int, QMetaType::Int, 0x80000000 | 29, 0x80000000 | 31,   23,   27,   10,   11,   28,   30,    9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   10,   11,
    QMetaType::Void, 0x80000000 | 35, 0x80000000 | 35,   10,   11,
    QMetaType::Void, QMetaType::QReal,   37,

       0        // eod
};

void KGrScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGrScene *_t = static_cast<KGrScene *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->fadeFinished(); break;
        case 1: _t->redrawEditToolbar(); break;
        case 2: _t->showLives((*reinterpret_cast< long(*)>(_a[1]))); break;
        case 3: _t->showScore((*reinterpret_cast< long(*)>(_a[1]))); break;
        case 4: { int _r = _t->makeSprite((*reinterpret_cast< const 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 5: _t->animate((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _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 7: _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]))); break;
        case 8: _t->showHiddenLadders((*reinterpret_cast< const QList<int>(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 9: _t->deleteSprite((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 10: _t->deleteAllSprites(); break;
        case 11: _t->paintCell((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const char(*)>(_a[3]))); break;
        case 12: _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 13: _t->preRenderSprites(); break;
        case 14: _t->setMousePos((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 15: _t->getMousePos((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 16: _t->drawSpotlight((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KGrScene::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrScene::fadeFinished)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KGrScene::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGrScene::redrawEditToolbar)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KGrScene::staticMetaObject = {
    { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_KGrScene.data,
      qt_meta_data_KGrScene,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KGrScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsScene::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void KGrScene::fadeFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KGrScene::redrawEditToolbar()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
