/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_sessionmanager.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_sessionmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_sessionmanager.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___SessionManager_t {
    QByteArrayData data[58];
    char stringdata0[798];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___SessionManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___SessionManager_t qt_meta_stringdata___SessionManager = {
    {
QT_MOC_LITERAL(0, 0, 16), // "__SessionManager"
QT_MOC_LITERAL(1, 17, 6), // "Unlock"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 17), // "CurrentUidChanged"
QT_MOC_LITERAL(4, 43, 5), // "value"
QT_MOC_LITERAL(5, 49, 13), // "LockedChanged"
QT_MOC_LITERAL(6, 63, 12), // "StageChanged"
QT_MOC_LITERAL(7, 76, 21), // "AllowSessionDaemonRun"
QT_MOC_LITERAL(8, 98, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(9, 122, 12), // "CanHibernate"
QT_MOC_LITERAL(10, 135, 9), // "CanLogout"
QT_MOC_LITERAL(11, 145, 9), // "CanReboot"
QT_MOC_LITERAL(12, 155, 11), // "CanShutdown"
QT_MOC_LITERAL(13, 167, 10), // "CanSuspend"
QT_MOC_LITERAL(14, 178, 11), // "ForceLogout"
QT_MOC_LITERAL(15, 190, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(16, 210, 17), // "ForceLogoutQueued"
QT_MOC_LITERAL(17, 228, 11), // "ForceReboot"
QT_MOC_LITERAL(18, 240, 17), // "ForceRebootQueued"
QT_MOC_LITERAL(19, 258, 13), // "ForceShutdown"
QT_MOC_LITERAL(20, 272, 19), // "ForceShutdownQueued"
QT_MOC_LITERAL(21, 292, 6), // "Logout"
QT_MOC_LITERAL(22, 299, 12), // "LogoutQueued"
QT_MOC_LITERAL(23, 312, 14), // "PowerOffChoose"
QT_MOC_LITERAL(24, 327, 20), // "PowerOffChooseQueued"
QT_MOC_LITERAL(25, 348, 6), // "Reboot"
QT_MOC_LITERAL(26, 355, 12), // "RebootQueued"
QT_MOC_LITERAL(27, 368, 8), // "Register"
QT_MOC_LITERAL(28, 377, 3), // "in0"
QT_MOC_LITERAL(29, 381, 16), // "RequestHibernate"
QT_MOC_LITERAL(30, 398, 22), // "RequestHibernateQueued"
QT_MOC_LITERAL(31, 421, 11), // "RequestLock"
QT_MOC_LITERAL(32, 433, 17), // "RequestLockQueued"
QT_MOC_LITERAL(33, 451, 13), // "RequestLogout"
QT_MOC_LITERAL(34, 465, 19), // "RequestLogoutQueued"
QT_MOC_LITERAL(35, 485, 13), // "RequestReboot"
QT_MOC_LITERAL(36, 499, 19), // "RequestRebootQueued"
QT_MOC_LITERAL(37, 519, 15), // "RequestShutdown"
QT_MOC_LITERAL(38, 535, 21), // "RequestShutdownQueued"
QT_MOC_LITERAL(39, 557, 14), // "RequestSuspend"
QT_MOC_LITERAL(40, 572, 20), // "RequestSuspendQueued"
QT_MOC_LITERAL(41, 593, 9), // "SetLocked"
QT_MOC_LITERAL(42, 603, 15), // "SetLockedQueued"
QT_MOC_LITERAL(43, 619, 8), // "Shutdown"
QT_MOC_LITERAL(44, 628, 14), // "ShutdownQueued"
QT_MOC_LITERAL(45, 643, 11), // "ToggleDebug"
QT_MOC_LITERAL(46, 655, 17), // "ToggleDebugQueued"
QT_MOC_LITERAL(47, 673, 10), // "CallQueued"
QT_MOC_LITERAL(48, 684, 8), // "callName"
QT_MOC_LITERAL(49, 693, 4), // "args"
QT_MOC_LITERAL(50, 698, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(51, 720, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(52, 745, 1), // "w"
QT_MOC_LITERAL(53, 747, 17), // "onPropertyChanged"
QT_MOC_LITERAL(54, 765, 8), // "propName"
QT_MOC_LITERAL(55, 774, 10), // "CurrentUid"
QT_MOC_LITERAL(56, 785, 6), // "Locked"
QT_MOC_LITERAL(57, 792, 5) // "Stage"

    },
    "__SessionManager\0Unlock\0\0CurrentUidChanged\0"
    "value\0LockedChanged\0StageChanged\0"
    "AllowSessionDaemonRun\0QDBusPendingReply<bool>\0"
    "CanHibernate\0CanLogout\0CanReboot\0"
    "CanShutdown\0CanSuspend\0ForceLogout\0"
    "QDBusPendingReply<>\0ForceLogoutQueued\0"
    "ForceReboot\0ForceRebootQueued\0"
    "ForceShutdown\0ForceShutdownQueued\0"
    "Logout\0LogoutQueued\0PowerOffChoose\0"
    "PowerOffChooseQueued\0Reboot\0RebootQueued\0"
    "Register\0in0\0RequestHibernate\0"
    "RequestHibernateQueued\0RequestLock\0"
    "RequestLockQueued\0RequestLogout\0"
    "RequestLogoutQueued\0RequestReboot\0"
    "RequestRebootQueued\0RequestShutdown\0"
    "RequestShutdownQueued\0RequestSuspend\0"
    "RequestSuspendQueued\0SetLocked\0"
    "SetLockedQueued\0Shutdown\0ShutdownQueued\0"
    "ToggleDebug\0ToggleDebugQueued\0CallQueued\0"
    "callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0CurrentUid\0Locked\0Stage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___SessionManager[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      44,   14, // methods
       3,  300, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  234,    2, 0x06 /* Public */,
       3,    1,  235,    2, 0x06 /* Public */,
       5,    1,  238,    2, 0x06 /* Public */,
       6,    1,  241,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,  244,    2, 0x0a /* Public */,
       9,    0,  245,    2, 0x0a /* Public */,
      10,    0,  246,    2, 0x0a /* Public */,
      11,    0,  247,    2, 0x0a /* Public */,
      12,    0,  248,    2, 0x0a /* Public */,
      13,    0,  249,    2, 0x0a /* Public */,
      14,    0,  250,    2, 0x0a /* Public */,
      16,    0,  251,    2, 0x0a /* Public */,
      17,    0,  252,    2, 0x0a /* Public */,
      18,    0,  253,    2, 0x0a /* Public */,
      19,    0,  254,    2, 0x0a /* Public */,
      20,    0,  255,    2, 0x0a /* Public */,
      21,    0,  256,    2, 0x0a /* Public */,
      22,    0,  257,    2, 0x0a /* Public */,
      23,    0,  258,    2, 0x0a /* Public */,
      24,    0,  259,    2, 0x0a /* Public */,
      25,    0,  260,    2, 0x0a /* Public */,
      26,    0,  261,    2, 0x0a /* Public */,
      27,    1,  262,    2, 0x0a /* Public */,
      29,    0,  265,    2, 0x0a /* Public */,
      30,    0,  266,    2, 0x0a /* Public */,
      31,    0,  267,    2, 0x0a /* Public */,
      32,    0,  268,    2, 0x0a /* Public */,
      33,    0,  269,    2, 0x0a /* Public */,
      34,    0,  270,    2, 0x0a /* Public */,
      35,    0,  271,    2, 0x0a /* Public */,
      36,    0,  272,    2, 0x0a /* Public */,
      37,    0,  273,    2, 0x0a /* Public */,
      38,    0,  274,    2, 0x0a /* Public */,
      39,    0,  275,    2, 0x0a /* Public */,
      40,    0,  276,    2, 0x0a /* Public */,
      41,    1,  277,    2, 0x0a /* Public */,
      42,    1,  280,    2, 0x0a /* Public */,
      43,    0,  283,    2, 0x0a /* Public */,
      44,    0,  284,    2, 0x0a /* Public */,
      45,    0,  285,    2, 0x0a /* Public */,
      46,    0,  286,    2, 0x0a /* Public */,
      47,    2,  287,    2, 0x0a /* Public */,
      50,    1,  292,    2, 0x08 /* Private */,
      53,    2,  295,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, QMetaType::Int,    4,

 // slots: parameters
    0x80000000 | 8,
    0x80000000 | 8,
    0x80000000 | 8,
    0x80000000 | 8,
    0x80000000 | 8,
    0x80000000 | 8,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 8, QMetaType::QString,   28,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   28,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   48,   49,
    QMetaType::Void, 0x80000000 | 51,   52,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   54,    4,

 // properties: name, type, flags
      55, QMetaType::QString, 0x00495001,
      56, QMetaType::Bool, 0x00495001,
      57, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       1,
       2,
       3,

       0        // eod
};

void __SessionManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__SessionManager *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Unlock(); break;
        case 1: _t->CurrentUidChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->LockedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->StageChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: { QDBusPendingReply<bool> _r = _t->AllowSessionDaemonRun();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<bool> _r = _t->CanHibernate();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<bool> _r = _t->CanLogout();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<bool> _r = _t->CanReboot();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<bool> _r = _t->CanShutdown();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<bool> _r = _t->CanSuspend();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<> _r = _t->ForceLogout();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->ForceLogoutQueued(); break;
        case 12: { QDBusPendingReply<> _r = _t->ForceReboot();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->ForceRebootQueued(); break;
        case 14: { QDBusPendingReply<> _r = _t->ForceShutdown();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->ForceShutdownQueued(); break;
        case 16: { QDBusPendingReply<> _r = _t->Logout();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->LogoutQueued(); break;
        case 18: { QDBusPendingReply<> _r = _t->PowerOffChoose();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->PowerOffChooseQueued(); break;
        case 20: { QDBusPendingReply<> _r = _t->Reboot();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 21: _t->RebootQueued(); break;
        case 22: { QDBusPendingReply<bool> _r = _t->Register((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 23: { QDBusPendingReply<> _r = _t->RequestHibernate();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 24: _t->RequestHibernateQueued(); break;
        case 25: { QDBusPendingReply<> _r = _t->RequestLock();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 26: _t->RequestLockQueued(); break;
        case 27: { QDBusPendingReply<> _r = _t->RequestLogout();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 28: _t->RequestLogoutQueued(); break;
        case 29: { QDBusPendingReply<> _r = _t->RequestReboot();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 30: _t->RequestRebootQueued(); break;
        case 31: { QDBusPendingReply<> _r = _t->RequestShutdown();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 32: _t->RequestShutdownQueued(); break;
        case 33: { QDBusPendingReply<> _r = _t->RequestSuspend();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 34: _t->RequestSuspendQueued(); break;
        case 35: { QDBusPendingReply<> _r = _t->SetLocked((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 36: _t->SetLockedQueued((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 37: { QDBusPendingReply<> _r = _t->Shutdown();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 38: _t->ShutdownQueued(); break;
        case 39: { QDBusPendingReply<> _r = _t->ToggleDebug();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 40: _t->ToggleDebugQueued(); break;
        case 41: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 42: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 43: _t->onPropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 42:
            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 (__SessionManager::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SessionManager::Unlock)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__SessionManager::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SessionManager::CurrentUidChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__SessionManager::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SessionManager::LockedChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__SessionManager::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SessionManager::StageChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__SessionManager *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->currentUid(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->locked(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->stage(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __SessionManager::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___SessionManager.data,
    qt_meta_data___SessionManager,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __SessionManager::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 < 44)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 44;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 44)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 44;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void __SessionManager::Unlock()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void __SessionManager::LockedChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __SessionManager *>(this), &staticMetaObject, 2, _a);
}

// SIGNAL 3
void __SessionManager::StageChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __SessionManager *>(this), &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
