/****************************************************************************
** Meta object code from reading C++ file 'metalinkhttp.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/kget-17.12.3/transfer-plugins/metalink/metalinkhttp.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'metalinkhttp.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_MetalinkHttp_t {
    QByteArrayData data[22];
    char stringdata0[239];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MetalinkHttp_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MetalinkHttp_t qt_meta_stringdata_MetalinkHttp = {
    {
QT_MOC_LITERAL(0, 0, 12), // "MetalinkHttp"
QT_MOC_LITERAL(1, 13, 5), // "start"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 4), // "save"
QT_MOC_LITERAL(4, 25, 11), // "QDomElement"
QT_MOC_LITERAL(5, 37, 7), // "element"
QT_MOC_LITERAL(6, 45, 4), // "load"
QT_MOC_LITERAL(7, 50, 18), // "const QDomElement*"
QT_MOC_LITERAL(8, 69, 6), // "deinit"
QT_MOC_LITERAL(9, 76, 23), // "Transfer::DeleteOptions"
QT_MOC_LITERAL(10, 100, 7), // "options"
QT_MOC_LITERAL(11, 108, 21), // "slotSignatureVerified"
QT_MOC_LITERAL(12, 130, 16), // "metalinkHttpInit"
QT_MOC_LITERAL(13, 147, 12), // "setSignature"
QT_MOC_LITERAL(14, 160, 5), // "QUrl&"
QT_MOC_LITERAL(15, 166, 4), // "dest"
QT_MOC_LITERAL(16, 171, 11), // "QByteArray&"
QT_MOC_LITERAL(17, 183, 4), // "data"
QT_MOC_LITERAL(18, 188, 18), // "DataSourceFactory*"
QT_MOC_LITERAL(19, 207, 11), // "dataFactory"
QT_MOC_LITERAL(20, 219, 10), // "setDigests"
QT_MOC_LITERAL(21, 230, 8) // "setLinks"

    },
    "MetalinkHttp\0start\0\0save\0QDomElement\0"
    "element\0load\0const QDomElement*\0deinit\0"
    "Transfer::DeleteOptions\0options\0"
    "slotSignatureVerified\0metalinkHttpInit\0"
    "setSignature\0QUrl&\0dest\0QByteArray&\0"
    "data\0DataSourceFactory*\0dataFactory\0"
    "setDigests\0setLinks"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MetalinkHttp[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x0a /* Public */,
       3,    1,   60,    2, 0x0a /* Public */,
       6,    1,   63,    2, 0x0a /* Public */,
       8,    1,   66,    2, 0x0a /* Public */,
      11,    0,   69,    2, 0x0a /* Public */,
      12,    0,   70,    2, 0x08 /* Private */,
      13,    3,   71,    2, 0x08 /* Private */,
      20,    0,   78,    2, 0x08 /* Private */,
      21,    0,   79,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 7,    5,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void, 0x80000000 | 14, 0x80000000 | 16, 0x80000000 | 18,   15,   17,   19,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MetalinkHttp::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MetalinkHttp *_t = static_cast<MetalinkHttp *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->start(); break;
        case 1: _t->save((*reinterpret_cast< const QDomElement(*)>(_a[1]))); break;
        case 2: _t->load((*reinterpret_cast< const QDomElement*(*)>(_a[1]))); break;
        case 3: _t->deinit((*reinterpret_cast< Transfer::DeleteOptions(*)>(_a[1]))); break;
        case 4: _t->slotSignatureVerified(); break;
        case 5: { bool _r = _t->metalinkHttpInit();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->setSignature((*reinterpret_cast< QUrl(*)>(_a[1])),(*reinterpret_cast< QByteArray(*)>(_a[2])),(*reinterpret_cast< DataSourceFactory*(*)>(_a[3]))); break;
        case 7: _t->setDigests(); break;
        case 8: _t->setLinks(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DataSourceFactory* >(); break;
            }
            break;
        }
    }
}

const QMetaObject MetalinkHttp::staticMetaObject = {
    { &AbstractMetalink::staticMetaObject, qt_meta_stringdata_MetalinkHttp.data,
      qt_meta_data_MetalinkHttp,  qt_static_metacall, nullptr, nullptr}
};


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

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

int MetalinkHttp::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractMetalink::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;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
