/****************************************************************************
** Meta object code from reading C++ file 'kgamechat.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/kgamechat.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kgamechat.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_KGameChat_t {
    QByteArrayData data[19];
    char stringdata0[214];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGameChat_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGameChat_t qt_meta_stringdata_KGameChat = {
    {
QT_MOC_LITERAL(0, 0, 9), // "KGameChat"
QT_MOC_LITERAL(1, 10, 10), // "addMessage"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 8), // "fromName"
QT_MOC_LITERAL(4, 31, 4), // "text"
QT_MOC_LITERAL(5, 36, 6), // "fromId"
QT_MOC_LITERAL(6, 43, 18), // "slotReceiveMessage"
QT_MOC_LITERAL(7, 62, 8), // "receiver"
QT_MOC_LITERAL(8, 71, 6), // "sender"
QT_MOC_LITERAL(9, 78, 14), // "slotUnsetKGame"
QT_MOC_LITERAL(10, 93, 19), // "slotPropertyChanged"
QT_MOC_LITERAL(11, 113, 18), // "KGamePropertyBase*"
QT_MOC_LITERAL(12, 132, 8), // "KPlayer*"
QT_MOC_LITERAL(13, 141, 13), // "slotAddPlayer"
QT_MOC_LITERAL(14, 155, 16), // "slotRemovePlayer"
QT_MOC_LITERAL(15, 172, 25), // "slotReceivePrivateMessage"
QT_MOC_LITERAL(16, 198, 5), // "msgid"
QT_MOC_LITERAL(17, 204, 6), // "buffer"
QT_MOC_LITERAL(18, 211, 2) // "me"

    },
    "KGameChat\0addMessage\0\0fromName\0text\0"
    "fromId\0slotReceiveMessage\0receiver\0"
    "sender\0slotUnsetKGame\0slotPropertyChanged\0"
    "KGamePropertyBase*\0KPlayer*\0slotAddPlayer\0"
    "slotRemovePlayer\0slotReceivePrivateMessage\0"
    "msgid\0buffer\0me"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGameChat[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   54,    2, 0x0a /* Public */,
       1,    2,   59,    2, 0x0a /* Public */,
       6,    4,   64,    2, 0x0a /* Public */,
       9,    0,   73,    2, 0x09 /* Protected */,
      10,    2,   74,    2, 0x09 /* Protected */,
      13,    1,   79,    2, 0x09 /* Protected */,
      14,    1,   82,    2, 0x09 /* Protected */,
      15,    4,   85,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    5,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::QByteArray, QMetaType::UInt, QMetaType::UInt,    2,    2,    7,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 12,    2,    2,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::QByteArray, QMetaType::UInt, 0x80000000 | 12,   16,   17,    8,   18,

       0        // eod
};

void KGameChat::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGameChat *_t = static_cast<KGameChat *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->addMessage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->slotReceiveMessage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< quint32(*)>(_a[3])),(*reinterpret_cast< quint32(*)>(_a[4]))); break;
        case 3: _t->slotUnsetKGame(); break;
        case 4: _t->slotPropertyChanged((*reinterpret_cast< KGamePropertyBase*(*)>(_a[1])),(*reinterpret_cast< KPlayer*(*)>(_a[2]))); break;
        case 5: _t->slotAddPlayer((*reinterpret_cast< KPlayer*(*)>(_a[1]))); break;
        case 6: _t->slotRemovePlayer((*reinterpret_cast< KPlayer*(*)>(_a[1]))); break;
        case 7: _t->slotReceivePrivateMessage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< quint32(*)>(_a[3])),(*reinterpret_cast< KPlayer*(*)>(_a[4]))); break;
        default: ;
        }
    }
}

const QMetaObject KGameChat::staticMetaObject = {
    { &KChatBase::staticMetaObject, qt_meta_stringdata_KGameChat.data,
      qt_meta_data_KGameChat,  qt_static_metacall, nullptr, nullptr}
};


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

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

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