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

#include "../src/libkdegames-17.12.3/libkdegamesprivate/kgame/kmessageclient.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kmessageclient.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KMessageClient_t {
    QByteArrayData data[24];
    char stringdata0[340];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KMessageClient_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KMessageClient_t qt_meta_stringdata_KMessageClient = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KMessageClient"
QT_MOC_LITERAL(1, 15, 17), // "broadcastReceived"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 3), // "msg"
QT_MOC_LITERAL(4, 38, 8), // "senderID"
QT_MOC_LITERAL(5, 47, 15), // "forwardReceived"
QT_MOC_LITERAL(6, 63, 14), // "QList<quint32>"
QT_MOC_LITERAL(7, 78, 9), // "receivers"
QT_MOC_LITERAL(8, 88, 16), // "connectionBroken"
QT_MOC_LITERAL(9, 105, 17), // "aboutToDisconnect"
QT_MOC_LITERAL(10, 123, 2), // "id"
QT_MOC_LITERAL(11, 126, 18), // "adminStatusChanged"
QT_MOC_LITERAL(12, 145, 7), // "isAdmin"
QT_MOC_LITERAL(13, 153, 20), // "eventClientConnected"
QT_MOC_LITERAL(14, 174, 8), // "clientID"
QT_MOC_LITERAL(15, 183, 23), // "eventClientDisconnected"
QT_MOC_LITERAL(16, 207, 6), // "broken"
QT_MOC_LITERAL(17, 214, 21), // "serverMessageReceived"
QT_MOC_LITERAL(18, 236, 5), // "bool&"
QT_MOC_LITERAL(19, 242, 7), // "unknown"
QT_MOC_LITERAL(20, 250, 22), // "processIncomingMessage"
QT_MOC_LITERAL(21, 273, 19), // "processFirstMessage"
QT_MOC_LITERAL(22, 293, 22), // "removeBrokenConnection"
QT_MOC_LITERAL(23, 316, 23) // "removeBrokenConnection2"

    },
    "KMessageClient\0broadcastReceived\0\0msg\0"
    "senderID\0forwardReceived\0QList<quint32>\0"
    "receivers\0connectionBroken\0aboutToDisconnect\0"
    "id\0adminStatusChanged\0isAdmin\0"
    "eventClientConnected\0clientID\0"
    "eventClientDisconnected\0broken\0"
    "serverMessageReceived\0bool&\0unknown\0"
    "processIncomingMessage\0processFirstMessage\0"
    "removeBrokenConnection\0removeBrokenConnection2"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KMessageClient[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x06 /* Public */,
       5,    3,   79,    2, 0x06 /* Public */,
       8,    0,   86,    2, 0x06 /* Public */,
       9,    1,   87,    2, 0x06 /* Public */,
      11,    1,   90,    2, 0x06 /* Public */,
      13,    1,   93,    2, 0x06 /* Public */,
      15,    2,   96,    2, 0x06 /* Public */,
      17,    2,  101,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      20,    1,  106,    2, 0x09 /* Protected */,
      21,    0,  109,    2, 0x09 /* Protected */,
      22,    0,  110,    2, 0x09 /* Protected */,
      23,    0,  111,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QByteArray, QMetaType::UInt,    3,    4,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::UInt, 0x80000000 | 6,    3,    4,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt,   10,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::UInt,   14,
    QMetaType::Void, QMetaType::UInt, QMetaType::Bool,   14,   16,
    QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 18,    3,   19,

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

       0        // eod
};

void KMessageClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KMessageClient *_t = static_cast<KMessageClient *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->broadcastReceived((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2]))); break;
        case 1: _t->forwardReceived((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2])),(*reinterpret_cast< const QList<quint32>(*)>(_a[3]))); break;
        case 2: _t->connectionBroken(); break;
        case 3: _t->aboutToDisconnect((*reinterpret_cast< quint32(*)>(_a[1]))); break;
        case 4: _t->adminStatusChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->eventClientConnected((*reinterpret_cast< quint32(*)>(_a[1]))); break;
        case 6: _t->eventClientDisconnected((*reinterpret_cast< quint32(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 7: _t->serverMessageReceived((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 8: _t->processIncomingMessage((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 9: _t->processFirstMessage(); break;
        case 10: _t->removeBrokenConnection(); break;
        case 11: _t->removeBrokenConnection2(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<quint32> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KMessageClient::*_t)(const QByteArray & , quint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KMessageClient::broadcastReceived)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KMessageClient::*_t)(const QByteArray & , quint32 , const QList<quint32> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KMessageClient::forwardReceived)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KMessageClient::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KMessageClient::connectionBroken)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KMessageClient::*_t)(quint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KMessageClient::aboutToDisconnect)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KMessageClient::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KMessageClient::adminStatusChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KMessageClient::*_t)(quint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KMessageClient::eventClientConnected)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KMessageClient::*_t)(quint32 , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KMessageClient::eventClientDisconnected)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (KMessageClient::*_t)(const QByteArray & , bool & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KMessageClient::serverMessageReceived)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject KMessageClient::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KMessageClient.data,
      qt_meta_data_KMessageClient,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KMessageClient::broadcastReceived(const QByteArray & _t1, quint32 _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 KMessageClient::forwardReceived(const QByteArray & _t1, quint32 _t2, const QList<quint32> & _t3)
{
    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)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KMessageClient::connectionBroken()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

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

// SIGNAL 5
void KMessageClient::eventClientConnected(quint32 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KMessageClient::eventClientDisconnected(quint32 _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void KMessageClient::serverMessageReceived(const QByteArray & _t1, bool & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
