/****************************************************************************
** Meta object code from reading C++ file 'GreeterProxy.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/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 != 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_ZN4SDDM12GreeterProxyE_t {};
} // unnamed namespace


#ifdef QT_MOC_HAS_STRINGDATA
static constexpr auto qt_meta_stringdata_ZN4SDDM12GreeterProxyE = QtMocHelpers::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"
);
#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_ZN4SDDM12GreeterProxyE[] = {

 // content:
      12,       // revision
       0,       // classname
       0,    0, // classinfo
      20,   14, // methods
       6,  174, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags, initial metatype offsets
       1,    1,  134,    2, 0x06,    7 /* Public */,
       4,    1,  137,    2, 0x06,    9 /* Public */,
       6,    1,  140,    2, 0x06,   11 /* Public */,
       8,    1,  143,    2, 0x06,   13 /* Public */,
      10,    1,  146,    2, 0x06,   15 /* Public */,
      12,    1,  149,    2, 0x06,   17 /* Public */,
      14,    1,  152,    2, 0x06,   19 /* Public */,
      16,    0,  155,    2, 0x06,   21 /* Public */,
      17,    0,  156,    2, 0x06,   22 /* Public */,
      18,    0,  157,    2, 0x06,   23 /* Public */,

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
      19,    0,  158,    2, 0x0a,   24 /* Public */,
      20,    0,  159,    2, 0x0a,   25 /* Public */,
      21,    0,  160,    2, 0x0a,   26 /* Public */,
      22,    0,  161,    2, 0x0a,   27 /* Public */,
      23,    0,  162,    2, 0x0a,   28 /* Public */,
      24,    3,  163,    2, 0x10a,   29 /* Public | MethodIsConst  */,
      28,    0,  170,    2, 0x08,   33 /* Private */,
      29,    0,  171,    2, 0x08,   34 /* Private */,
      30,    0,  172,    2, 0x08,   35 /* Private */,
      31,    0,  173,    2, 0x08,   36 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Int,   25,   26,   27,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags, notifyId, revision
       5, QMetaType::QString, 0x00015001, uint(1), 0,
       7, QMetaType::Bool, 0x00015001, uint(2), 0,
       9, QMetaType::Bool, 0x00015001, uint(3), 0,
      11, QMetaType::Bool, 0x00015001, uint(4), 0,
      13, QMetaType::Bool, 0x00015001, uint(5), 0,
      15, QMetaType::Bool, 0x00015001, uint(6), 0,

       0        // eod
};

Q_CONSTINIT const QMetaObject SDDM::GreeterProxy::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_ZN4SDDM12GreeterProxyE.offsetsAndSizes,
    qt_meta_data_ZN4SDDM12GreeterProxyE,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_tag_ZN4SDDM12GreeterProxyE_t,
        // property 'hostName'
        QtPrivate::TypeAndForceComplete<QString, std::true_type>,
        // property 'canPowerOff'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'canReboot'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'canSuspend'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'canHibernate'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'canHybridSleep'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<GreeterProxy, std::true_type>,
        // method 'informationMessage'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'hostNameChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'canPowerOffChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'canRebootChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'canSuspendChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'canHibernateChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'canHybridSleepChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'socketDisconnected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'loginFailed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'loginSucceeded'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'powerOff'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'reboot'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'suspend'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'hibernate'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'hybridSleep'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'login'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        // method 'connected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'disconnected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'readyRead'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'error'
        QtPrivate::TypeAndForceComplete<void, std::false_type>
    >,
    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) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _q_method_type = void (GreeterProxy::*)(const QString & );
            if (_q_method_type _q_method = &GreeterProxy::informationMessage; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 0;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)(const QString & );
            if (_q_method_type _q_method = &GreeterProxy::hostNameChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 1;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)(bool );
            if (_q_method_type _q_method = &GreeterProxy::canPowerOffChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 2;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)(bool );
            if (_q_method_type _q_method = &GreeterProxy::canRebootChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 3;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)(bool );
            if (_q_method_type _q_method = &GreeterProxy::canSuspendChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 4;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)(bool );
            if (_q_method_type _q_method = &GreeterProxy::canHibernateChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 5;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)(bool );
            if (_q_method_type _q_method = &GreeterProxy::canHybridSleepChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 6;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)();
            if (_q_method_type _q_method = &GreeterProxy::socketDisconnected; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 7;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)();
            if (_q_method_type _q_method = &GreeterProxy::loginFailed; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 8;
                return;
            }
        }
        {
            using _q_method_type = void (GreeterProxy::*)();
            if (_q_method_type _q_method = &GreeterProxy::loginSucceeded; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
                *result = 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_meta_stringdata_ZN4SDDM12GreeterProxyE.stringdata0))
        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)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void SDDM::GreeterProxy::hostNameChanged(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 SDDM::GreeterProxy::canPowerOffChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

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

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

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

// 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
