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

template <> constexpr inline auto NeoChatConnection::qt_create_metaobjectdata<qt_meta_tag_ZN17NeoChatConnectionE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "NeoChatConnection",
        "QML.Element",
        "auto",
        "QML.Creatable",
        "false",
        "QML.UncreatableReason",
        "",
        "globalUrlPreviewEnabledChanged",
        "identityServerChanged",
        "directChatNotificationsChanged",
        "directChatsHaveHighlightNotificationsChanged",
        "homeNotificationsChanged",
        "homeHaveHighlightNotificationsChanged",
        "directChatInvitesChanged",
        "roomInvitesChanged",
        "passwordStatus",
        "NeoChatConnection::PasswordStatus",
        "status",
        "userConsentRequired",
        "QUrl",
        "url",
        "badgeNotificationCountChanged",
        "count",
        "canCheckMutualRoomsChanged",
        "canEraseDataChanged",
        "enablePushNotificationsChanged",
        "accountManagementUriChanged",
        "supportsProfileFieldsChanged",
        "showMessage",
        "MessageType::Type",
        "messageType",
        "message",
        "errorOccured",
        "error",
        "roomAboutToBeLeft",
        "id",
        "ownSessionVerified",
        "keyBackupUnlocked",
        "keyBackupError",
        "blockAllInvitesChanged",
        "logout",
        "serverSideLogout",
        "getSupportedRoomVersions",
        "QVariantList",
        "changePassword",
        "currentPassword",
        "newPassword",
        "setAvatar",
        "avatarSource",
        "deactivateAccount",
        "password",
        "erase",
        "createRoom",
        "name",
        "topic",
        "parent",
        "isPrivate",
        "address",
        "createSpace",
        "directChatExists",
        "Quotient::User*",
        "user",
        "accountDataJsonString",
        "type",
        "exportMegolmSessions",
        "Quotient::KeyImport::Error",
        "passphrase",
        "path",
        "unlockSSSS",
        "secret",
        "reportUser",
        "userId",
        "reason",
        "supportsMatrixSpecVersion",
        "version",
        "noteForUser",
        "setNoteForUser",
        "note",
        "profileFieldWritable",
        "key",
        "profileField",
        "setProfileField",
        "value",
        "hasIdentityServer",
        "identityServer",
        "directChatNotifications",
        "qsizetype",
        "directChatsHaveHighlightNotifications",
        "homeNotifications",
        "homeHaveHighlightNotifications",
        "directChatInvites",
        "roomInvites",
        "canCheckMutualRooms",
        "canEraseData",
        "pushNotificationsAvailable",
        "enablePushNotifications",
        "isVerifiedSession",
        "blockAllInvites",
        "accountManagementUri",
        "supportsProfileFields",
        "PasswordStatus",
        "Success",
        "Wrong",
        "Other"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'globalUrlPreviewEnabledChanged'
        QtMocHelpers::SignalData<void()>(7, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'identityServerChanged'
        QtMocHelpers::SignalData<void()>(8, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'directChatNotificationsChanged'
        QtMocHelpers::SignalData<void()>(9, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'directChatsHaveHighlightNotificationsChanged'
        QtMocHelpers::SignalData<void()>(10, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'homeNotificationsChanged'
        QtMocHelpers::SignalData<void()>(11, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'homeHaveHighlightNotificationsChanged'
        QtMocHelpers::SignalData<void()>(12, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'directChatInvitesChanged'
        QtMocHelpers::SignalData<void()>(13, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'roomInvitesChanged'
        QtMocHelpers::SignalData<void()>(14, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'passwordStatus'
        QtMocHelpers::SignalData<void(NeoChatConnection::PasswordStatus)>(15, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Signal 'userConsentRequired'
        QtMocHelpers::SignalData<void(QUrl)>(18, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Signal 'badgeNotificationCountChanged'
        QtMocHelpers::SignalData<void(int)>(21, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 22 },
        }}),
        // Signal 'canCheckMutualRoomsChanged'
        QtMocHelpers::SignalData<void()>(23, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canEraseDataChanged'
        QtMocHelpers::SignalData<void()>(24, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'enablePushNotificationsChanged'
        QtMocHelpers::SignalData<void()>(25, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'accountManagementUriChanged'
        QtMocHelpers::SignalData<void()>(26, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'supportsProfileFieldsChanged'
        QtMocHelpers::SignalData<void()>(27, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showMessage'
        QtMocHelpers::SignalData<void(MessageType::Type, const QString &)>(28, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 29, 30 }, { QMetaType::QString, 31 },
        }}),
        // Signal 'errorOccured'
        QtMocHelpers::SignalData<void(const QString &)>(32, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 33 },
        }}),
        // Signal 'roomAboutToBeLeft'
        QtMocHelpers::SignalData<void(const QString &)>(34, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 35 },
        }}),
        // Signal 'ownSessionVerified'
        QtMocHelpers::SignalData<void()>(36, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'keyBackupUnlocked'
        QtMocHelpers::SignalData<void()>(37, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'keyBackupError'
        QtMocHelpers::SignalData<void()>(38, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'blockAllInvitesChanged'
        QtMocHelpers::SignalData<void()>(39, 6, QMC::AccessPublic, QMetaType::Void),
        // Method 'logout'
        QtMocHelpers::MethodData<void(bool)>(40, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 41 },
        }}),
        // Method 'getSupportedRoomVersions'
        QtMocHelpers::MethodData<QVariantList() const>(42, 6, QMC::AccessPublic, 0x80000000 | 43),
        // Method 'changePassword'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(44, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 45 }, { QMetaType::QString, 46 },
        }}),
        // Method 'setAvatar'
        QtMocHelpers::MethodData<bool(const QUrl &)>(47, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 19, 48 },
        }}),
        // Method 'deactivateAccount'
        QtMocHelpers::MethodData<void(const QString &, bool)>(49, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 50 }, { QMetaType::Bool, 51 },
        }}),
        // Method 'createRoom'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &, bool, const QString &)>(52, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 53 }, { QMetaType::QString, 54 }, { QMetaType::QString, 55 }, { QMetaType::Bool, 56 },
            { QMetaType::QString, 57 },
        }}),
        // Method 'createRoom'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &, bool)>(52, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 53 }, { QMetaType::QString, 54 }, { QMetaType::QString, 55 }, { QMetaType::Bool, 56 },
        }}),
        // Method 'createRoom'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &)>(52, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 53 }, { QMetaType::QString, 54 }, { QMetaType::QString, 55 },
        }}),
        // Method 'createRoom'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(52, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 53 }, { QMetaType::QString, 54 },
        }}),
        // Method 'createSpace'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &)>(58, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 53 }, { QMetaType::QString, 54 }, { QMetaType::QString, 55 },
        }}),
        // Method 'createSpace'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(58, 6, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 53 }, { QMetaType::QString, 54 },
        }}),
        // Method 'directChatExists'
        QtMocHelpers::MethodData<bool(Quotient::User *)>(59, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 60, 61 },
        }}),
        // Method 'accountDataJsonString'
        QtMocHelpers::MethodData<QString(const QString &) const>(62, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 63 },
        }}),
        // Method 'exportMegolmSessions'
        QtMocHelpers::MethodData<Quotient::KeyImport::Error(const QString &, const QString &)>(64, 6, QMC::AccessPublic, 0x80000000 | 65, {{
            { QMetaType::QString, 66 }, { QMetaType::QString, 67 },
        }}),
        // Method 'unlockSSSS'
        QtMocHelpers::MethodData<void(const QString &)>(68, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 69 },
        }}),
        // Method 'reportUser'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(70, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 71 }, { QMetaType::QString, 72 },
        }}),
        // Method 'supportsMatrixSpecVersion'
        QtMocHelpers::MethodData<bool(const QString &)>(73, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 74 },
        }}),
        // Method 'noteForUser'
        QtMocHelpers::MethodData<QString(const QString &)>(75, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 71 },
        }}),
        // Method 'setNoteForUser'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(76, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 71 }, { QMetaType::QString, 77 },
        }}),
        // Method 'profileFieldWritable'
        QtMocHelpers::MethodData<bool(const QString &) const>(78, 6, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 79 },
        }}),
        // Method 'profileField'
        QtMocHelpers::MethodData<QString(const QString &)>(80, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 79 },
        }}),
        // Method 'setProfileField'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(81, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 79 }, { QMetaType::QString, 82 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'hasIdentityServer'
        QtMocHelpers::PropertyData<bool>(83, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'identityServer'
        QtMocHelpers::PropertyData<QString>(84, QMetaType::QString, QMC::DefaultPropertyFlags, 1),
        // property 'directChatNotifications'
        QtMocHelpers::PropertyData<qsizetype>(85, 0x80000000 | 86, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 2),
        // property 'directChatsHaveHighlightNotifications'
        QtMocHelpers::PropertyData<bool>(87, QMetaType::Bool, QMC::DefaultPropertyFlags, 3),
        // property 'homeNotifications'
        QtMocHelpers::PropertyData<qsizetype>(88, 0x80000000 | 86, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 4),
        // property 'homeHaveHighlightNotifications'
        QtMocHelpers::PropertyData<bool>(89, QMetaType::Bool, QMC::DefaultPropertyFlags, 5),
        // property 'directChatInvites'
        QtMocHelpers::PropertyData<qsizetype>(90, 0x80000000 | 86, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 6),
        // property 'roomInvites'
        QtMocHelpers::PropertyData<qsizetype>(91, 0x80000000 | 86, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 7),
        // property 'canCheckMutualRooms'
        QtMocHelpers::PropertyData<bool>(92, QMetaType::Bool, QMC::DefaultPropertyFlags, 11),
        // property 'canEraseData'
        QtMocHelpers::PropertyData<bool>(93, QMetaType::Bool, QMC::DefaultPropertyFlags, 12),
        // property 'pushNotificationsAvailable'
        QtMocHelpers::PropertyData<bool>(94, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'enablePushNotifications'
        QtMocHelpers::PropertyData<bool>(95, QMetaType::Bool, QMC::DefaultPropertyFlags, 13),
        // property 'isVerifiedSession'
        QtMocHelpers::PropertyData<bool>(96, QMetaType::Bool, QMC::DefaultPropertyFlags, 19),
        // property 'blockAllInvites'
        QtMocHelpers::PropertyData<bool>(97, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 22),
        // property 'accountManagementUri'
        QtMocHelpers::PropertyData<QString>(98, QMetaType::QString, QMC::DefaultPropertyFlags, 14),
        // property 'supportsProfileFields'
        QtMocHelpers::PropertyData<bool>(99, QMetaType::Bool, QMC::DefaultPropertyFlags, 15),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'PasswordStatus'
        QtMocHelpers::EnumData<enum PasswordStatus>(100, 100, QMC::EnumFlags{}).add({
            {  101, PasswordStatus::Success },
            {  102, PasswordStatus::Wrong },
            {  103, PasswordStatus::Other },
        }),
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
            {    5,    6 },
    });
    return QtMocHelpers::metaObjectData<NeoChatConnection, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject NeoChatConnection::staticMetaObject = { {
    QMetaObject::SuperData::link<Quotient::Connection::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17NeoChatConnectionE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17NeoChatConnectionE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17NeoChatConnectionE_t>.metaTypes,
    nullptr
} };

