/****************************************************************************
** Meta object code from reading C++ file 'greeterworker.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/lightdm-deepin-greeter/greeterworker.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'greeterworker.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_GreeterWorker_t {
    QByteArrayData data[26];
    char stringdata0[364];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GreeterWorker_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GreeterWorker_t qt_meta_stringdata_GreeterWorker = {
    {
QT_MOC_LITERAL(0, 0, 13), // "GreeterWorker"
QT_MOC_LITERAL(1, 14, 23), // "requestUpdateBackground"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 4), // "path"
QT_MOC_LITERAL(4, 44, 17), // "requestShowPrompt"
QT_MOC_LITERAL(5, 62, 6), // "prompt"
QT_MOC_LITERAL(6, 69, 18), // "requestShowMessage"
QT_MOC_LITERAL(7, 88, 7), // "message"
QT_MOC_LITERAL(8, 96, 20), // "createAuthentication"
QT_MOC_LITERAL(9, 117, 7), // "account"
QT_MOC_LITERAL(10, 125, 21), // "destroyAuthentication"
QT_MOC_LITERAL(11, 147, 19), // "startAuthentication"
QT_MOC_LITERAL(12, 167, 8), // "authType"
QT_MOC_LITERAL(13, 176, 17), // "endAuthentication"
QT_MOC_LITERAL(14, 194, 15), // "sendTokenToAuth"
QT_MOC_LITERAL(15, 210, 5), // "token"
QT_MOC_LITERAL(16, 216, 12), // "checkAccount"
QT_MOC_LITERAL(17, 229, 24), // "restartResetSessionTimer"
QT_MOC_LITERAL(18, 254, 14), // "onAuthFinished"
QT_MOC_LITERAL(19, 269, 18), // "onAuthStateChanged"
QT_MOC_LITERAL(20, 288, 4), // "type"
QT_MOC_LITERAL(21, 293, 5), // "state"
QT_MOC_LITERAL(22, 299, 16), // "onReceiptChanged"
QT_MOC_LITERAL(23, 316, 20), // "onCurrentUserChanged"
QT_MOC_LITERAL(24, 337, 21), // "std::shared_ptr<User>"
QT_MOC_LITERAL(25, 359, 4) // "user"

    },
    "GreeterWorker\0requestUpdateBackground\0"
    "\0path\0requestShowPrompt\0prompt\0"
    "requestShowMessage\0message\0"
    "createAuthentication\0account\0"
    "destroyAuthentication\0startAuthentication\0"
    "authType\0endAuthentication\0sendTokenToAuth\0"
    "token\0checkAccount\0restartResetSessionTimer\0"
    "onAuthFinished\0onAuthStateChanged\0"
    "type\0state\0onReceiptChanged\0"
    "onCurrentUserChanged\0std::shared_ptr<User>\0"
    "user"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GreeterWorker[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       4,    1,   87,    2, 0x06 /* Public */,
       6,    1,   90,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   93,    2, 0x0a /* Public */,
      10,    1,   96,    2, 0x0a /* Public */,
      11,    2,   99,    2, 0x0a /* Public */,
      13,    2,  104,    2, 0x0a /* Public */,
      14,    3,  109,    2, 0x0a /* Public */,
      16,    1,  116,    2, 0x0a /* Public */,
      17,    0,  119,    2, 0x0a /* Public */,
      18,    0,  120,    2, 0x0a /* Public */,
      19,    3,  121,    2, 0x08 /* Private */,
      22,    1,  128,    2, 0x08 /* Private */,
      23,    1,  131,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    9,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    9,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QString,    9,   12,   15,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString,   20,   21,    7,
    QMetaType::Void, QMetaType::Bool,   21,
    QMetaType::Void, 0x80000000 | 24,   25,

       0        // eod
};

void GreeterWorker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GreeterWorker *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->requestUpdateBackground((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->requestShowPrompt((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->requestShowMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->createAuthentication((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->destroyAuthentication((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->startAuthentication((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 6: _t->endAuthentication((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 7: _t->sendTokenToAuth((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 8: _t->checkAccount((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->restartResetSessionTimer(); break;
        case 10: _t->onAuthFinished(); break;
        case 11: _t->onAuthStateChanged((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 12: _t->onReceiptChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->onCurrentUserChanged((*reinterpret_cast< const std::shared_ptr<User>(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GreeterWorker::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GreeterWorker::requestUpdateBackground)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (GreeterWorker::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GreeterWorker::requestShowPrompt)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (GreeterWorker::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GreeterWorker::requestShowMessage)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject GreeterWorker::staticMetaObject = { {
    QMetaObject::SuperData::link<Auth::AuthInterface::staticMetaObject>(),
    qt_meta_stringdata_GreeterWorker.data,
    qt_meta_data_GreeterWorker,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int GreeterWorker::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 < 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 GreeterWorker::requestUpdateBackground(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 GreeterWorker::requestShowPrompt(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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