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

#include "service_dbus.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'service_dbus.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.12. 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_process_manager__DBusService_t {
    QByteArrayData data[16];
    char stringdata0[181];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_process_manager__DBusService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_process_manager__DBusService_t qt_meta_stringdata_process_manager__DBusService = {
    {
QT_MOC_LITERAL(0, 0, 28), // "process_manager::DBusService"
QT_MOC_LITERAL(1, 29, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 45, 29), // "com.kylin.kom.process.manager"
QT_MOC_LITERAL(3, 75, 5), // "start"
QT_MOC_LITERAL(4, 81, 0), // ""
QT_MOC_LITERAL(5, 82, 4), // "name"
QT_MOC_LITERAL(6, 87, 12), // "QDBusMessage"
QT_MOC_LITERAL(7, 100, 7), // "message"
QT_MOC_LITERAL(8, 108, 5), // "bool&"
QT_MOC_LITERAL(9, 114, 6), // "result"
QT_MOC_LITERAL(10, 121, 8), // "QString&"
QT_MOC_LITERAL(11, 130, 12), // "errorMessage"
QT_MOC_LITERAL(12, 143, 4), // "stop"
QT_MOC_LITERAL(13, 148, 7), // "restart"
QT_MOC_LITERAL(14, 156, 6), // "status"
QT_MOC_LITERAL(15, 163, 17) // "ProcessStatusMap&"

    },
    "process_manager::DBusService\0"
    "D-Bus Interface\0com.kylin.kom.process.manager\0"
    "start\0\0name\0QDBusMessage\0message\0bool&\0"
    "result\0QString&\0errorMessage\0stop\0"
    "restart\0status\0ProcessStatusMap&"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_process_manager__DBusService[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    4,   36,    4, 0x0a /* Public */,
      12,    4,   45,    4, 0x0a /* Public */,
      13,    4,   54,    4, 0x0a /* Public */,
      14,    3,   63,    4, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 6, 0x80000000 | 8, 0x80000000 | 10,    5,    7,    9,   11,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 6, 0x80000000 | 8, 0x80000000 | 10,    5,    7,    9,   11,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 6, 0x80000000 | 8, 0x80000000 | 10,    5,    7,    9,   11,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 6, 0x80000000 | 15,    5,    7,   14,

       0        // eod
};

void process_manager::DBusService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DBusService *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->start((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QDBusMessage(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
        case 1: _t->stop((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QDBusMessage(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
        case 2: _t->restart((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QDBusMessage(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
        case 3: _t->status((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QDBusMessage(*)>(_a[2])),(*reinterpret_cast< ProcessStatusMap(*)>(_a[3]))); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject process_manager::DBusService::staticMetaObject = { {
    &QDBusAbstractAdaptor::staticMetaObject,
    qt_meta_stringdata_process_manager__DBusService.data,
    qt_meta_data_process_manager__DBusService,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *process_manager::DBusService::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_process_manager__DBusService.stringdata0))
        return static_cast<void*>(this);
    return QDBusAbstractAdaptor::qt_metacast(_clname);
}

int process_manager::DBusService::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
