/****************************************************************************
** 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_tray__DBusService_t {
    QByteArrayData data[16];
    char stringdata0[166];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_tray__DBusService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_tray__DBusService_t qt_meta_stringdata_tray__DBusService = {
    {
QT_MOC_LITERAL(0, 0, 17), // "tray::DBusService"
QT_MOC_LITERAL(1, 18, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 34, 18), // "com.kylin.kom.tray"
QT_MOC_LITERAL(3, 53, 5), // "start"
QT_MOC_LITERAL(4, 59, 0), // ""
QT_MOC_LITERAL(5, 60, 8), // "trayName"
QT_MOC_LITERAL(6, 69, 12), // "QDBusMessage"
QT_MOC_LITERAL(7, 82, 7), // "message"
QT_MOC_LITERAL(8, 90, 5), // "bool&"
QT_MOC_LITERAL(9, 96, 6), // "result"
QT_MOC_LITERAL(10, 103, 8), // "QString&"
QT_MOC_LITERAL(11, 112, 12), // "errorMessage"
QT_MOC_LITERAL(12, 125, 4), // "stop"
QT_MOC_LITERAL(13, 130, 6), // "status"
QT_MOC_LITERAL(14, 137, 14), // "TrayStatusMap&"
QT_MOC_LITERAL(15, 152, 13) // "trayStatusMap"

    },
    "tray::DBusService\0D-Bus Interface\0"
    "com.kylin.kom.tray\0start\0\0trayName\0"
    "QDBusMessage\0message\0bool&\0result\0"
    "QString&\0errorMessage\0stop\0status\0"
    "TrayStatusMap&\0trayStatusMap"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_tray__DBusService[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
       3,   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,   31,    4, 0x0a /* Public */,
      12,    4,   40,    4, 0x0a /* Public */,
      13,    3,   49,    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 | 14,    5,    7,   15,

       0        // eod
};

void tray::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->status((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QDBusMessage(*)>(_a[2])),(*reinterpret_cast< TrayStatusMap(*)>(_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;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject tray::DBusService::staticMetaObject = { {
    &QDBusAbstractAdaptor::staticMetaObject,
    qt_meta_stringdata_tray__DBusService.data,
    qt_meta_data_tray__DBusService,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int tray::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
