/****************************************************************************
** Meta object code from reading C++ file 'transferKioFactory.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/kio/transferKioFactory.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'transferKioFactory.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_TransferKioFactory_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_TransferKioFactory_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TransferKioFactory_t qt_meta_stringdata_TransferKioFactory = {
    {
QT_MOC_LITERAL(0, 0, 18), // "TransferKioFactory"
QT_MOC_LITERAL(1, 19, 14), // "createTransfer"
QT_MOC_LITERAL(2, 34, 9), // "Transfer*"
QT_MOC_LITERAL(3, 44, 0), // ""
QT_MOC_LITERAL(4, 45, 6), // "srcUrl"
QT_MOC_LITERAL(5, 52, 7), // "destUrl"
QT_MOC_LITERAL(6, 60, 14), // "TransferGroup*"
QT_MOC_LITERAL(7, 75, 6), // "parent"
QT_MOC_LITERAL(8, 82, 10), // "Scheduler*"
QT_MOC_LITERAL(9, 93, 9), // "scheduler"
QT_MOC_LITERAL(10, 103, 18), // "const QDomElement*"
QT_MOC_LITERAL(11, 122, 1), // "e"
QT_MOC_LITERAL(12, 124, 11), // "displayName"
QT_MOC_LITERAL(13, 136, 11), // "isSupported"
QT_MOC_LITERAL(14, 148, 3), // "url"
QT_MOC_LITERAL(15, 152, 13) // "addsProtocols"

    },
    "TransferKioFactory\0createTransfer\0"
    "Transfer*\0\0srcUrl\0destUrl\0TransferGroup*\0"
    "parent\0Scheduler*\0scheduler\0"
    "const QDomElement*\0e\0displayName\0"
    "isSupported\0url\0addsProtocols"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TransferKioFactory[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    5,   39,    3, 0x0a /* Public */,
       1,    4,   50,    3, 0x2a /* Public | MethodCloned */,
      12,    0,   59,    3, 0x0a /* Public */,
      13,    1,   60,    3, 0x0a /* Public */,
      15,    0,   63,    3, 0x0a /* Public */,

 // slots: parameters
    0x80000000 | 2, QMetaType::QUrl, QMetaType::QUrl, 0x80000000 | 6, 0x80000000 | 8, 0x80000000 | 10,    4,    5,    7,    9,   11,
    0x80000000 | 2, QMetaType::QUrl, QMetaType::QUrl, 0x80000000 | 6, 0x80000000 | 8,    4,    5,    7,    9,
    QMetaType::QString,
    QMetaType::Bool, QMetaType::QUrl,   14,
    QMetaType::QStringList,

       0        // eod
};

void TransferKioFactory::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TransferKioFactory *_t = static_cast<TransferKioFactory *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { Transfer* _r = _t->createTransfer((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])),(*reinterpret_cast< TransferGroup*(*)>(_a[3])),(*reinterpret_cast< Scheduler*(*)>(_a[4])),(*reinterpret_cast< const QDomElement*(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< Transfer**>(_a[0]) = std::move(_r); }  break;
        case 1: { Transfer* _r = _t->createTransfer((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])),(*reinterpret_cast< TransferGroup*(*)>(_a[3])),(*reinterpret_cast< Scheduler*(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< Transfer**>(_a[0]) = std::move(_r); }  break;
        case 2: { QString _r = _t->displayName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 3: { bool _r = _t->isSupported((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 4: { QStringList _r = _t->addsProtocols();
            if (_a[0]) *reinterpret_cast< QStringList*>(_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 3:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Scheduler* >(); break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferGroup* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 3:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Scheduler* >(); break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferGroup* >(); break;
            }
            break;
        }
    }
}

const QMetaObject TransferKioFactory::staticMetaObject = {
    { &TransferFactory::staticMetaObject, qt_meta_stringdata_TransferKioFactory.data,
      qt_meta_data_TransferKioFactory,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TransferKioFactory::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TransferFactory::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
