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

template <> constexpr inline auto lrc::api::BehaviorController::qt_create_metaobjectdata<qt_meta_tag_ZN3lrc3api18BehaviorControllerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lrc::api::BehaviorController",
        "showChatView",
        "",
        "accountId",
        "convUid",
        "showLeaveMessageView",
        "showCallView",
        "showIncomingCallView",
        "newTrustRequest",
        "conversationId",
        "contactUri",
        "trustRequestTreated",
        "newUnreadInteraction",
        "conversation",
        "interactionId",
        "interaction::Info",
        "interaction",
        "newReadInteraction",
        "debugMessageReceived",
        "message",
        "audioMeter",
        "id",
        "level",
        "callStatusChanged",
        "callId"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'showChatView'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'showLeaveMessageView'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'showCallView'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'showIncomingCallView'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'newTrustRequest'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &) const>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 9 }, { QMetaType::QString, 10 },
        }}),
        // Signal 'trustRequestTreated'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 10 },
        }}),
        // Signal 'newUnreadInteraction'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &, const interaction::Info &) const>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 13 }, { QMetaType::QString, 14 }, { 0x80000000 | 15, 16 },
        }}),
        // Signal 'newReadInteraction'
        QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &) const>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Signal 'debugMessageReceived'
        QtMocHelpers::SignalData<void(const QString &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 19 },
        }}),
        // Signal 'audioMeter'
        QtMocHelpers::SignalData<void(const QString &, float)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { QMetaType::Float, 22 },
        }}),
        // Signal 'callStatusChanged'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 24 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<BehaviorController, qt_meta_tag_ZN3lrc3api18BehaviorControllerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lrc::api::BehaviorController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lrc3api18BehaviorControllerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lrc3api18BehaviorControllerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lrc3api18BehaviorControllerE_t>.metaTypes,
    nullptr
} };

void lrc::api::BehaviorController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BehaviorController *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->showChatView((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->showLeaveMessageView((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 2: _t->showCallView((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->showIncomingCallView((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 4: _t->newTrustRequest((*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 5: _t->trustRequestTreated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 6: _t->newUnreadInteraction((*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<interaction::Info>>(_a[4]))); break;
        case 7: _t->newReadInteraction((*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 8: _t->debugMessageReceived((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->audioMeter((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[2]))); break;
        case 10: _t->callStatusChanged((*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 (BehaviorController::*)(const QString & , const QString & ) const>(_a, &BehaviorController::showChatView, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , const QString & ) const>(_a, &BehaviorController::showLeaveMessageView, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , const QString & ) const>(_a, &BehaviorController::showCallView, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , const QString & ) const>(_a, &BehaviorController::showIncomingCallView, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , const QString & , const QString & ) const>(_a, &BehaviorController::newTrustRequest, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , const QString & ) const>(_a, &BehaviorController::trustRequestTreated, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , const QString & , const QString & , const interaction::Info & ) const>(_a, &BehaviorController::newUnreadInteraction, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , const QString & , const QString & ) const>(_a, &BehaviorController::newReadInteraction, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & )>(_a, &BehaviorController::debugMessageReceived, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , float )>(_a, &BehaviorController::audioMeter, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (BehaviorController::*)(const QString & , const QString & ) const>(_a, &BehaviorController::callStatusChanged, 10))
            return;
    }
}

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

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

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

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

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

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

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

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

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

// SIGNAL 6
void lrc::api::BehaviorController::newUnreadInteraction(const QString & _t1, const QString & _t2, const QString & _t3, const interaction::Info & _t4)const
{
    QMetaObject::activate<void>(const_cast< lrc::api::BehaviorController *>(this), &staticMetaObject, 6, nullptr, _t1, _t2, _t3, _t4);
}

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

// SIGNAL 8
void lrc::api::BehaviorController::debugMessageReceived(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void lrc::api::BehaviorController::audioMeter(const QString & _t1, float _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1, _t2);
}

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