/****************************************************************************
** Meta object code from reading C++ file 'modellist.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 "../../../../libkomparediff2-26.04.3/src/modellist.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 'modellist.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_ZN12KompareDiff29ModelListE_t {};
} // unnamed namespace

template <> constexpr inline auto KompareDiff2::ModelList::qt_create_metaobjectdata<qt_meta_tag_ZN12KompareDiff29ModelListE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KompareDiff2::ModelList",
        "status",
        "",
        "KompareDiff2::Status",
        "setStatusBarModelInfo",
        "modelIndex",
        "differenceIndex",
        "modelCount",
        "differenceCount",
        "appliedCount",
        "error",
        "modelsChanged",
        "const KompareDiff2::DiffModelList*",
        "models",
        "setSelection",
        "const KompareDiff2::DiffModel*",
        "model",
        "const KompareDiff2::Difference*",
        "diff",
        "applyDifference",
        "apply",
        "applyAllDifferences",
        "diffString",
        "updateActions",
        "slotSelectionChanged",
        "slotApplyDifference",
        "slotApplyAllDifferences",
        "slotPreviousModel",
        "slotNextModel",
        "slotPreviousDifference",
        "slotNextDifference",
        "slotKompareInfo",
        "KompareDiff2::Info*",
        "slotDiffProcessFinished",
        "success",
        "slotWriteDiffOutput",
        "slotActionApplyDifference",
        "slotActionUnApplyDifference",
        "slotActionApplyAllDifferences",
        "slotActionUnapplyAllDifferences",
        "slotSaveDestination"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'status'
        QtMocHelpers::SignalData<void(KompareDiff2::Status)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 1 },
        }}),
        // Signal 'setStatusBarModelInfo'
        QtMocHelpers::SignalData<void(int, int, int, int, int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 }, { QMetaType::Int, 6 }, { QMetaType::Int, 7 }, { QMetaType::Int, 8 },
            { QMetaType::Int, 9 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(const QString &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 10 },
        }}),
        // Signal 'modelsChanged'
        QtMocHelpers::SignalData<void(const KompareDiff2::DiffModelList *)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Signal 'setSelection'
        QtMocHelpers::SignalData<void(const KompareDiff2::DiffModel *, const KompareDiff2::Difference *)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 }, { 0x80000000 | 17, 18 },
        }}),
        // Signal 'setSelection'
        QtMocHelpers::SignalData<void(const KompareDiff2::Difference *)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Signal 'applyDifference'
        QtMocHelpers::SignalData<void(bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Signal 'applyAllDifferences'
        QtMocHelpers::SignalData<void(bool)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Signal 'applyDifference'
        QtMocHelpers::SignalData<void(const KompareDiff2::Difference *, bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 }, { QMetaType::Bool, 20 },
        }}),
        // Signal 'diffString'
        QtMocHelpers::SignalData<void(const QString &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'updateActions'
        QtMocHelpers::SignalData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSelectionChanged'
        QtMocHelpers::SlotData<void(const KompareDiff2::DiffModel *, const KompareDiff2::Difference *)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 }, { 0x80000000 | 17, 18 },
        }}),
        // Slot 'slotSelectionChanged'
        QtMocHelpers::SlotData<void(const KompareDiff2::Difference *)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'slotApplyDifference'
        QtMocHelpers::SlotData<void(bool)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Slot 'slotApplyAllDifferences'
        QtMocHelpers::SlotData<void(bool)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Slot 'slotPreviousModel'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotNextModel'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotPreviousDifference'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotNextDifference'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotKompareInfo'
        QtMocHelpers::SlotData<void(KompareDiff2::Info *)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 32, 2 },
        }}),
        // Slot 'slotDiffProcessFinished'
        QtMocHelpers::SlotData<void(bool)>(33, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 34 },
        }}),
        // Slot 'slotWriteDiffOutput'
        QtMocHelpers::SlotData<void(bool)>(35, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 34 },
        }}),
        // Slot 'slotActionApplyDifference'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotActionUnApplyDifference'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotActionApplyAllDifferences'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotActionUnapplyAllDifferences'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotSaveDestination'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ModelList, qt_meta_tag_ZN12KompareDiff29ModelListE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KompareDiff2::ModelList::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12KompareDiff29ModelListE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12KompareDiff29ModelListE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12KompareDiff29ModelListE_t>.metaTypes,
    nullptr
} };

void KompareDiff2::ModelList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ModelList *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->status((*reinterpret_cast<std::add_pointer_t<KompareDiff2::Status>>(_a[1]))); break;
        case 1: _t->setStatusBarModelInfo((*reinterpret_cast<std::add_pointer_t<int>>(_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])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5]))); break;
        case 2: _t->error((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->modelsChanged((*reinterpret_cast<std::add_pointer_t<const KompareDiff2::DiffModelList*>>(_a[1]))); break;
        case 4: _t->setSelection((*reinterpret_cast<std::add_pointer_t<const KompareDiff2::DiffModel*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<const KompareDiff2::Difference*>>(_a[2]))); break;
        case 5: _t->setSelection((*reinterpret_cast<std::add_pointer_t<const KompareDiff2::Difference*>>(_a[1]))); break;
        case 6: _t->applyDifference((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->applyAllDifferences((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->applyDifference((*reinterpret_cast<std::add_pointer_t<const KompareDiff2::Difference*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 9: _t->diffString((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->updateActions(); break;
        case 11: _t->slotSelectionChanged((*reinterpret_cast<std::add_pointer_t<const KompareDiff2::DiffModel*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<const KompareDiff2::Difference*>>(_a[2]))); break;
        case 12: _t->slotSelectionChanged((*reinterpret_cast<std::add_pointer_t<const KompareDiff2::Difference*>>(_a[1]))); break;
        case 13: _t->slotApplyDifference((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 14: _t->slotApplyAllDifferences((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->slotPreviousModel(); break;
        case 16: _t->slotNextModel(); break;
        case 17: _t->slotPreviousDifference(); break;
        case 18: _t->slotNextDifference(); break;
        case 19: _t->slotKompareInfo((*reinterpret_cast<std::add_pointer_t<KompareDiff2::Info*>>(_a[1]))); break;
        case 20: _t->slotDiffProcessFinished((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->slotWriteDiffOutput((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 22: _t->slotActionApplyDifference(); break;
        case 23: _t->slotActionUnApplyDifference(); break;
        case 24: _t->slotActionApplyAllDifferences(); break;
        case 25: _t->slotActionUnapplyAllDifferences(); break;
        case 26: _t->slotSaveDestination(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(KompareDiff2::Status )>(_a, &ModelList::status, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(int , int , int , int , int )>(_a, &ModelList::setStatusBarModelInfo, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(const QString & )>(_a, &ModelList::error, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(const KompareDiff2::DiffModelList * )>(_a, &ModelList::modelsChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(const KompareDiff2::DiffModel * , const KompareDiff2::Difference * )>(_a, &ModelList::setSelection, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(const KompareDiff2::Difference * )>(_a, &ModelList::setSelection, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(bool )>(_a, &ModelList::applyDifference, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(bool )>(_a, &ModelList::applyAllDifferences, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(const KompareDiff2::Difference * , bool )>(_a, &ModelList::applyDifference, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)(const QString & )>(_a, &ModelList::diffString, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (ModelList::*)()>(_a, &ModelList::updateActions, 10))
            return;
    }
}

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

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

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

// SIGNAL 0
void KompareDiff2::ModelList::status(KompareDiff2::Status _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KompareDiff2::ModelList::setStatusBarModelInfo(int _t1, int _t2, int _t3, int _t4, int _t5)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3, _t4, _t5);
}

// SIGNAL 2
void KompareDiff2::ModelList::error(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void KompareDiff2::ModelList::modelsChanged(const KompareDiff2::DiffModelList * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void KompareDiff2::ModelList::setSelection(const KompareDiff2::DiffModel * _t1, const KompareDiff2::Difference * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}

// SIGNAL 5
void KompareDiff2::ModelList::setSelection(const KompareDiff2::Difference * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void KompareDiff2::ModelList::applyDifference(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void KompareDiff2::ModelList::applyAllDifferences(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void KompareDiff2::ModelList::applyDifference(const KompareDiff2::Difference * _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1, _t2);
}

// SIGNAL 9
void KompareDiff2::ModelList::diffString(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void KompareDiff2::ModelList::updateActions()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
QT_WARNING_POP