void NeoChatConnection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<NeoChatConnection *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->globalUrlPreviewEnabledChanged(); break;
        case 1: _t->identityServerChanged(); break;
        case 2: _t->directChatNotificationsChanged(); break;
        case 3: _t->directChatsHaveHighlightNotificationsChanged(); break;
        case 4: _t->homeNotificationsChanged(); break;
        case 5: _t->homeHaveHighlightNotificationsChanged(); break;
        case 6: _t->directChatInvitesChanged(); break;
        case 7: _t->roomInvitesChanged(); break;
        case 8: _t->passwordStatus((*reinterpret_cast<std::add_pointer_t<NeoChatConnection::PasswordStatus>>(_a[1]))); break;
        case 9: _t->userConsentRequired((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 10: _t->badgeNotificationCountChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->canCheckMutualRoomsChanged(); break;
        case 12: _t->canEraseDataChanged(); break;
        case 13: _t->enablePushNotificationsChanged(); break;
        case 14: _t->accountManagementUriChanged(); break;
        case 15: _t->supportsProfileFieldsChanged(); break;
        case 16: _t->showMessage((*reinterpret_cast<std::add_pointer_t<MessageType::Type>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 17: _t->errorOccured((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 18: _t->roomAboutToBeLeft((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 19: _t->ownSessionVerified(); break;
        case 20: _t->keyBackupUnlocked(); break;
        case 21: _t->keyBackupError(); break;
        case 22: _t->blockAllInvitesChanged(); break;
        case 23: _t->logout((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 24: { QVariantList _r = _t->getSupportedRoomVersions();
            if (_a[0]) *reinterpret_cast<QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 25: _t->changePassword((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 26: { bool _r = _t->setAvatar((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 27: _t->deactivateAccount((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 28: _t->createRoom((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[5]))); break;
        case 29: _t->createRoom((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4]))); break;
        case 30: _t->createRoom((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 31: _t->createRoom((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 32: _t->createSpace((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 33: _t->createSpace((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 34: { bool _r = _t->directChatExists((*reinterpret_cast<std::add_pointer_t<Quotient::User*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 35: { QString _r = _t->accountDataJsonString((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 36: { Quotient::KeyImport::Error _r = _t->exportMegolmSessions((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<Quotient::KeyImport::Error*>(_a[0]) = std::move(_r); }  break;
        case 37: _t->unlockSSSS((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 38: _t->reportUser((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 39: { bool _r = _t->supportsMatrixSpecVersion((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 40: { QString _r = _t->noteForUser((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 41: _t->setNoteForUser((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 42: { bool _r = _t->profileFieldWritable((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 43: { QString _r = _t->profileField((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 44: _t->setProfileField((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::globalUrlPreviewEnabledChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::identityServerChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::directChatNotificationsChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::directChatsHaveHighlightNotificationsChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::homeNotificationsChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::homeHaveHighlightNotificationsChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::directChatInvitesChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::roomInvitesChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)(NeoChatConnection::PasswordStatus )>(_a, &NeoChatConnection::passwordStatus, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)(QUrl )>(_a, &NeoChatConnection::userConsentRequired, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)(int )>(_a, &NeoChatConnection::badgeNotificationCountChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::canCheckMutualRoomsChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::canEraseDataChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::enablePushNotificationsChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::accountManagementUriChanged, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::supportsProfileFieldsChanged, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)(MessageType::Type , const QString & )>(_a, &NeoChatConnection::showMessage, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)(const QString & )>(_a, &NeoChatConnection::errorOccured, 17))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)(const QString & )>(_a, &NeoChatConnection::roomAboutToBeLeft, 18))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::ownSessionVerified, 19))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::keyBackupUnlocked, 20))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::keyBackupError, 21))
            return;
        if (QtMocHelpers::indexOfMethod<void (NeoChatConnection::*)()>(_a, &NeoChatConnection::blockAllInvitesChanged, 22))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->hasIdentityServer(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->identityServerUIString(); break;
        case 2: *reinterpret_cast<qsizetype*>(_v) = _t->directChatNotifications(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->directChatsHaveHighlightNotifications(); break;
        case 4: *reinterpret_cast<qsizetype*>(_v) = _t->homeNotifications(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->homeHaveHighlightNotifications(); break;
        case 6: *reinterpret_cast<qsizetype*>(_v) = _t->directChatInvites(); break;
        case 7: *reinterpret_cast<qsizetype*>(_v) = _t->roomInvites(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->canCheckMutualRooms(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->canEraseData(); break;
        case 10: *reinterpret_cast<bool*>(_v) = _t->pushNotificationsAvailable(); break;
        case 11: *reinterpret_cast<bool*>(_v) = _t->enablePushNotifications(); break;
        case 12: *reinterpret_cast<bool*>(_v) = _t->isVerifiedSession(); break;
        case 13: *reinterpret_cast<bool*>(_v) = _t->blockAllInvites(); break;
        case 14: *reinterpret_cast<QString*>(_v) = _t->accountManagementUri(); break;
        case 15: *reinterpret_cast<bool*>(_v) = _t->supportsProfileFields(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 13: _t->setBlockAllInvites(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *NeoChatConnection::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17NeoChatConnectionE_t>.strings))
        return static_cast<void*>(this);
    return Quotient::Connection::qt_metacast(_clname);
}

int NeoChatConnection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Quotient::Connection::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 45)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 45;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 45)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 45;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    return _id;
}

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

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

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

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

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

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

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

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

// SIGNAL 8
void NeoChatConnection::passwordStatus(NeoChatConnection::PasswordStatus _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void NeoChatConnection::userConsentRequired(QUrl _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void NeoChatConnection::badgeNotificationCountChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

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

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

// SIGNAL 13
void NeoChatConnection::enablePushNotificationsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void NeoChatConnection::accountManagementUriChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}

// SIGNAL 15
void NeoChatConnection::supportsProfileFieldsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}

// SIGNAL 16
void NeoChatConnection::showMessage(MessageType::Type _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1, _t2);
}

// SIGNAL 17
void NeoChatConnection::errorOccured(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1);
}

// SIGNAL 18
void NeoChatConnection::roomAboutToBeLeft(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 18, nullptr, _t1);
}

// SIGNAL 19
void NeoChatConnection::ownSessionVerified()
{
    QMetaObject::activate(this, &staticMetaObject, 19, nullptr);
}

// SIGNAL 20
void NeoChatConnection::keyBackupUnlocked()
{
    QMetaObject::activate(this, &staticMetaObject, 20, nullptr);
}

// SIGNAL 21
void NeoChatConnection::keyBackupError()
{
    QMetaObject::activate(this, &staticMetaObject, 21, nullptr);
}

// SIGNAL 22
void NeoChatConnection::blockAllInvitesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 22, nullptr);
}
QT_WARNING_POP
