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

#include "../../../../jami-client-qt/src/core/api/callmodel.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 'callmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN3lrc3api9CallModelE_t {};
} // unnamed namespace

template <> constexpr inline auto lrc::api::CallModel::qt_create_metaobjectdata<qt_meta_tag_ZN3lrc3api9CallModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lrc::api::CallModel",
        "participantAdded",
        "",
        "callId",
        "index",
        "participantRemoved",
        "participantUpdated",
        "callStatusChanged",
        "accountId",
        "code",
        "participantsChanged",
        "confId",
        "callStarted",
        "callEnded",
        "newCall",
        "peerId",
        "displayname",
        "isOutgoing",
        "toUri",
        "callAddedToConference",
        "conversationId",
        "voiceMailNotify",
        "newCount",
        "oldCount",
        "urgentCount",
        "remoteRecordersChanged",
        "recorders",
        "recordingStateChanged",
        "state",
        "beginInsertPendingConferenceesRows",
        "position",
        "rows",
        "endInsertPendingConferenceesRows",
        "beginRemovePendingConferenceesRows",
        "endRemovePendingConferenceesRows",
        "callInfosChanged",
        "currentCallChanged",
        "fallbackConversationSelected",
        "conversationUid"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'participantAdded'
        QtMocHelpers::SignalData<void(const QString &, int) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 4 },
        }}),
        // Signal 'participantRemoved'
        QtMocHelpers::SignalData<void(const QString &, int) const>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 4 },
        }}),
        // Signal 'participantUpdated'
        QtMocHelpers::SignalData<void(const QString &, int) const>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 4 },
        }}),
        // Signal 'callStatusChanged'
        QtMocHelpers::SignalData<void(const QString &, const QString &, int) const>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::QString, 3 }, { QMetaType::Int, 9 },
        }}),
        // Signal 'participantsChanged'
        QtMocHelpers::SignalData<void(const QString &) const>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Signal 'callStarted'
        QtMocHelpers::SignalData<void(const QString &) const>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'callEnded'
        QtMocHelpers::SignalData<void(const QString &, int) const>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 9 },
        }}),
        // Signal 'callEnded'
        QtMocHelpers::SignalData<void(const QString &) const>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'newCall'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, bool, const QString &) const>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 }, { QMetaType::QString, 3 }, { QMetaType::QString, 16 }, { QMetaType::Bool, 17 },
            { QMetaType::QString, 18 },
        }}),
        // Signal 'callAddedToConference'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &) const>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 20 }, { QMetaType::QString, 11 },
        }}),
        // Signal 'voiceMailNotify'
        QtMocHelpers::SignalData<void(const QString &, int, int, int) const>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::Int, 22 }, { QMetaType::Int, 23 }, { QMetaType::Int, 24 },
        }}),
        // Signal 'remoteRecordersChanged'
        QtMocHelpers::SignalData<void(const QString &, const QStringList &) const>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QStringList, 26 },
        }}),
        // Signal 'recordingStateChanged'
        QtMocHelpers::SignalData<void(const QString &, bool) const>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Bool, 28 },
        }}),
        // Signal 'beginInsertPendingConferenceesRows'
        QtMocHelpers::SignalData<void(int, int) const>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 30 }, { QMetaType::Int, 31 },
        }}),
        // Signal 'beginInsertPendingConferenceesRows'
        QtMocHelpers::SignalData<void(int) const>(29, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 30 },
        }}),
        // Signal 'endInsertPendingConferenceesRows'
        QtMocHelpers::SignalData<void() const>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'beginRemovePendingConferenceesRows'
        QtMocHelpers::SignalData<void(int, int) const>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 30 }, { QMetaType::Int, 31 },
        }}),
        // Signal 'beginRemovePendingConferenceesRows'
        QtMocHelpers::SignalData<void(int) const>(33, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 30 },
        }}),
        // Signal 'endRemovePendingConferenceesRows'
        QtMocHelpers::SignalData<void() const>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'callInfosChanged'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::QString, 3 },
        }}),
        // Signal 'currentCallChanged'
        QtMocHelpers::SignalData<void(const QString &) const>(36, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'fallbackConversationSelected'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::QString, 38 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CallModel, qt_meta_tag_ZN3lrc3api9CallModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lrc::api::CallModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lrc3api9CallModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lrc3api9CallModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lrc3api9CallModelE_t>.metaTypes,
    nullptr
} };

