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

#include <memory>
#include "ThemesManager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ThemesManager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ThemesManager_t {
    QByteArrayData data[25];
    char stringdata0[297];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ThemesManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ThemesManager_t qt_meta_stringdata_ThemesManager = {
    {
QT_MOC_LITERAL(0, 0, 13), // "ThemesManager"
QT_MOC_LITERAL(1, 14, 22), // "theThemeNeedBeUnloaded"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 18), // "theThemeIsReloaded"
QT_MOC_LITERAL(4, 57, 15), // "newThemeOptions"
QT_MOC_LITERAL(5, 73, 11), // "std::string"
QT_MOC_LITERAL(6, 85, 4), // "name"
QT_MOC_LITERAL(7, 90, 8), // "QWidget*"
QT_MOC_LITERAL(8, 99, 8), // "isLoaded"
QT_MOC_LITERAL(9, 108, 10), // "havePlugin"
QT_MOC_LITERAL(10, 119, 21), // "previouslyPluginAdded"
QT_MOC_LITERAL(11, 141, 16), // "PluginsAvailable"
QT_MOC_LITERAL(12, 158, 14), // "onePluginAdded"
QT_MOC_LITERAL(13, 173, 6), // "plugin"
QT_MOC_LITERAL(14, 180, 17), // "allPluginIsLoaded"
QT_MOC_LITERAL(15, 198, 14), // "newOptionValue"
QT_MOC_LITERAL(16, 213, 5), // "group"
QT_MOC_LITERAL(17, 219, 5), // "value"
QT_MOC_LITERAL(18, 225, 16), // "debugInformation"
QT_MOC_LITERAL(19, 242, 23), // "Ultracopier::DebugLevel"
QT_MOC_LITERAL(20, 266, 5), // "level"
QT_MOC_LITERAL(21, 272, 8), // "fonction"
QT_MOC_LITERAL(22, 281, 4), // "text"
QT_MOC_LITERAL(23, 286, 4), // "file"
QT_MOC_LITERAL(24, 291, 5) // "ligne"

    },
    "ThemesManager\0theThemeNeedBeUnloaded\0"
    "\0theThemeIsReloaded\0newThemeOptions\0"
    "std::string\0name\0QWidget*\0isLoaded\0"
    "havePlugin\0previouslyPluginAdded\0"
    "PluginsAvailable\0onePluginAdded\0plugin\0"
    "allPluginIsLoaded\0newOptionValue\0group\0"
    "value\0debugInformation\0Ultracopier::DebugLevel\0"
    "level\0fonction\0text\0file\0ligne"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ThemesManager[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    4,   56,    2, 0x06 /* Public */,
      10,    1,   65,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,   68,    2, 0x08 /* Private */,
      14,    0,   71,    2, 0x08 /* Private */,
      15,    3,   72,    2, 0x08 /* Private */,
      18,    5,   79,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7, QMetaType::Bool, QMetaType::Bool,    6,    2,    8,    9,
    QMetaType::Void, 0x80000000 | 11,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 11,   13,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 5, 0x80000000 | 5,   16,    6,   17,
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 5, 0x80000000 | 5, 0x80000000 | 5, QMetaType::Int,   20,   21,   22,   23,   24,

       0        // eod
};

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

QT_INIT_METAOBJECT const QMetaObject ThemesManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_ThemesManager.data,
    qt_meta_data_ThemesManager,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_ThemesManager.stringdata0))
        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;
    } else 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
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
    QMetaObject::activate(const_cast< ThemesManager *>(this), &staticMetaObject, 2, _a);
}

// SIGNAL 3
void ThemesManager::previouslyPluginAdded(PluginsAvailable _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< ThemesManager *>(this), &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
