/****************************************************************************
** Meta object code from reading C++ file 'transferdatasource.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/core/transferdatasource.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'transferdatasource.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_TransferDataSource_t {
    QByteArrayData data[37];
    char stringdata0[423];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TransferDataSource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TransferDataSource_t qt_meta_stringdata_TransferDataSource = {
    {
QT_MOC_LITERAL(0, 0, 18), // "TransferDataSource"
QT_MOC_LITERAL(1, 19, 13), // "foundFileSize"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 19), // "TransferDataSource*"
QT_MOC_LITERAL(4, 54, 6), // "source"
QT_MOC_LITERAL(5, 61, 15), // "KIO::filesize_t"
QT_MOC_LITERAL(6, 77, 8), // "fileSize"
QT_MOC_LITERAL(7, 86, 14), // "QPair<int,int>"
QT_MOC_LITERAL(8, 101, 12), // "segmentRange"
QT_MOC_LITERAL(9, 114, 19), // "capabilitiesChanged"
QT_MOC_LITERAL(10, 134, 16), // "finishedDownload"
QT_MOC_LITERAL(11, 151, 4), // "data"
QT_MOC_LITERAL(12, 156, 17), // "KIO::fileoffset_t"
QT_MOC_LITERAL(13, 174, 6), // "offset"
QT_MOC_LITERAL(14, 181, 5), // "bool&"
QT_MOC_LITERAL(15, 187, 6), // "worked"
QT_MOC_LITERAL(16, 194, 11), // "QList<QUrl>"
QT_MOC_LITERAL(17, 206, 4), // "type"
QT_MOC_LITERAL(18, 211, 8), // "checksum"
QT_MOC_LITERAL(19, 220, 8), // "finished"
QT_MOC_LITERAL(20, 229, 15), // "finishedSegment"
QT_MOC_LITERAL(21, 245, 13), // "segmentNumber"
QT_MOC_LITERAL(22, 259, 18), // "connectionFinished"
QT_MOC_LITERAL(23, 278, 6), // "broken"
QT_MOC_LITERAL(24, 285, 25), // "TransferDataSource::Error"
QT_MOC_LITERAL(25, 311, 5), // "error"
QT_MOC_LITERAL(26, 317, 14), // "brokenSegments"
QT_MOC_LITERAL(27, 332, 5), // "speed"
QT_MOC_LITERAL(28, 338, 12), // "freeSegments"
QT_MOC_LITERAL(29, 351, 3), // "log"
QT_MOC_LITERAL(30, 355, 7), // "message"
QT_MOC_LITERAL(31, 363, 18), // "Transfer::LogLevel"
QT_MOC_LITERAL(32, 382, 8), // "logLevel"
QT_MOC_LITERAL(33, 391, 10), // "urlChanged"
QT_MOC_LITERAL(34, 402, 3), // "old"
QT_MOC_LITERAL(35, 406, 6), // "newUrl"
QT_MOC_LITERAL(36, 413, 9) // "slotSpeed"

    },
    "TransferDataSource\0foundFileSize\0\0"
    "TransferDataSource*\0source\0KIO::filesize_t\0"
    "fileSize\0QPair<int,int>\0segmentRange\0"
    "capabilitiesChanged\0finishedDownload\0"
    "data\0KIO::fileoffset_t\0offset\0bool&\0"
    "worked\0QList<QUrl>\0type\0checksum\0"
    "finished\0finishedSegment\0segmentNumber\0"
    "connectionFinished\0broken\0"
    "TransferDataSource::Error\0error\0"
    "brokenSegments\0speed\0freeSegments\0log\0"
    "message\0Transfer::LogLevel\0logLevel\0"
    "urlChanged\0old\0newUrl\0slotSpeed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TransferDataSource[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   94,    2, 0x06 /* Public */,
       9,    0,  101,    2, 0x06 /* Public */,
      10,    2,  102,    2, 0x06 /* Public */,
      11,    3,  107,    2, 0x06 /* Public */,
      11,    1,  114,    2, 0x06 /* Public */,
      11,    2,  117,    2, 0x06 /* Public */,
      19,    0,  122,    2, 0x06 /* Public */,
      20,    3,  123,    2, 0x06 /* Public */,
      20,    2,  130,    2, 0x26 /* Public | MethodCloned */,
      23,    2,  135,    2, 0x06 /* Public */,
      26,    2,  140,    2, 0x06 /* Public */,
      27,    1,  145,    2, 0x06 /* Public */,
      28,    2,  148,    2, 0x06 /* Public */,
      29,    2,  153,    2, 0x06 /* Public */,
      33,    2,  158,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      36,    1,  163,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7,    4,    6,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 0x80000000 | 14,   13,   11,   15,
    QMetaType::Void, 0x80000000 | 16,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   17,   18,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Bool,    4,   21,   22,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,   21,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 24,    4,   25,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 7,    4,    8,
    QMetaType::Void, QMetaType::ULong,   27,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 7,    4,    8,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 31,   30,   32,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QUrl,   34,   35,

 // slots: parameters
    QMetaType::Void, QMetaType::ULong,   27,

       0        // eod
};

void TransferDataSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TransferDataSource *_t = static_cast<TransferDataSource *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->foundFileSize((*reinterpret_cast< TransferDataSource*(*)>(_a[1])),(*reinterpret_cast< KIO::filesize_t(*)>(_a[2])),(*reinterpret_cast< const QPair<int,int>(*)>(_a[3]))); break;
        case 1: _t->capabilitiesChanged(); break;
        case 2: _t->finishedDownload((*reinterpret_cast< TransferDataSource*(*)>(_a[1])),(*reinterpret_cast< KIO::filesize_t(*)>(_a[2]))); break;
        case 3: _t->data((*reinterpret_cast< KIO::fileoffset_t(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 4: _t->data((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break;
        case 5: _t->data((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->finished(); break;
        case 7: _t->finishedSegment((*reinterpret_cast< TransferDataSource*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 8: _t->finishedSegment((*reinterpret_cast< TransferDataSource*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 9: _t->broken((*reinterpret_cast< TransferDataSource*(*)>(_a[1])),(*reinterpret_cast< TransferDataSource::Error(*)>(_a[2]))); break;
        case 10: _t->brokenSegments((*reinterpret_cast< TransferDataSource*(*)>(_a[1])),(*reinterpret_cast< QPair<int,int>(*)>(_a[2]))); break;
        case 11: _t->speed((*reinterpret_cast< ulong(*)>(_a[1]))); break;
        case 12: _t->freeSegments((*reinterpret_cast< TransferDataSource*(*)>(_a[1])),(*reinterpret_cast< QPair<int,int>(*)>(_a[2]))); break;
        case 13: _t->log((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< Transfer::LogLevel(*)>(_a[2]))); break;
        case 14: _t->urlChanged((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 15: _t->slotSpeed((*reinterpret_cast< ulong(*)>(_a[1]))); 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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferDataSource* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferDataSource* >(); break;
            }
            break;
        case 4:
            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 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferDataSource* >(); 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< TransferDataSource* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferDataSource* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferDataSource* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferDataSource* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TransferDataSource::*_t)(TransferDataSource * , KIO::filesize_t , const QPair<int,int> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::foundFileSize)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::capabilitiesChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(TransferDataSource * , KIO::filesize_t );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::finishedDownload)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(KIO::fileoffset_t , const QByteArray & , bool & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::data)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(const QList<QUrl> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::data)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(const QString , const QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::data)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::finished)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(TransferDataSource * , int , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::finishedSegment)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(TransferDataSource * , TransferDataSource::Error );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::broken)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(TransferDataSource * , QPair<int,int> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::brokenSegments)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(ulong );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::speed)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(TransferDataSource * , QPair<int,int> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::freeSegments)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(const QString & , Transfer::LogLevel );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::log)) {
                *result = 13;
                return;
            }
        }
        {
            typedef void (TransferDataSource::*_t)(const QUrl & , const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferDataSource::urlChanged)) {
                *result = 14;
                return;
            }
        }
    }
}

const QMetaObject TransferDataSource::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_TransferDataSource.data,
      qt_meta_data_TransferDataSource,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TransferDataSource::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    return _id;
}

// SIGNAL 0
void TransferDataSource::foundFileSize(TransferDataSource * _t1, KIO::filesize_t _t2, const QPair<int,int> & _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, 0, _a);
}

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

// SIGNAL 2
void TransferDataSource::finishedDownload(TransferDataSource * _t1, KIO::filesize_t _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void TransferDataSource::data(KIO::fileoffset_t _t1, const QByteArray & _t2, bool & _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, 3, _a);
}

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

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

// SIGNAL 6
void TransferDataSource::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void TransferDataSource::finishedSegment(TransferDataSource * _t1, int _t2, bool _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, 7, _a);
}

// SIGNAL 9
void TransferDataSource::broken(TransferDataSource * _t1, TransferDataSource::Error _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void TransferDataSource::brokenSegments(TransferDataSource * _t1, QPair<int,int> _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void TransferDataSource::speed(ulong _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void TransferDataSource::freeSegments(TransferDataSource * _t1, QPair<int,int> _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void TransferDataSource::log(const QString & _t1, Transfer::LogLevel _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}

// SIGNAL 14
void TransferDataSource::urlChanged(const QUrl & _t1, const QUrl & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 14, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
