/****************************************************************************
** Meta object code from reading C++ file 'loginframe.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/loginframe.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'loginframe.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_LoginFrame_t {
    QByteArrayData data[17];
    char stringdata0[272];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LoginFrame_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LoginFrame_t qt_meta_stringdata_LoginFrame = {
    {
QT_MOC_LITERAL(0, 0, 10), // "LoginFrame"
QT_MOC_LITERAL(1, 11, 19), // "requestSwitchToUser"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 21), // "std::shared_ptr<User>"
QT_MOC_LITERAL(4, 54, 4), // "user"
QT_MOC_LITERAL(5, 59, 24), // "requestSetKeyboardLayout"
QT_MOC_LITERAL(6, 84, 6), // "layout"
QT_MOC_LITERAL(7, 91, 27), // "requestCreateAuthController"
QT_MOC_LITERAL(8, 119, 7), // "account"
QT_MOC_LITERAL(9, 127, 28), // "requestDestroyAuthController"
QT_MOC_LITERAL(10, 156, 26), // "requestStartAuthentication"
QT_MOC_LITERAL(11, 183, 8), // "authType"
QT_MOC_LITERAL(12, 192, 15), // "sendTokenToAuth"
QT_MOC_LITERAL(13, 208, 5), // "token"
QT_MOC_LITERAL(14, 214, 24), // "requestEndAuthentication"
QT_MOC_LITERAL(15, 239, 12), // "authFinished"
QT_MOC_LITERAL(16, 252, 19) // "requestCheckAccount"

    },
    "LoginFrame\0requestSwitchToUser\0\0"
    "std::shared_ptr<User>\0user\0"
    "requestSetKeyboardLayout\0layout\0"
    "requestCreateAuthController\0account\0"
    "requestDestroyAuthController\0"
    "requestStartAuthentication\0authType\0"
    "sendTokenToAuth\0token\0requestEndAuthentication\0"
    "authFinished\0requestCheckAccount"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LoginFrame[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       5,    2,   62,    2, 0x06 /* Public */,
       7,    1,   67,    2, 0x06 /* Public */,
       9,    1,   70,    2, 0x06 /* Public */,
      10,    2,   73,    2, 0x06 /* Public */,
      12,    3,   78,    2, 0x06 /* Public */,
      14,    2,   85,    2, 0x06 /* Public */,
      15,    0,   90,    2, 0x06 /* Public */,
      16,    1,   91,    2, 0x06 /* Public */,

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

       0        // eod
};

void LoginFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LoginFrame *>(_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->requestCreateAuthController((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->requestDestroyAuthController((*reinterpret_cast< const 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;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (LoginFrame::*)(std::shared_ptr<User> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::requestSwitchToUser)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (LoginFrame::*)(std::shared_ptr<User> , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::requestSetKeyboardLayout)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (LoginFrame::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::requestCreateAuthController)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (LoginFrame::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::requestDestroyAuthController)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (LoginFrame::*)(const QString & , const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::requestStartAuthentication)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (LoginFrame::*)(const QString & , const int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::sendTokenToAuth)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (LoginFrame::*)(const QString & , const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::requestEndAuthentication)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (LoginFrame::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::authFinished)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (LoginFrame::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoginFrame::requestCheckAccount)) {
                *result = 8;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject LoginFrame::staticMetaObject = { {
    QMetaObject::SuperData::link<FullscreenBackground::staticMetaObject>(),
    qt_meta_stringdata_LoginFrame.data,
    qt_meta_data_LoginFrame,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int LoginFrame::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void LoginFrame::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 LoginFrame::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 LoginFrame::requestCreateAuthController(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void LoginFrame::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 LoginFrame::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 LoginFrame::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 LoginFrame::authFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void LoginFrame::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
