/****************************************************************************
** Meta object code from reading C++ file 'enginebase.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 "../../../../../knewstuff-6.27.0/src/core/enginebase.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 'enginebase.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_ZN7KNSCore10EngineBaseE_t {};
} // unnamed namespace

template <> constexpr inline auto KNSCore::EngineBase::qt_create_metaobjectdata<qt_meta_tag_ZN7KNSCore10EngineBaseE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KNSCore::EngineBase",
        "useLabelChanged",
        "",
        "uploadEnabledChanged",
        "contentWarningTypeChanged",
        "signalMessage",
        "message",
        "signalProvidersLoaded",
        "signalErrorCode",
        "KNSCore::ErrorCode::ErrorCode",
        "errorCode",
        "QVariant",
        "metadata",
        "signalCategoriesMetadataLoded",
        "QList<Provider::CategoryMetadata>",
        "categories",
        "signalCategoriesMetadataLoaded",
        "QList<KNSCore::CategoryMetadata>",
        "signalSearchPresetsLoaded",
        "QList<Provider::SearchPreset>",
        "presets",
        "QList<KNSCore::SearchPreset>",
        "providersChanged",
        "loadingProvider",
        "providerAdded",
        "KNSCore::ProviderCore*",
        "provider",
        "useLabel",
        "uploadEnabled",
        "providerIDs",
        "contentWarningType",
        "ContentWarningType",
        "Static",
        "Executables"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'useLabelChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'uploadEnabledChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'contentWarningTypeChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalMessage'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'signalProvidersLoaded'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalErrorCode'
        QtMocHelpers::SignalData<void(KNSCore::ErrorCode::ErrorCode, const QString &, const QVariant &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { QMetaType::QString, 6 }, { 0x80000000 | 11, 12 },
        }}),
        // Signal 'signalCategoriesMetadataLoded'
        QtMocHelpers::SignalData<void(const QList<Provider::CategoryMetadata> &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Signal 'signalCategoriesMetadataLoaded'
        QtMocHelpers::SignalData<void(const QList<KNSCore::CategoryMetadata> &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 15 },
        }}),
        // Signal 'signalSearchPresetsLoaded'
        QtMocHelpers::SignalData<void(const QList<Provider::SearchPreset> &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Signal 'signalSearchPresetsLoaded'
        QtMocHelpers::SignalData<void(const QList<KNSCore::SearchPreset> &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 20 },
        }}),
        // Signal 'providersChanged'
        QtMocHelpers::SignalData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loadingProvider'
        QtMocHelpers::SignalData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'providerAdded'
        QtMocHelpers::SignalData<void(KNSCore::ProviderCore *)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'useLabel'
        QtMocHelpers::PropertyData<QString>(27, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'uploadEnabled'
        QtMocHelpers::PropertyData<bool>(28, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'providerIDs'
        QtMocHelpers::PropertyData<QStringList>(29, QMetaType::QStringList, QMC::DefaultPropertyFlags, 10),
        // property 'contentWarningType'
        QtMocHelpers::PropertyData<enum ContentWarningType>(30, 0x80000000 | 31, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 2),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'ContentWarningType'
        QtMocHelpers::EnumData<enum ContentWarningType>(31, 31, QMC::EnumIsScoped).add({
            {   32, ContentWarningType::Static },
            {   33, ContentWarningType::Executables },
        }),
    };
    return QtMocHelpers::metaObjectData<EngineBase, qt_meta_tag_ZN7KNSCore10EngineBaseE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KNSCore::EngineBase::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7KNSCore10EngineBaseE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7KNSCore10EngineBaseE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7KNSCore10EngineBaseE_t>.metaTypes,
    nullptr
} };

void KNSCore::EngineBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<EngineBase *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->useLabelChanged(); break;
        case 1: _t->uploadEnabledChanged(); break;
        case 2: _t->contentWarningTypeChanged(); break;
        case 3: _t->signalMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->signalProvidersLoaded(); break;
        case 5: _t->signalErrorCode((*reinterpret_cast<std::add_pointer_t<KNSCore::ErrorCode::ErrorCode>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[3]))); break;
        case 6: _t->signalCategoriesMetadataLoded((*reinterpret_cast<std::add_pointer_t<QList<Provider::CategoryMetadata>>>(_a[1]))); break;
        case 7: _t->signalCategoriesMetadataLoaded((*reinterpret_cast<std::add_pointer_t<QList<KNSCore::CategoryMetadata>>>(_a[1]))); break;
        case 8: _t->signalSearchPresetsLoaded((*reinterpret_cast<std::add_pointer_t<QList<Provider::SearchPreset>>>(_a[1]))); break;
        case 9: _t->signalSearchPresetsLoaded((*reinterpret_cast<std::add_pointer_t<QList<KNSCore::SearchPreset>>>(_a[1]))); break;
        case 10: _t->providersChanged(); break;
        case 11: _t->loadingProvider(); break;
        case 12: _t->providerAdded((*reinterpret_cast<std::add_pointer_t<KNSCore::ProviderCore*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)()>(_a, &EngineBase::useLabelChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)()>(_a, &EngineBase::uploadEnabledChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)()>(_a, &EngineBase::contentWarningTypeChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)(const QString & )>(_a, &EngineBase::signalMessage, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)()>(_a, &EngineBase::signalProvidersLoaded, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)(KNSCore::ErrorCode::ErrorCode , const QString & , const QVariant & )>(_a, &EngineBase::signalErrorCode, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)(const QList<Provider::CategoryMetadata> & )>(_a, &EngineBase::signalCategoriesMetadataLoded, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)(const QList<KNSCore::CategoryMetadata> & )>(_a, &EngineBase::signalCategoriesMetadataLoaded, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)(const QList<Provider::SearchPreset> & )>(_a, &EngineBase::signalSearchPresetsLoaded, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)(const QList<KNSCore::SearchPreset> & )>(_a, &EngineBase::signalSearchPresetsLoaded, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)()>(_a, &EngineBase::providersChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)()>(_a, &EngineBase::loadingProvider, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineBase::*)(KNSCore::ProviderCore * )>(_a, &EngineBase::providerAdded, 12))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->useLabel(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->uploadEnabled(); break;
        case 2: *reinterpret_cast<QStringList*>(_v) = _t->providerIDs(); break;
        case 3: *reinterpret_cast<enum ContentWarningType*>(_v) = _t->contentWarningType(); break;
        default: break;
        }
    }
}

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

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

int KNSCore::EngineBase::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void KNSCore::EngineBase::useLabelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KNSCore::EngineBase::uploadEnabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KNSCore::EngineBase::contentWarningTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

// SIGNAL 4
void KNSCore::EngineBase::signalProvidersLoaded()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KNSCore::EngineBase::signalErrorCode(KNSCore::ErrorCode::ErrorCode _t1, const QString & _t2, const QVariant & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2, _t3);
}

// SIGNAL 6
void KNSCore::EngineBase::signalCategoriesMetadataLoded(const QList<Provider::CategoryMetadata> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void KNSCore::EngineBase::signalCategoriesMetadataLoaded(const QList<KNSCore::CategoryMetadata> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void KNSCore::EngineBase::signalSearchPresetsLoaded(const QList<Provider::SearchPreset> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void KNSCore::EngineBase::signalSearchPresetsLoaded(const QList<KNSCore::SearchPreset> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void KNSCore::EngineBase::providersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KNSCore::EngineBase::loadingProvider()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void KNSCore::EngineBase::providerAdded(KNSCore::ProviderCore * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}
QT_WARNING_POP
