/****************************************************************************
** Meta object code from reading C++ file 'progresslistmodel.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/plasma-workspace-5.8.8/kuiserver/progresslistmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'progresslistmodel.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_ProgressListModel_t {
    QByteArrayData data[19];
    char stringdata0[253];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ProgressListModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ProgressListModel_t qt_meta_stringdata_ProgressListModel = {
    {
QT_MOC_LITERAL(0, 0, 17), // "ProgressListModel"
QT_MOC_LITERAL(1, 18, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 34, 21), // "org.kde.JobViewServer"
QT_MOC_LITERAL(3, 56, 14), // "serviceDropped"
QT_MOC_LITERAL(4, 71, 0), // ""
QT_MOC_LITERAL(5, 72, 14), // "jobUrlsChanged"
QT_MOC_LITERAL(6, 87, 15), // "registerService"
QT_MOC_LITERAL(7, 103, 7), // "service"
QT_MOC_LITERAL(8, 111, 10), // "objectPath"
QT_MOC_LITERAL(9, 122, 18), // "emitJobUrlsChanged"
QT_MOC_LITERAL(10, 141, 18), // "requiresJobTracker"
QT_MOC_LITERAL(11, 160, 21), // "registeredJobContacts"
QT_MOC_LITERAL(12, 182, 11), // "jobFinished"
QT_MOC_LITERAL(13, 194, 8), // "JobView*"
QT_MOC_LITERAL(14, 203, 7), // "jobView"
QT_MOC_LITERAL(15, 211, 10), // "jobChanged"
QT_MOC_LITERAL(16, 222, 5), // "jobId"
QT_MOC_LITERAL(17, 228, 19), // "serviceUnregistered"
QT_MOC_LITERAL(18, 248, 4) // "name"

    },
    "ProgressListModel\0D-Bus Interface\0"
    "org.kde.JobViewServer\0serviceDropped\0"
    "\0jobUrlsChanged\0registerService\0service\0"
    "objectPath\0emitJobUrlsChanged\0"
    "requiresJobTracker\0registeredJobContacts\0"
    "jobFinished\0JobView*\0jobView\0jobChanged\0"
    "jobId\0serviceUnregistered\0name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ProgressListModel[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,   61,    4, 0x06 /* Public */,
       5,    1,   64,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    2,   67,    4, 0x0a /* Public */,
       9,    0,   72,    4, 0x0a /* Public */,
      10,    0,   73,    4, 0x0a /* Public */,
      11,    0,   74,    4, 0x0a /* Public */,
      12,    1,   75,    4, 0x08 /* Private */,
      15,    1,   78,    4, 0x08 /* Private */,
      17,    1,   81,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::QStringList,    4,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    7,    8,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::QStringList,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::UInt,   16,
    QMetaType::Void, QMetaType::QString,   18,

       0        // eod
};

void ProgressListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ProgressListModel *_t = static_cast<ProgressListModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->serviceDropped((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->jobUrlsChanged((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
        case 2: _t->registerService((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->emitJobUrlsChanged(); break;
        case 4: { bool _r = _t->requiresJobTracker();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: { QStringList _r = _t->registeredJobContacts();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->jobFinished((*reinterpret_cast< JobView*(*)>(_a[1]))); break;
        case 7: _t->jobChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 8: _t->serviceUnregistered((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< JobView* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ProgressListModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProgressListModel::serviceDropped)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ProgressListModel::*_t)(QStringList );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProgressListModel::jobUrlsChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject ProgressListModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_ProgressListModel.data,
      qt_meta_data_ProgressListModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *ProgressListModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ProgressListModel.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QDBusContext"))
        return static_cast< QDBusContext*>(this);
    return QAbstractItemModel::qt_metacast(_clname);
}

int ProgressListModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

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

// SIGNAL 1
void ProgressListModel::jobUrlsChanged(QStringList _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
