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

#include "../../../../../neochat-26.07.80/src/login/login.h"
#include <QtNetwork/QSslError>
#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 'login.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.0. 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_ZN11LoginHelperE_t {};
} // unnamed namespace

template <> constexpr inline auto LoginHelper::qt_create_metaobjectdata<qt_meta_tag_ZN11LoginHelperE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LoginHelper",
        "QML.Element",
        "auto",
        "QML.Singleton",
        "true",
        "homeserverReachableChanged",
        "",
        "testHomeserverFinished",
        "matrixIdChanged",
        "passwordChanged",
        "deviceNameChanged",
        "loginFlowsChanged",
        "ssoUrlChanged",
        "connected",
        "loginErrorOccured",
        "message",
        "testingChanged",
        "isLoggingInChanged",
        "isLoggedInChanged",
        "isInvalidPasswordChanged",
        "loaded",
        "init",
        "login",
        "loginWithSso",
        "homeserverReachable",
        "testing",
        "matrixId",
        "password",
        "deviceName",
        "supportsSso",
        "supportsPassword",
        "ssoUrl",
        "QUrl",
        "isLoggingIn",
        "isLoggedIn",
        "isInvalidPassword"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'homeserverReachableChanged'
        QtMocHelpers::SignalData<void()>(5, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'testHomeserverFinished'
        QtMocHelpers::SignalData<void()>(7, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'matrixIdChanged'
        QtMocHelpers::SignalData<void()>(8, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'passwordChanged'
        QtMocHelpers::SignalData<void()>(9, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deviceNameChanged'
        QtMocHelpers::SignalData<void()>(10, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loginFlowsChanged'
        QtMocHelpers::SignalData<void()>(11, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ssoUrlChanged'
        QtMocHelpers::SignalData<void()>(12, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'connected'
        QtMocHelpers::SignalData<void()>(13, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loginErrorOccured'
        QtMocHelpers::SignalData<void(const QString &)>(14, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Signal 'testingChanged'
        QtMocHelpers::SignalData<void()>(16, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'isLoggingInChanged'
        QtMocHelpers::SignalData<void()>(17, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'isLoggedInChanged'
        QtMocHelpers::SignalData<void()>(18, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'isInvalidPasswordChanged'
        QtMocHelpers::SignalData<void()>(19, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loaded'
        QtMocHelpers::SignalData<void()>(20, 6, QMC::AccessPublic, QMetaType::Void),
        // Method 'init'
        QtMocHelpers::MethodData<void()>(21, 6, QMC::AccessPublic, QMetaType::Void),
        // Method 'login'
        QtMocHelpers::MethodData<void()>(22, 6, QMC::AccessPublic, QMetaType::Void),
        // Method 'loginWithSso'
        QtMocHelpers::MethodData<void()>(23, 6, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'homeserverReachable'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags, 0),
        // property 'testing'
        QtMocHelpers::PropertyData<bool>(25, QMetaType::Bool, QMC::DefaultPropertyFlags, 9),
        // property 'matrixId'
        QtMocHelpers::PropertyData<QString>(26, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'password'
        QtMocHelpers::PropertyData<QString>(27, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'deviceName'
        QtMocHelpers::PropertyData<QString>(28, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'supportsSso'
        QtMocHelpers::PropertyData<bool>(29, QMetaType::Bool, QMC::Readable | QMC::Designable | QMC::Scriptable, 5),
        // property 'supportsPassword'
        QtMocHelpers::PropertyData<bool>(30, QMetaType::Bool, QMC::Readable | QMC::Designable | QMC::Scriptable, 5),
        // property 'ssoUrl'
        QtMocHelpers::PropertyData<QUrl>(31, 0x80000000 | 32, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 6),
        // property 'isLoggingIn'
        QtMocHelpers::PropertyData<bool>(33, QMetaType::Bool, QMC::DefaultPropertyFlags, 10),
        // property 'isLoggedIn'
        QtMocHelpers::PropertyData<bool>(34, QMetaType::Bool, QMC::DefaultPropertyFlags, 11),
        // property 'isInvalidPassword'
        QtMocHelpers::PropertyData<bool>(35, QMetaType::Bool, QMC::DefaultPropertyFlags, 12),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<LoginHelper, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject LoginHelper::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11LoginHelperE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11LoginHelperE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11LoginHelperE_t>.metaTypes,
    nullptr
} };

void LoginHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LoginHelper *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->homeserverReachableChanged(); break;
        case 1: _t->testHomeserverFinished(); break;
        case 2: _t->matrixIdChanged(); break;
        case 3: _t->passwordChanged(); break;
        case 4: _t->deviceNameChanged(); break;
        case 5: _t->loginFlowsChanged(); break;
        case 6: _t->ssoUrlChanged(); break;
        case 7: _t->connected(); break;
        case 8: _t->loginErrorOccured((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->testingChanged(); break;
        case 10: _t->isLoggingInChanged(); break;
        case 11: _t->isLoggedInChanged(); break;
        case 12: _t->isInvalidPasswordChanged(); break;
        case 13: _t->loaded(); break;
        case 14: _t->init(); break;
        case 15: _t->login(); break;
        case 16: _t->loginWithSso(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::homeserverReachableChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::testHomeserverFinished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::matrixIdChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::passwordChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::deviceNameChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::loginFlowsChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::ssoUrlChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::connected, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)(const QString & )>(_a, &LoginHelper::loginErrorOccured, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::testingChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::isLoggingInChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::isLoggedInChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::isInvalidPasswordChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (LoginHelper::*)()>(_a, &LoginHelper::loaded, 13))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->homeserverReachable(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->testing(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->matrixId(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->password(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->deviceName(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->supportsSso(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->supportsPassword(); break;
        case 7: *reinterpret_cast<QUrl*>(_v) = _t->ssoUrl(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->isLoggingIn(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->isLoggedIn(); break;
        case 10: *reinterpret_cast<bool*>(_v) = _t->isInvalidPassword(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setMatrixId(*reinterpret_cast<QString*>(_v)); break;
        case 3: _t->setPassword(*reinterpret_cast<QString*>(_v)); break;
        case 4: _t->setDeviceName(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

// SIGNAL 0
void LoginHelper::homeserverReachableChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void LoginHelper::testHomeserverFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void LoginHelper::matrixIdChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void LoginHelper::passwordChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void LoginHelper::deviceNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void LoginHelper::loginFlowsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void LoginHelper::ssoUrlChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void LoginHelper::connected()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void LoginHelper::loginErrorOccured(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void LoginHelper::testingChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void LoginHelper::isLoggingInChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void LoginHelper::isLoggedInChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void LoginHelper::isInvalidPasswordChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void LoginHelper::loaded()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}
QT_WARNING_POP
