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

#include <memory>
#include "../../../kscreenlocker-5.27.12/interface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'interface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_ScreenLocker__Interface_t {
    QByteArrayData data[26];
    char stringdata0[331];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ScreenLocker__Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ScreenLocker__Interface_t qt_meta_stringdata_ScreenLocker__Interface = {
    {
QT_MOC_LITERAL(0, 0, 23), // "ScreenLocker::Interface"
QT_MOC_LITERAL(1, 24, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 40, 27), // "org.freedesktop.ScreenSaver"
QT_MOC_LITERAL(3, 68, 13), // "ActiveChanged"
QT_MOC_LITERAL(4, 82, 0), // ""
QT_MOC_LITERAL(5, 83, 5), // "state"
QT_MOC_LITERAL(6, 89, 11), // "AboutToLock"
QT_MOC_LITERAL(7, 101, 4), // "Lock"
QT_MOC_LITERAL(8, 106, 10), // "SwitchUser"
QT_MOC_LITERAL(9, 117, 20), // "SimulateUserActivity"
QT_MOC_LITERAL(10, 138, 9), // "SetActive"
QT_MOC_LITERAL(11, 148, 9), // "GetActive"
QT_MOC_LITERAL(12, 158, 13), // "GetActiveTime"
QT_MOC_LITERAL(13, 172, 18), // "GetSessionIdleTime"
QT_MOC_LITERAL(14, 191, 7), // "Inhibit"
QT_MOC_LITERAL(15, 199, 16), // "application_name"
QT_MOC_LITERAL(16, 216, 18), // "reason_for_inhibit"
QT_MOC_LITERAL(17, 235, 9), // "UnInhibit"
QT_MOC_LITERAL(18, 245, 6), // "cookie"
QT_MOC_LITERAL(19, 252, 8), // "Throttle"
QT_MOC_LITERAL(20, 261, 10), // "UnThrottle"
QT_MOC_LITERAL(21, 272, 9), // "configure"
QT_MOC_LITERAL(22, 282, 10), // "slotLocked"
QT_MOC_LITERAL(23, 293, 12), // "slotUnlocked"
QT_MOC_LITERAL(24, 306, 19), // "serviceUnregistered"
QT_MOC_LITERAL(25, 326, 4) // "name"

    },
    "ScreenLocker::Interface\0D-Bus Interface\0"
    "org.freedesktop.ScreenSaver\0ActiveChanged\0"
    "\0state\0AboutToLock\0Lock\0SwitchUser\0"
    "SimulateUserActivity\0SetActive\0GetActive\0"
    "GetActiveTime\0GetSessionIdleTime\0"
    "Inhibit\0application_name\0reason_for_inhibit\0"
    "UnInhibit\0cookie\0Throttle\0UnThrottle\0"
    "configure\0slotLocked\0slotUnlocked\0"
    "serviceUnregistered\0name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ScreenLocker__Interface[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,  101,    4, 0x06 /* Public */,
       6,    0,  104,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,  105,    4, 0x0a /* Public */,
       8,    0,  106,    4, 0x0a /* Public */,
       9,    0,  107,    4, 0x0a /* Public */,
      10,    1,  108,    4, 0x0a /* Public */,
      11,    0,  111,    4, 0x0a /* Public */,
      12,    0,  112,    4, 0x0a /* Public */,
      13,    0,  113,    4, 0x0a /* Public */,
      14,    2,  114,    4, 0x0a /* Public */,
      17,    1,  119,    4, 0x0a /* Public */,
      19,    2,  122,    4, 0x0a /* Public */,
      20,    1,  127,    4, 0x0a /* Public */,
      21,    0,  130,    4, 0x0a /* Public */,
      22,    0,  131,    4, 0x08 /* Private */,
      23,    0,  132,    4, 0x08 /* Private */,
      24,    1,  133,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::Bool,    5,
    QMetaType::Bool,
    QMetaType::UInt,
    QMetaType::UInt,
    QMetaType::UInt, QMetaType::QString, QMetaType::QString,   15,   16,
    QMetaType::Void, QMetaType::UInt,   18,
    QMetaType::UInt, QMetaType::QString, QMetaType::QString,   15,   16,
    QMetaType::Void, QMetaType::UInt,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   25,

       0        // eod
};

void ScreenLocker::Interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Interface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ActiveChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->AboutToLock(); break;
        case 2: _t->Lock(); break;
        case 3: _t->SwitchUser(); break;
        case 4: _t->SimulateUserActivity(); break;
        case 5: { bool _r = _t->SetActive((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: { bool _r = _t->GetActive();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 7: { uint _r = _t->GetActiveTime();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = std::move(_r); }  break;
        case 8: { uint _r = _t->GetSessionIdleTime();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = std::move(_r); }  break;
        case 9: { uint _r = _t->Inhibit((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->UnInhibit((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 11: { uint _r = _t->Throttle((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->UnThrottle((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 13: _t->configure(); break;
        case 14: _t->slotLocked(); break;
        case 15: _t->slotUnlocked(); break;
        case 16: _t->serviceUnregistered((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Interface::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Interface::ActiveChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Interface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Interface::AboutToLock)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ScreenLocker::Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_ScreenLocker__Interface.data,
    qt_meta_data_ScreenLocker__Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *ScreenLocker::Interface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ScreenLocker__Interface.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QDBusContext"))
        return static_cast< QDBusContext*>(this);
    return QObject::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void ScreenLocker::Interface::AboutToLock()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
