/****************************************************************************
** Meta object code from reading C++ file 'searchpluginmanager.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 "../../../../../qBittorrent/src/base/search/searchpluginmanager.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 'searchpluginmanager.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_ZN19SearchPluginManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto SearchPluginManager::qt_create_metaobjectdata<qt_meta_tag_ZN19SearchPluginManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SearchPluginManager",
        "pluginEnabled",
        "",
        "name",
        "enabled",
        "pluginInstalled",
        "pluginInstallationFailed",
        "reason",
        "pluginUninstalled",
        "pluginUpdated",
        "pluginUpdateFailed",
        "checkForUpdatesFinished",
        "QHash<QString,PluginVersion>",
        "updateInfo",
        "checkForUpdatesFailed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'pluginEnabled'
        QtMocHelpers::SignalData<void(const QString &, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Bool, 4 },
        }}),
        // Signal 'pluginInstalled'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'pluginInstallationFailed'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 7 },
        }}),
        // Signal 'pluginUninstalled'
        QtMocHelpers::SignalData<void(const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'pluginUpdated'
        QtMocHelpers::SignalData<void(const QString &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'pluginUpdateFailed'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 7 },
        }}),
        // Signal 'checkForUpdatesFinished'
        QtMocHelpers::SignalData<void(const QHash<QString,PluginVersion> &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Signal 'checkForUpdatesFailed'
        QtMocHelpers::SignalData<void(const QString &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SearchPluginManager, qt_meta_tag_ZN19SearchPluginManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SearchPluginManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19SearchPluginManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19SearchPluginManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19SearchPluginManagerE_t>.metaTypes,
    nullptr
} };

void SearchPluginManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SearchPluginManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->pluginEnabled((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 1: _t->pluginInstalled((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->pluginInstallationFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->pluginUninstalled((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->pluginUpdated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->pluginUpdateFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 6: _t->checkForUpdatesFinished((*reinterpret_cast<std::add_pointer_t<QHash<QString,PluginVersion>>>(_a[1]))); break;
        case 7: _t->checkForUpdatesFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SearchPluginManager::*)(const QString & , bool )>(_a, &SearchPluginManager::pluginEnabled, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchPluginManager::*)(const QString & )>(_a, &SearchPluginManager::pluginInstalled, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchPluginManager::*)(const QString & , const QString & )>(_a, &SearchPluginManager::pluginInstallationFailed, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchPluginManager::*)(const QString & )>(_a, &SearchPluginManager::pluginUninstalled, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchPluginManager::*)(const QString & )>(_a, &SearchPluginManager::pluginUpdated, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchPluginManager::*)(const QString & , const QString & )>(_a, &SearchPluginManager::pluginUpdateFailed, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchPluginManager::*)(const QHash<QString,PluginVersion> & )>(_a, &SearchPluginManager::checkForUpdatesFinished, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchPluginManager::*)(const QString & )>(_a, &SearchPluginManager::checkForUpdatesFailed, 7))
            return;
    }
}

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

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

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

// SIGNAL 0
void SearchPluginManager::pluginEnabled(const QString & _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void SearchPluginManager::pluginInstalled(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void SearchPluginManager::pluginInstallationFailed(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void SearchPluginManager::pluginUninstalled(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void SearchPluginManager::pluginUpdated(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void SearchPluginManager::pluginUpdateFailed(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void SearchPluginManager::checkForUpdatesFinished(const QHash<QString,PluginVersion> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void SearchPluginManager::checkForUpdatesFailed(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
QT_WARNING_POP
