/****************************************************************************
** Meta object code from reading C++ file 'tagmanagerdbus.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../../../dde-file-manager/src/plugins/daemon/tag/tagmanagerdbus.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 'tagmanagerdbus.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN14TagManagerDBusE_t {};
} // unnamed namespace

template <> constexpr inline auto TagManagerDBus::qt_create_metaobjectdata<qt_meta_tag_ZN14TagManagerDBusE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TagManagerDBus",
        "D-Bus Interface",
        "org.deepin.Filemanager.Daemon.TagManager",
        "TagsServiceReady",
        "",
        "NewTagsAdded",
        "QVariantMap",
        "tags",
        "TagsDeleted",
        "TagsColorChanged",
        "oldAndNew",
        "TagsNameChanged",
        "FilesTagged",
        "fileAndTags",
        "FilesUntagged",
        "Query",
        "QDBusVariant",
        "opt",
        "value",
        "Insert",
        "Delete",
        "Update"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'TagsServiceReady'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'NewTagsAdded'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(5, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'TagsDeleted'
        QtMocHelpers::SignalData<void(const QStringList &)>(8, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 7 },
        }}),
        // Signal 'TagsColorChanged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(9, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 10 },
        }}),
        // Signal 'TagsNameChanged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(11, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 10 },
        }}),
        // Signal 'FilesTagged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(12, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 13 },
        }}),
        // Signal 'FilesUntagged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(14, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 13 },
        }}),
        // Slot 'Query'
        QtMocHelpers::SlotData<QDBusVariant(int, const QStringList)>(15, 4, QMC::AccessPublic, 0x80000000 | 16, {{
            { QMetaType::Int, 17 }, { QMetaType::QStringList, 18 },
        }}),
        // Slot 'Query'
        QtMocHelpers::SlotData<QDBusVariant(int)>(15, 4, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 16, {{
            { QMetaType::Int, 17 },
        }}),
        // Slot 'Insert'
        QtMocHelpers::SlotData<bool(int, const QVariantMap)>(19, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 17 }, { 0x80000000 | 6, 18 },
        }}),
        // Slot 'Delete'
        QtMocHelpers::SlotData<bool(int, const QVariantMap)>(20, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 17 }, { 0x80000000 | 6, 18 },
        }}),
        // Slot 'Update'
        QtMocHelpers::SlotData<bool(int, const QVariantMap)>(21, 4, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 17 }, { 0x80000000 | 6, 18 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<TagManagerDBus, qt_meta_tag_ZN14TagManagerDBusE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject TagManagerDBus::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14TagManagerDBusE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14TagManagerDBusE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14TagManagerDBusE_t>.metaTypes,
    nullptr
} };

void TagManagerDBus::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TagManagerDBus *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->TagsServiceReady(); break;
        case 1: _t->NewTagsAdded((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 2: _t->TagsDeleted((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 3: _t->TagsColorChanged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 4: _t->TagsNameChanged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 5: _t->FilesTagged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 6: _t->FilesUntagged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 7: { QDBusVariant _r = _t->Query((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QDBusVariant*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusVariant _r = _t->Query((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusVariant*>(_a[0]) = std::move(_r); }  break;
        case 9: { bool _r = _t->Insert((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->Delete((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->Update((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TagManagerDBus::*)()>(_a, &TagManagerDBus::TagsServiceReady, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagManagerDBus::*)(const QVariantMap & )>(_a, &TagManagerDBus::NewTagsAdded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagManagerDBus::*)(const QStringList & )>(_a, &TagManagerDBus::TagsDeleted, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagManagerDBus::*)(const QVariantMap & )>(_a, &TagManagerDBus::TagsColorChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagManagerDBus::*)(const QVariantMap & )>(_a, &TagManagerDBus::TagsNameChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagManagerDBus::*)(const QVariantMap & )>(_a, &TagManagerDBus::FilesTagged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagManagerDBus::*)(const QVariantMap & )>(_a, &TagManagerDBus::FilesUntagged, 6))
            return;
    }
}

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

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

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

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

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

// SIGNAL 2
void TagManagerDBus::TagsDeleted(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

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

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

// SIGNAL 5
void TagManagerDBus::FilesTagged(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

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