/****************************************************************************
** Meta object code from reading C++ file 'listjob.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/kio-5.39.0/src/core/listjob.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'listjob.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_KIO__ListJob_t {
    QByteArrayData data[26];
    char stringdata0[270];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KIO__ListJob_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KIO__ListJob_t qt_meta_stringdata_KIO__ListJob = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KIO::ListJob"
QT_MOC_LITERAL(1, 13, 7), // "entries"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 9), // "KIO::Job*"
QT_MOC_LITERAL(4, 32, 3), // "job"
QT_MOC_LITERAL(5, 36, 17), // "KIO::UDSEntryList"
QT_MOC_LITERAL(6, 54, 4), // "list"
QT_MOC_LITERAL(7, 59, 8), // "subError"
QT_MOC_LITERAL(8, 68, 13), // "KIO::ListJob*"
QT_MOC_LITERAL(9, 82, 6), // "subJob"
QT_MOC_LITERAL(10, 89, 11), // "redirection"
QT_MOC_LITERAL(11, 101, 3), // "url"
QT_MOC_LITERAL(12, 105, 20), // "permanentRedirection"
QT_MOC_LITERAL(13, 126, 7), // "fromUrl"
QT_MOC_LITERAL(14, 134, 5), // "toUrl"
QT_MOC_LITERAL(15, 140, 12), // "slotFinished"
QT_MOC_LITERAL(16, 153, 12), // "slotMetaData"
QT_MOC_LITERAL(17, 166, 13), // "KIO::MetaData"
QT_MOC_LITERAL(18, 180, 9), // "_metaData"
QT_MOC_LITERAL(19, 190, 10), // "slotResult"
QT_MOC_LITERAL(20, 201, 5), // "KJob*"
QT_MOC_LITERAL(21, 207, 15), // "slotListEntries"
QT_MOC_LITERAL(22, 223, 15), // "slotRedirection"
QT_MOC_LITERAL(23, 239, 10), // "gotEntries"
QT_MOC_LITERAL(24, 250, 6), // "subjob"
QT_MOC_LITERAL(25, 257, 12) // "slotSubError"

    },
    "KIO::ListJob\0entries\0\0KIO::Job*\0job\0"
    "KIO::UDSEntryList\0list\0subError\0"
    "KIO::ListJob*\0subJob\0redirection\0url\0"
    "permanentRedirection\0fromUrl\0toUrl\0"
    "slotFinished\0slotMetaData\0KIO::MetaData\0"
    "_metaData\0slotResult\0KJob*\0slotListEntries\0"
    "slotRedirection\0gotEntries\0subjob\0"
    "slotSubError"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KIO__ListJob[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   69,    2, 0x06 /* Public */,
       7,    2,   74,    2, 0x06 /* Public */,
      10,    2,   79,    2, 0x06 /* Public */,
      12,    3,   84,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,   91,    2, 0x09 /* Protected */,
      16,    1,   92,    2, 0x09 /* Protected */,
      19,    1,   95,    2, 0x09 /* Protected */,
      21,    1,   98,    2, 0x08 /* Private */,
      22,    1,  101,    2, 0x08 /* Private */,
      23,    2,  104,    2, 0x08 /* Private */,
      25,    2,  109,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8,    4,    9,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QUrl,    4,   11,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QUrl, QMetaType::QUrl,    4,   13,   14,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, 0x80000000 | 20,    4,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::QUrl,   11,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,   24,    6,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8,    4,    9,

       0        // eod
};

void KIO::ListJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ListJob *_t = static_cast<ListJob *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->entries((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const KIO::UDSEntryList(*)>(_a[2]))); break;
        case 1: _t->subError((*reinterpret_cast< KIO::ListJob*(*)>(_a[1])),(*reinterpret_cast< KIO::ListJob*(*)>(_a[2]))); break;
        case 2: _t->redirection((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 3: _t->permanentRedirection((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])),(*reinterpret_cast< const QUrl(*)>(_a[3]))); break;
        case 4: _t->slotFinished(); break;
        case 5: _t->slotMetaData((*reinterpret_cast< const KIO::MetaData(*)>(_a[1]))); break;
        case 6: _t->slotResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 7: _t->d_func()->slotListEntries((*reinterpret_cast< const KIO::UDSEntryList(*)>(_a[1]))); break;
        case 8: _t->d_func()->slotRedirection((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 9: _t->d_func()->gotEntries((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const KIO::UDSEntryList(*)>(_a[2]))); break;
        case 10: _t->d_func()->slotSubError((*reinterpret_cast< KIO::ListJob*(*)>(_a[1])),(*reinterpret_cast< KIO::ListJob*(*)>(_a[2]))); 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< KIO::Job* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::ListJob* >(); 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< KIO::Job* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 6:
            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;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::ListJob* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ListJob::*_t)(KIO::Job * , const KIO::UDSEntryList & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ListJob::entries)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ListJob::*_t)(KIO::ListJob * , KIO::ListJob * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ListJob::subError)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ListJob::*_t)(KIO::Job * , const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ListJob::redirection)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ListJob::*_t)(KIO::Job * , const QUrl & , const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ListJob::permanentRedirection)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KIO::ListJob::staticMetaObject = {
    { &SimpleJob::staticMetaObject, qt_meta_stringdata_KIO__ListJob.data,
      qt_meta_data_KIO__ListJob,  qt_static_metacall, nullptr, nullptr}
};


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

void *KIO::ListJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KIO__ListJob.stringdata0))
        return static_cast<void*>(this);
    return SimpleJob::qt_metacast(_clname);
}

int KIO::ListJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = SimpleJob::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void KIO::ListJob::entries(KIO::Job * _t1, const KIO::UDSEntryList & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void KIO::ListJob::redirection(KIO::Job * _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, 2, _a);
}

// SIGNAL 3
void KIO::ListJob::permanentRedirection(KIO::Job * _t1, const QUrl & _t2, const QUrl & _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);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
