/****************************************************************************
** Meta object code from reading C++ file 'org_freedesktop_login1_session_self.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/org_freedesktop_login1_session_self.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'org_freedesktop_login1_session_self.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___self_t {
    QByteArrayData data[30];
    char stringdata0[318];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___self_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___self_t qt_meta_stringdata___self = {
    {
QT_MOC_LITERAL(0, 0, 6), // "__self"
QT_MOC_LITERAL(1, 7, 13), // "ActiveChanged"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 5), // "value"
QT_MOC_LITERAL(4, 28, 14), // "DesktopChanged"
QT_MOC_LITERAL(5, 43, 14), // "DisplayChanged"
QT_MOC_LITERAL(6, 58, 9), // "IdChanged"
QT_MOC_LITERAL(7, 68, 11), // "NameChanged"
QT_MOC_LITERAL(8, 80, 8), // "Activate"
QT_MOC_LITERAL(9, 89, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(10, 109, 14), // "ActivateQueued"
QT_MOC_LITERAL(11, 124, 4), // "Lock"
QT_MOC_LITERAL(12, 129, 10), // "LockQueued"
QT_MOC_LITERAL(13, 140, 9), // "Terminate"
QT_MOC_LITERAL(14, 150, 15), // "TerminateQueued"
QT_MOC_LITERAL(15, 166, 6), // "Unlock"
QT_MOC_LITERAL(16, 173, 12), // "UnlockQueued"
QT_MOC_LITERAL(17, 186, 10), // "CallQueued"
QT_MOC_LITERAL(18, 197, 8), // "callName"
QT_MOC_LITERAL(19, 206, 4), // "args"
QT_MOC_LITERAL(20, 211, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(21, 233, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(22, 258, 1), // "w"
QT_MOC_LITERAL(23, 260, 17), // "onPropertyChanged"
QT_MOC_LITERAL(24, 278, 8), // "propName"
QT_MOC_LITERAL(25, 287, 6), // "Active"
QT_MOC_LITERAL(26, 294, 7), // "Desktop"
QT_MOC_LITERAL(27, 302, 7), // "Display"
QT_MOC_LITERAL(28, 310, 2), // "Id"
QT_MOC_LITERAL(29, 313, 4) // "Name"

    },
    "__self\0ActiveChanged\0\0value\0DesktopChanged\0"
    "DisplayChanged\0IdChanged\0NameChanged\0"
    "Activate\0QDBusPendingReply<>\0"
    "ActivateQueued\0Lock\0LockQueued\0Terminate\0"
    "TerminateQueued\0Unlock\0UnlockQueued\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0Active\0Desktop\0Display\0Id\0"
    "Name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___self[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,
       4,    1,   97,    2, 0x06 /* Public */,
       5,    1,  100,    2, 0x06 /* Public */,
       6,    1,  103,    2, 0x06 /* Public */,
       7,    1,  106,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  109,    2, 0x0a /* Public */,
      10,    0,  110,    2, 0x0a /* Public */,
      11,    0,  111,    2, 0x0a /* Public */,
      12,    0,  112,    2, 0x0a /* Public */,
      13,    0,  113,    2, 0x0a /* Public */,
      14,    0,  114,    2, 0x0a /* Public */,
      15,    0,  115,    2, 0x0a /* Public */,
      16,    0,  116,    2, 0x0a /* Public */,
      17,    2,  117,    2, 0x0a /* Public */,
      20,    1,  122,    2, 0x08 /* Private */,
      23,    2,  125,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    0x80000000 | 9,
    QMetaType::Void,
    0x80000000 | 9,
    QMetaType::Void,
    0x80000000 | 9,
    QMetaType::Void,
    0x80000000 | 9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   18,   19,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   24,    3,

 // properties: name, type, flags
      25, QMetaType::Bool, 0x00495001,
      26, QMetaType::QString, 0x00495001,
      27, QMetaType::QString, 0x00495001,
      28, QMetaType::QString, 0x00495001,
      29, QMetaType::QString, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,

       0        // eod
};

void __self::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__self *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ActiveChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->DesktopChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->DisplayChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->IdChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->NameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: { QDBusPendingReply<> _r = _t->Activate();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->ActivateQueued(); break;
        case 7: { QDBusPendingReply<> _r = _t->Lock();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->LockQueued(); break;
        case 9: { QDBusPendingReply<> _r = _t->Terminate();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->TerminateQueued(); break;
        case 11: { QDBusPendingReply<> _r = _t->Unlock();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->UnlockQueued(); break;
        case 13: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 14: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 15: _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 14:
            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 (__self::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__self::ActiveChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__self::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__self::DesktopChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__self::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__self::DisplayChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__self::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__self::IdChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (__self::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__self::NameChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__self *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->active(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->desktop(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->display(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->id(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __self::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___self.data,
    qt_meta_data___self,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __self::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#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 -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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