/****************************************************************************
** Meta object code from reading C++ file 'scheduler.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/scheduler.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scheduler.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__Scheduler_t {
    QByteArrayData data[23];
    char stringdata0[324];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KIO__Scheduler_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KIO__Scheduler_t qt_meta_stringdata_KIO__Scheduler = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KIO::Scheduler"
QT_MOC_LITERAL(1, 15, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 31, 21), // "org.kde.KIO.Scheduler"
QT_MOC_LITERAL(3, 53, 14), // "slaveConnected"
QT_MOC_LITERAL(4, 68, 0), // ""
QT_MOC_LITERAL(5, 69, 11), // "KIO::Slave*"
QT_MOC_LITERAL(6, 81, 5), // "slave"
QT_MOC_LITERAL(7, 87, 10), // "slaveError"
QT_MOC_LITERAL(8, 98, 5), // "error"
QT_MOC_LITERAL(9, 104, 8), // "errorMsg"
QT_MOC_LITERAL(10, 113, 25), // "reparseSlaveConfiguration"
QT_MOC_LITERAL(11, 139, 22), // "slaveOnHoldListChanged"
QT_MOC_LITERAL(12, 162, 13), // "slotSlaveDied"
QT_MOC_LITERAL(13, 176, 15), // "slotSlaveStatus"
QT_MOC_LITERAL(14, 192, 3), // "pid"
QT_MOC_LITERAL(15, 196, 8), // "protocol"
QT_MOC_LITERAL(16, 205, 4), // "host"
QT_MOC_LITERAL(17, 210, 9), // "connected"
QT_MOC_LITERAL(18, 220, 29), // "slotReparseSlaveConfiguration"
QT_MOC_LITERAL(19, 250, 12), // "QDBusMessage"
QT_MOC_LITERAL(20, 263, 26), // "slotSlaveOnHoldListChanged"
QT_MOC_LITERAL(21, 290, 18), // "slotSlaveConnected"
QT_MOC_LITERAL(22, 309, 14) // "slotSlaveError"

    },
    "KIO::Scheduler\0D-Bus Interface\0"
    "org.kde.KIO.Scheduler\0slaveConnected\0"
    "\0KIO::Slave*\0slave\0slaveError\0error\0"
    "errorMsg\0reparseSlaveConfiguration\0"
    "slaveOnHoldListChanged\0slotSlaveDied\0"
    "slotSlaveStatus\0pid\0protocol\0host\0"
    "connected\0slotReparseSlaveConfiguration\0"
    "QDBusMessage\0slotSlaveOnHoldListChanged\0"
    "slotSlaveConnected\0slotSlaveError"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KIO__Scheduler[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,   66,    4, 0x06 /* Public */,
       7,    3,   69,    4, 0x06 /* Public */,
      10,    1,   76,    4, 0x46 /* Public | isScriptable */,
      11,    0,   79,    4, 0x46 /* Public | isScriptable */,

 // slots: name, argc, parameters, tag, flags
      12,    1,   80,    4, 0x08 /* Private */,
      13,    4,   83,    4, 0x08 /* Private */,
      18,    2,   92,    4, 0x08 /* Private */,
      20,    0,   97,    4, 0x08 /* Private */,
      21,    0,   98,    4, 0x08 /* Private */,
      22,    2,   99,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5, QMetaType::Int, QMetaType::QString,    6,    8,    9,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::LongLong, QMetaType::QByteArray, QMetaType::QString, QMetaType::Bool,   14,   15,   16,   17,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 19,    4,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    8,    9,

       0        // eod
};

void KIO::Scheduler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Scheduler *_t = static_cast<Scheduler *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slaveConnected((*reinterpret_cast< KIO::Slave*(*)>(_a[1]))); break;
        case 1: _t->slaveError((*reinterpret_cast< KIO::Slave*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 2: _t->reparseSlaveConfiguration((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->slaveOnHoldListChanged(); break;
        case 4: _t->d_func()->slotSlaveDied((*reinterpret_cast< KIO::Slave*(*)>(_a[1]))); break;
        case 5: _t->d_func()->slotSlaveStatus((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 6: _t->d_func()->slotReparseSlaveConfiguration((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusMessage(*)>(_a[2]))); break;
        case 7: _t->d_func()->slotSlaveOnHoldListChanged(); break;
        case 8: _t->d_func()->slotSlaveConnected(); break;
        case 9: _t->d_func()->slotSlaveError((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_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 (Scheduler::*_t)(KIO::Slave * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Scheduler::slaveConnected)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Scheduler::*_t)(KIO::Slave * , int , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Scheduler::slaveError)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Scheduler::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Scheduler::reparseSlaveConfiguration)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Scheduler::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Scheduler::slaveOnHoldListChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KIO::Scheduler::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KIO__Scheduler.data,
      qt_meta_data_KIO__Scheduler,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KIO::Scheduler::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void KIO::Scheduler::slaveConnected(KIO::Slave * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KIO::Scheduler::slaveError(KIO::Slave * _t1, int _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, 1, _a);
}

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

// SIGNAL 3
void KIO::Scheduler::slaveOnHoldListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
