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

template <> constexpr inline auto UserProfileFetchProxy::qt_create_metaobjectdata<qt_meta_tag_ZN21UserProfileFetchProxyE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "UserProfileFetchProxy",
        "profileFetched",
        "",
        "mtx::responses::Profile",
        "failedToFetchProfile"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'profileFetched'
        QtMocHelpers::SignalData<void(mtx::responses::Profile)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'failedToFetchProfile'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<UserProfileFetchProxy, qt_meta_tag_ZN21UserProfileFetchProxyE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject UserProfileFetchProxy::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21UserProfileFetchProxyE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21UserProfileFetchProxyE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21UserProfileFetchProxyE_t>.metaTypes,
    nullptr
} };

void UserProfileFetchProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<UserProfileFetchProxy *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->profileFetched((*reinterpret_cast<std::add_pointer_t<mtx::responses::Profile>>(_a[1]))); break;
        case 1: _t->failedToFetchProfile(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (UserProfileFetchProxy::*)(mtx::responses::Profile )>(_a, &UserProfileFetchProxy::profileFetched, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfileFetchProxy::*)()>(_a, &UserProfileFetchProxy::failedToFetchProfile, 1))
            return;
    }
}

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

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

int UserProfileFetchProxy::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;
    }
    return _id;
}

// SIGNAL 0
void UserProfileFetchProxy::profileFetched(mtx::responses::Profile _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void UserProfileFetchProxy::failedToFetchProfile()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
namespace {
struct qt_meta_tag_ZN15DeviceInfoModelE_t {};
} // unnamed namespace

template <> constexpr inline auto DeviceInfoModel::qt_create_metaobjectdata<qt_meta_tag_ZN15DeviceInfoModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DeviceInfoModel",
        "queueReset",
        "",
        "std::vector<DeviceInfo>",
        "deviceList",
        "reset"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'queueReset'
        QtMocHelpers::SignalData<void(const std::vector<DeviceInfo> &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'reset'
        QtMocHelpers::SlotData<void(const std::vector<DeviceInfo> &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DeviceInfoModel, qt_meta_tag_ZN15DeviceInfoModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DeviceInfoModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15DeviceInfoModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15DeviceInfoModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15DeviceInfoModelE_t>.metaTypes,
    nullptr
} };

void DeviceInfoModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DeviceInfoModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->queueReset((*reinterpret_cast<std::add_pointer_t<std::vector<DeviceInfo>>>(_a[1]))); break;
        case 1: _t->reset((*reinterpret_cast<std::add_pointer_t<std::vector<DeviceInfo>>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DeviceInfoModel::*)(const std::vector<DeviceInfo> & )>(_a, &DeviceInfoModel::queueReset, 0))
            return;
    }
}

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

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

int DeviceInfoModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::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;
    }
    return _id;
}

// SIGNAL 0
void DeviceInfoModel::queueReset(const std::vector<DeviceInfo> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN13RoomInfoModelE_t {};
} // unnamed namespace

template <> constexpr inline auto RoomInfoModel::qt_create_metaobjectdata<qt_meta_tag_ZN13RoomInfoModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "RoomInfoModel"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RoomInfoModel, qt_meta_tag_ZN13RoomInfoModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject RoomInfoModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13RoomInfoModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13RoomInfoModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13RoomInfoModelE_t>.metaTypes,
    nullptr
} };

void RoomInfoModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RoomInfoModel *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int RoomInfoModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN11UserProfileE_t {};
} // unnamed namespace

