/****************************************************************************
** Meta object code from reading C++ file 'transfermultisegkio.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/multisegmentkio/transfermultisegkio.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'transfermultisegkio.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_TransferMultiSegKio_t {
    QByteArrayData data[30];
    char stringdata0[338];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TransferMultiSegKio_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TransferMultiSegKio_t qt_meta_stringdata_TransferMultiSegKio = {
    {
QT_MOC_LITERAL(0, 0, 19), // "TransferMultiSegKio"
QT_MOC_LITERAL(1, 20, 17), // "setNewDestination"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 14), // "newDestination"
QT_MOC_LITERAL(4, 54, 5), // "start"
QT_MOC_LITERAL(5, 60, 4), // "stop"
QT_MOC_LITERAL(6, 65, 4), // "save"
QT_MOC_LITERAL(7, 70, 11), // "QDomElement"
QT_MOC_LITERAL(8, 82, 7), // "element"
QT_MOC_LITERAL(9, 90, 4), // "load"
QT_MOC_LITERAL(10, 95, 18), // "const QDomElement*"
QT_MOC_LITERAL(11, 114, 1), // "e"
QT_MOC_LITERAL(12, 116, 17), // "slotChecksumFound"
QT_MOC_LITERAL(13, 134, 4), // "type"
QT_MOC_LITERAL(14, 139, 8), // "checksum"
QT_MOC_LITERAL(15, 148, 27), // "slotDataSourceFactoryChange"
QT_MOC_LITERAL(16, 176, 22), // "Transfer::ChangesFlags"
QT_MOC_LITERAL(17, 199, 6), // "change"
QT_MOC_LITERAL(18, 206, 22), // "slotUpdateCapabilities"
QT_MOC_LITERAL(19, 229, 14), // "slotSearchUrls"
QT_MOC_LITERAL(20, 244, 11), // "QList<QUrl>"
QT_MOC_LITERAL(21, 256, 4), // "urls"
QT_MOC_LITERAL(22, 261, 10), // "slotRename"
QT_MOC_LITERAL(23, 272, 6), // "oldUrl"
QT_MOC_LITERAL(24, 279, 6), // "newUrl"
QT_MOC_LITERAL(25, 286, 12), // "slotVerified"
QT_MOC_LITERAL(26, 299, 10), // "isVerified"
QT_MOC_LITERAL(27, 310, 14), // "slotStatResult"
QT_MOC_LITERAL(28, 325, 5), // "KJob*"
QT_MOC_LITERAL(29, 331, 6) // "kioJob"

    },
    "TransferMultiSegKio\0setNewDestination\0"
    "\0newDestination\0start\0stop\0save\0"
    "QDomElement\0element\0load\0const QDomElement*\0"
    "e\0slotChecksumFound\0type\0checksum\0"
    "slotDataSourceFactoryChange\0"
    "Transfer::ChangesFlags\0change\0"
    "slotUpdateCapabilities\0slotSearchUrls\0"
    "QList<QUrl>\0urls\0slotRename\0oldUrl\0"
    "newUrl\0slotVerified\0isVerified\0"
    "slotStatResult\0KJob*\0kioJob"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TransferMultiSegKio[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x0a /* Public */,
       4,    0,   77,    2, 0x0a /* Public */,
       5,    0,   78,    2, 0x0a /* Public */,
       6,    1,   79,    2, 0x0a /* Public */,
       9,    1,   82,    2, 0x0a /* Public */,
      12,    2,   85,    2, 0x0a /* Public */,
      15,    1,   90,    2, 0x08 /* Private */,
      18,    0,   93,    2, 0x08 /* Private */,
      19,    1,   94,    2, 0x08 /* Private */,
      22,    2,   97,    2, 0x08 /* Private */,
      25,    1,  102,    2, 0x08 /* Private */,
      27,    1,  105,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Bool, QMetaType::QUrl,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   13,   14,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QUrl,   23,   24,
    QMetaType::Void, QMetaType::Bool,   26,
    QMetaType::Void, 0x80000000 | 28,   29,

       0        // eod
};

void TransferMultiSegKio::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TransferMultiSegKio *_t = static_cast<TransferMultiSegKio *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { bool _r = _t->setNewDestination((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->start(); break;
        case 2: _t->stop(); break;
        case 3: _t->save((*reinterpret_cast< const QDomElement(*)>(_a[1]))); break;
        case 4: _t->load((*reinterpret_cast< const QDomElement*(*)>(_a[1]))); break;
        case 5: _t->slotChecksumFound((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 6: _t->slotDataSourceFactoryChange((*reinterpret_cast< Transfer::ChangesFlags(*)>(_a[1]))); break;
        case 7: _t->slotUpdateCapabilities(); break;
        case 8: _t->slotSearchUrls((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break;
        case 9: _t->slotRename((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 10: _t->slotVerified((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->slotStatResult((*reinterpret_cast< KJob*(*)>(_a[1]))); 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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); 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< KJob* >(); break;
            }
            break;
        }
    }
}

const QMetaObject TransferMultiSegKio::staticMetaObject = {
    { &Transfer::staticMetaObject, qt_meta_stringdata_TransferMultiSegKio.data,
      qt_meta_data_TransferMultiSegKio,  qt_static_metacall, nullptr, nullptr}
};


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

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

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