/****************************************************************************
** Meta object code from reading C++ file 'gamewidget.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/kbounce-17.12.3/gamewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'gamewidget.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_KBounceGameWidget_t {
    QByteArrayData data[25];
    char stringdata0[269];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KBounceGameWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KBounceGameWidget_t qt_meta_stringdata_KBounceGameWidget = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KBounceGameWidget"
QT_MOC_LITERAL(1, 18, 8), // "gameOver"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 12), // "levelChanged"
QT_MOC_LITERAL(4, 41, 5), // "level"
QT_MOC_LITERAL(5, 47, 12), // "scoreChanged"
QT_MOC_LITERAL(6, 60, 5), // "score"
QT_MOC_LITERAL(7, 66, 13), // "filledChanged"
QT_MOC_LITERAL(8, 80, 6), // "filled"
QT_MOC_LITERAL(9, 87, 12), // "livesChanged"
QT_MOC_LITERAL(10, 100, 5), // "lives"
QT_MOC_LITERAL(11, 106, 11), // "timeChanged"
QT_MOC_LITERAL(12, 118, 4), // "time"
QT_MOC_LITERAL(13, 123, 12), // "stateChanged"
QT_MOC_LITERAL(14, 136, 24), // "KBounceGameWidget::State"
QT_MOC_LITERAL(15, 161, 5), // "state"
QT_MOC_LITERAL(16, 167, 9), // "closeGame"
QT_MOC_LITERAL(17, 177, 7), // "newGame"
QT_MOC_LITERAL(18, 185, 9), // "setPaused"
QT_MOC_LITERAL(19, 195, 15), // "settingsChanged"
QT_MOC_LITERAL(20, 211, 12), // "setSuspended"
QT_MOC_LITERAL(21, 224, 13), // "onFillChanged"
QT_MOC_LITERAL(22, 238, 14), // "onLivesChanged"
QT_MOC_LITERAL(23, 253, 10), // "onWallDied"
QT_MOC_LITERAL(24, 264, 4) // "tick"

    },
    "KBounceGameWidget\0gameOver\0\0levelChanged\0"
    "level\0scoreChanged\0score\0filledChanged\0"
    "filled\0livesChanged\0lives\0timeChanged\0"
    "time\0stateChanged\0KBounceGameWidget::State\0"
    "state\0closeGame\0newGame\0setPaused\0"
    "settingsChanged\0setSuspended\0onFillChanged\0"
    "onLivesChanged\0onWallDied\0tick"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KBounceGameWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   99,    2, 0x06 /* Public */,
       3,    1,  100,    2, 0x06 /* Public */,
       5,    1,  103,    2, 0x06 /* Public */,
       7,    1,  106,    2, 0x06 /* Public */,
       9,    1,  109,    2, 0x06 /* Public */,
      11,    1,  112,    2, 0x06 /* Public */,
      13,    1,  115,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  118,    2, 0x0a /* Public */,
      17,    0,  119,    2, 0x0a /* Public */,
      18,    1,  120,    2, 0x0a /* Public */,
      19,    0,  123,    2, 0x0a /* Public */,
      20,    1,  124,    2, 0x0a /* Public */,
       3,    0,  127,    2, 0x0a /* Public */,
      21,    1,  128,    2, 0x09 /* Protected */,
      22,    1,  131,    2, 0x09 /* Protected */,
      23,    0,  134,    2, 0x09 /* Protected */,
      24,    0,  135,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, 0x80000000 | 14,   15,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KBounceGameWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KBounceGameWidget *_t = static_cast<KBounceGameWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->gameOver(); break;
        case 1: _t->levelChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->scoreChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->filledChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->livesChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->timeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->stateChanged((*reinterpret_cast< KBounceGameWidget::State(*)>(_a[1]))); break;
        case 7: _t->closeGame(); break;
        case 8: _t->newGame(); break;
        case 9: _t->setPaused((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->settingsChanged(); break;
        case 11: _t->setSuspended((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->levelChanged(); break;
        case 13: _t->onFillChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->onLivesChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->onWallDied(); break;
        case 16: _t->tick(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KBounceGameWidget::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KBounceGameWidget::gameOver)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KBounceGameWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KBounceGameWidget::levelChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KBounceGameWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KBounceGameWidget::scoreChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KBounceGameWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KBounceGameWidget::filledChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KBounceGameWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KBounceGameWidget::livesChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KBounceGameWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KBounceGameWidget::timeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KBounceGameWidget::*_t)(KBounceGameWidget::State );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KBounceGameWidget::stateChanged)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KBounceGameWidget::staticMetaObject = {
    { &QGraphicsView::staticMetaObject, qt_meta_stringdata_KBounceGameWidget.data,
      qt_meta_data_KBounceGameWidget,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KBounceGameWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsView::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
    return _id;
}

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

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

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

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

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

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

// SIGNAL 6
void KBounceGameWidget::stateChanged(KBounceGameWidget::State _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
