/****************************************************************************
** Meta object code from reading C++ file 'lockworker.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/lockworker.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lockworker.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_LockWorker_t {
    QByteArrayData data[24];
    char stringdata0[352];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LockWorker_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LockWorker_t qt_meta_stringdata_LockWorker = {
    {
QT_MOC_LITERAL(0, 0, 10), // "LockWorker"
QT_MOC_LITERAL(1, 11, 20), // "createAuthentication"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 7), // "account"
QT_MOC_LITERAL(4, 41, 21), // "destroyAuthentication"
QT_MOC_LITERAL(5, 63, 19), // "startAuthentication"
QT_MOC_LITERAL(6, 83, 8), // "authType"
QT_MOC_LITERAL(7, 92, 17), // "endAuthentication"
QT_MOC_LITERAL(8, 110, 24), // "endAccountAuthentication"
QT_MOC_LITERAL(9, 135, 15), // "sendTokenToAuth"
QT_MOC_LITERAL(10, 151, 5), // "token"
QT_MOC_LITERAL(11, 157, 12), // "switchToUser"
QT_MOC_LITERAL(12, 170, 21), // "std::shared_ptr<User>"
QT_MOC_LITERAL(13, 192, 4), // "user"
QT_MOC_LITERAL(14, 197, 24), // "restartResetSessionTimer"
QT_MOC_LITERAL(15, 222, 14), // "onAuthFinished"
QT_MOC_LITERAL(16, 237, 18), // "onAuthStateChanged"
QT_MOC_LITERAL(17, 256, 4), // "type"
QT_MOC_LITERAL(18, 261, 5), // "state"
QT_MOC_LITERAL(19, 267, 7), // "message"
QT_MOC_LITERAL(20, 275, 23), // "onFrameworkStateChanged"
QT_MOC_LITERAL(21, 299, 32), // "disableGlobalShortcutsForWayland"
QT_MOC_LITERAL(22, 332, 6), // "enable"
QT_MOC_LITERAL(23, 339, 12) // "checkAccount"

    },
    "LockWorker\0createAuthentication\0\0"
    "account\0destroyAuthentication\0"
    "startAuthentication\0authType\0"
    "endAuthentication\0endAccountAuthentication\0"
    "sendTokenToAuth\0token\0switchToUser\0"
    "std::shared_ptr<User>\0user\0"
    "restartResetSessionTimer\0onAuthFinished\0"
    "onAuthStateChanged\0type\0state\0message\0"
    "onFrameworkStateChanged\0"
    "disableGlobalShortcutsForWayland\0"
    "enable\0checkAccount"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LockWorker[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x0a /* Public */,
       4,    1,   82,    2, 0x0a /* Public */,
       5,    2,   85,    2, 0x0a /* Public */,
       7,    2,   90,    2, 0x0a /* Public */,
       8,    2,   95,    2, 0x0a /* Public */,
       9,    3,  100,    2, 0x0a /* Public */,
      11,    1,  107,    2, 0x0a /* Public */,
      14,    0,  110,    2, 0x0a /* Public */,
      15,    0,  111,    2, 0x0a /* Public */,
      16,    3,  112,    2, 0x0a /* Public */,
      20,    1,  119,    2, 0x0a /* Public */,
      21,    1,  122,    2, 0x0a /* Public */,
      23,    1,  125,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    3,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    3,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    3,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QString,    3,    6,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString,   17,   18,   19,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void, QMetaType::QString,    3,

       0        // eod
};

void LockWorker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LockWorker *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->createAuthentication((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->destroyAuthentication((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->startAuthentication((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 3: _t->endAuthentication((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 4: _t->endAccountAuthentication((*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->switchToUser((*reinterpret_cast< std::shared_ptr<User>(*)>(_a[1]))); break;
        case 7: _t->restartResetSessionTimer(); break;
        case 8: _t->onAuthFinished(); break;
        case 9: _t->onAuthStateChanged((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 10: _t->onFrameworkStateChanged((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 11: _t->disableGlobalShortcutsForWayland((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 12: _t->checkAccount((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject LockWorker::staticMetaObject = { {
    QMetaObject::SuperData::link<Auth::AuthInterface::staticMetaObject>(),
    qt_meta_stringdata_LockWorker.data,
    qt_meta_data_LockWorker,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *LockWorker::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_LockWorker.stringdata0))
        return static_cast<void*>(this);
    return Auth::AuthInterface::qt_metacast(_clname);
}

int LockWorker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Auth::AuthInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
