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

#include <memory>
#include "../../../../git/src/enginio_client/enginioclient.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'enginioclient.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.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_EnginioClient_t {
    QByteArrayData data[25];
    char stringdata0[276];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EnginioClient_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EnginioClient_t qt_meta_stringdata_EnginioClient = {
    {
QT_MOC_LITERAL(0, 0, 13), // "EnginioClient"
QT_MOC_LITERAL(1, 14, 20), // "sessionAuthenticated"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 13), // "EnginioReply*"
QT_MOC_LITERAL(4, 50, 5), // "reply"
QT_MOC_LITERAL(5, 56, 26), // "sessionAuthenticationError"
QT_MOC_LITERAL(6, 83, 17), // "sessionTerminated"
QT_MOC_LITERAL(7, 101, 8), // "finished"
QT_MOC_LITERAL(8, 110, 5), // "error"
QT_MOC_LITERAL(9, 116, 13), // "customRequest"
QT_MOC_LITERAL(10, 130, 3), // "url"
QT_MOC_LITERAL(11, 134, 13), // "httpOperation"
QT_MOC_LITERAL(12, 148, 4), // "data"
QT_MOC_LITERAL(13, 153, 14), // "fullTextSearch"
QT_MOC_LITERAL(14, 168, 5), // "query"
QT_MOC_LITERAL(15, 174, 18), // "Enginio::Operation"
QT_MOC_LITERAL(16, 193, 9), // "operation"
QT_MOC_LITERAL(17, 203, 6), // "create"
QT_MOC_LITERAL(18, 210, 6), // "object"
QT_MOC_LITERAL(19, 217, 6), // "update"
QT_MOC_LITERAL(20, 224, 6), // "remove"
QT_MOC_LITERAL(21, 231, 10), // "uploadFile"
QT_MOC_LITERAL(22, 242, 16), // "associatedObject"
QT_MOC_LITERAL(23, 259, 4), // "file"
QT_MOC_LITERAL(24, 264, 11) // "downloadUrl"

    },
    "EnginioClient\0sessionAuthenticated\0\0"
    "EnginioReply*\0reply\0sessionAuthenticationError\0"
    "sessionTerminated\0finished\0error\0"
    "customRequest\0url\0httpOperation\0data\0"
    "fullTextSearch\0query\0Enginio::Operation\0"
    "operation\0create\0object\0update\0remove\0"
    "uploadFile\0associatedObject\0file\0"
    "downloadUrl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EnginioClient[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  104,    2, 0x06 /* Public */,
       5,    1,  107,    2, 0x06 /* Public */,
       6,    0,  110,    2, 0x06 /* Public */,
       7,    1,  111,    2, 0x06 /* Public */,
       8,    1,  114,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       9,    3,  117,    2, 0x02 /* Public */,
       9,    2,  124,    2, 0x22 /* Public | MethodCloned */,
      13,    1,  129,    2, 0x02 /* Public */,
      14,    2,  132,    2, 0x02 /* Public */,
      14,    1,  137,    2, 0x22 /* Public | MethodCloned */,
      17,    2,  140,    2, 0x02 /* Public */,
      17,    1,  145,    2, 0x22 /* Public | MethodCloned */,
      19,    2,  148,    2, 0x02 /* Public */,
      19,    1,  153,    2, 0x22 /* Public | MethodCloned */,
      20,    2,  156,    2, 0x02 /* Public */,
      20,    1,  161,    2, 0x22 /* Public | MethodCloned */,
      21,    2,  164,    2, 0x02 /* Public */,
      24,    1,  169,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,

 // methods: parameters
    0x80000000 | 3, QMetaType::QUrl, QMetaType::QByteArray, QMetaType::QJsonObject,   10,   11,   12,
    0x80000000 | 3, QMetaType::QUrl, QMetaType::QByteArray,   10,   11,
    0x80000000 | 3, QMetaType::QJsonObject,   14,
    0x80000000 | 3, QMetaType::QJsonObject, 0x80000000 | 15,   14,   16,
    0x80000000 | 3, QMetaType::QJsonObject,   14,
    0x80000000 | 3, QMetaType::QJsonObject, 0x80000000 | 15,   18,   16,
    0x80000000 | 3, QMetaType::QJsonObject,   18,
    0x80000000 | 3, QMetaType::QJsonObject, 0x80000000 | 15,   18,   16,
    0x80000000 | 3, QMetaType::QJsonObject,   18,
    0x80000000 | 3, QMetaType::QJsonObject, 0x80000000 | 15,   18,   16,
    0x80000000 | 3, QMetaType::QJsonObject,   18,
    0x80000000 | 3, QMetaType::QJsonObject, QMetaType::QUrl,   22,   23,
    0x80000000 | 3, QMetaType::QJsonObject,   18,

 // enums: name, alias, flags, count, data

 // enum data: key, value

       0        // eod
};

void EnginioClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EnginioClient *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sessionAuthenticated((*reinterpret_cast< EnginioReply*(*)>(_a[1]))); break;
        case 1: _t->sessionAuthenticationError((*reinterpret_cast< EnginioReply*(*)>(_a[1]))); break;
        case 2: _t->sessionTerminated(); break;
        case 3: _t->finished((*reinterpret_cast< EnginioReply*(*)>(_a[1]))); break;
        case 4: _t->error((*reinterpret_cast< EnginioReply*(*)>(_a[1]))); break;
        case 5: { EnginioReply* _r = _t->customRequest((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< const QJsonObject(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 6: { EnginioReply* _r = _t->customRequest((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 7: { EnginioReply* _r = _t->fullTextSearch((*reinterpret_cast< const QJsonObject(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 8: { EnginioReply* _r = _t->query((*reinterpret_cast< const QJsonObject(*)>(_a[1])),(*reinterpret_cast< const Enginio::Operation(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 9: { EnginioReply* _r = _t->query((*reinterpret_cast< const QJsonObject(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 10: { EnginioReply* _r = _t->create((*reinterpret_cast< const QJsonObject(*)>(_a[1])),(*reinterpret_cast< const Enginio::Operation(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 11: { EnginioReply* _r = _t->create((*reinterpret_cast< const QJsonObject(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 12: { EnginioReply* _r = _t->update((*reinterpret_cast< const QJsonObject(*)>(_a[1])),(*reinterpret_cast< const Enginio::Operation(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 13: { EnginioReply* _r = _t->update((*reinterpret_cast< const QJsonObject(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 14: { EnginioReply* _r = _t->remove((*reinterpret_cast< const QJsonObject(*)>(_a[1])),(*reinterpret_cast< const Enginio::Operation(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 15: { EnginioReply* _r = _t->remove((*reinterpret_cast< const QJsonObject(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 16: { EnginioReply* _r = _t->uploadFile((*reinterpret_cast< const QJsonObject(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        case 17: { EnginioReply* _r = _t->downloadUrl((*reinterpret_cast< const QJsonObject(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< EnginioReply**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Enginio::Operation >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Enginio::Operation >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Enginio::Operation >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Enginio::Operation >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (EnginioClient::*)(EnginioReply * ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EnginioClient::sessionAuthenticated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (EnginioClient::*)(EnginioReply * ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EnginioClient::sessionAuthenticationError)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (EnginioClient::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EnginioClient::sessionTerminated)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (EnginioClient::*)(EnginioReply * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EnginioClient::finished)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (EnginioClient::*)(EnginioReply * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EnginioClient::error)) {
                *result = 4;
                return;
            }
        }
    }
}

static const QMetaObject * const qt_meta_extradata_EnginioClient[] = {
        &Enginio::staticMetaObject,
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject EnginioClient::staticMetaObject = { {
    &EnginioClientConnection::staticMetaObject,
    qt_meta_stringdata_EnginioClient.data,
    qt_meta_data_EnginioClient,
    qt_static_metacall,
    qt_meta_extradata_EnginioClient,
    nullptr
} };


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

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

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

// SIGNAL 0
void EnginioClient::sessionAuthenticated(EnginioReply * _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< EnginioClient *>(this), &staticMetaObject, 0, _a);
}

// SIGNAL 1
void EnginioClient::sessionAuthenticationError(EnginioReply * _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< EnginioClient *>(this), &staticMetaObject, 1, _a);
}

// SIGNAL 2
void EnginioClient::sessionTerminated()const
{
    QMetaObject::activate(const_cast< EnginioClient *>(this), &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void EnginioClient::finished(EnginioReply * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void EnginioClient::error(EnginioReply * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
