/****************************************************************************
** Meta object code from reading C++ file 'board.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/gottet-1.1.4/src/board.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'board.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_Board_t {
    QByteArrayData data[23];
    char stringdata0[237];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Board_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Board_t qt_meta_stringdata_Board = {
    {
QT_MOC_LITERAL(0, 0, 5), // "Board"
QT_MOC_LITERAL(1, 6, 14), // "pauseAvailable"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 9), // "available"
QT_MOC_LITERAL(4, 32, 18), // "nextPieceAvailable"
QT_MOC_LITERAL(5, 51, 5), // "piece"
QT_MOC_LITERAL(6, 57, 12), // "levelUpdated"
QT_MOC_LITERAL(7, 70, 5), // "level"
QT_MOC_LITERAL(8, 76, 19), // "linesRemovedUpdated"
QT_MOC_LITERAL(9, 96, 5), // "lines"
QT_MOC_LITERAL(10, 102, 12), // "scoreUpdated"
QT_MOC_LITERAL(11, 115, 5), // "score"
QT_MOC_LITERAL(12, 121, 8), // "gameOver"
QT_MOC_LITERAL(13, 130, 11), // "gameStarted"
QT_MOC_LITERAL(14, 142, 11), // "hideMessage"
QT_MOC_LITERAL(15, 154, 11), // "showMessage"
QT_MOC_LITERAL(16, 166, 7), // "message"
QT_MOC_LITERAL(17, 174, 7), // "newGame"
QT_MOC_LITERAL(18, 182, 9), // "pauseGame"
QT_MOC_LITERAL(19, 192, 10), // "resumeGame"
QT_MOC_LITERAL(20, 203, 10), // "shiftPiece"
QT_MOC_LITERAL(21, 214, 10), // "flashLines"
QT_MOC_LITERAL(22, 225, 11) // "removeLines"

    },
    "Board\0pauseAvailable\0\0available\0"
    "nextPieceAvailable\0piece\0levelUpdated\0"
    "level\0linesRemovedUpdated\0lines\0"
    "scoreUpdated\0score\0gameOver\0gameStarted\0"
    "hideMessage\0showMessage\0message\0newGame\0"
    "pauseGame\0resumeGame\0shiftPiece\0"
    "flashLines\0removeLines"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Board[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       4,    1,   92,    2, 0x06 /* Public */,
       6,    1,   95,    2, 0x06 /* Public */,
       8,    1,   98,    2, 0x06 /* Public */,
      10,    1,  101,    2, 0x06 /* Public */,
      12,    3,  104,    2, 0x06 /* Public */,
      13,    0,  111,    2, 0x06 /* Public */,
      14,    0,  112,    2, 0x06 /* Public */,
      15,    1,  113,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    0,  116,    2, 0x0a /* Public */,
      18,    0,  117,    2, 0x0a /* Public */,
      19,    0,  118,    2, 0x0a /* Public */,
      20,    0,  119,    2, 0x08 /* Private */,
      21,    0,  120,    2, 0x08 /* Private */,
      22,    0,  121,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::QPixmap,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    7,    9,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   16,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Board::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Board *_t = static_cast<Board *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pauseAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->nextPieceAvailable((*reinterpret_cast< QPixmap(*)>(_a[1]))); break;
        case 2: _t->levelUpdated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->linesRemovedUpdated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->scoreUpdated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->gameOver((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 6: _t->gameStarted(); break;
        case 7: _t->hideMessage(); break;
        case 8: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->newGame(); break;
        case 10: _t->pauseGame(); break;
        case 11: _t->resumeGame(); break;
        case 12: _t->shiftPiece(); break;
        case 13: _t->flashLines(); break;
        case 14: _t->removeLines(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Board::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::pauseAvailable)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Board::*_t)(QPixmap );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::nextPieceAvailable)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Board::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::levelUpdated)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Board::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::linesRemovedUpdated)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Board::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::scoreUpdated)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Board::*_t)(int , int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::gameOver)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Board::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::gameStarted)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Board::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::hideMessage)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Board::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Board::showMessage)) {
                *result = 8;
                return;
            }
        }
    }
}

const QMetaObject Board::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Board.data,
      qt_meta_data_Board,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Board::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Board.stringdata0))
        return static_cast<void*>(const_cast< Board*>(this));
    return QWidget::qt_metacast(_clname);
}

int Board::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void Board::pauseAvailable(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Board::nextPieceAvailable(QPixmap _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

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

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

// SIGNAL 5
void Board::gameOver(int _t1, int _t2, int _t3)
{
    void *_a[] = { Q_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, 5, _a);
}

// SIGNAL 6
void Board::gameStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void Board::hideMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void Board::showMessage(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_END_MOC_NAMESPACE
