/****************************************************************************
** Meta object code from reading C++ file 'filetagcache.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 "../../../../../../../dde-file-manager/src/plugins/common/dfmplugin-tag/utils/filetagcache.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 'filetagcache.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_ZN13dfmplugin_tag18FileTagCacheWorkerE_t {};
} // unnamed namespace

template <> constexpr inline auto dfmplugin_tag::FileTagCacheWorker::qt_create_metaobjectdata<qt_meta_tag_ZN13dfmplugin_tag18FileTagCacheWorkerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dfmplugin_tag::FileTagCacheWorker",
        "loadFileTagsFromDatabase",
        "",
        "onTagAdded",
        "QVariantMap",
        "tags",
        "onTagDeleted",
        "QVariant",
        "onTagsColorChanged",
        "tagAndColorName",
        "onTagsNameChanged",
        "oldAndNew",
        "onFilesTagged",
        "fileAndTags",
        "onFilesUntagged"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'loadFileTagsFromDatabase'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onTagAdded'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'onTagDeleted'
        QtMocHelpers::SlotData<void(const QVariant &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 5 },
        }}),
        // Slot 'onTagsColorChanged'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 9 },
        }}),
        // Slot 'onTagsNameChanged'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 11 },
        }}),
        // Slot 'onFilesTagged'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 13 },
        }}),
        // Slot 'onFilesUntagged'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 13 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FileTagCacheWorker, qt_meta_tag_ZN13dfmplugin_tag18FileTagCacheWorkerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dfmplugin_tag::FileTagCacheWorker::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13dfmplugin_tag18FileTagCacheWorkerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13dfmplugin_tag18FileTagCacheWorkerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13dfmplugin_tag18FileTagCacheWorkerE_t>.metaTypes,
    nullptr
} };

void dfmplugin_tag::FileTagCacheWorker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FileTagCacheWorker *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->loadFileTagsFromDatabase(); break;
        case 1: _t->onTagAdded((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 2: _t->onTagDeleted((*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[1]))); break;
        case 3: _t->onTagsColorChanged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 4: _t->onTagsNameChanged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 5: _t->onFilesTagged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 6: _t->onFilesUntagged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        default: ;
        }
    }
}

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

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

int dfmplugin_tag::FileTagCacheWorker::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 < 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;
}
namespace {
struct qt_meta_tag_ZN13dfmplugin_tag12FileTagCacheE_t {};
} // unnamed namespace

template <> constexpr inline auto dfmplugin_tag::FileTagCache::qt_create_metaobjectdata<qt_meta_tag_ZN13dfmplugin_tag12FileTagCacheE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dfmplugin_tag::FileTagCache"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FileTagCache, qt_meta_tag_ZN13dfmplugin_tag12FileTagCacheE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dfmplugin_tag::FileTagCache::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13dfmplugin_tag12FileTagCacheE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13dfmplugin_tag12FileTagCacheE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13dfmplugin_tag12FileTagCacheE_t>.metaTypes,
    nullptr
} };

void dfmplugin_tag::FileTagCache::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FileTagCache *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int dfmplugin_tag::FileTagCache::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN13dfmplugin_tag22FileTagCacheControllerE_t {};
} // unnamed namespace

template <> constexpr inline auto dfmplugin_tag::FileTagCacheController::qt_create_metaobjectdata<qt_meta_tag_ZN13dfmplugin_tag22FileTagCacheControllerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dfmplugin_tag::FileTagCacheController",
        "initLoadTagInfos",
        "",
        "filesTagged",
        "QVariantMap",
        "fileAndTags",
        "filesUntagged",
        "newTagsAdded",
        "tags",
        "tagsColorChanged",
        "oldAndNew",
        "tagsDeleted",
        "tagsNameChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'initLoadTagInfos'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'filesTagged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'filesUntagged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'newTagsAdded'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 8 },
        }}),
        // Signal 'tagsColorChanged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 10 },
        }}),
        // Signal 'tagsDeleted'
        QtMocHelpers::SignalData<void(const QStringList &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 8 },
        }}),
        // Signal 'tagsNameChanged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 10 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FileTagCacheController, qt_meta_tag_ZN13dfmplugin_tag22FileTagCacheControllerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dfmplugin_tag::FileTagCacheController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13dfmplugin_tag22FileTagCacheControllerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13dfmplugin_tag22FileTagCacheControllerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13dfmplugin_tag22FileTagCacheControllerE_t>.metaTypes,
    nullptr
} };

void dfmplugin_tag::FileTagCacheController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FileTagCacheController *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->initLoadTagInfos(); break;
        case 1: _t->filesTagged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 2: _t->filesUntagged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 3: _t->newTagsAdded((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 4: _t->tagsColorChanged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 5: _t->tagsDeleted((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 6: _t->tagsNameChanged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FileTagCacheController::*)()>(_a, &FileTagCacheController::initLoadTagInfos, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileTagCacheController::*)(const QVariantMap & )>(_a, &FileTagCacheController::filesTagged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileTagCacheController::*)(const QVariantMap & )>(_a, &FileTagCacheController::filesUntagged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileTagCacheController::*)(const QVariantMap & )>(_a, &FileTagCacheController::newTagsAdded, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileTagCacheController::*)(const QVariantMap & )>(_a, &FileTagCacheController::tagsColorChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileTagCacheController::*)(const QStringList & )>(_a, &FileTagCacheController::tagsDeleted, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileTagCacheController::*)(const QVariantMap & )>(_a, &FileTagCacheController::tagsNameChanged, 6))
            return;
    }
}

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

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

int dfmplugin_tag::FileTagCacheController::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 < 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 dfmplugin_tag::FileTagCacheController::initLoadTagInfos()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void dfmplugin_tag::FileTagCacheController::filesTagged(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void dfmplugin_tag::FileTagCacheController::filesUntagged(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void dfmplugin_tag::FileTagCacheController::newTagsAdded(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void dfmplugin_tag::FileTagCacheController::tagsColorChanged(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void dfmplugin_tag::FileTagCacheController::tagsDeleted(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void dfmplugin_tag::FileTagCacheController::tagsNameChanged(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
