/****************************************************************************
** Meta object code from reading C++ file 'extensionpluginmanager_p.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-utils/extensionimpl/pluginsload/extensionpluginmanager_p.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 'extensionpluginmanager_p.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_ZN15dfmplugin_utils25ExtensionPluginInitWorkerE_t {};
} // unnamed namespace

template <> constexpr inline auto dfmplugin_utils::ExtensionPluginInitWorker::qt_create_metaobjectdata<qt_meta_tag_ZN15dfmplugin_utils25ExtensionPluginInitWorkerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dfmplugin_utils::ExtensionPluginInitWorker",
        "requestInitPlugin",
        "",
        "ExtPluginLoaderPointer",
        "scanPluginsFinished",
        "loadPluginsFinished",
        "initPluginsFinished",
        "doWork",
        "paths"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'requestInitPlugin'
        QtMocHelpers::SignalData<void(ExtPluginLoaderPointer)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'scanPluginsFinished'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loadPluginsFinished'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'initPluginsFinished'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doWork'
        QtMocHelpers::SlotData<void(const QStringList &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ExtensionPluginInitWorker, qt_meta_tag_ZN15dfmplugin_utils25ExtensionPluginInitWorkerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dfmplugin_utils::ExtensionPluginInitWorker::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15dfmplugin_utils25ExtensionPluginInitWorkerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15dfmplugin_utils25ExtensionPluginInitWorkerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15dfmplugin_utils25ExtensionPluginInitWorkerE_t>.metaTypes,
    nullptr
} };

void dfmplugin_utils::ExtensionPluginInitWorker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ExtensionPluginInitWorker *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->requestInitPlugin((*reinterpret_cast<std::add_pointer_t<ExtPluginLoaderPointer>>(_a[1]))); break;
        case 1: _t->scanPluginsFinished(); break;
        case 2: _t->loadPluginsFinished(); break;
        case 3: _t->initPluginsFinished(); break;
        case 4: _t->doWork((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ExtensionPluginInitWorker::*)(ExtPluginLoaderPointer )>(_a, &ExtensionPluginInitWorker::requestInitPlugin, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExtensionPluginInitWorker::*)()>(_a, &ExtensionPluginInitWorker::scanPluginsFinished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExtensionPluginInitWorker::*)()>(_a, &ExtensionPluginInitWorker::loadPluginsFinished, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExtensionPluginInitWorker::*)()>(_a, &ExtensionPluginInitWorker::initPluginsFinished, 3))
            return;
    }
}

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

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

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

// SIGNAL 0
void dfmplugin_utils::ExtensionPluginInitWorker::requestInitPlugin(ExtPluginLoaderPointer _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void dfmplugin_utils::ExtensionPluginInitWorker::scanPluginsFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void dfmplugin_utils::ExtensionPluginInitWorker::loadPluginsFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void dfmplugin_utils::ExtensionPluginInitWorker::initPluginsFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
namespace {
struct qt_meta_tag_ZN15dfmplugin_utils29ExtensionPluginManagerPrivateE_t {};
} // unnamed namespace

template <> constexpr inline auto dfmplugin_utils::ExtensionPluginManagerPrivate::qt_create_metaobjectdata<qt_meta_tag_ZN15dfmplugin_utils29ExtensionPluginManagerPrivateE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dfmplugin_utils::ExtensionPluginManagerPrivate",
        "startInitialize",
        "",
        "paths"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'startInitialize'
        QtMocHelpers::SignalData<void(const QStringList &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 3 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ExtensionPluginManagerPrivate, qt_meta_tag_ZN15dfmplugin_utils29ExtensionPluginManagerPrivateE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dfmplugin_utils::ExtensionPluginManagerPrivate::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15dfmplugin_utils29ExtensionPluginManagerPrivateE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15dfmplugin_utils29ExtensionPluginManagerPrivateE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15dfmplugin_utils29ExtensionPluginManagerPrivateE_t>.metaTypes,
    nullptr
} };

void dfmplugin_utils::ExtensionPluginManagerPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ExtensionPluginManagerPrivate *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->startInitialize((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ExtensionPluginManagerPrivate::*)(const QStringList & )>(_a, &ExtensionPluginManagerPrivate::startInitialize, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void dfmplugin_utils::ExtensionPluginManagerPrivate::startInitialize(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
