/****************************************************************************
** Meta object code from reading C++ file 'kgamenetwork.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/libkdegames-15.04.3/libkdegamesprivate/kgame/kgamenetwork.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kgamenetwork.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_KGameNetwork_t {
    QByteArrayData data[18];
    char stringdata[267];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGameNetwork_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGameNetwork_t qt_meta_stringdata_KGameNetwork = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KGameNetwork"
QT_MOC_LITERAL(1, 13, 25), // "signalNetworkErrorMessage"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 5), // "error"
QT_MOC_LITERAL(4, 46, 4), // "text"
QT_MOC_LITERAL(5, 51, 22), // "signalConnectionBroken"
QT_MOC_LITERAL(6, 74, 21), // "signalClientConnected"
QT_MOC_LITERAL(7, 96, 8), // "clientID"
QT_MOC_LITERAL(8, 105, 24), // "signalClientDisconnected"
QT_MOC_LITERAL(9, 130, 6), // "broken"
QT_MOC_LITERAL(10, 137, 24), // "signalAdminStatusChanged"
QT_MOC_LITERAL(11, 162, 7), // "isAdmin"
QT_MOC_LITERAL(12, 170, 26), // "receiveNetworkTransmission"
QT_MOC_LITERAL(13, 197, 1), // "a"
QT_MOC_LITERAL(14, 199, 22), // "slotAdminStatusChanged"
QT_MOC_LITERAL(15, 222, 21), // "aboutToLoseConnection"
QT_MOC_LITERAL(16, 244, 2), // "id"
QT_MOC_LITERAL(17, 247, 19) // "slotResetConnection"

    },
    "KGameNetwork\0signalNetworkErrorMessage\0"
    "\0error\0text\0signalConnectionBroken\0"
    "signalClientConnected\0clientID\0"
    "signalClientDisconnected\0broken\0"
    "signalAdminStatusChanged\0isAdmin\0"
    "receiveNetworkTransmission\0a\0"
    "slotAdminStatusChanged\0aboutToLoseConnection\0"
    "id\0slotResetConnection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGameNetwork[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   59,    2, 0x06 /* Public */,
       5,    0,   64,    2, 0x06 /* Public */,
       6,    1,   65,    2, 0x06 /* Public */,
       8,    2,   68,    2, 0x06 /* Public */,
      10,    1,   73,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    2,   76,    2, 0x09 /* Protected */,
      14,    1,   81,    2, 0x09 /* Protected */,
      15,    1,   84,    2, 0x09 /* Protected */,
      17,    0,   87,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt,    7,
    QMetaType::Void, QMetaType::UInt, QMetaType::Bool,    7,    9,
    QMetaType::Void, QMetaType::Bool,   11,

 // slots: parameters
    QMetaType::Void, QMetaType::QByteArray, QMetaType::UInt,   13,    7,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::UInt,   16,
    QMetaType::Void,

       0        // eod
};

void KGameNetwork::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGameNetwork *_t = static_cast<KGameNetwork *>(_o);
        switch (_id) {
        case 0: _t->signalNetworkErrorMessage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 1: _t->signalConnectionBroken(); break;
        case 2: _t->signalClientConnected((*reinterpret_cast< quint32(*)>(_a[1]))); break;
        case 3: _t->signalClientDisconnected((*reinterpret_cast< quint32(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 4: _t->signalAdminStatusChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->receiveNetworkTransmission((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2]))); break;
        case 6: _t->slotAdminStatusChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->aboutToLoseConnection((*reinterpret_cast< quint32(*)>(_a[1]))); break;
        case 8: _t->slotResetConnection(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KGameNetwork::*_t)(int , QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameNetwork::signalNetworkErrorMessage)) {
                *result = 0;
            }
        }
        {
            typedef void (KGameNetwork::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameNetwork::signalConnectionBroken)) {
                *result = 1;
            }
        }
        {
            typedef void (KGameNetwork::*_t)(quint32 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameNetwork::signalClientConnected)) {
                *result = 2;
            }
        }
        {
            typedef void (KGameNetwork::*_t)(quint32 , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameNetwork::signalClientDisconnected)) {
                *result = 3;
            }
        }
        {
            typedef void (KGameNetwork::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGameNetwork::signalAdminStatusChanged)) {
                *result = 4;
            }
        }
    }
}

const QMetaObject KGameNetwork::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KGameNetwork.data,
      qt_meta_data_KGameNetwork,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KGameNetwork::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KGameNetwork.stringdata))
        return static_cast<void*>(const_cast< KGameNetwork*>(this));
    return QObject::qt_metacast(_clname);
}

int KGameNetwork::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void KGameNetwork::signalNetworkErrorMessage(int _t1, QString _t2)
{
    void *_a[] = { Q_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 KGameNetwork::signalConnectionBroken()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void KGameNetwork::signalClientConnected(quint32 _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KGameNetwork::signalClientDisconnected(quint32 _t1, bool _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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