/****************************************************************************
** Meta object code from reading C++ file 'qqmlsortfilterproxymodel.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 "../../../../../jami-client-qt/3rdparty/SortFilterProxyModel/qqmlsortfilterproxymodel.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 'qqmlsortfilterproxymodel.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_ZN6qqsfpm24QQmlSortFilterProxyModelE_t {};
} // unnamed namespace

template <> constexpr inline auto qqsfpm::QQmlSortFilterProxyModel::qt_create_metaobjectdata<qt_meta_tag_ZN6qqsfpm24QQmlSortFilterProxyModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "qqsfpm::QQmlSortFilterProxyModel",
        "countChanged",
        "",
        "delayedChanged",
        "filterRoleNameChanged",
        "filterPatternChanged",
        "filterValueChanged",
        "sortRoleNameChanged",
        "ascendingSortOrderChanged",
        "resetInternalData",
        "queueInvalidateFilter",
        "invalidateFilter",
        "queueInvalidate",
        "invalidate",
        "updateRoleNames",
        "updateFilterRole",
        "updateSortRole",
        "updateRoles",
        "initRoles",
        "onDataChanged",
        "QModelIndex",
        "topLeft",
        "bottomRight",
        "QList<int>",
        "roles",
        "queueInvalidateProxyRoles",
        "invalidateProxyRoles",
        "roleForName",
        "roleName",
        "get",
        "QVariantMap",
        "row",
        "QVariant",
        "mapToSource",
        "proxyIndex",
        "proxyRow",
        "mapFromSource",
        "sourceIndex",
        "sourceRow",
        "count",
        "delayed",
        "filterRoleName",
        "filterPattern",
        "filterValue",
        "sortRoleName",
        "ascendingSortOrder",
        "filters",
        "QQmlListProperty<qqsfpm::Filter>",
        "sorters",
        "QQmlListProperty<qqsfpm::Sorter>",
        "proxyRoles",
        "QQmlListProperty<qqsfpm::ProxyRole>"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'countChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'delayedChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'filterRoleNameChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'filterPatternChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'filterValueChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sortRoleNameChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ascendingSortOrderChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'resetInternalData'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'queueInvalidateFilter'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'invalidateFilter'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'queueInvalidate'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'invalidate'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateRoleNames'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateFilterRole'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateSortRole'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateRoles'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'initRoles'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDataChanged'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QModelIndex &, const QVector<int> &)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 20, 21 }, { 0x80000000 | 20, 22 }, { 0x80000000 | 23, 24 },
        }}),
        // Slot 'queueInvalidateProxyRoles'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'invalidateProxyRoles'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Method 'roleForName'
        QtMocHelpers::MethodData<int(const QString &) const>(27, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QString, 28 },
        }}),
        // Method 'get'
        QtMocHelpers::MethodData<QVariantMap(int) const>(29, 2, QMC::AccessPublic, 0x80000000 | 30, {{
            { QMetaType::Int, 31 },
        }}),
        // Method 'get'
        QtMocHelpers::MethodData<QVariant(int, const QString &) const>(29, 2, QMC::AccessPublic, 0x80000000 | 32, {{
            { QMetaType::Int, 31 }, { QMetaType::QString, 28 },
        }}),
        // Method 'mapToSource'
        QtMocHelpers::MethodData<QModelIndex(const QModelIndex &) const>(33, 2, QMC::AccessPublic, 0x80000000 | 20, {{
            { 0x80000000 | 20, 34 },
        }}),
        // Method 'mapToSource'
        QtMocHelpers::MethodData<int(int) const>(33, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::Int, 35 },
        }}),
        // Method 'mapFromSource'
        QtMocHelpers::MethodData<QModelIndex(const QModelIndex &) const>(36, 2, QMC::AccessPublic, 0x80000000 | 20, {{
            { 0x80000000 | 20, 37 },
        }}),
        // Method 'mapFromSource'
        QtMocHelpers::MethodData<int(int) const>(36, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::Int, 38 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'count'
        QtMocHelpers::PropertyData<int>(39, QMetaType::Int, QMC::DefaultPropertyFlags, 0),
        // property 'delayed'
        QtMocHelpers::PropertyData<bool>(40, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'filterRoleName'
        QtMocHelpers::PropertyData<QString>(41, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'filterPattern'
        QtMocHelpers::PropertyData<QString>(42, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'filterValue'
        QtMocHelpers::PropertyData<QVariant>(43, 0x80000000 | 32, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 4),
        // property 'sortRoleName'
        QtMocHelpers::PropertyData<QString>(44, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'ascendingSortOrder'
        QtMocHelpers::PropertyData<bool>(45, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'filters'
        QtMocHelpers::PropertyData<QQmlListProperty<qqsfpm::Filter>>(46, 0x80000000 | 47, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'sorters'
        QtMocHelpers::PropertyData<QQmlListProperty<qqsfpm::Sorter>>(48, 0x80000000 | 49, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'proxyRoles'
        QtMocHelpers::PropertyData<QQmlListProperty<qqsfpm::ProxyRole>>(50, 0x80000000 | 51, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QQmlSortFilterProxyModel, qt_meta_tag_ZN6qqsfpm24QQmlSortFilterProxyModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject qqsfpm::QQmlSortFilterProxyModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QSortFilterProxyModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6qqsfpm24QQmlSortFilterProxyModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6qqsfpm24QQmlSortFilterProxyModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6qqsfpm24QQmlSortFilterProxyModelE_t>.metaTypes,
    nullptr
} };

void qqsfpm::QQmlSortFilterProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QQmlSortFilterProxyModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: _t->delayedChanged(); break;
        case 2: _t->filterRoleNameChanged(); break;
        case 3: _t->filterPatternChanged(); break;
        case 4: _t->filterValueChanged(); break;
        case 5: _t->sortRoleNameChanged(); break;
        case 6: _t->ascendingSortOrderChanged(); break;
        case 7: _t->resetInternalData(); break;
        case 8: _t->queueInvalidateFilter(); break;
        case 9: _t->invalidateFilter(); break;
        case 10: _t->queueInvalidate(); break;
        case 11: _t->invalidate(); break;
        case 12: _t->updateRoleNames(); break;
        case 13: _t->updateFilterRole(); break;
        case 14: _t->updateSortRole(); break;
        case 15: _t->updateRoles(); break;
        case 16: _t->initRoles(); break;
        case 17: _t->onDataChanged((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[3]))); break;
        case 18: _t->queueInvalidateProxyRoles(); break;
        case 19: _t->invalidateProxyRoles(); break;
        case 20: { int _r = _t->roleForName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 21: { QVariantMap _r = _t->get((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 22: { QVariant _r = _t->get((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 23: { QModelIndex _r = _t->mapToSource((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QModelIndex*>(_a[0]) = std::move(_r); }  break;
        case 24: { int _r = _t->mapToSource((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 25: { QModelIndex _r = _t->mapFromSource((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QModelIndex*>(_a[0]) = std::move(_r); }  break;
        case 26: { int _r = _t->mapFromSource((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QQmlSortFilterProxyModel::*)()>(_a, &QQmlSortFilterProxyModel::countChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QQmlSortFilterProxyModel::*)()>(_a, &QQmlSortFilterProxyModel::delayedChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QQmlSortFilterProxyModel::*)()>(_a, &QQmlSortFilterProxyModel::filterRoleNameChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QQmlSortFilterProxyModel::*)()>(_a, &QQmlSortFilterProxyModel::filterPatternChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QQmlSortFilterProxyModel::*)()>(_a, &QQmlSortFilterProxyModel::filterValueChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QQmlSortFilterProxyModel::*)()>(_a, &QQmlSortFilterProxyModel::sortRoleNameChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QQmlSortFilterProxyModel::*)()>(_a, &QQmlSortFilterProxyModel::ascendingSortOrderChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->count(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->delayed(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->filterRoleName(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->filterPattern(); break;
        case 4: *reinterpret_cast<QVariant*>(_v) = _t->filterValue(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->sortRoleName(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->ascendingSortOrder(); break;
        case 7: *reinterpret_cast<QQmlListProperty<qqsfpm::Filter>*>(_v) = _t->filtersListProperty(); break;
        case 8: *reinterpret_cast<QQmlListProperty<qqsfpm::Sorter>*>(_v) = _t->sortersListProperty(); break;
        case 9: *reinterpret_cast<QQmlListProperty<qqsfpm::ProxyRole>*>(_v) = _t->proxyRolesListProperty(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setDelayed(*reinterpret_cast<bool*>(_v)); break;
        case 2: _t->setFilterRoleName(*reinterpret_cast<QString*>(_v)); break;
        case 3: _t->setFilterPattern(*reinterpret_cast<QString*>(_v)); break;
        case 4: _t->setFilterValue(*reinterpret_cast<QVariant*>(_v)); break;
        case 5: _t->setSortRoleName(*reinterpret_cast<QString*>(_v)); break;
        case 6: _t->setAscendingSortOrder(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *qqsfpm::QQmlSortFilterProxyModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6qqsfpm24QQmlSortFilterProxyModelE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "FilterContainer"))
        return static_cast< FilterContainer*>(this);
    if (!strcmp(_clname, "SorterContainer"))
        return static_cast< SorterContainer*>(this);
    if (!strcmp(_clname, "ProxyRoleContainer"))
        return static_cast< ProxyRoleContainer*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "fr.grecko.SortFilterProxyModel.FilterContainer"))
        return static_cast< qqsfpm::FilterContainer*>(this);
    if (!strcmp(_clname, "fr.grecko.SortFilterProxyModel.SorterContainer"))
        return static_cast< qqsfpm::SorterContainer*>(this);
    if (!strcmp(_clname, "fr.grecko.SortFilterProxyModel.ProxyRoleContainer"))
        return static_cast< qqsfpm::ProxyRoleContainer*>(this);
    return QSortFilterProxyModel::qt_metacast(_clname);
}

int qqsfpm::QQmlSortFilterProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void qqsfpm::QQmlSortFilterProxyModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void qqsfpm::QQmlSortFilterProxyModel::delayedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void qqsfpm::QQmlSortFilterProxyModel::filterRoleNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void qqsfpm::QQmlSortFilterProxyModel::filterPatternChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void qqsfpm::QQmlSortFilterProxyModel::filterValueChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void qqsfpm::QQmlSortFilterProxyModel::sortRoleNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void qqsfpm::QQmlSortFilterProxyModel::ascendingSortOrderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
