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

#include "../../src/kfourinline-15.04.3/src/kwin4view.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kwin4view.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_KWin4View_t {
    QByteArrayData data[28];
    char stringdata[268];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin4View_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin4View_t qt_meta_stringdata_KWin4View = {
    {
QT_MOC_LITERAL(0, 0, 9), // "KWin4View"
QT_MOC_LITERAL(1, 10, 14), // "signalMoveDone"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 4), // "mode"
QT_MOC_LITERAL(4, 31, 16), // "signalQuickStart"
QT_MOC_LITERAL(5, 48, 6), // "COLOUR"
QT_MOC_LITERAL(6, 55, 11), // "startPlayer"
QT_MOC_LITERAL(7, 67, 15), // "KGameIO::IOMode"
QT_MOC_LITERAL(8, 83, 6), // "input0"
QT_MOC_LITERAL(9, 90, 6), // "input1"
QT_MOC_LITERAL(10, 97, 7), // "aiLevel"
QT_MOC_LITERAL(11, 105, 16), // "updateAndAdvance"
QT_MOC_LITERAL(12, 122, 10), // "mouseInput"
QT_MOC_LITERAL(13, 133, 8), // "KGameIO*"
QT_MOC_LITERAL(14, 142, 5), // "input"
QT_MOC_LITERAL(15, 148, 12), // "QDataStream&"
QT_MOC_LITERAL(16, 161, 6), // "stream"
QT_MOC_LITERAL(17, 168, 12), // "QMouseEvent*"
QT_MOC_LITERAL(18, 181, 5), // "mouse"
QT_MOC_LITERAL(19, 187, 5), // "bool*"
QT_MOC_LITERAL(20, 193, 8), // "eatevent"
QT_MOC_LITERAL(21, 202, 8), // "keyInput"
QT_MOC_LITERAL(22, 211, 10), // "QKeyEvent*"
QT_MOC_LITERAL(23, 222, 3), // "key"
QT_MOC_LITERAL(24, 226, 8), // "moveDone"
QT_MOC_LITERAL(25, 235, 14), // "QGraphicsItem*"
QT_MOC_LITERAL(26, 250, 4), // "item"
QT_MOC_LITERAL(27, 255, 12) // "rescaleTheme"

    },
    "KWin4View\0signalMoveDone\0\0mode\0"
    "signalQuickStart\0COLOUR\0startPlayer\0"
    "KGameIO::IOMode\0input0\0input1\0aiLevel\0"
    "updateAndAdvance\0mouseInput\0KGameIO*\0"
    "input\0QDataStream&\0stream\0QMouseEvent*\0"
    "mouse\0bool*\0eatevent\0keyInput\0QKeyEvent*\0"
    "key\0moveDone\0QGraphicsItem*\0item\0"
    "rescaleTheme"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin4View[] = {

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

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

 // slots: name, argc, parameters, tag, flags
      11,    0,   61,    2, 0x0a /* Public */,
      12,    4,   62,    2, 0x0a /* Public */,
      21,    4,   71,    2, 0x0a /* Public */,
      24,    2,   80,    2, 0x0a /* Public */,
      27,    0,   85,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 15, 0x80000000 | 17, 0x80000000 | 19,   14,   16,   18,   20,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 15, 0x80000000 | 22, 0x80000000 | 19,   14,   16,   23,   20,
    QMetaType::Void, 0x80000000 | 25, QMetaType::Int,   26,    3,
    QMetaType::Void,

       0        // eod
};

void KWin4View::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KWin4View *_t = static_cast<KWin4View *>(_o);
        switch (_id) {
        case 0: _t->signalMoveDone((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _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 2: _t->updateAndAdvance(); break;
        case 3: _t->mouseInput((*reinterpret_cast< KGameIO*(*)>(_a[1])),(*reinterpret_cast< QDataStream(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break;
        case 4: _t->keyInput((*reinterpret_cast< KGameIO*(*)>(_a[1])),(*reinterpret_cast< QDataStream(*)>(_a[2])),(*reinterpret_cast< QKeyEvent*(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break;
        case 5: _t->moveDone((*reinterpret_cast< QGraphicsItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->rescaleTheme(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGameIO* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGameIO* >(); break;
            }
            break;
        case 5:
            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 (KWin4View::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KWin4View::signalMoveDone)) {
                *result = 0;
            }
        }
        {
            typedef void (KWin4View::*_t)(COLOUR , KGameIO::IOMode , KGameIO::IOMode , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KWin4View::signalQuickStart)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject KWin4View::staticMetaObject = {
    { &QGraphicsView::staticMetaObject, qt_meta_stringdata_KWin4View.data,
      qt_meta_data_KWin4View,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin4View::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin4View.stringdata))
        return static_cast<void*>(const_cast< KWin4View*>(this));
    if (!strcmp(_clname, "Themeable"))
        return static_cast< Themeable*>(const_cast< KWin4View*>(this));
    return QGraphicsView::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void KWin4View::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, 1, _a);
}
QT_END_MOC_NAMESPACE
