/****************************************************************************
** Meta object code from reading C++ file 'mainarea.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/kollision-17.08.3/mainarea.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainarea.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_MainArea_t {
    QByteArrayData data[14];
    char stringdata0[138];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainArea_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainArea_t qt_meta_stringdata_MainArea = {
    {
QT_MOC_LITERAL(0, 0, 8), // "MainArea"
QT_MOC_LITERAL(1, 9, 8), // "starting"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 8), // "gameOver"
QT_MOC_LITERAL(4, 28, 16), // "changeBallNumber"
QT_MOC_LITERAL(5, 45, 14), // "changeGameTime"
QT_MOC_LITERAL(6, 60, 11), // "changeState"
QT_MOC_LITERAL(7, 72, 5), // "pause"
QT_MOC_LITERAL(8, 78, 4), // "tick"
QT_MOC_LITERAL(9, 83, 16), // "increaseBallSize"
QT_MOC_LITERAL(10, 100, 6), // "enable"
QT_MOC_LITERAL(11, 107, 12), // "enableSounds"
QT_MOC_LITERAL(12, 120, 5), // "abort"
QT_MOC_LITERAL(13, 126, 11) // "togglePause"

    },
    "MainArea\0starting\0\0gameOver\0"
    "changeBallNumber\0changeGameTime\0"
    "changeState\0pause\0tick\0increaseBallSize\0"
    "enable\0enableSounds\0abort\0togglePause"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainArea[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    1,   70,    2, 0x06 /* Public */,
       4,    1,   73,    2, 0x06 /* Public */,
       5,    1,   76,    2, 0x06 /* Public */,
       6,    1,   79,    2, 0x06 /* Public */,
       7,    1,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   85,    2, 0x0a /* Public */,
       9,    1,   86,    2, 0x0a /* Public */,
      11,    1,   89,    2, 0x0a /* Public */,
      12,    0,   92,    2, 0x0a /* Public */,
      13,    0,   93,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MainArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainArea *_t = static_cast<MainArea *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->starting(); break;
        case 1: _t->gameOver((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->changeBallNumber((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->changeGameTime((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->changeState((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->pause((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->tick(); break;
        case 7: _t->increaseBallSize((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->enableSounds((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->abort(); break;
        case 10: _t->togglePause(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MainArea::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainArea::starting)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MainArea::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainArea::gameOver)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MainArea::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainArea::changeBallNumber)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MainArea::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainArea::changeGameTime)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MainArea::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainArea::changeState)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (MainArea::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainArea::pause)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject MainArea::staticMetaObject = {
    { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_MainArea.data,
      qt_meta_data_MainArea,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

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

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

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

// SIGNAL 5
void MainArea::pause(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
