/****************************************************************************
** Meta object code from reading C++ file 'HelperApp.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/helper/HelperApp.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 'HelperApp.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_ZN4SDDM9HelperAppE_t {};
} // unnamed namespace


#ifdef QT_MOC_HAS_STRINGDATA
static constexpr auto qt_meta_stringdata_ZN4SDDM9HelperAppE = QtMocHelpers::stringData(
    "SDDM::HelperApp",
    "request",
    "Request",
    "",
    "info",
    "message",
    "Auth::Info",
    "type",
    "error",
    "Auth::Error",
    "authenticated",
    "QProcessEnvironment",
    "user",
    "displayServerStarted",
    "displayName",
    "sessionOpened",
    "success",
    "setUp",
    "doAuth",
    "sessionFinished",
    "status"
);
#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_ZN4SDDM9HelperAppE[] = {

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

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       1,    1,   68,    3, 0x0a,    1 /* Public */,
       4,    2,   71,    3, 0x0a,    3 /* Public */,
       8,    2,   76,    3, 0x0a,    6 /* Public */,
      10,    1,   81,    3, 0x0a,    9 /* Public */,
      13,    1,   84,    3, 0x0a,   11 /* Public */,
      15,    1,   87,    3, 0x0a,   13 /* Public */,
      17,    0,   90,    3, 0x08,   15 /* Private */,
      18,    0,   91,    3, 0x08,   16 /* Private */,
      19,    1,   92,    3, 0x08,   17 /* Private */,

 // slots: parameters
    0x80000000 | 2, 0x80000000 | 2,    1,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 6,    5,    7,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 9,    5,    7,
    0x80000000 | 11, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   20,

       0        // eod
};

Q_CONSTINIT const QMetaObject SDDM::HelperApp::staticMetaObject = { {
    QMetaObject::SuperData::link<QCoreApplication::staticMetaObject>(),
    qt_meta_stringdata_ZN4SDDM9HelperAppE.offsetsAndSizes,
    qt_meta_data_ZN4SDDM9HelperAppE,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_tag_ZN4SDDM9HelperAppE_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<HelperApp, std::true_type>,
        // method 'request'
        QtPrivate::TypeAndForceComplete<Request, std::false_type>,
        QtPrivate::TypeAndForceComplete<const Request &, std::false_type>,
        // method 'info'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        QtPrivate::TypeAndForceComplete<Auth::Info, std::false_type>,
        // method 'error'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        QtPrivate::TypeAndForceComplete<Auth::Error, std::false_type>,
        // method 'authenticated'
        QtPrivate::TypeAndForceComplete<QProcessEnvironment, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'displayServerStarted'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'sessionOpened'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'setUp'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'doAuth'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sessionFinished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>
    >,
    nullptr
} };

void SDDM::HelperApp::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<HelperApp *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { Request _r = _t->request((*reinterpret_cast< std::add_pointer_t<Request>>(_a[1])));
            if (_a[0]) *reinterpret_cast< Request*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->info((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<Auth::Info>>(_a[2]))); break;
        case 2: _t->error((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<Auth::Error>>(_a[2]))); break;
        case 3: { QProcessEnvironment _r = _t->authenticated((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast< QProcessEnvironment*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->displayServerStarted((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->sessionOpened((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->setUp(); break;
        case 7: _t->doAuth(); break;
        case 8: _t->sessionFinished((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
}

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

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

int SDDM::HelperApp::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QCoreApplication::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;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 9;
    }
    return _id;
}
QT_WARNING_POP
