/****************************************************************************
** Meta object code from reading C++ file 'displayintro.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/kfourinline-17.04.3/src/displayintro.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'displayintro.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_DisplayIntro_t {
    QByteArrayData data[16];
    char stringdata0[148];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DisplayIntro_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DisplayIntro_t qt_meta_stringdata_DisplayIntro = {
    {
QT_MOC_LITERAL(0, 0, 12), // "DisplayIntro"
QT_MOC_LITERAL(1, 13, 16), // "signalQuickStart"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 6), // "COLOUR"
QT_MOC_LITERAL(4, 38, 11), // "startPlayer"
QT_MOC_LITERAL(5, 50, 15), // "KGameIO::IOMode"
QT_MOC_LITERAL(6, 66, 6), // "input0"
QT_MOC_LITERAL(7, 73, 6), // "input1"
QT_MOC_LITERAL(8, 80, 7), // "aiLevel"
QT_MOC_LITERAL(9, 88, 7), // "advance"
QT_MOC_LITERAL(10, 96, 13), // "buttonPressed"
QT_MOC_LITERAL(11, 110, 14), // "QGraphicsItem*"
QT_MOC_LITERAL(12, 125, 4), // "item"
QT_MOC_LITERAL(13, 130, 2), // "id"
QT_MOC_LITERAL(14, 133, 10), // "findSprite"
QT_MOC_LITERAL(15, 144, 3) // "pos"

    },
    "DisplayIntro\0signalQuickStart\0\0COLOUR\0"
    "startPlayer\0KGameIO::IOMode\0input0\0"
    "input1\0aiLevel\0advance\0buttonPressed\0"
    "QGraphicsItem*\0item\0id\0findSprite\0pos"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DisplayIntro[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    4,   34,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   43,    2, 0x09 /* Protected */,
      10,    2,   44,    2, 0x09 /* Protected */,
      14,    1,   49,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 5, QMetaType::Int,    4,    6,    7,    8,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11, QMetaType::Int,   12,   13,
    0x80000000 | 11, QMetaType::QPoint,   15,

       0        // eod
};

void DisplayIntro::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DisplayIntro *_t = static_cast<DisplayIntro *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalQuickStart((*reinterpret_cast< COLOUR(*)>(_a[1])),(*reinterpret_cast< KGameIO::IOMode(*)>(_a[2])),(*reinterpret_cast< KGameIO::IOMode(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 1: _t->advance(); break;
        case 2: _t->buttonPressed((*reinterpret_cast< QGraphicsItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: { QGraphicsItem* _r = _t->findSprite((*reinterpret_cast< QPoint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QGraphicsItem**>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QGraphicsItem* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (DisplayIntro::*_t)(COLOUR , KGameIO::IOMode , KGameIO::IOMode , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DisplayIntro::signalQuickStart)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject DisplayIntro::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_DisplayIntro.data,
      qt_meta_data_DisplayIntro,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *DisplayIntro::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_DisplayIntro.stringdata0))
        return static_cast<void*>(const_cast< DisplayIntro*>(this));
    if (!strcmp(_clname, "Themeable"))
        return static_cast< Themeable*>(const_cast< DisplayIntro*>(this));
    return QObject::qt_metacast(_clname);
}

int DisplayIntro::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void DisplayIntro::signalQuickStart(COLOUR _t1, KGameIO::IOMode _t2, KGameIO::IOMode _t3, int _t4)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
