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

#include <memory>
#include "../../src/global_util/dbus/dbuslockservice.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbuslockservice.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_DBusLockService_t {
    QByteArrayData data[18];
    char stringdata0[214];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DBusLockService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DBusLockService_t qt_meta_stringdata_DBusLockService = {
    {
QT_MOC_LITERAL(0, 0, 15), // "DBusLockService"
QT_MOC_LITERAL(1, 16, 11), // "UserChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 4), // "user"
QT_MOC_LITERAL(4, 34, 5), // "Event"
QT_MOC_LITERAL(5, 40, 9), // "eventType"
QT_MOC_LITERAL(6, 50, 3), // "pid"
QT_MOC_LITERAL(7, 54, 8), // "username"
QT_MOC_LITERAL(8, 63, 7), // "message"
QT_MOC_LITERAL(9, 71, 11), // "CurrentUser"
QT_MOC_LITERAL(10, 83, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(11, 110, 8), // "IsLiveCD"
QT_MOC_LITERAL(12, 119, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(13, 143, 12), // "SwitchToUser"
QT_MOC_LITERAL(14, 156, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(15, 176, 11), // "UnlockCheck"
QT_MOC_LITERAL(16, 188, 8), // "password"
QT_MOC_LITERAL(17, 197, 16) // "AuthenticateUser"

    },
    "DBusLockService\0UserChanged\0\0user\0"
    "Event\0eventType\0pid\0username\0message\0"
    "CurrentUser\0QDBusPendingReply<QString>\0"
    "IsLiveCD\0QDBusPendingReply<bool>\0"
    "SwitchToUser\0QDBusPendingReply<>\0"
    "UnlockCheck\0password\0AuthenticateUser"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DBusLockService[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,
       4,    4,   52,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   61,    2, 0x0a /* Public */,
      11,    1,   62,    2, 0x0a /* Public */,
      13,    1,   65,    2, 0x0a /* Public */,
      15,    2,   68,    2, 0x0a /* Public */,
      17,    1,   73,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt, QMetaType::QString, QMetaType::QString,    5,    6,    7,    8,

 // slots: parameters
    0x80000000 | 10,
    0x80000000 | 12, QMetaType::QString,    7,
    0x80000000 | 14, QMetaType::QString,    7,
    0x80000000 | 14, QMetaType::QString, QMetaType::QString,    7,   16,
    0x80000000 | 14, QMetaType::QString,    7,

       0        // eod
};

void DBusLockService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DBusLockService *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->UserChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->Event((*reinterpret_cast< quint32(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 2: { QDBusPendingReply<QString> _r = _t->CurrentUser();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<bool> _r = _t->IsLiveCD((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<> _r = _t->SwitchToUser((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<> _r = _t->UnlockCheck((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<> _r = _t->AuthenticateUser((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DBusLockService::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusLockService::UserChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DBusLockService::*)(quint32 , quint32 , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusLockService::Event)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DBusLockService::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata_DBusLockService.data,
    qt_meta_data_DBusLockService,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int DBusLockService::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}

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

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