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

#include "fw_client.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fw_client.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.7.0. 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_FWClient_t {
    QByteArrayData data[16];
    char stringdata0[166];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FWClient_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FWClient_t qt_meta_stringdata_FWClient = {
    {
QT_MOC_LITERAL(0, 0, 8), // "FWClient"
QT_MOC_LITERAL(1, 9, 13), // "connectResult"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 12), // "util::Status"
QT_MOC_LITERAL(4, 37, 6), // "result"
QT_MOC_LITERAL(5, 44, 15), // "getConfigResult"
QT_MOC_LITERAL(6, 60, 6), // "config"
QT_MOC_LITERAL(7, 67, 14), // "wifiScanResult"
QT_MOC_LITERAL(8, 82, 8), // "networks"
QT_MOC_LITERAL(9, 91, 17), // "wifiStatusChanged"
QT_MOC_LITERAL(10, 109, 10), // "WifiStatus"
QT_MOC_LITERAL(11, 120, 2), // "ws"
QT_MOC_LITERAL(12, 123, 12), // "clubbyStatus"
QT_MOC_LITERAL(13, 136, 6), // "status"
QT_MOC_LITERAL(14, 143, 13), // "portReadyRead"
QT_MOC_LITERAL(15, 157, 8) // "sendMore"

    },
    "FWClient\0connectResult\0\0util::Status\0"
    "result\0getConfigResult\0config\0"
    "wifiScanResult\0networks\0wifiStatusChanged\0"
    "WifiStatus\0ws\0clubbyStatus\0status\0"
    "portReadyRead\0sendMore"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FWClient[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,
       5,    1,   52,    2, 0x06 /* Public */,
       7,    1,   55,    2, 0x06 /* Public */,
       9,    1,   58,    2, 0x06 /* Public */,
      12,    1,   61,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,   64,    2, 0x08 /* Private */,
      15,    0,   65,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QJsonObject,    6,
    QMetaType::Void, QMetaType::QStringList,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::Int,   13,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void FWClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FWClient *_t = static_cast<FWClient *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->connectResult((*reinterpret_cast< util::Status(*)>(_a[1]))); break;
        case 1: _t->getConfigResult((*reinterpret_cast< QJsonObject(*)>(_a[1]))); break;
        case 2: _t->wifiScanResult((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
        case 3: _t->wifiStatusChanged((*reinterpret_cast< WifiStatus(*)>(_a[1]))); break;
        case 4: _t->clubbyStatus((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->portReadyRead(); break;
        case 6: _t->sendMore(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FWClient::*_t)(util::Status );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FWClient::connectResult)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FWClient::*_t)(QJsonObject );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FWClient::getConfigResult)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (FWClient::*_t)(QStringList );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FWClient::wifiScanResult)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (FWClient::*_t)(WifiStatus );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FWClient::wifiStatusChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (FWClient::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FWClient::clubbyStatus)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject FWClient::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_FWClient.data,
      qt_meta_data_FWClient,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

// SIGNAL 1
void FWClient::getConfigResult(QJsonObject _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void FWClient::wifiStatusChanged(WifiStatus _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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