/****************************************************************************
** Meta object code from reading C++ file 'enginioqmlclient_p.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_plugin/enginioqmlclient_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'enginioqmlclient_p.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_EnginioQmlClient_t {
    QByteArrayData data[21];
    char stringdata0[236];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EnginioQmlClient_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EnginioQmlClient_t qt_meta_stringdata_EnginioQmlClient = {
    {
QT_MOC_LITERAL(0, 0, 16), // "EnginioQmlClient"
QT_MOC_LITERAL(1, 17, 20), // "sessionAuthenticated"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 8), // "QJSValue"
QT_MOC_LITERAL(4, 48, 5), // "reply"
QT_MOC_LITERAL(5, 54, 26), // "sessionAuthenticationError"
QT_MOC_LITERAL(6, 81, 17), // "sessionTerminated"
QT_MOC_LITERAL(7, 99, 8), // "finished"
QT_MOC_LITERAL(8, 108, 5), // "error"
QT_MOC_LITERAL(9, 114, 14), // "fullTextSearch"
QT_MOC_LITERAL(10, 129, 16), // "EnginioQmlReply*"
QT_MOC_LITERAL(11, 146, 5), // "query"
QT_MOC_LITERAL(12, 152, 18), // "Enginio::Operation"
QT_MOC_LITERAL(13, 171, 9), // "operation"
QT_MOC_LITERAL(14, 181, 6), // "create"
QT_MOC_LITERAL(15, 188, 6), // "object"
QT_MOC_LITERAL(16, 195, 6), // "update"
QT_MOC_LITERAL(17, 202, 6), // "remove"
QT_MOC_LITERAL(18, 209, 11), // "downloadUrl"
QT_MOC_LITERAL(19, 221, 10), // "uploadFile"
QT_MOC_LITERAL(20, 232, 3) // "url"

    },
    "EnginioQmlClient\0sessionAuthenticated\0"
    "\0QJSValue\0reply\0sessionAuthenticationError\0"
    "sessionTerminated\0finished\0error\0"
    "fullTextSearch\0EnginioQmlReply*\0query\0"
    "Enginio::Operation\0operation\0create\0"
    "object\0update\0remove\0downloadUrl\0"
    "uploadFile\0url"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EnginioQmlClient[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,
       5,    1,   97,    2, 0x06 /* Public */,
       6,    0,  100,    2, 0x06 /* Public */,
       7,    1,  101,    2, 0x06 /* Public */,
       8,    1,  104,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       9,    1,  107,    2, 0x02 /* Public */,
      11,    2,  110,    2, 0x02 /* Public */,
      11,    1,  115,    2, 0x22 /* Public | MethodCloned */,
      14,    2,  118,    2, 0x02 /* Public */,
      14,    1,  123,    2, 0x22 /* Public | MethodCloned */,
      16,    2,  126,    2, 0x02 /* Public */,
      16,    1,  131,    2, 0x22 /* Public | MethodCloned */,
      17,    2,  134,    2, 0x02 /* Public */,
      17,    1,  139,    2, 0x22 /* Public | MethodCloned */,
      18,    1,  142,    2, 0x02 /* Public */,
      19,    2,  145,    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 | 10, 0x80000000 | 3,   11,
    0x80000000 | 10, 0x80000000 | 3, 0x80000000 | 12,   11,   13,
    0x80000000 | 10, 0x80000000 | 3,   11,
    0x80000000 | 10, 0x80000000 | 3, 0x80000000 | 12,   15,   13,
    0x80000000 | 10, 0x80000000 | 3,   15,
    0x80000000 | 10, 0x80000000 | 3, 0x80000000 | 12,   15,   13,
    0x80000000 | 10, 0x80000000 | 3,   15,
    0x80000000 | 10, 0x80000000 | 3, 0x80000000 | 12,   15,   13,
    0x80000000 | 10, 0x80000000 | 3,   15,
    0x80000000 | 10, 0x80000000 | 3,   15,
    0x80000000 | 10, 0x80000000 | 3, QMetaType::QUrl,   15,   20,

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

 // enum data: key, value

       0        // eod
};

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

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

QT_INIT_METAOBJECT const QMetaObject EnginioQmlClient::staticMetaObject = { {
    &EnginioClientConnection::staticMetaObject,
    qt_meta_stringdata_EnginioQmlClient.data,
    qt_meta_data_EnginioQmlClient,
    qt_static_metacall,
    qt_meta_extradata_EnginioQmlClient,
    nullptr
} };


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

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

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

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

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

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

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

// SIGNAL 4
void EnginioQmlClient::error(const QJSValue & _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
