/****************************************************************************
** Meta object code from reading C++ file 'spellcheckdictionarylistmodel.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/src/app/spellcheckdictionarylistmodel.h"
#include <QtNetwork/QSslError>
#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 'spellcheckdictionarylistmodel.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_ZN29SpellCheckDictionaryListModelE_t {};
} // unnamed namespace

template <> constexpr inline auto SpellCheckDictionaryListModel::qt_create_metaobjectdata<qt_meta_tag_ZN29SpellCheckDictionaryListModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SpellCheckDictionaryListModel",
        "downloadFinished",
        "",
        "locale",
        "downloadFailed",
        "uninstallFinished",
        "uninstallFailed",
        "newDictionaryAvailable",
        "onDownloadFileFinished",
        "localPath",
        "onDownloadFileFailed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'downloadFinished'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'downloadFailed'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'uninstallFinished'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'uninstallFailed'
        QtMocHelpers::SignalData<void(const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'newDictionaryAvailable'
        QtMocHelpers::SignalData<void(const QString &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'onDownloadFileFinished'
        QtMocHelpers::SlotData<void(const QString &)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'onDownloadFileFailed'
        QtMocHelpers::SlotData<void(const QString &)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SpellCheckDictionaryListModel, qt_meta_tag_ZN29SpellCheckDictionaryListModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SpellCheckDictionaryListModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN29SpellCheckDictionaryListModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN29SpellCheckDictionaryListModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN29SpellCheckDictionaryListModelE_t>.metaTypes,
    nullptr
} };

void SpellCheckDictionaryListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SpellCheckDictionaryListModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->downloadFinished((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->downloadFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->uninstallFinished((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->uninstallFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->newDictionaryAvailable((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->onDownloadFileFinished((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->onDownloadFileFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SpellCheckDictionaryListModel::*)(const QString & )>(_a, &SpellCheckDictionaryListModel::downloadFinished, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SpellCheckDictionaryListModel::*)(const QString & )>(_a, &SpellCheckDictionaryListModel::downloadFailed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SpellCheckDictionaryListModel::*)(const QString & )>(_a, &SpellCheckDictionaryListModel::uninstallFinished, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SpellCheckDictionaryListModel::*)(const QString & )>(_a, &SpellCheckDictionaryListModel::uninstallFailed, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SpellCheckDictionaryListModel::*)(const QString & )>(_a, &SpellCheckDictionaryListModel::newDictionaryAvailable, 4))
            return;
    }
}

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

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

int SpellCheckDictionaryListModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void SpellCheckDictionaryListModel::downloadFinished(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void SpellCheckDictionaryListModel::downloadFailed(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void SpellCheckDictionaryListModel::uninstallFailed(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void SpellCheckDictionaryListModel::newDictionaryAvailable(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN24SpellCheckDictionaryListE_t {};
} // unnamed namespace

template <> constexpr inline auto SpellCheckDictionaryList::qt_create_metaobjectdata<qt_meta_tag_ZN24SpellCheckDictionaryListE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SpellCheckDictionaryList",
        "Role",
        "DummyRole",
        "NativeName",
        "Path",
        "Locale",
        "Installed",
        "Downloading",
        "IsSystem"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Role'
        QtMocHelpers::EnumData<Role>(1, 1, QMC::EnumFlags{}).add({
            {    2, Role::DummyRole },
            {    3, Role::NativeName },
            {    4, Role::Path },
            {    5, Role::Locale },
            {    6, Role::Installed },
            {    7, Role::Downloading },
            {    8, Role::IsSystem },
        }),
    };
    return QtMocHelpers::metaObjectData<void, qt_meta_tag_ZN24SpellCheckDictionaryListE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}

static constexpr auto qt_staticMetaObjectContent_ZN24SpellCheckDictionaryListE =
    SpellCheckDictionaryList::qt_create_metaobjectdata<qt_meta_tag_ZN24SpellCheckDictionaryListE_t>();
static constexpr auto qt_staticMetaObjectStaticContent_ZN24SpellCheckDictionaryListE =
    qt_staticMetaObjectContent_ZN24SpellCheckDictionaryListE.staticData;
static constexpr auto qt_staticMetaObjectRelocatingContent_ZN24SpellCheckDictionaryListE =
    qt_staticMetaObjectContent_ZN24SpellCheckDictionaryListE.relocatingData;

Q_CONSTINIT const QMetaObject SpellCheckDictionaryList::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent_ZN24SpellCheckDictionaryListE.stringdata,
    qt_staticMetaObjectStaticContent_ZN24SpellCheckDictionaryListE.data,
    nullptr,
    nullptr,
    qt_staticMetaObjectRelocatingContent_ZN24SpellCheckDictionaryListE.metaTypes,
    nullptr
} };

QT_WARNING_POP
