/****************************************************************************
** Meta object code from reading C++ file 'RpcClient.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/transmission-2.93/qt/RpcClient.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'RpcClient.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_RpcClient_t {
    QByteArrayData data[23];
    char stringdata0[258];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_RpcClient_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_RpcClient_t qt_meta_stringdata_RpcClient = {
    {
QT_MOC_LITERAL(0, 0, 9), // "RpcClient"
QT_MOC_LITERAL(1, 10, 26), // "httpAuthenticationRequired"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 16), // "dataReadProgress"
QT_MOC_LITERAL(4, 55, 16), // "dataSendProgress"
QT_MOC_LITERAL(5, 72, 5), // "error"
QT_MOC_LITERAL(6, 78, 27), // "QNetworkReply::NetworkError"
QT_MOC_LITERAL(7, 106, 4), // "code"
QT_MOC_LITERAL(8, 111, 12), // "errorMessage"
QT_MOC_LITERAL(9, 124, 7), // "message"
QT_MOC_LITERAL(10, 132, 8), // "executed"
QT_MOC_LITERAL(11, 141, 7), // "int64_t"
QT_MOC_LITERAL(12, 149, 3), // "tag"
QT_MOC_LITERAL(13, 153, 6), // "result"
QT_MOC_LITERAL(14, 160, 11), // "tr_variant*"
QT_MOC_LITERAL(15, 172, 4), // "args"
QT_MOC_LITERAL(16, 177, 16), // "responseReceived"
QT_MOC_LITERAL(17, 194, 12), // "TrVariantPtr"
QT_MOC_LITERAL(18, 207, 4), // "json"
QT_MOC_LITERAL(19, 212, 10), // "onFinished"
QT_MOC_LITERAL(20, 223, 14), // "QNetworkReply*"
QT_MOC_LITERAL(21, 238, 5), // "reply"
QT_MOC_LITERAL(22, 244, 13) // "parseResponse"

    },
    "RpcClient\0httpAuthenticationRequired\0"
    "\0dataReadProgress\0dataSendProgress\0"
    "error\0QNetworkReply::NetworkError\0"
    "code\0errorMessage\0message\0executed\0"
    "int64_t\0tag\0result\0tr_variant*\0args\0"
    "responseReceived\0TrVariantPtr\0json\0"
    "onFinished\0QNetworkReply*\0reply\0"
    "parseResponse"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_RpcClient[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    1,   62,    2, 0x06 /* Public */,
       8,    1,   65,    2, 0x06 /* Public */,
      10,    3,   68,    2, 0x06 /* Public */,
      16,    1,   75,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    1,   78,    2, 0x08 /* Private */,
      22,    1,   81,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, 0x80000000 | 11, QMetaType::QString, 0x80000000 | 14,   12,   13,   15,
    QMetaType::Void, 0x80000000 | 17,   18,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, 0x80000000 | 17,   18,

       0        // eod
};

void RpcClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RpcClient *_t = static_cast<RpcClient *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->httpAuthenticationRequired(); break;
        case 1: _t->dataReadProgress(); break;
        case 2: _t->dataSendProgress(); break;
        case 3: _t->error((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break;
        case 4: _t->errorMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->executed((*reinterpret_cast< int64_t(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< tr_variant*(*)>(_a[3]))); break;
        case 6: _t->responseReceived((*reinterpret_cast< TrVariantPtr(*)>(_a[1]))); break;
        case 7: _t->onFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
        case 8: _t->parseResponse((*reinterpret_cast< TrVariantPtr(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QNetworkReply::NetworkError >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TrVariantPtr >(); 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< QNetworkReply* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TrVariantPtr >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (RpcClient::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RpcClient::httpAuthenticationRequired)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (RpcClient::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RpcClient::dataReadProgress)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (RpcClient::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RpcClient::dataSendProgress)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (RpcClient::*_t)(QNetworkReply::NetworkError );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RpcClient::error)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (RpcClient::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RpcClient::errorMessage)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (RpcClient::*_t)(int64_t , const QString & , tr_variant * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RpcClient::executed)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (RpcClient::*_t)(TrVariantPtr );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RpcClient::responseReceived)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject RpcClient::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_RpcClient.data,
      qt_meta_data_RpcClient,  qt_static_metacall, nullptr, nullptr}
};


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

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

int RpcClient::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void RpcClient::httpAuthenticationRequired()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void RpcClient::dataReadProgress()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void RpcClient::dataSendProgress()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void RpcClient::error(QNetworkReply::NetworkError _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void RpcClient::errorMessage(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void RpcClient::executed(int64_t _t1, const QString & _t2, tr_variant * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void RpcClient::responseReceived(TrVariantPtr _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
