/****************************************************************************
** Meta object code from reading C++ file 'tagslist.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 "../../../../mauikit-filebrowsing-4.0.2/src/code/tagslist.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 'tagslist.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_ZN8TagsListE_t {};
} // unnamed namespace

template <> constexpr inline auto TagsList::qt_create_metaobjectdata<qt_meta_tag_ZN8TagsListE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TagsList",
        "QML.Element",
        "auto",
        "TagsListModel",
        "strictChanged",
        "",
        "urlsChanged",
        "tagsChanged",
        "append",
        "tag",
        "appendItem",
        "QVariantMap",
        "tags",
        "insert",
        "insertToUrls",
        "updateToUrls",
        "remove",
        "index",
        "removeFrom",
        "url",
        "removeFromUrls",
        "erase",
        "refresh",
        "contains",
        "strict",
        "urls",
        "newTags"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'strictChanged'
        QtMocHelpers::SignalData<void()>(4, 5, QMC::AccessPublic, QMetaType::Void),
        // Signal 'urlsChanged'
        QtMocHelpers::SignalData<void()>(6, 5, QMC::AccessPublic, QMetaType::Void),
        // Signal 'tagsChanged'
        QtMocHelpers::SignalData<void()>(7, 5, QMC::AccessPublic, QMetaType::Void),
        // Slot 'append'
        QtMocHelpers::SlotData<void(const QString &)>(8, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'appendItem'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(10, 5, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 9 },
        }}),
        // Slot 'append'
        QtMocHelpers::SlotData<void(const QStringList &)>(8, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 12 },
        }}),
        // Slot 'insert'
        QtMocHelpers::SlotData<bool(const QString &)>(13, 5, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'insertToUrls'
        QtMocHelpers::SlotData<void(const QString &)>(14, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'updateToUrls'
        QtMocHelpers::SlotData<void(const QStringList &)>(15, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 12 },
        }}),
        // Slot 'remove'
        QtMocHelpers::SlotData<bool(const int &)>(16, 5, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 17 },
        }}),
        // Slot 'removeFrom'
        QtMocHelpers::SlotData<void(const int &, const QString &)>(18, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 17 }, { QMetaType::QString, 19 },
        }}),
        // Slot 'removeFromUrls'
        QtMocHelpers::SlotData<void(const int &)>(20, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 17 },
        }}),
        // Slot 'removeFromUrls'
        QtMocHelpers::SlotData<void(const QString &)>(20, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'erase'
        QtMocHelpers::SlotData<void(const int &)>(21, 5, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 17 },
        }}),
        // Slot 'refresh'
        QtMocHelpers::SlotData<void()>(22, 5, QMC::AccessPublic, QMetaType::Void),
        // Slot 'contains'
        QtMocHelpers::SlotData<bool(const QString &)>(23, 5, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 9 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'strict'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'urls'
        QtMocHelpers::PropertyData<QStringList>(25, QMetaType::QStringList, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'tags'
        QtMocHelpers::PropertyData<QStringList>(12, QMetaType::QStringList, QMC::DefaultPropertyFlags, 2),
        // property 'newTags'
        QtMocHelpers::PropertyData<QStringList>(26, QMetaType::QStringList, QMC::DefaultPropertyFlags, 2),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    1,    3 },
    });
    return QtMocHelpers::metaObjectData<TagsList, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject TagsList::staticMetaObject = { {
    QMetaObject::SuperData::link<MauiList::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8TagsListE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8TagsListE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8TagsListE_t>.metaTypes,
    nullptr
} };

void TagsList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TagsList *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->strictChanged(); break;
        case 1: _t->urlsChanged(); break;
        case 2: _t->tagsChanged(); break;
        case 3: _t->append((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->appendItem((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 5: _t->append((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 6: { bool _r = _t->insert((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->insertToUrls((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->updateToUrls((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 9: { bool _r = _t->remove((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->removeFrom((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 11: _t->removeFromUrls((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: _t->removeFromUrls((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->erase((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 14: _t->refresh(); break;
        case 15: { bool _r = _t->contains((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TagsList::*)()>(_a, &TagsList::strictChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagsList::*)()>(_a, &TagsList::urlsChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagsList::*)()>(_a, &TagsList::tagsChanged, 2))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->getStrict(); break;
        case 1: *reinterpret_cast<QStringList*>(_v) = _t->getUrls(); break;
        case 2: *reinterpret_cast<QStringList*>(_v) = _t->getTags(); break;
        case 3: *reinterpret_cast<QStringList*>(_v) = _t->getNewTags(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setStrict(*reinterpret_cast<bool*>(_v)); break;
        case 1: _t->setUrls(*reinterpret_cast<QStringList*>(_v)); break;
        default: break;
        }
    }
}

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

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

int TagsList::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MauiList::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 16;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void TagsList::strictChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void TagsList::urlsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void TagsList::tagsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
