/****************************************************************************
** Meta object code from reading C++ file 'DownloadQueueSet.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../src/marble-17.08.3/src/lib/marble/DownloadQueueSet.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'DownloadQueueSet.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_Marble__DownloadQueueSet_t {
    QByteArrayData data[21];
    char stringdata0[231];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__DownloadQueueSet_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__DownloadQueueSet_t qt_meta_stringdata_Marble__DownloadQueueSet = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Marble::DownloadQueueSet"
QT_MOC_LITERAL(1, 25, 8), // "jobAdded"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 10), // "jobRemoved"
QT_MOC_LITERAL(4, 46, 8), // "jobRetry"
QT_MOC_LITERAL(5, 55, 11), // "jobFinished"
QT_MOC_LITERAL(6, 67, 4), // "data"
QT_MOC_LITERAL(7, 72, 19), // "destinationFileName"
QT_MOC_LITERAL(8, 92, 2), // "id"
QT_MOC_LITERAL(9, 95, 13), // "jobRedirected"
QT_MOC_LITERAL(10, 109, 12), // "newSourceUrl"
QT_MOC_LITERAL(11, 122, 13), // "DownloadUsage"
QT_MOC_LITERAL(12, 136, 15), // "progressChanged"
QT_MOC_LITERAL(13, 152, 6), // "active"
QT_MOC_LITERAL(14, 159, 6), // "queued"
QT_MOC_LITERAL(15, 166, 9), // "finishJob"
QT_MOC_LITERAL(16, 176, 8), // "HttpJob*"
QT_MOC_LITERAL(17, 185, 3), // "job"
QT_MOC_LITERAL(18, 189, 11), // "redirectJob"
QT_MOC_LITERAL(19, 201, 19), // "retryOrBlacklistJob"
QT_MOC_LITERAL(20, 221, 9) // "errorCode"

    },
    "Marble::DownloadQueueSet\0jobAdded\0\0"
    "jobRemoved\0jobRetry\0jobFinished\0data\0"
    "destinationFileName\0id\0jobRedirected\0"
    "newSourceUrl\0DownloadUsage\0progressChanged\0"
    "active\0queued\0finishJob\0HttpJob*\0job\0"
    "redirectJob\0retryOrBlacklistJob\0"
    "errorCode"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__DownloadQueueSet[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    3,   62,    2, 0x06 /* Public */,
       9,    4,   69,    2, 0x06 /* Public */,
      12,    2,   78,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    2,   83,    2, 0x08 /* Private */,
      18,    2,   88,    2, 0x08 /* Private */,
      19,    2,   93,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::QString, QMetaType::QString,    6,    7,    8,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QString, QMetaType::QString, 0x80000000 | 11,   10,    7,    8,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   13,   14,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 16, QMetaType::QByteArray,   17,    6,
    QMetaType::Void, 0x80000000 | 16, QMetaType::QUrl,   17,   10,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Int,   17,   20,

       0        // eod
};

void Marble::DownloadQueueSet::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DownloadQueueSet *_t = static_cast<DownloadQueueSet *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->jobAdded(); break;
        case 1: _t->jobRemoved(); break;
        case 2: _t->jobRetry(); break;
        case 3: _t->jobFinished((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 4: _t->jobRedirected((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< DownloadUsage(*)>(_a[4]))); break;
        case 5: _t->progressChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->finishJob((*reinterpret_cast< HttpJob*(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break;
        case 7: _t->redirectJob((*reinterpret_cast< HttpJob*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 8: _t->retryOrBlacklistJob((*reinterpret_cast< HttpJob*(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (DownloadQueueSet::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DownloadQueueSet::jobAdded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DownloadQueueSet::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DownloadQueueSet::jobRemoved)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (DownloadQueueSet::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DownloadQueueSet::jobRetry)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (DownloadQueueSet::*_t)(const QByteArray & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DownloadQueueSet::jobFinished)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (DownloadQueueSet::*_t)(const QUrl & , const QString & , const QString & , DownloadUsage );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DownloadQueueSet::jobRedirected)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (DownloadQueueSet::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DownloadQueueSet::progressChanged)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject Marble::DownloadQueueSet::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__DownloadQueueSet.data,
      qt_meta_data_Marble__DownloadQueueSet,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Marble::DownloadQueueSet::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 < 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;
}

// SIGNAL 0
void Marble::DownloadQueueSet::jobAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Marble::DownloadQueueSet::jobRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Marble::DownloadQueueSet::jobRetry()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Marble::DownloadQueueSet::jobFinished(const QByteArray & _t1, const QString & _t2, const QString & _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 Marble::DownloadQueueSet::jobRedirected(const QUrl & _t1, const QString & _t2, const QString & _t3, DownloadUsage _t4)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Marble::DownloadQueueSet::progressChanged(int _t1, 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, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
