/****************************************************************************
** Meta object code from reading C++ file 'lockframe.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/lockframe.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lockframe.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_LockFrame_t {
    QByteArrayData data[28];
    char stringdata0[403];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LockFrame_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LockFrame_t qt_meta_stringdata_LockFrame = {
    {
QT_MOC_LITERAL(0, 0, 9), // "LockFrame"
QT_MOC_LITERAL(1, 10, 19), // "requestSwitchToUser"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 21), // "std::shared_ptr<User>"
QT_MOC_LITERAL(4, 53, 4), // "user"
QT_MOC_LITERAL(5, 58, 24), // "requestSetKeyboardLayout"
QT_MOC_LITERAL(6, 83, 6), // "layout"
QT_MOC_LITERAL(7, 90, 20), // "requestEnableHotzone"
QT_MOC_LITERAL(8, 111, 7), // "disable"
QT_MOC_LITERAL(9, 119, 12), // "sendKeyValue"
QT_MOC_LITERAL(10, 132, 8), // "keyValue"
QT_MOC_LITERAL(11, 141, 26), // "requestStartAuthentication"
QT_MOC_LITERAL(12, 168, 7), // "account"
QT_MOC_LITERAL(13, 176, 8), // "authType"
QT_MOC_LITERAL(14, 185, 15), // "sendTokenToAuth"
QT_MOC_LITERAL(15, 201, 5), // "token"
QT_MOC_LITERAL(16, 207, 24), // "requestEndAuthentication"
QT_MOC_LITERAL(17, 232, 12), // "authFinished"
QT_MOC_LITERAL(18, 245, 19), // "requestCheckAccount"
QT_MOC_LITERAL(19, 265, 12), // "showUserList"
QT_MOC_LITERAL(20, 278, 14), // "showLockScreen"
QT_MOC_LITERAL(21, 293, 12), // "showShutdown"
QT_MOC_LITERAL(22, 306, 15), // "shutdownInhibit"
QT_MOC_LITERAL(23, 322, 29), // "SessionBaseModel::PowerAction"
QT_MOC_LITERAL(24, 352, 6), // "action"
QT_MOC_LITERAL(25, 359, 11), // "needConfirm"
QT_MOC_LITERAL(26, 371, 21), // "cancelShutdownInhibit"
QT_MOC_LITERAL(27, 393, 9) // "hideFrame"

    },
    "LockFrame\0requestSwitchToUser\0\0"
    "std::shared_ptr<User>\0user\0"
    "requestSetKeyboardLayout\0layout\0"
    "requestEnableHotzone\0disable\0sendKeyValue\0"
    "keyValue\0requestStartAuthentication\0"
    "account\0authType\0sendTokenToAuth\0token\0"
    "requestEndAuthentication\0authFinished\0"
    "requestCheckAccount\0showUserList\0"
    "showLockScreen\0showShutdown\0shutdownInhibit\0"
    "SessionBaseModel::PowerAction\0action\0"
    "needConfirm\0cancelShutdownInhibit\0"
    "hideFrame"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LockFrame[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       5,    2,   87,    2, 0x06 /* Public */,
       7,    1,   92,    2, 0x06 /* Public */,
       9,    1,   95,    2, 0x06 /* Public */,
      11,    2,   98,    2, 0x06 /* Public */,
      14,    3,  103,    2, 0x06 /* Public */,
      16,    2,  110,    2, 0x06 /* Public */,
      17,    0,  115,    2, 0x06 /* Public */,
      18,    1,  116,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    0,  119,    2, 0x0a /* Public */,
      20,    0,  120,    2, 0x0a /* Public */,
      21,    0,  121,    2, 0x0a /* Public */,
      22,    2,  122,    2, 0x0a /* Public */,
      26,    1,  127,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    6,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   12,   13,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QString,   12,   13,   15,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   12,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   12,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 23, QMetaType::Bool,   24,   25,
    QMetaType::Void, QMetaType::Bool,   27,

       0        // eod
};

void LockFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LockFrame *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->requestSwitchToUser((*reinterpret_cast< std::shared_ptr<User>(*)>(_a[1]))); break;
        case 1: _t->requestSetKeyboardLayout((*reinterpret_cast< std::shared_ptr<User>(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->requestEnableHotzone((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->sendKeyValue((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 4: _t->requestStartAuthentication((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 5: _t->sendTokenToAuth((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 6: _t->requestEndAuthentication((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 7: _t->authFinished(); break;
        case 8: _t->requestCheckAccount((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->showUserList(); break;
        case 10: _t->showLockScreen(); break;
        case 11: _t->showShutdown(); break;
        case 12: _t->shutdownInhibit((*reinterpret_cast< const SessionBaseModel::PowerAction(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 13: _t->cancelShutdownInhibit((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (LockFrame::*)(std::shared_ptr<User> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::requestSwitchToUser)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (LockFrame::*)(std::shared_ptr<User> , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::requestSetKeyboardLayout)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (LockFrame::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::requestEnableHotzone)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (LockFrame::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::sendKeyValue)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (LockFrame::*)(const QString & , const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::requestStartAuthentication)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (LockFrame::*)(const QString & , const int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::sendTokenToAuth)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (LockFrame::*)(const QString & , const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::requestEndAuthentication)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (LockFrame::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::authFinished)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (LockFrame::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockFrame::requestCheckAccount)) {
                *result = 8;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject LockFrame::staticMetaObject = { {
    QMetaObject::SuperData::link<FullscreenBackground::staticMetaObject>(),
    qt_meta_stringdata_LockFrame.data,
    qt_meta_data_LockFrame,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

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

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

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

// SIGNAL 4
void LockFrame::requestStartAuthentication(const QString & _t1, const int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void LockFrame::sendTokenToAuth(const QString & _t1, const int _t2, const QString & _t3)
{
    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))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void LockFrame::requestEndAuthentication(const QString & _t1, const int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void LockFrame::authFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

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