/****************************************************************************
** Meta object code from reading C++ file 'neochatroommember.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.90/src/libneochat/neochatroommember.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 'neochatroommember.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_ZN17NeochatRoomMemberE_t {};
} // unnamed namespace

template <> constexpr inline auto NeochatRoomMember::qt_create_metaobjectdata<qt_meta_tag_ZN17NeochatRoomMemberE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "NeochatRoomMember",
        "QML.Element",
        "auto",
        "QML.Creatable",
        "false",
        "QML.UncreatableReason",
        "",
        "displayNameUpdated",
        "avatarUpdated",
        "id",
        "uri",
        "Quotient::Uri",
        "isLocalMember",
        "displayName",
        "htmlSafeDisplayName",
        "fullName",
        "htmlSafeFullName",
        "disambiguatedName",
        "htmlSafeDisambiguatedName",
        "hue",
        "hueF",
        "color",
        "QColor",
        "avatarUrl",
        "QUrl"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'displayNameUpdated'
        QtMocHelpers::SignalData<void()>(7, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'avatarUpdated'
        QtMocHelpers::SignalData<void()>(8, 6, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'id'
        QtMocHelpers::PropertyData<QString>(9, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'uri'
        QtMocHelpers::PropertyData<Quotient::Uri>(10, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'isLocalMember'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'displayName'
        QtMocHelpers::PropertyData<QString>(13, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'htmlSafeDisplayName'
        QtMocHelpers::PropertyData<QString>(14, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'fullName'
        QtMocHelpers::PropertyData<QString>(15, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'htmlSafeFullName'
        QtMocHelpers::PropertyData<QString>(16, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'disambiguatedName'
        QtMocHelpers::PropertyData<QString>(17, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'htmlSafeDisambiguatedName'
        QtMocHelpers::PropertyData<QString>(18, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'hue'
        QtMocHelpers::PropertyData<int>(19, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'hueF'
        QtMocHelpers::PropertyData<qreal>(20, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'color'
        QtMocHelpers::PropertyData<QColor>(21, 0x80000000 | 22, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'avatarUrl'
        QtMocHelpers::PropertyData<QUrl>(23, 0x80000000 | 24, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 1),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
            {    5,    6 },
    });
    return QtMocHelpers::metaObjectData<NeochatRoomMember, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT static const QMetaObject::SuperData qt_meta_extradata_ZN17NeochatRoomMemberE[] = {
    QMetaObject::SuperData::link<Quotient::staticMetaObject>(),
    nullptr
};

Q_CONSTINIT const QMetaObject NeochatRoomMember::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17NeochatRoomMemberE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17NeochatRoomMemberE_t>.data,
    qt_static_metacall,
    qt_meta_extradata_ZN17NeochatRoomMemberE,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17NeochatRoomMemberE_t>.metaTypes,
    nullptr
} };

void NeochatRoomMember::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<NeochatRoomMember *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->displayNameUpdated(); break;
        case 1: _t->avatarUpdated(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (NeochatRoomMember::*)()>(_a, &NeochatRoomMember::displayNameUpdated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeochatRoomMember::*)()>(_a, &NeochatRoomMember::avatarUpdated, 1))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->id(); break;
        case 1: *reinterpret_cast<Quotient::Uri*>(_v) = _t->uri(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->isLocalMember(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->displayName(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->htmlSafeDisplayName(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->fullName(); break;
        case 6: *reinterpret_cast<QString*>(_v) = _t->htmlSafeFullName(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->disambiguatedName(); break;
        case 8: *reinterpret_cast<QString*>(_v) = _t->htmlSafeDisambiguatedName(); break;
        case 9: *reinterpret_cast<int*>(_v) = _t->hue(); break;
        case 10: *reinterpret_cast<qreal*>(_v) = _t->hueF(); break;
        case 11: *reinterpret_cast<QColor*>(_v) = _t->color(); break;
        case 12: *reinterpret_cast<QUrl*>(_v) = _t->avatarUrl(); break;
        default: break;
        }
    }
}

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

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

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

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

// SIGNAL 1
void NeochatRoomMember::avatarUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
