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

#include <memory>
#include "generated/com_deepin_daemon_resourcemanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_daemon_resourcemanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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___ResourceManager_t {
    QByteArrayData data[28];
    char stringdata0[316];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___ResourceManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___ResourceManager_t qt_meta_stringdata___ResourceManager = {
    {
QT_MOC_LITERAL(0, 0, 17), // "__ResourceManager"
QT_MOC_LITERAL(1, 18, 12), // "Notification"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 11), // "subscribers"
QT_MOC_LITERAL(4, 44, 3), // "msg"
QT_MOC_LITERAL(5, 48, 7), // "Request"
QT_MOC_LITERAL(6, 56, 12), // "AllowRequest"
QT_MOC_LITERAL(7, 69, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(8, 89, 4), // "uuid"
QT_MOC_LITERAL(9, 94, 5), // "allow"
QT_MOC_LITERAL(10, 100, 18), // "AllowRequestQueued"
QT_MOC_LITERAL(11, 119, 9), // "Subscribe"
QT_MOC_LITERAL(12, 129, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(13, 156, 3), // "pid"
QT_MOC_LITERAL(14, 160, 3), // "cmd"
QT_MOC_LITERAL(15, 164, 10), // "QList<int>"
QT_MOC_LITERAL(16, 175, 8), // "interest"
QT_MOC_LITERAL(17, 184, 5), // "force"
QT_MOC_LITERAL(18, 190, 16), // "SubscribeControl"
QT_MOC_LITERAL(19, 207, 4), // "name"
QT_MOC_LITERAL(20, 212, 11), // "Unsubscribe"
QT_MOC_LITERAL(21, 224, 17), // "UnsubscribeQueued"
QT_MOC_LITERAL(22, 242, 10), // "CallQueued"
QT_MOC_LITERAL(23, 253, 8), // "callName"
QT_MOC_LITERAL(24, 262, 4), // "args"
QT_MOC_LITERAL(25, 267, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(26, 289, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(27, 314, 1) // "w"

    },
    "__ResourceManager\0Notification\0\0"
    "subscribers\0msg\0Request\0AllowRequest\0"
    "QDBusPendingReply<>\0uuid\0allow\0"
    "AllowRequestQueued\0Subscribe\0"
    "QDBusPendingReply<QString>\0pid\0cmd\0"
    "QList<int>\0interest\0force\0SubscribeControl\0"
    "name\0Unsubscribe\0UnsubscribeQueued\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___ResourceManager[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,   64,    2, 0x06 /* Public */,
       5,    2,   69,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    3,   74,    2, 0x0a /* Public */,
      10,    3,   81,    2, 0x0a /* Public */,
      11,    4,   88,    2, 0x0a /* Public */,
      18,    4,   97,    2, 0x0a /* Public */,
      20,    1,  106,    2, 0x0a /* Public */,
      21,    1,  109,    2, 0x0a /* Public */,
      22,    2,  112,    2, 0x0a /* Public */,
      25,    1,  117,    2, 0x08 /* Private */,

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

 // slots: parameters
    0x80000000 | 7, QMetaType::QString, QMetaType::QString, QMetaType::Bool,    8,    4,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool,    8,    4,    9,
    0x80000000 | 12, QMetaType::Int, QMetaType::QString, 0x80000000 | 15, QMetaType::Bool,   13,   14,   16,   17,
    0x80000000 | 12, QMetaType::Int, QMetaType::QString, QMetaType::QString, 0x80000000 | 15,   13,   14,   19,   16,
    0x80000000 | 7, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   23,   24,
    QMetaType::Void, 0x80000000 | 26,   27,

       0        // eod
};

void __ResourceManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__ResourceManager *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Notification((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->Request((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: { QDBusPendingReply<> _r = _t->AllowRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->AllowRequestQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 4: { QDBusPendingReply<QString> _r = _t->Subscribe((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QList<int>(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<QString> _r = _t->SubscribeControl((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QList<int>(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<> _r = _t->Unsubscribe((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->UnsubscribeQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 9: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 3:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); 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< QDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (__ResourceManager::*)(const QStringList & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__ResourceManager::Notification)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__ResourceManager::*)(const QStringList & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__ResourceManager::Request)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __ResourceManager::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___ResourceManager.data,
    qt_meta_data___ResourceManager,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *__ResourceManager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata___ResourceManager.stringdata0))
        return static_cast<void*>(this);
    return DBusExtendedAbstractInterface::qt_metacast(_clname);
}

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

// SIGNAL 0
void __ResourceManager::Notification(const QStringList & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void __ResourceManager::Request(const QStringList & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
