/****************************************************************************
** Meta object code from reading C++ file 'canvasmodelshell.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/desktop/ddplugin-organizer/interface/canvasmodelshell.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'canvasmodelshell.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_ZN18ddplugin_organizer16CanvasModelShellE_t {};
} // unnamed namespace

template <> constexpr inline auto ddplugin_organizer::CanvasModelShell::qt_create_metaobjectdata<qt_meta_tag_ZN18ddplugin_organizer16CanvasModelShellE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ddplugin_organizer::CanvasModelShell",
        "filterDataRested",
        "",
        "QList<QUrl>*",
        "urls",
        "filterDataInserted",
        "QUrl",
        "url",
        "filterDataRenamed",
        "oldUrl",
        "newUrl",
        "eventDataRested",
        "extData",
        "eventDataInserted",
        "eventDataRenamed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'filterDataRested'
        QtMocHelpers::SignalData<bool(QList<QUrl> *)>(1, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'filterDataInserted'
        QtMocHelpers::SignalData<bool(const QUrl &)>(5, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'filterDataRenamed'
        QtMocHelpers::SignalData<bool(const QUrl &, const QUrl &)>(8, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 6, 9 }, { 0x80000000 | 6, 10 },
        }}),
        // Slot 'eventDataRested'
        QtMocHelpers::SlotData<bool(QList<QUrl> *, void *)>(11, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { 0x80000000 | 3, 4 }, { QMetaType::VoidStar, 12 },
        }}),
        // Slot 'eventDataInserted'
        QtMocHelpers::SlotData<bool(const QUrl &, void *)>(13, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { 0x80000000 | 6, 7 }, { QMetaType::VoidStar, 12 },
        }}),
        // Slot 'eventDataRenamed'
        QtMocHelpers::SlotData<bool(const QUrl &, const QUrl &, void *)>(14, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { 0x80000000 | 6, 9 }, { 0x80000000 | 6, 10 }, { QMetaType::VoidStar, 12 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CanvasModelShell, qt_meta_tag_ZN18ddplugin_organizer16CanvasModelShellE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ddplugin_organizer::CanvasModelShell::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18ddplugin_organizer16CanvasModelShellE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18ddplugin_organizer16CanvasModelShellE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18ddplugin_organizer16CanvasModelShellE_t>.metaTypes,
    nullptr
} };

void ddplugin_organizer::CanvasModelShell::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CanvasModelShell *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { bool _r = _t->filterDataRested((*reinterpret_cast<std::add_pointer_t<QList<QUrl>*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->filterDataInserted((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { bool _r = _t->filterDataRenamed((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 3: { bool _r = _t->eventDataRested((*reinterpret_cast<std::add_pointer_t<QList<QUrl>*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<void*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 4: { bool _r = _t->eventDataInserted((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<void*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 5: { bool _r = _t->eventDataRenamed((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<void*>>(_a[3])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<bool (CanvasModelShell::*)(QList<QUrl> * )>(_a, &CanvasModelShell::filterDataRested, 0))
            return;
        if (QtMocHelpers::indexOfMethod<bool (CanvasModelShell::*)(const QUrl & )>(_a, &CanvasModelShell::filterDataInserted, 1))
            return;
        if (QtMocHelpers::indexOfMethod<bool (CanvasModelShell::*)(const QUrl & , const QUrl & )>(_a, &CanvasModelShell::filterDataRenamed, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
bool ddplugin_organizer::CanvasModelShell::filterDataRested(QList<QUrl> * _t1)
{
    bool _t0{};
    QMetaObject::activate<bool>(this, &staticMetaObject, 0, std::addressof(_t0), _t1);
    return _t0;
}

// SIGNAL 1
bool ddplugin_organizer::CanvasModelShell::filterDataInserted(const QUrl & _t1)
{
    bool _t0{};
    QMetaObject::activate<bool>(this, &staticMetaObject, 1, std::addressof(_t0), _t1);
    return _t0;
}

// SIGNAL 2
bool ddplugin_organizer::CanvasModelShell::filterDataRenamed(const QUrl & _t1, const QUrl & _t2)
{
    bool _t0{};
    QMetaObject::activate<bool>(this, &staticMetaObject, 2, std::addressof(_t0), _t1, _t2);
    return _t0;
}
QT_WARNING_POP
