/****************************************************************************
** Meta object code from reading C++ file 'kgameio.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/libkdegames-17.08.3/libkdegamesprivate/kgame/kgameio.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kgameio.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_KGameIO_t {
    QByteArrayData data[10];
    char stringdata0[75];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGameIO_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGameIO_t qt_meta_stringdata_KGameIO = {
    {
QT_MOC_LITERAL(0, 0, 7), // "KGameIO"
QT_MOC_LITERAL(1, 8, 17), // "signalPrepareTurn"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 12), // "QDataStream&"
QT_MOC_LITERAL(4, 40, 6), // "stream"
QT_MOC_LITERAL(5, 47, 4), // "turn"
QT_MOC_LITERAL(6, 52, 8), // "KGameIO*"
QT_MOC_LITERAL(7, 61, 2), // "io"
QT_MOC_LITERAL(8, 64, 5), // "bool*"
QT_MOC_LITERAL(9, 70, 4) // "send"

    },
    "KGameIO\0signalPrepareTurn\0\0QDataStream&\0"
    "stream\0turn\0KGameIO*\0io\0bool*\0send"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGameIO[] = {

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

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

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

       0        // eod
};

void KGameIO::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGameIO *_t = static_cast<KGameIO *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalPrepareTurn((*reinterpret_cast< QDataStream(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< KGameIO*(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGameIO* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KGameIO::*_t)(QDataStream & , bool , KGameIO * , bool * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameIO::signalPrepareTurn)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KGameIO::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KGameIO.data,
      qt_meta_data_KGameIO,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KGameIO::signalPrepareTurn(QDataStream & _t1, bool _t2, KGameIO * _t3, bool * _t4)
{
    void *_a[] = { 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);
}
struct qt_meta_stringdata_KGameKeyIO_t {
    QByteArrayData data[11];
    char stringdata0[87];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGameKeyIO_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGameKeyIO_t qt_meta_stringdata_KGameKeyIO = {
    {
QT_MOC_LITERAL(0, 0, 10), // "KGameKeyIO"
QT_MOC_LITERAL(1, 11, 14), // "signalKeyEvent"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 8), // "KGameIO*"
QT_MOC_LITERAL(4, 36, 2), // "io"
QT_MOC_LITERAL(5, 39, 12), // "QDataStream&"
QT_MOC_LITERAL(6, 52, 6), // "stream"
QT_MOC_LITERAL(7, 59, 10), // "QKeyEvent*"
QT_MOC_LITERAL(8, 70, 1), // "m"
QT_MOC_LITERAL(9, 72, 5), // "bool*"
QT_MOC_LITERAL(10, 78, 8) // "eatevent"

    },
    "KGameKeyIO\0signalKeyEvent\0\0KGameIO*\0"
    "io\0QDataStream&\0stream\0QKeyEvent*\0m\0"
    "bool*\0eatevent"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGameKeyIO[] = {

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

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

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

       0        // eod
};

void KGameKeyIO::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGameKeyIO *_t = static_cast<KGameKeyIO *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalKeyEvent((*reinterpret_cast< KGameIO*(*)>(_a[1])),(*reinterpret_cast< QDataStream(*)>(_a[2])),(*reinterpret_cast< QKeyEvent*(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KGameKeyIO::*_t)(KGameIO * , QDataStream & , QKeyEvent * , bool * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameKeyIO::signalKeyEvent)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KGameKeyIO::staticMetaObject = {
    { &KGameIO::staticMetaObject, qt_meta_stringdata_KGameKeyIO.data,
      qt_meta_data_KGameKeyIO,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KGameKeyIO::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KGameIO::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void KGameKeyIO::signalKeyEvent(KGameIO * _t1, QDataStream & _t2, QKeyEvent * _t3, bool * _t4)
{
    void *_a[] = { 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);
}
struct qt_meta_stringdata_KGameMouseIO_t {
    QByteArrayData data[11];
    char stringdata0[93];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGameMouseIO_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGameMouseIO_t qt_meta_stringdata_KGameMouseIO = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KGameMouseIO"
QT_MOC_LITERAL(1, 13, 16), // "signalMouseEvent"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 8), // "KGameIO*"
QT_MOC_LITERAL(4, 40, 2), // "io"
QT_MOC_LITERAL(5, 43, 12), // "QDataStream&"
QT_MOC_LITERAL(6, 56, 6), // "stream"
QT_MOC_LITERAL(7, 63, 12), // "QMouseEvent*"
QT_MOC_LITERAL(8, 76, 1), // "m"
QT_MOC_LITERAL(9, 78, 5), // "bool*"
QT_MOC_LITERAL(10, 84, 8) // "eatevent"

    },
    "KGameMouseIO\0signalMouseEvent\0\0KGameIO*\0"
    "io\0QDataStream&\0stream\0QMouseEvent*\0"
    "m\0bool*\0eatevent"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGameMouseIO[] = {

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

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

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

       0        // eod
};

void KGameMouseIO::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGameMouseIO *_t = static_cast<KGameMouseIO *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalMouseEvent((*reinterpret_cast< KGameIO*(*)>(_a[1])),(*reinterpret_cast< QDataStream(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KGameMouseIO::*_t)(KGameIO * , QDataStream & , QMouseEvent * , bool * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameMouseIO::signalMouseEvent)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KGameMouseIO::staticMetaObject = {
    { &KGameIO::staticMetaObject, qt_meta_stringdata_KGameMouseIO.data,
      qt_meta_data_KGameMouseIO,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KGameMouseIO::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KGameIO::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void KGameMouseIO::signalMouseEvent(KGameIO * _t1, QDataStream & _t2, QMouseEvent * _t3, bool * _t4)
{
    void *_a[] = { 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);
}
struct qt_meta_stringdata_KGameProcessIO_t {
    QByteArrayData data[18];
    char stringdata0[179];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGameProcessIO_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGameProcessIO_t qt_meta_stringdata_KGameProcessIO = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KGameProcessIO"
QT_MOC_LITERAL(1, 15, 18), // "signalProcessQuery"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 12), // "QDataStream&"
QT_MOC_LITERAL(4, 48, 6), // "stream"
QT_MOC_LITERAL(5, 55, 15), // "KGameProcessIO*"
QT_MOC_LITERAL(6, 71, 2), // "me"
QT_MOC_LITERAL(7, 74, 13), // "signalIOAdded"
QT_MOC_LITERAL(8, 88, 8), // "KGameIO*"
QT_MOC_LITERAL(9, 97, 4), // "game"
QT_MOC_LITERAL(10, 102, 8), // "KPlayer*"
QT_MOC_LITERAL(11, 111, 1), // "p"
QT_MOC_LITERAL(12, 113, 5), // "bool*"
QT_MOC_LITERAL(13, 119, 4), // "send"
QT_MOC_LITERAL(14, 124, 20), // "signalReceivedStderr"
QT_MOC_LITERAL(15, 145, 3), // "msg"
QT_MOC_LITERAL(16, 149, 15), // "receivedMessage"
QT_MOC_LITERAL(17, 165, 13) // "receiveBuffer"

    },
    "KGameProcessIO\0signalProcessQuery\0\0"
    "QDataStream&\0stream\0KGameProcessIO*\0"
    "me\0signalIOAdded\0KGameIO*\0game\0KPlayer*\0"
    "p\0bool*\0send\0signalReceivedStderr\0msg\0"
    "receivedMessage\0receiveBuffer"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGameProcessIO[] = {

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

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

 // slots: name, argc, parameters, tag, flags
      16,    1,   51,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 3, 0x80000000 | 10, 0x80000000 | 12,    9,    4,   11,   13,
    QMetaType::Void, QMetaType::QString,   15,

 // slots: parameters
    QMetaType::Void, QMetaType::QByteArray,   17,

       0        // eod
};

void KGameProcessIO::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGameProcessIO *_t = static_cast<KGameProcessIO *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalProcessQuery((*reinterpret_cast< QDataStream(*)>(_a[1])),(*reinterpret_cast< KGameProcessIO*(*)>(_a[2]))); break;
        case 1: _t->signalIOAdded((*reinterpret_cast< KGameIO*(*)>(_a[1])),(*reinterpret_cast< QDataStream(*)>(_a[2])),(*reinterpret_cast< KPlayer*(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break;
        case 2: _t->signalReceivedStderr((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 3: _t->receivedMessage((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KGameProcessIO* >(); break;
            }
            break;
        case 1:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KGameProcessIO::*_t)(QDataStream & , KGameProcessIO * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameProcessIO::signalProcessQuery)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KGameProcessIO::*_t)(KGameIO * , QDataStream & , KPlayer * , bool * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameProcessIO::signalIOAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KGameProcessIO::*_t)(QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameProcessIO::signalReceivedStderr)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KGameProcessIO::staticMetaObject = {
    { &KGameIO::staticMetaObject, qt_meta_stringdata_KGameProcessIO.data,
      qt_meta_data_KGameProcessIO,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KGameProcessIO::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KGameIO::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 KGameProcessIO::signalProcessQuery(QDataStream & _t1, KGameProcessIO * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KGameProcessIO::signalIOAdded(KGameIO * _t1, QDataStream & _t2, KPlayer * _t3, bool * _t4)
{
    void *_a[] = { 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);
}

// SIGNAL 2
void KGameProcessIO::signalReceivedStderr(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_KGameComputerIO_t {
    QByteArrayData data[4];
    char stringdata0[40];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGameComputerIO_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGameComputerIO_t qt_meta_stringdata_KGameComputerIO = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KGameComputerIO"
QT_MOC_LITERAL(1, 16, 14), // "signalReaction"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 7) // "advance"

    },
    "KGameComputerIO\0signalReaction\0\0advance"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGameComputerIO[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   25,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KGameComputerIO::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGameComputerIO *_t = static_cast<KGameComputerIO *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalReaction(); break;
        case 1: _t->advance(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KGameComputerIO::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameComputerIO::signalReaction)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KGameComputerIO::staticMetaObject = {
    { &KGameIO::staticMetaObject, qt_meta_stringdata_KGameComputerIO.data,
      qt_meta_data_KGameComputerIO,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KGameComputerIO::signalReaction()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
