/****************************************************************************
** Meta object code from reading C++ file 'Auth.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../sddm-0.21.0/src/auth/Auth.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Auth.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.8.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN4SDDM4AuthE_t {};
} // unnamed namespace


#ifdef QT_MOC_HAS_STRINGDATA
static constexpr auto qt_meta_stringdata_ZN4SDDM4AuthE = QtMocHelpers::stringData(
    "SDDM::Auth",
    "autologinChanged",
    "",
    "greeterChanged",
    "verboseChanged",
    "cookieChanged",
    "userChanged",
    "displayServerCommandChanged",
    "sessionChanged",
    "requestChanged",
    "authentication",
    "user",
    "success",
    "sessionStarted",
    "displayServerReady",
    "displayName",
    "finished",
    "Auth::HelperExitStatus",
    "status",
    "error",
    "message",
    "Auth::Error",
    "type",
    "info",
    "Auth::Info",
    "start",
    "stop",
    "autologin",
    "greeter",
    "verbose",
    "cookie",
    "session",
    "request",
    "AuthRequest*",
    "Info",
    "INFO_NONE",
    "INFO_UNKNOWN",
    "INFO_PASS_CHANGE_REQUIRED",
    "_INFO_LAST",
    "Error",
    "ERROR_NONE",
    "ERROR_UNKNOWN",
    "ERROR_AUTHENTICATION",
    "ERROR_INTERNAL",
    "_ERROR_LAST",
    "HelperExitStatus",
    "HELPER_SUCCESS",
    "HELPER_AUTH_ERROR",
    "HELPER_SESSION_ERROR",
    "HELPER_OTHER_ERROR",
    "HELPER_DISPLAYSERVER_ERROR",
    "HELPER_TTY_ERROR"
);
#else  // !QT_MOC_HAS_STRINGDATA
#error "qtmochelpers.h not found or too old."
#endif // !QT_MOC_HAS_STRINGDATA

Q_CONSTINIT static const uint qt_meta_data_ZN4SDDM4AuthE[] = {

 // content:
      12,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       7,  144, // properties
       3,  179, // enums/sets
       0,    0, // constructors
       0,       // flags
      14,       // signalCount

 // signals: name, argc, parameters, tag, flags, initial metatype offsets
       1,    0,  110,    2, 0x06,   11 /* Public */,
       3,    0,  111,    2, 0x06,   12 /* Public */,
       4,    0,  112,    2, 0x06,   13 /* Public */,
       5,    0,  113,    2, 0x06,   14 /* Public */,
       6,    0,  114,    2, 0x06,   15 /* Public */,
       7,    0,  115,    2, 0x06,   16 /* Public */,
       8,    0,  116,    2, 0x06,   17 /* Public */,
       9,    0,  117,    2, 0x06,   18 /* Public */,
      10,    2,  118,    2, 0x06,   19 /* Public */,
      13,    1,  123,    2, 0x06,   22 /* Public */,
      14,    1,  126,    2, 0x06,   24 /* Public */,
      16,    1,  129,    2, 0x06,   26 /* Public */,
      19,    2,  132,    2, 0x06,   28 /* Public */,
      23,    2,  137,    2, 0x06,   31 /* Public */,

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
      25,    0,  142,    2, 0x0a,   34 /* Public */,
      26,    0,  143,    2, 0x0a,   35 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   11,   12,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 21,   20,   22,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 24,   20,   22,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags, notifyId, revision
      27, QMetaType::Bool, 0x00015103, uint(0), 0,
      28, QMetaType::Bool, 0x00015103, uint(1), 0,
      29, QMetaType::Bool, 0x00015103, uint(2), 0,
      30, QMetaType::QByteArray, 0x00015103, uint(3), 0,
      11, QMetaType::QString, 0x00015103, uint(4), 0,
      31, QMetaType::QString, 0x00015103, uint(6), 0,
      32, 0x80000000 | 33, 0x00015009, uint(7), 0,

 // enums: name, alias, flags, count, data
      34,   34, 0x0,    4,  194,
      39,   39, 0x0,    5,  202,
      45,   45, 0x0,    6,  212,

 // enum data: key, value
      35, uint(SDDM::Auth::INFO_NONE),
      36, uint(SDDM::Auth::INFO_UNKNOWN),
      37, uint(SDDM::Auth::INFO_PASS_CHANGE_REQUIRED),
      38, uint(SDDM::Auth::_INFO_LAST),
      40, uint(SDDM::Auth::ERROR_NONE),
      41, uint(SDDM::Auth::ERROR_UNKNOWN),
      42, uint(SDDM::Auth::ERROR_AUTHENTICATION),
      43, uint(SDDM::Auth::ERROR_INTERNAL),
      44, uint(SDDM::Auth::_ERROR_LAST),
      46, uint(SDDM::Auth::HELPER_SUCCESS),
      47, uint(SDDM::Auth::HELPER_AUTH_ERROR),
      48, uint(SDDM::Auth::HELPER_SESSION_ERROR),
      49, uint(SDDM::Auth::HELPER_OTHER_ERROR),
      50, uint(SDDM::Auth::HELPER_DISPLAYSERVER_ERROR),
      51, uint(SDDM::Auth::HELPER_TTY_ERROR),

       0        // eod
};

