/****************************************************************************
** Meta object code from reading C++ file 'ThemesManager.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 "ThemesManager.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 'ThemesManager.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_ZN13ThemesManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto ThemesManager::qt_create_metaobjectdata<qt_meta_tag_ZN13ThemesManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ThemesManager",
        "theThemeNeedBeUnloaded",
        "",
        "theThemeIsReloaded",
        "newThemeOptions",
        "std::string",
        "name",
        "QWidget*",
        "isLoaded",
        "havePlugin",
        "previouslyPluginAdded",
        "PluginsAvailable",
        "onePluginAdded",
        "plugin",
        "allPluginIsLoaded",
        "newOptionValue",
        "group",
        "value",
        "debugInformation",
        "Ultracopier::DebugLevel",
        "level",
        "fonction",
        "text",
        "file",
        "ligne"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'theThemeNeedBeUnloaded'
        QtMocHelpers::SignalData<void() const>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'theThemeIsReloaded'
        QtMocHelpers::SignalData<void() const>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'newThemeOptions'
        QtMocHelpers::SignalData<void(const std::string &, QWidget *, const bool &, const bool &) const>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 }, { 0x80000000 | 7, 2 }, { QMetaType::Bool, 8 }, { QMetaType::Bool, 9 },
        }}),
        // Signal 'previouslyPluginAdded'
        QtMocHelpers::SignalData<void(PluginsAvailable) const>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Slot 'onePluginAdded'
        QtMocHelpers::SlotData<void(const PluginsAvailable &)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 11, 13 },
        }}),
        // Slot 'allPluginIsLoaded'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'newOptionValue'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &, const std::string &)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 5, 16 }, { 0x80000000 | 5, 6 }, { 0x80000000 | 5, 17 },
        }}),
        // Slot 'debugInformation'
        QtMocHelpers::SlotData<void(const Ultracopier::DebugLevel &, const std::string &, const std::string &, const std::string &, const int &)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 20 }, { 0x80000000 | 5, 21 }, { 0x80000000 | 5, 22 }, { 0x80000000 | 5, 23 },
            { QMetaType::Int, 24 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ThemesManager, qt_meta_tag_ZN13ThemesManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ThemesManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ThemesManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ThemesManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13ThemesManagerE_t>.metaTypes,
    nullptr
} };

void ThemesManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ThemesManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->theThemeNeedBeUnloaded(); break;
        case 1: _t->theThemeIsReloaded(); break;
        case 2: _t->newThemeOptions((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4]))); break;
        case 3: _t->previouslyPluginAdded((*reinterpret_cast<std::add_pointer_t<PluginsAvailable>>(_a[1]))); break;
        case 4: _t->onePluginAdded((*reinterpret_cast<std::add_pointer_t<PluginsAvailable>>(_a[1]))); break;
        case 5: _t->allPluginIsLoaded(); break;
        case 6: _t->newOptionValue((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[3]))); break;
        case 7: _t->debugInformation((*reinterpret_cast<std::add_pointer_t<Ultracopier::DebugLevel>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ThemesManager::*)() const>(_a, &ThemesManager::theThemeNeedBeUnloaded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ThemesManager::*)() const>(_a, &ThemesManager::theThemeIsReloaded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ThemesManager::*)(const std::string & , QWidget * , const bool & , const bool & ) const>(_a, &ThemesManager::newThemeOptions, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ThemesManager::*)(PluginsAvailable ) const>(_a, &ThemesManager::previouslyPluginAdded, 3))
            return;
    }
}

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

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

int ThemesManager::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void ThemesManager::theThemeNeedBeUnloaded()const
{
    QMetaObject::activate(const_cast< ThemesManager *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ThemesManager::theThemeIsReloaded()const
{
    QMetaObject::activate(const_cast< ThemesManager *>(this), &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void ThemesManager::newThemeOptions(const std::string & _t1, QWidget * _t2, const bool & _t3, const bool & _t4)const
{
    QMetaObject::activate<void>(const_cast< ThemesManager *>(this), &staticMetaObject, 2, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 3
void ThemesManager::previouslyPluginAdded(PluginsAvailable _t1)const
{
    QMetaObject::activate<void>(const_cast< ThemesManager *>(this), &staticMetaObject, 3, nullptr, _t1);
}
QT_WARNING_POP
