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

#include "../../../jami-client-qt/src/app/lrcinstance.h"
#include <QtNetwork/QSslError>
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lrcinstance.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN11LRCInstanceE_t {};
} // unnamed namespace

template <> constexpr inline auto LRCInstance::qt_create_metaobjectdata<qt_meta_tag_ZN11LRCInstanceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LRCInstance",
        "currentAccountIdChanged",
        "",
        "currentAccountTypeChanged",
        "currentAccountAvatarSetChanged",
        "callMediaHandlersListCountChanged",
        "chatHandlersListCountChanged",
        "accountListChanged",
        "currentAccountRemoved",
        "selectedConvUidChanged",
        "restoreAppRequested",
        "notificationClicked",
        "conversationUpdated",
        "convId",
        "accountId",
        "draftSaved",
        "base64SwarmAvatarChanged",
        "onAccountRemoved",
        "selectConversation",
        "deselectConversation",
        "makeConversationPermanent",
        "getContentDraft",
        "QVariantMap",
        "convUid",
        "setContentDraft",
        "textDraft",
        "filePathDraft",
        "indexOfActiveCall",
        "confId",
        "uri",
        "deviceId",
        "debugMode",
        "selectedConvUid",
        "currentAccountId",
        "currentAccountType",
        "lrc::api::profile::Type",
        "currentAccountAvatarSet",
        "callMediaHandlersListCount",
        "chatHandlersListCount"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'currentAccountIdChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentAccountTypeChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentAccountAvatarSetChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'callMediaHandlersListCountChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'chatHandlersListCountChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'accountListChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentAccountRemoved'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectedConvUidChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'restoreAppRequested'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'notificationClicked'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'conversationUpdated'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Signal 'draftSaved'
        QtMocHelpers::SignalData<void(const QString &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Signal 'base64SwarmAvatarChanged'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onAccountRemoved'
        QtMocHelpers::SlotData<void(const QString &)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 14 },
        }}),
        // Method 'selectConversation'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Method 'selectConversation'
        QtMocHelpers::MethodData<void(const QString &)>(18, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Method 'deselectConversation'
        QtMocHelpers::MethodData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'makeConversationPermanent'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Method 'makeConversationPermanent'
        QtMocHelpers::MethodData<void(const QString &)>(20, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Method 'makeConversationPermanent'
        QtMocHelpers::MethodData<void()>(20, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Method 'getContentDraft'
        QtMocHelpers::MethodData<QVariantMap(const QString &, const QString &)>(21, 2, QMC::AccessPublic, 0x80000000 | 22, {{
            { QMetaType::QString, 23 }, { QMetaType::QString, 14 },
        }}),
        // Method 'setContentDraft'
        QtMocHelpers::MethodData<void(const QString &, const QString &, const QString &, const QList<QString> &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 23 }, { QMetaType::QString, 14 }, { QMetaType::QString, 25 }, { QMetaType::QStringList, 26 },
        }}),
        // Method 'indexOfActiveCall'
        QtMocHelpers::MethodData<int(const QString &, const QString &, const QString &)>(27, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QString, 28 }, { QMetaType::QString, 29 }, { QMetaType::QString, 30 },
        }}),
        // Method 'debugMode'
        QtMocHelpers::MethodData<bool() const>(31, 2, QMC::AccessPublic, QMetaType::Bool),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'selectedConvUid'
        QtMocHelpers::PropertyData<QString>(32, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable, 7),
        // property 'currentAccountId'
        QtMocHelpers::PropertyData<QString>(33, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable, 0),
        // property 'currentAccountType'
        QtMocHelpers::PropertyData<lrc::api::profile::Type>(34, 0x80000000 | 35, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 1),
        // property 'currentAccountAvatarSet'
        QtMocHelpers::PropertyData<bool>(36, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable, 2),
        // property 'callMediaHandlersListCount'
        QtMocHelpers::PropertyData<int>(37, QMetaType::Int, QMC::DefaultPropertyFlags, 3),
        // property 'chatHandlersListCount'
        QtMocHelpers::PropertyData<int>(38, QMetaType::Int, QMC::DefaultPropertyFlags, 4),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LRCInstance, qt_meta_tag_ZN11LRCInstanceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT static const QMetaObject::SuperData qt_meta_extradata_ZN11LRCInstanceE[] = {
    QMetaObject::SuperData::link<lrc::api::profile::staticMetaObject>(),
    nullptr
};

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

void LRCInstance::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LRCInstance *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->currentAccountIdChanged(); break;
        case 1: _t->currentAccountTypeChanged(); break;
        case 2: _t->currentAccountAvatarSetChanged(); break;
        case 3: _t->callMediaHandlersListCountChanged(); break;
        case 4: _t->chatHandlersListCountChanged(); break;
        case 5: _t->accountListChanged(); break;
        case 6: _t->currentAccountRemoved(); break;
        case 7: _t->selectedConvUidChanged(); break;
        case 8: _t->restoreAppRequested(); break;
        case 9: _t->notificationClicked(); break;
        case 10: _t->conversationUpdated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 11: _t->draftSaved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->base64SwarmAvatarChanged(); break;
        case 13: _t->onAccountRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->selectConversation((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 15: _t->selectConversation((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 16: _t->deselectConversation(); break;
        case 17: _t->makeConversationPermanent((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 18: _t->makeConversationPermanent((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 19: _t->makeConversationPermanent(); break;
        case 20: { QVariantMap _r = _t->getContentDraft((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 21: _t->setContentDraft((*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<QList<QString>>>(_a[4]))); break;
        case 22: { int _r = _t->indexOfActiveCall((*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])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 23: { bool _r = _t->debugMode();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::currentAccountIdChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::currentAccountTypeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::currentAccountAvatarSetChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::callMediaHandlersListCountChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::chatHandlersListCountChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::accountListChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::currentAccountRemoved, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::selectedConvUidChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::restoreAppRequested, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::notificationClicked, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)(const QString & , const QString & )>(_a, &LRCInstance::conversationUpdated, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)(const QString & )>(_a, &LRCInstance::draftSaved, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (LRCInstance::*)()>(_a, &LRCInstance::base64SwarmAvatarChanged, 12))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->get_selectedConvUid(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->currentAccountId_; break;
        case 2: *reinterpret_cast<lrc::api::profile::Type*>(_v) = _t->get_currentAccountType(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->currentAccountAvatarSet_; break;
        case 4: *reinterpret_cast<int*>(_v) = _t->get_callMediaHandlersListCount(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->get_chatHandlersListCount(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->set_selectedConvUid(*reinterpret_cast<QString*>(_v)); break;
        case 1:
            if (QtMocHelpers::setProperty(_t->currentAccountId_, *reinterpret_cast<QString*>(_v)))
                Q_EMIT _t->currentAccountIdChanged();
            break;
        case 3:
            if (QtMocHelpers::setProperty(_t->currentAccountAvatarSet_, *reinterpret_cast<bool*>(_v)))
                Q_EMIT _t->currentAccountAvatarSetChanged();
            break;
        default: break;
        }
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

// SIGNAL 10
void LRCInstance::conversationUpdated(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1, _t2);
}

// SIGNAL 11
void LRCInstance::draftSaved(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void LRCInstance::base64SwarmAvatarChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}
QT_WARNING_POP