Q_CONSTINIT const QMetaObject SDDM::Auth::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_ZN4SDDM4AuthE.offsetsAndSizes,
    qt_meta_data_ZN4SDDM4AuthE,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_tag_ZN4SDDM4AuthE_t,
        // property 'autologin'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'greeter'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'verbose'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'cookie'
        QtPrivate::TypeAndForceComplete<QByteArray, std::true_type>,
        // property 'user'
        QtPrivate::TypeAndForceComplete<QString, std::true_type>,
        // property 'session'
        QtPrivate::TypeAndForceComplete<QString, std::true_type>,
        // property 'request'
        QtPrivate::TypeAndForceComplete<AuthRequest*, std::true_type>,
        // enum 'Info'
        QtPrivate::TypeAndForceComplete<Auth::Info, std::true_type>,
        // enum 'Error'
        QtPrivate::TypeAndForceComplete<Auth::Error, std::true_type>,
        // enum 'HelperExitStatus'
        QtPrivate::TypeAndForceComplete<Auth::HelperExitStatus, std::true_type>,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<Auth, std::true_type>,
        // method 'autologinChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'greeterChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'verboseChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'cookieChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'userChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'displayServerCommandChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sessionChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'requestChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'authentication'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QString, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'sessionStarted'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'displayServerReady'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'finished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<Auth::HelperExitStatus, std::false_type>,
        // method 'error'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QString, std::false_type>,
        QtPrivate::TypeAndForceComplete<Auth::Error, std::false_type>,
        // method 'info'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QString, std::false_type>,
        QtPrivate::TypeAndForceComplete<Auth::Info, std::false_type>,
        // method 'start'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'stop'
        QtPrivate::TypeAndForceComplete<void, std::false_type>
    >,
    nullptr
} };

void SDDM::Auth::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Auth *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->autologinChanged(); break;
        case 1: _t->greeterChanged(); break;
        case 2: _t->verboseChanged(); break;
        case 3: _t->cookieChanged(); break;
        case 4: _t->userChanged(); break;
        case 5: _t->displayServerCommandChanged(); break;
        case 6: _t->sessionChanged(); break;
        case 7: _t->requestChanged(); break;
        case 8: _t->authentication((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        case 9: _t->sessionStarted((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->displayServerReady((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->finished((*reinterpret_cast< std::add_pointer_t<Auth::HelperExitStatus>>(_a[1]))); break;
        case 12: _t->error((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<Auth::Error>>(_a[2]))); break;
        case 13: _t->info((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<Auth::Info>>(_a[2]))); break;
        case 14: _t->start(); break;
        case 15: _t->stop(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _q_method_type = void (Auth::*)();
            if (_q_method_type _q_method = &Auth::autologinChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 0;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)();
            if (_q_method_type _q_method = &Auth::greeterChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 1;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)();
            if (_q_method_type _q_method = &Auth::verboseChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 2;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)();
            if (_q_method_type _q_method = &Auth::cookieChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 3;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)();
            if (_q_method_type _q_method = &Auth::userChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 4;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)();
            if (_q_method_type _q_method = &Auth::displayServerCommandChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 5;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)();
            if (_q_method_type _q_method = &Auth::sessionChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 6;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)();
            if (_q_method_type _q_method = &Auth::requestChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 7;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)(QString , bool );
            if (_q_method_type _q_method = &Auth::authentication; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 8;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)(bool );
            if (_q_method_type _q_method = &Auth::sessionStarted; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 9;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)(const QString & );
            if (_q_method_type _q_method = &Auth::displayServerReady; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 10;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)(Auth::HelperExitStatus );
            if (_q_method_type _q_method = &Auth::finished; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 11;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)(QString , Auth::Error );
            if (_q_method_type _q_method = &Auth::error; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 12;
                return;
            }
        }
        {
            using _q_method_type = void (Auth::*)(QString , Auth::Info );
            if (_q_method_type _q_method = &Auth::info; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 13;
                return;
            }
        }
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< AuthRequest* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->autologin(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isGreeter(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->verbose(); break;
        case 3: *reinterpret_cast< QByteArray*>(_v) = _t->cookie(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->user(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->session(); break;
        case 6: *reinterpret_cast< AuthRequest**>(_v) = _t->request(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAutologin(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setGreeter(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setVerbose(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setCookie(*reinterpret_cast< QByteArray*>(_v)); break;
        case 4: _t->setUser(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setSession(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    }
}

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

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

int SDDM::Auth::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 16;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void SDDM::Auth::autologinChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void SDDM::Auth::greeterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void SDDM::Auth::verboseChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void SDDM::Auth::cookieChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void SDDM::Auth::userChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void SDDM::Auth::displayServerCommandChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void SDDM::Auth::sessionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void SDDM::Auth::requestChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void SDDM::Auth::authentication(QString _t1, bool _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, 8, _a);
}

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

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

// SIGNAL 11
void SDDM::Auth::finished(Auth::HelperExitStatus _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void SDDM::Auth::error(QString _t1, Auth::Error _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, 12, _a);
}

// SIGNAL 13
void SDDM::Auth::info(QString _t1, Auth::Info _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, 13, _a);
}
QT_WARNING_POP
