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

#include "../../../nheko/src/ui/UIA.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 'UIA.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN3UIAE_t {};
} // unnamed namespace

template <> constexpr inline auto UIA::qt_create_metaobjectdata<qt_meta_tag_ZN3UIAE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "UIA",
        "QML.Element",
        "auto",
        "QML.Singleton",
        "true",
        "password",
        "",
        "email",
        "phoneNumber",
        "reCaptcha",
        "ReCaptcha*",
        "recaptcha",
        "fallbackAuth",
        "FallbackAuth*",
        "fallback",
        "confirm3pidToken",
        "prompt3pidToken",
        "tokenAccepted",
        "titleChanged",
        "error",
        "msg",
        "continuePassword",
        "continueEmail",
        "continuePhoneNumber",
        "countryCode",
        "submit3pidToken",
        "token",
        "continue3pidReceived",
        "title"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'password'
        QtMocHelpers::SignalData<void()>(5, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'email'
        QtMocHelpers::SignalData<void()>(7, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'phoneNumber'
        QtMocHelpers::SignalData<void()>(8, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'reCaptcha'
        QtMocHelpers::SignalData<void(ReCaptcha *)>(9, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'fallbackAuth'
        QtMocHelpers::SignalData<void(FallbackAuth *)>(12, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Signal 'confirm3pidToken'
        QtMocHelpers::SignalData<void()>(15, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'prompt3pidToken'
        QtMocHelpers::SignalData<void()>(16, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'tokenAccepted'
        QtMocHelpers::SignalData<void()>(17, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'titleChanged'
        QtMocHelpers::SignalData<void()>(18, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'error'
        QtMocHelpers::SignalData<void(QString)>(19, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 },
        }}),
        // Slot 'continuePassword'
        QtMocHelpers::SlotData<void(const QString &)>(21, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'continueEmail'
        QtMocHelpers::SlotData<void(const QString &)>(22, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Slot 'continuePhoneNumber'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(23, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 24 }, { QMetaType::QString, 8 },
        }}),
        // Slot 'submit3pidToken'
        QtMocHelpers::SlotData<void(const QString &)>(25, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 26 },
        }}),
        // Slot 'continue3pidReceived'
        QtMocHelpers::SlotData<void()>(27, 6, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'title'
        QtMocHelpers::PropertyData<QString>(28, QMetaType::QString, QMC::DefaultPropertyFlags, 8),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<UIA, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject UIA::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3UIAE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3UIAE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3UIAE_t>.metaTypes,
    nullptr
} };

void UIA::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<UIA *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->password(); break;
        case 1: _t->email(); break;
        case 2: _t->phoneNumber(); break;
        case 3: _t->reCaptcha((*reinterpret_cast<std::add_pointer_t<ReCaptcha*>>(_a[1]))); break;
        case 4: _t->fallbackAuth((*reinterpret_cast<std::add_pointer_t<FallbackAuth*>>(_a[1]))); break;
        case 5: _t->confirm3pidToken(); break;
        case 6: _t->prompt3pidToken(); break;
        case 7: _t->tokenAccepted(); break;
        case 8: _t->titleChanged(); break;
        case 9: _t->error((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->continuePassword((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->continueEmail((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->continuePhoneNumber((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 13: _t->submit3pidToken((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->continue3pidReceived(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ReCaptcha* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< FallbackAuth* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (UIA::*)()>(_a, &UIA::password, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)()>(_a, &UIA::email, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)()>(_a, &UIA::phoneNumber, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)(ReCaptcha * )>(_a, &UIA::reCaptcha, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)(FallbackAuth * )>(_a, &UIA::fallbackAuth, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)()>(_a, &UIA::confirm3pidToken, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)()>(_a, &UIA::prompt3pidToken, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)()>(_a, &UIA::tokenAccepted, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)()>(_a, &UIA::titleChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (UIA::*)(QString )>(_a, &UIA::error, 9))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->title(); break;
        default: break;
        }
    }
}

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

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

int UIA::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void UIA::reCaptcha(ReCaptcha * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void UIA::fallbackAuth(FallbackAuth * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

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

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

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

// SIGNAL 8
void UIA::titleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void UIA::error(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
