/****************************************************************************
** Meta object code from reading C++ file 'lockcontent.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/session-widgets/lockcontent.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lockcontent.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_LockContent_t {
    QByteArrayData data[33];
    char stringdata0[491];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LockContent_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LockContent_t qt_meta_stringdata_LockContent = {
    {
QT_MOC_LITERAL(0, 0, 11), // "LockContent"
QT_MOC_LITERAL(1, 12, 17), // "requestBackground"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 4), // "path"
QT_MOC_LITERAL(4, 36, 19), // "requestSwitchToUser"
QT_MOC_LITERAL(5, 56, 21), // "std::shared_ptr<User>"
QT_MOC_LITERAL(6, 78, 4), // "user"
QT_MOC_LITERAL(7, 83, 24), // "requestSetKeyboardLayout"
QT_MOC_LITERAL(8, 108, 5), // "value"
QT_MOC_LITERAL(9, 114, 26), // "requestStartAuthentication"
QT_MOC_LITERAL(10, 141, 7), // "account"
QT_MOC_LITERAL(11, 149, 8), // "authType"
QT_MOC_LITERAL(12, 158, 15), // "sendTokenToAuth"
QT_MOC_LITERAL(13, 174, 5), // "token"
QT_MOC_LITERAL(14, 180, 24), // "requestEndAuthentication"
QT_MOC_LITERAL(15, 205, 12), // "authFinished"
QT_MOC_LITERAL(16, 218, 19), // "requestCheckAccount"
QT_MOC_LITERAL(17, 238, 20), // "requestLockFrameHide"
QT_MOC_LITERAL(18, 259, 17), // "pushPasswordFrame"
QT_MOC_LITERAL(19, 277, 13), // "pushUserFrame"
QT_MOC_LITERAL(20, 291, 16), // "pushConfirmFrame"
QT_MOC_LITERAL(21, 308, 17), // "pushShutdownFrame"
QT_MOC_LITERAL(22, 326, 14), // "setMPRISEnable"
QT_MOC_LITERAL(23, 341, 5), // "state"
QT_MOC_LITERAL(24, 347, 15), // "onNewConnection"
QT_MOC_LITERAL(25, 363, 12), // "onDisConnect"
QT_MOC_LITERAL(26, 376, 20), // "onRequirePowerAction"
QT_MOC_LITERAL(27, 397, 29), // "SessionBaseModel::PowerAction"
QT_MOC_LITERAL(28, 427, 11), // "powerAction"
QT_MOC_LITERAL(29, 439, 11), // "needConfirm"
QT_MOC_LITERAL(30, 451, 14), // "onValueChanged"
QT_MOC_LITERAL(31, 466, 12), // "QDBusMessage"
QT_MOC_LITERAL(32, 479, 11) // "dbusMessage"

    },
    "LockContent\0requestBackground\0\0path\0"
    "requestSwitchToUser\0std::shared_ptr<User>\0"
    "user\0requestSetKeyboardLayout\0value\0"
    "requestStartAuthentication\0account\0"
    "authType\0sendTokenToAuth\0token\0"
    "requestEndAuthentication\0authFinished\0"
    "requestCheckAccount\0requestLockFrameHide\0"
    "pushPasswordFrame\0pushUserFrame\0"
    "pushConfirmFrame\0pushShutdownFrame\0"
    "setMPRISEnable\0state\0onNewConnection\0"
    "onDisConnect\0onRequirePowerAction\0"
    "SessionBaseModel::PowerAction\0powerAction\0"
    "needConfirm\0onValueChanged\0QDBusMessage\0"
    "dbusMessage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LockContent[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  104,    2, 0x06 /* Public */,
       4,    1,  107,    2, 0x06 /* Public */,
       7,    2,  110,    2, 0x06 /* Public */,
       9,    2,  115,    2, 0x06 /* Public */,
      12,    3,  120,    2, 0x06 /* Public */,
      14,    2,  127,    2, 0x06 /* Public */,
      15,    0,  132,    2, 0x06 /* Public */,
      16,    1,  133,    2, 0x06 /* Public */,
      17,    0,  136,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    0,  137,    2, 0x0a /* Public */,
      19,    0,  138,    2, 0x0a /* Public */,
      20,    0,  139,    2, 0x0a /* Public */,
      21,    0,  140,    2, 0x0a /* Public */,
      22,    1,  141,    2, 0x0a /* Public */,
      24,    0,  144,    2, 0x0a /* Public */,
      25,    0,  145,    2, 0x0a /* Public */,
      26,    2,  146,    2, 0x0a /* Public */,
      30,    1,  151,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5, QMetaType::QString,    6,    8,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   10,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QString,   10,   11,   13,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   10,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 27, QMetaType::Bool,   28,   29,
    QMetaType::Void, 0x80000000 | 31,   32,

       0        // eod
};

void LockContent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LockContent *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->requestBackground((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->requestSwitchToUser((*reinterpret_cast< std::shared_ptr<User>(*)>(_a[1]))); break;
        case 2: _t->requestSetKeyboardLayout((*reinterpret_cast< std::shared_ptr<User>(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->requestStartAuthentication((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 4: _t->sendTokenToAuth((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 5: _t->requestEndAuthentication((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 6: _t->authFinished(); break;
        case 7: _t->requestCheckAccount((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->requestLockFrameHide(); break;
        case 9: _t->pushPasswordFrame(); break;
        case 10: _t->pushUserFrame(); break;
        case 11: _t->pushConfirmFrame(); break;
        case 12: _t->pushShutdownFrame(); break;
        case 13: _t->setMPRISEnable((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 14: _t->onNewConnection(); break;
        case 15: _t->onDisConnect(); break;
        case 16: _t->onRequirePowerAction((*reinterpret_cast< SessionBaseModel::PowerAction(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 17: _t->onValueChanged((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (LockContent::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::requestBackground)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (LockContent::*)(std::shared_ptr<User> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::requestSwitchToUser)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (LockContent::*)(std::shared_ptr<User> , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::requestSetKeyboardLayout)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (LockContent::*)(const QString & , const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::requestStartAuthentication)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (LockContent::*)(const QString & , const int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::sendTokenToAuth)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (LockContent::*)(const QString & , const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::requestEndAuthentication)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (LockContent::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::authFinished)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (LockContent::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::requestCheckAccount)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (LockContent::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LockContent::requestLockFrameHide)) {
                *result = 8;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject LockContent::staticMetaObject = { {
    QMetaObject::SuperData::link<SessionBaseWindow::staticMetaObject>(),
    qt_meta_stringdata_LockContent.data,
    qt_meta_data_LockContent,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int LockContent::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = SessionBaseWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    return _id;
}

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

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

// SIGNAL 2
void LockContent::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, 2, _a);
}

// SIGNAL 3
void LockContent::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, 3, _a);
}

// SIGNAL 4
void LockContent::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, 4, _a);
}

// SIGNAL 5
void LockContent::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, 5, _a);
}

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

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

// SIGNAL 8
void LockContent::requestLockFrameHide()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
