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

#include "../../../../../sddm/src/greeter/GreeterProxy.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 'GreeterProxy.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN4SDDM12GreeterProxyE_t {};
} // unnamed namespace

template <> constexpr inline auto SDDM::GreeterProxy::qt_create_metaobjectdata<qt_meta_tag_ZN4SDDM12GreeterProxyE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SDDM::GreeterProxy",
        "informationMessage",
        "",
        "message",
        "hostNameChanged",
        "hostName",
        "canPowerOffChanged",
        "canPowerOff",
        "canRebootChanged",
        "canReboot",
        "canSuspendChanged",
        "canSuspend",
        "canHibernateChanged",
        "canHibernate",
        "canHybridSleepChanged",
        "canHybridSleep",
        "socketDisconnected",
        "loginFailed",
        "loginSucceeded",
        "powerOff",
        "reboot",
        "suspend",
        "hibernate",
        "hybridSleep",
        "login",
        "user",
        "password",
        "sessionIndex",
        "connected",
        "disconnected",
        "readyRead",
        "error"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'informationMessage'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'hostNameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Signal 'canPowerOffChanged'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'canRebootChanged'
        QtMocHelpers::SignalData<void(bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 9 },
        }}),
        // Signal 'canSuspendChanged'
        QtMocHelpers::SignalData<void(bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 11 },
        }}),
        // Signal 'canHibernateChanged'
        QtMocHelpers::SignalData<void(bool)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Signal 'canHybridSleepChanged'
        QtMocHelpers::SignalData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 15 },
        }}),
        // Signal 'socketDisconnected'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loginFailed'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loginSucceeded'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'powerOff'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reboot'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'suspend'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hibernate'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hybridSleep'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'login'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const int) const>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 25 }, { QMetaType::QString, 26 }, { QMetaType::Int, 27 },
        }}),
        // Slot 'connected'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'disconnected'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'readyRead'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'error'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'hostName'
        QtMocHelpers::PropertyData<QString>(5, QMetaType::QString, QMC::DefaultPropertyFlags, 1),
        // property 'canPowerOff'
        QtMocHelpers::PropertyData<bool>(7, QMetaType::Bool, QMC::DefaultPropertyFlags, 2),
        // property 'canReboot'
        QtMocHelpers::PropertyData<bool>(9, QMetaType::Bool, QMC::DefaultPropertyFlags, 3),
        // property 'canSuspend'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags, 4),
        // property 'canHibernate'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags, 5),
        // property 'canHybridSleep'
        QtMocHelpers::PropertyData<bool>(15, QMetaType::Bool, QMC::DefaultPropertyFlags, 6),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GreeterProxy, qt_meta_tag_ZN4SDDM12GreeterProxyE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SDDM::GreeterProxy::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4SDDM12GreeterProxyE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4SDDM12GreeterProxyE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4SDDM12GreeterProxyE_t>.metaTypes,
    nullptr
} };

void SDDM::GreeterProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GreeterProxy *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->informationMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->hostNameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->canPowerOffChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->canRebootChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->canSuspendChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->canHibernateChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->canHybridSleepChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->socketDisconnected(); break;
        case 8: _t->loginFailed(); break;
        case 9: _t->loginSucceeded(); break;
        case 10: _t->powerOff(); break;
        case 11: _t->reboot(); break;
        case 12: _t->suspend(); break;
        case 13: _t->hibernate(); break;
        case 14: _t->hybridSleep(); break;
        case 15: _t->login((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 16: _t->connected(); break;
        case 17: _t->disconnected(); break;
        case 18: _t->readyRead(); break;
        case 19: _t->error(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)(const QString & )>(_a, &GreeterProxy::informationMessage, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)(const QString & )>(_a, &GreeterProxy::hostNameChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)(bool )>(_a, &GreeterProxy::canPowerOffChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)(bool )>(_a, &GreeterProxy::canRebootChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)(bool )>(_a, &GreeterProxy::canSuspendChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)(bool )>(_a, &GreeterProxy::canHibernateChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)(bool )>(_a, &GreeterProxy::canHybridSleepChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)()>(_a, &GreeterProxy::socketDisconnected, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)()>(_a, &GreeterProxy::loginFailed, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (GreeterProxy::*)()>(_a, &GreeterProxy::loginSucceeded, 9))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->hostName(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->canPowerOff(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->canReboot(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->canSuspend(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->canHibernate(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->canHybridSleep(); break;
        default: break;
        }
    }
}

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

void *SDDM::GreeterProxy::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4SDDM12GreeterProxyE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int SDDM::GreeterProxy::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 < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 20;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void SDDM::GreeterProxy::informationMessage(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void SDDM::GreeterProxy::hostNameChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void SDDM::GreeterProxy::canPowerOffChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void SDDM::GreeterProxy::canRebootChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void SDDM::GreeterProxy::canSuspendChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void SDDM::GreeterProxy::canHibernateChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void SDDM::GreeterProxy::canHybridSleepChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

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

// SIGNAL 8
void SDDM::GreeterProxy::loginFailed()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void SDDM::GreeterProxy::loginSucceeded()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
