/****************************************************************************
** Meta object code from reading C++ file 'multisegkiodatasource.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/multisegkiodatasource.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'multisegkiodatasource.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_MultiSegKioDataSource_t {
    QByteArrayData data[23];
    char stringdata0[289];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MultiSegKioDataSource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MultiSegKioDataSource_t qt_meta_stringdata_MultiSegKioDataSource = {
    {
QT_MOC_LITERAL(0, 0, 21), // "MultiSegKioDataSource"
QT_MOC_LITERAL(1, 22, 9), // "slotSpeed"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 5), // "speed"
QT_MOC_LITERAL(4, 39, 19), // "slotFinishedSegment"
QT_MOC_LITERAL(5, 59, 8), // "Segment*"
QT_MOC_LITERAL(6, 68, 7), // "segment"
QT_MOC_LITERAL(7, 76, 10), // "segmentNum"
QT_MOC_LITERAL(8, 87, 18), // "connectionFinished"
QT_MOC_LITERAL(9, 106, 24), // "slotRestartBrokenSegment"
QT_MOC_LITERAL(10, 131, 9), // "slotError"
QT_MOC_LITERAL(11, 141, 9), // "errorText"
QT_MOC_LITERAL(12, 151, 18), // "Transfer::LogLevel"
QT_MOC_LITERAL(13, 170, 8), // "logLevel"
QT_MOC_LITERAL(14, 179, 13), // "slotTotalSize"
QT_MOC_LITERAL(15, 193, 15), // "KIO::filesize_t"
QT_MOC_LITERAL(16, 209, 4), // "size"
QT_MOC_LITERAL(17, 214, 14), // "QPair<int,int>"
QT_MOC_LITERAL(18, 229, 5), // "range"
QT_MOC_LITERAL(19, 235, 13), // "slotCanResume"
QT_MOC_LITERAL(20, 249, 20), // "slotFinishedDownload"
QT_MOC_LITERAL(21, 270, 14), // "slotUrlChanged"
QT_MOC_LITERAL(22, 285, 3) // "url"

    },
    "MultiSegKioDataSource\0slotSpeed\0\0speed\0"
    "slotFinishedSegment\0Segment*\0segment\0"
    "segmentNum\0connectionFinished\0"
    "slotRestartBrokenSegment\0slotError\0"
    "errorText\0Transfer::LogLevel\0logLevel\0"
    "slotTotalSize\0KIO::filesize_t\0size\0"
    "QPair<int,int>\0range\0slotCanResume\0"
    "slotFinishedDownload\0slotUrlChanged\0"
    "url"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MultiSegKioDataSource[] = {

 // 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,    1,   59,    2, 0x08 /* Private */,
       4,    3,   62,    2, 0x08 /* Private */,
       9,    0,   69,    2, 0x08 /* Private */,
      10,    3,   70,    2, 0x08 /* Private */,
      14,    2,   77,    2, 0x08 /* Private */,
      14,    1,   82,    2, 0x28 /* Private | MethodCloned */,
      19,    0,   85,    2, 0x08 /* Private */,
      20,    1,   86,    2, 0x08 /* Private */,
      21,    1,   89,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::ULong,    3,
    QMetaType::Void, 0x80000000 | 5, QMetaType::Int, QMetaType::Bool,    6,    7,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5, QMetaType::QString, 0x80000000 | 12,    6,   11,   13,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17,   16,   18,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QUrl,   22,

       0        // eod
};

void MultiSegKioDataSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MultiSegKioDataSource *_t = static_cast<MultiSegKioDataSource *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotSpeed((*reinterpret_cast< ulong(*)>(_a[1]))); break;
        case 1: _t->slotFinishedSegment((*reinterpret_cast< Segment*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 2: _t->slotRestartBrokenSegment(); break;
        case 3: _t->slotError((*reinterpret_cast< Segment*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< Transfer::LogLevel(*)>(_a[3]))); break;
        case 4: _t->slotTotalSize((*reinterpret_cast< KIO::filesize_t(*)>(_a[1])),(*reinterpret_cast< const QPair<int,int>(*)>(_a[2]))); break;
        case 5: _t->slotTotalSize((*reinterpret_cast< KIO::filesize_t(*)>(_a[1]))); break;
        case 6: _t->slotCanResume(); break;
        case 7: _t->slotFinishedDownload((*reinterpret_cast< KIO::filesize_t(*)>(_a[1]))); break;
        case 8: _t->slotUrlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject MultiSegKioDataSource::staticMetaObject = {
    { &TransferDataSource::staticMetaObject, qt_meta_stringdata_MultiSegKioDataSource.data,
      qt_meta_data_MultiSegKioDataSource,  qt_static_metacall, nullptr, nullptr}
};


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

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

int MultiSegKioDataSource::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TransferDataSource::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