void lrc::api::CallModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CallModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->participantAdded((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 1: _t->participantRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 2: _t->participantUpdated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->callStatusChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 4: _t->participantsChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->callStarted((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->callEnded((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->callEnded((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->newCall((*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 9: _t->callAddedToConference((*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 10: _t->voiceMailNotify((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4]))); break;
        case 11: _t->remoteRecordersChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[2]))); break;
        case 12: _t->recordingStateChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 13: _t->beginInsertPendingConferenceesRows((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 14: _t->beginInsertPendingConferenceesRows((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 15: _t->endInsertPendingConferenceesRows(); break;
        case 16: _t->beginRemovePendingConferenceesRows((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 17: _t->beginRemovePendingConferenceesRows((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->endRemovePendingConferenceesRows(); break;
        case 19: _t->callInfosChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 20: _t->currentCallChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 21: _t->fallbackConversationSelected((*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 (CallModel::*)(const QString & , int ) const>(_a, &CallModel::participantAdded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , int ) const>(_a, &CallModel::participantRemoved, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , int ) const>(_a, &CallModel::participantUpdated, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , const QString & , int ) const>(_a, &CallModel::callStatusChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & ) const>(_a, &CallModel::participantsChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & ) const>(_a, &CallModel::callStarted, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , int ) const>(_a, &CallModel::callEnded, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , const QString & , const QString & , bool , const QString & ) const>(_a, &CallModel::newCall, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , const QString & , const QString & ) const>(_a, &CallModel::callAddedToConference, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , int , int , int ) const>(_a, &CallModel::voiceMailNotify, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , const QStringList & ) const>(_a, &CallModel::remoteRecordersChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , bool ) const>(_a, &CallModel::recordingStateChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(int , int ) const>(_a, &CallModel::beginInsertPendingConferenceesRows, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)() const>(_a, &CallModel::endInsertPendingConferenceesRows, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(int , int ) const>(_a, &CallModel::beginRemovePendingConferenceesRows, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)() const>(_a, &CallModel::endRemovePendingConferenceesRows, 18))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , const QString & ) const>(_a, &CallModel::callInfosChanged, 19))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & ) const>(_a, &CallModel::currentCallChanged, 20))
            return;
        if (QtMocHelpers::indexOfMethod<void (CallModel::*)(const QString & , const QString & ) const>(_a, &CallModel::fallbackConversationSelected, 21))
            return;
    }
}

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

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

int lrc::api::CallModel::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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 22;
    }
    return _id;
}

// SIGNAL 0
void lrc::api::CallModel::participantAdded(const QString & _t1, int _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void lrc::api::CallModel::participantRemoved(const QString & _t1, int _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void lrc::api::CallModel::participantUpdated(const QString & _t1, int _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void lrc::api::CallModel::callStatusChanged(const QString & _t1, const QString & _t2, int _t3)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}

// SIGNAL 4
void lrc::api::CallModel::participantsChanged(const QString & _t1)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void lrc::api::CallModel::callStarted(const QString & _t1)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void lrc::api::CallModel::callEnded(const QString & _t1, int _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 8
void lrc::api::CallModel::newCall(const QString & _t1, const QString & _t2, const QString & _t3, bool _t4, const QString & _t5)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 8, nullptr, _t1, _t2, _t3, _t4, _t5);
}

// SIGNAL 9
void lrc::api::CallModel::callAddedToConference(const QString & _t1, const QString & _t2, const QString & _t3)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 9, nullptr, _t1, _t2, _t3);
}

// SIGNAL 10
void lrc::api::CallModel::voiceMailNotify(const QString & _t1, int _t2, int _t3, int _t4)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 10, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 11
void lrc::api::CallModel::remoteRecordersChanged(const QString & _t1, const QStringList & _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 11, nullptr, _t1, _t2);
}

// SIGNAL 12
void lrc::api::CallModel::recordingStateChanged(const QString & _t1, bool _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 12, nullptr, _t1, _t2);
}

// SIGNAL 13
void lrc::api::CallModel::beginInsertPendingConferenceesRows(int _t1, int _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 13, nullptr, _t1, _t2);
}

// SIGNAL 15
void lrc::api::CallModel::endInsertPendingConferenceesRows()const
{
    QMetaObject::activate(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 15, nullptr);
}

// SIGNAL 16
void lrc::api::CallModel::beginRemovePendingConferenceesRows(int _t1, int _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 16, nullptr, _t1, _t2);
}

// SIGNAL 18
void lrc::api::CallModel::endRemovePendingConferenceesRows()const
{
    QMetaObject::activate(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 18, nullptr);
}

// SIGNAL 19
void lrc::api::CallModel::callInfosChanged(const QString & _t1, const QString & _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 19, nullptr, _t1, _t2);
}

// SIGNAL 20
void lrc::api::CallModel::currentCallChanged(const QString & _t1)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 20, nullptr, _t1);
}

// SIGNAL 21
void lrc::api::CallModel::fallbackConversationSelected(const QString & _t1, const QString & _t2)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::CallModel *>(this), &staticMetaObject, 21, nullptr, _t1, _t2);
}
QT_WARNING_POP