template <> constexpr inline auto UserProfile::qt_create_metaobjectdata<qt_meta_tag_ZN11UserProfileE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "UserProfile",
        "userStatusChanged",
        "",
        "loadingChanged",
        "displayNameChanged",
        "avatarUrlChanged",
        "displayError",
        "errorMessage",
        "globalUsernameRetrieved",
        "globalUser",
        "devicesChanged",
        "ignoredChanged",
        "failedToFetchProfile",
        "verificationStatiChanged",
        "updateAvatarUrl",
        "setGlobalUsername",
        "updateVerificationStatus",
        "verify",
        "device",
        "unverify",
        "fetchDeviceList",
        "userID",
        "refreshDevices",
        "banUser",
        "signOutDevice",
        "deviceID",
        "kickUser",
        "startChat",
        "encryptionEnabled",
        "changeUsername",
        "username",
        "changeDeviceName",
        "deviceName",
        "changeAvatar",
        "openGlobalProfile",
        "displayName",
        "userid",
        "avatarUrl",
        "deviceList",
        "DeviceInfoModel*",
        "sharedRooms",
        "RoomInfoModel*",
        "isGlobalUserProfile",
        "userVerified",
        "isLoading",
        "userVerificationEnabled",
        "ignored",
        "isSelf",
        "room",
        "TimelineModel*"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'userStatusChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loadingChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'displayNameChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'avatarUrlChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'displayError'
        QtMocHelpers::SignalData<void(const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'globalUsernameRetrieved'
        QtMocHelpers::SignalData<void(const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Signal 'devicesChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ignoredChanged'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'failedToFetchProfile'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'verificationStatiChanged'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateAvatarUrl'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setGlobalUsername'
        QtMocHelpers::SlotData<void(const QString &)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'updateVerificationStatus'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Method 'verify'
        QtMocHelpers::MethodData<void(QString)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 },
        }}),
        // Method 'verify'
        QtMocHelpers::MethodData<void()>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Method 'unverify'
        QtMocHelpers::MethodData<void(const QString &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 },
        }}),
        // Method 'unverify'
        QtMocHelpers::MethodData<void()>(19, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Method 'fetchDeviceList'
        QtMocHelpers::MethodData<void(const QString &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 },
        }}),
        // Method 'refreshDevices'
        QtMocHelpers::MethodData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'banUser'
        QtMocHelpers::MethodData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'signOutDevice'
        QtMocHelpers::MethodData<void(const QString &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 25 },
        }}),
        // Method 'kickUser'
        QtMocHelpers::MethodData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'startChat'
        QtMocHelpers::MethodData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'startChat'
        QtMocHelpers::MethodData<void(bool)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 28 },
        }}),
        // Method 'changeUsername'
        QtMocHelpers::MethodData<void(const QString &)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 30 },
        }}),
        // Method 'changeDeviceName'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 25 }, { QMetaType::QString, 32 },
        }}),
        // Method 'changeAvatar'
        QtMocHelpers::MethodData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'openGlobalProfile'
        QtMocHelpers::MethodData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'displayName'
        QtMocHelpers::PropertyData<QString>(35, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'userid'
        QtMocHelpers::PropertyData<QString>(36, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'avatarUrl'
        QtMocHelpers::PropertyData<QString>(37, QMetaType::QString, QMC::DefaultPropertyFlags, 3),
        // property 'deviceList'
        QtMocHelpers::PropertyData<DeviceInfoModel*>(38, 0x80000000 | 39, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 6),
        // property 'sharedRooms'
        QtMocHelpers::PropertyData<RoomInfoModel*>(40, 0x80000000 | 41, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'isGlobalUserProfile'
        QtMocHelpers::PropertyData<bool>(42, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'userVerified'
        QtMocHelpers::PropertyData<int>(43, QMetaType::Int, QMC::DefaultPropertyFlags, 0),
        // property 'isLoading'
        QtMocHelpers::PropertyData<bool>(44, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'userVerificationEnabled'
        QtMocHelpers::PropertyData<bool>(45, QMetaType::Bool, QMC::DefaultPropertyFlags, 0),
        // property 'ignored'
        QtMocHelpers::PropertyData<bool>(46, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 7),
        // property 'isSelf'
        QtMocHelpers::PropertyData<bool>(47, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'room'
        QtMocHelpers::PropertyData<TimelineModel*>(48, 0x80000000 | 49, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<UserProfile, qt_meta_tag_ZN11UserProfileE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject UserProfile::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11UserProfileE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11UserProfileE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11UserProfileE_t>.metaTypes,
    nullptr
} };

void UserProfile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<UserProfile *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->userStatusChanged(); break;
        case 1: _t->loadingChanged(); break;
        case 2: _t->displayNameChanged(); break;
        case 3: _t->avatarUrlChanged(); break;
        case 4: _t->displayError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->globalUsernameRetrieved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->devicesChanged(); break;
        case 7: _t->ignoredChanged(); break;
        case 8: _t->failedToFetchProfile(); break;
        case 9: _t->verificationStatiChanged(); break;
        case 10: _t->updateAvatarUrl(); break;
        case 11: _t->setGlobalUsername((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->updateVerificationStatus(); break;
        case 13: _t->verify((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->verify(); break;
        case 15: _t->unverify((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 16: _t->unverify(); break;
        case 17: _t->fetchDeviceList((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 18: _t->refreshDevices(); break;
        case 19: _t->banUser(); break;
        case 20: _t->signOutDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 21: _t->kickUser(); break;
        case 22: _t->startChat(); break;
        case 23: _t->startChat((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 24: _t->changeUsername((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 25: _t->changeDeviceName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 26: _t->changeAvatar(); break;
        case 27: _t->openGlobalProfile(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)()>(_a, &UserProfile::userStatusChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)()>(_a, &UserProfile::loadingChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)()>(_a, &UserProfile::displayNameChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)()>(_a, &UserProfile::avatarUrlChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)(const QString & )>(_a, &UserProfile::displayError, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)(const QString & )>(_a, &UserProfile::globalUsernameRetrieved, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)()>(_a, &UserProfile::devicesChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)()>(_a, &UserProfile::ignoredChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)()>(_a, &UserProfile::failedToFetchProfile, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (UserProfile::*)()>(_a, &UserProfile::verificationStatiChanged, 9))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DeviceInfoModel* >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RoomInfoModel* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->displayName(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->userid(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->avatarUrl(); break;
        case 3: *reinterpret_cast<DeviceInfoModel**>(_v) = _t->deviceList(); break;
        case 4: *reinterpret_cast<RoomInfoModel**>(_v) = _t->sharedRooms(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->isGlobalUserProfile(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->getUserStatus(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->isLoading(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->userVerificationEnabled(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->ignored(); break;
        case 10: *reinterpret_cast<bool*>(_v) = _t->isSelf(); break;
        case 11: *reinterpret_cast<TimelineModel**>(_v) = _t->room(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 9: _t->setIgnored(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

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

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

// SIGNAL 4
void UserProfile::displayError(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void UserProfile::globalUsernameRetrieved(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

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

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

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

// SIGNAL 9
void UserProfile::verificationStatiChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
namespace {
struct qt_meta_tag_ZN12verificationE_t {};
} // unnamed namespace

template <> constexpr inline auto verification::qt_create_metaobjectdata<qt_meta_tag_ZN12verificationE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "verification",
        "QML.Element",
        "VerificationStatus",
        "Status",
        "SELF",
        "VERIFIED",
        "UNVERIFIED",
        "BLOCKED",
        "NOT_APPLICABLE"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Status'
        QtMocHelpers::EnumData<Status>(3, 3, QMC::EnumFlags{}).add({
            {    4, Status::SELF },
            {    5, Status::VERIFIED },
            {    6, Status::UNVERIFIED },
            {    7, Status::BLOCKED },
            {    8, Status::NOT_APPLICABLE },
        }),
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<void, qt_meta_tag_ZN12verificationE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}

static constexpr auto qt_staticMetaObjectContent_ZN12verificationE =
    verification::qt_create_metaobjectdata<qt_meta_tag_ZN12verificationE_t>();
static constexpr auto qt_staticMetaObjectStaticContent_ZN12verificationE =
    qt_staticMetaObjectContent_ZN12verificationE.staticData;
static constexpr auto qt_staticMetaObjectRelocatingContent_ZN12verificationE =
    qt_staticMetaObjectContent_ZN12verificationE.relocatingData;

Q_CONSTINIT const QMetaObject verification::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent_ZN12verificationE.stringdata,
    qt_staticMetaObjectStaticContent_ZN12verificationE.data,
    nullptr,
    nullptr,
    qt_staticMetaObjectRelocatingContent_ZN12verificationE.metaTypes,
    nullptr
} };

QT_WARNING_POP
