/****************************************************************************
** Meta object code from reading C++ file 'dbuslockfrontservice.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/dde-lock/dbus/dbuslockfrontservice.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbuslockfrontservice.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_DBusLockFrontService_t {
    QByteArrayData data[15];
    char stringdata0[152];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DBusLockFrontService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DBusLockFrontService_t qt_meta_stringdata_DBusLockFrontService = {
    {
QT_MOC_LITERAL(0, 0, 20), // "DBusLockFrontService"
QT_MOC_LITERAL(1, 21, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 37, 25), // "org.deepin.dde.LockFront1"
QT_MOC_LITERAL(3, 63, 8), // "ChangKey"
QT_MOC_LITERAL(4, 72, 0), // ""
QT_MOC_LITERAL(5, 73, 3), // "key"
QT_MOC_LITERAL(6, 77, 7), // "Visible"
QT_MOC_LITERAL(7, 85, 7), // "visible"
QT_MOC_LITERAL(8, 93, 4), // "Show"
QT_MOC_LITERAL(9, 98, 12), // "ShowUserList"
QT_MOC_LITERAL(10, 111, 8), // "ShowAuth"
QT_MOC_LITERAL(11, 120, 6), // "active"
QT_MOC_LITERAL(12, 127, 7), // "Suspend"
QT_MOC_LITERAL(13, 135, 6), // "enable"
QT_MOC_LITERAL(14, 142, 9) // "Hibernate"

    },
    "DBusLockFrontService\0D-Bus Interface\0"
    "org.deepin.dde.LockFront1\0ChangKey\0\0"
    "key\0Visible\0visible\0Show\0ShowUserList\0"
    "ShowAuth\0active\0Suspend\0enable\0Hibernate"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DBusLockFrontService[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
       7,   16, // methods
       1,   68, // 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,   51,    4, 0x06 /* Public */,
       6,    1,   54,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   57,    4, 0x0a /* Public */,
       9,    0,   58,    4, 0x0a /* Public */,
      10,    1,   59,    4, 0x0a /* Public */,
      12,    1,   62,    4, 0x0a /* Public */,
      14,    1,   65,    4, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   13,

 // properties: name, type, flags
       6, QMetaType::Bool, 0x00095001,

       0        // eod
};

void DBusLockFrontService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DBusLockFrontService *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ChangKey((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 1: _t->Visible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->Show(); break;
        case 3: _t->ShowUserList(); break;
        case 4: _t->ShowAuth((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->Suspend((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->Hibernate((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DBusLockFrontService::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusLockFrontService::ChangKey)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DBusLockFrontService::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusLockFrontService::Visible)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<DBusLockFrontService *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->Visible(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject DBusLockFrontService::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
    qt_meta_stringdata_DBusLockFrontService.data,
    qt_meta_data_DBusLockFrontService,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int DBusLockFrontService::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::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;
    }
#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 -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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