/****************************************************************************
** Meta object code from reading C++ file 'WikipediaEngine.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 "../../../../../../../amarok-3.3.3/src/context/applets/wikipedia/plugin/WikipediaEngine.h"
#include <QtNetwork/QSslError>
#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 'WikipediaEngine.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_ZN15WikipediaEngineE_t {};
} // unnamed namespace

template <> constexpr inline auto WikipediaEngine::qt_create_metaobjectdata<qt_meta_tag_ZN15WikipediaEngineE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "WikipediaEngine",
        "pageChanged",
        "",
        "messageChanged",
        "busyChanged",
        "selectionChanged",
        "languageChanged",
        "titleChanged",
        "urlChanged",
        "_checkRequireUpdate",
        "Meta::TrackPtr",
        "track",
        "_parseLangLinksResult",
        "QUrl",
        "url",
        "data",
        "NetworkAccessManagerProxy::Error",
        "e",
        "_parseListingResult",
        "_wikiResult",
        "result",
        "_stopped",
        "_paletteChanged",
        "QPalette",
        "palette",
        "reloadWikipedia",
        "page",
        "message",
        "busy",
        "selection",
        "SelectionType",
        "title",
        "language",
        "pauseState",
        "Artist",
        "Composer",
        "Album",
        "Track"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'pageChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'messageChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'busyChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectionChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'languageChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'titleChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'urlChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot '_checkRequireUpdate'
        QtMocHelpers::SlotData<void(Meta::TrackPtr)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot '_parseLangLinksResult'
        QtMocHelpers::SlotData<void(const QUrl &, const QByteArray &, const NetworkAccessManagerProxy::Error &)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { QMetaType::QByteArray, 15 }, { 0x80000000 | 16, 17 },
        }}),
        // Slot '_parseListingResult'
        QtMocHelpers::SlotData<void(const QUrl &, const QByteArray &, const NetworkAccessManagerProxy::Error &)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { QMetaType::QByteArray, 15 }, { 0x80000000 | 16, 17 },
        }}),
        // Slot '_wikiResult'
        QtMocHelpers::SlotData<void(const QUrl &, const QByteArray &, const NetworkAccessManagerProxy::Error &)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { QMetaType::QByteArray, 20 }, { 0x80000000 | 16, 17 },
        }}),
        // Slot '_stopped'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot '_paletteChanged'
        QtMocHelpers::SlotData<void(const QPalette &)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Method 'reloadWikipedia'
        QtMocHelpers::MethodData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'page'
        QtMocHelpers::PropertyData<QString>(26, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'url'
        QtMocHelpers::PropertyData<QUrl>(14, 0x80000000 | 13, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 6),
        // property 'message'
        QtMocHelpers::PropertyData<QString>(27, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'busy'
        QtMocHelpers::PropertyData<bool>(28, QMetaType::Bool, QMC::DefaultPropertyFlags, 2),
        // property 'selection'
        QtMocHelpers::PropertyData<enum SelectionType>(29, 0x80000000 | 30, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 3),
        // property 'title'
        QtMocHelpers::PropertyData<QString>(31, QMetaType::QString, QMC::DefaultPropertyFlags, 5),
        // property 'language'
        QtMocHelpers::PropertyData<QString>(32, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'pauseState'
        QtMocHelpers::PropertyData<bool>(33, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'SelectionType'
        QtMocHelpers::EnumData<enum SelectionType>(30, 30, QMC::EnumFlags{}).add({
            {   34, SelectionType::Artist },
            {   35, SelectionType::Composer },
            {   36, SelectionType::Album },
            {   37, SelectionType::Track },
        }),
    };
    return QtMocHelpers::metaObjectData<WikipediaEngine, qt_meta_tag_ZN15WikipediaEngineE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject WikipediaEngine::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15WikipediaEngineE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15WikipediaEngineE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15WikipediaEngineE_t>.metaTypes,
    nullptr
} };

void WikipediaEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WikipediaEngine *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->pageChanged(); break;
        case 1: _t->messageChanged(); break;
        case 2: _t->busyChanged(); break;
        case 3: _t->selectionChanged(); break;
        case 4: _t->languageChanged(); break;
        case 5: _t->titleChanged(); break;
        case 6: _t->urlChanged(); break;
        case 7: _t->_checkRequireUpdate((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 8: _t->_parseLangLinksResult((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<NetworkAccessManagerProxy::Error>>(_a[3]))); break;
        case 9: _t->_parseListingResult((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<NetworkAccessManagerProxy::Error>>(_a[3]))); break;
        case 10: _t->_wikiResult((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<NetworkAccessManagerProxy::Error>>(_a[3]))); break;
        case 11: _t->_stopped(); break;
        case 12: _t->_paletteChanged((*reinterpret_cast<std::add_pointer_t<QPalette>>(_a[1]))); break;
        case 13: _t->reloadWikipedia(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Meta::TrackPtr >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< NetworkAccessManagerProxy::Error >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< NetworkAccessManagerProxy::Error >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< NetworkAccessManagerProxy::Error >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WikipediaEngine::*)()>(_a, &WikipediaEngine::pageChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WikipediaEngine::*)()>(_a, &WikipediaEngine::messageChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (WikipediaEngine::*)()>(_a, &WikipediaEngine::busyChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (WikipediaEngine::*)()>(_a, &WikipediaEngine::selectionChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (WikipediaEngine::*)()>(_a, &WikipediaEngine::languageChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (WikipediaEngine::*)()>(_a, &WikipediaEngine::titleChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (WikipediaEngine::*)()>(_a, &WikipediaEngine::urlChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->page(); break;
        case 1: *reinterpret_cast<QUrl*>(_v) = _t->url(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->message(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->busy(); break;
        case 4: *reinterpret_cast<enum SelectionType*>(_v) = _t->selection(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->title(); break;
        case 6: *reinterpret_cast<QString*>(_v) = _t->language(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->pauseState(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setUrl(*reinterpret_cast<QUrl*>(_v)); break;
        case 2: _t->setMessage(*reinterpret_cast<QString*>(_v)); break;
        case 4: _t->setSelection(*reinterpret_cast<enum SelectionType*>(_v)); break;
        case 6: _t->setLanguage(*reinterpret_cast<QString*>(_v)); break;
        case 7: _t->setPauseState(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

int WikipediaEngine::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void WikipediaEngine::pageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void WikipediaEngine::messageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void WikipediaEngine::busyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void WikipediaEngine::selectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void WikipediaEngine::languageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void WikipediaEngine::titleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void WikipediaEngine::urlChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
