/****************************************************************************
** Meta object code from reading C++ file 'FanartTvMusic.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 "../../../../../../src/scrapers/image/FanartTvMusic.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 'FanartTvMusic.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_ZN9mediaelch7scraper13FanartTvMusicE_t {};
} // unnamed namespace

template <> constexpr inline auto mediaelch::scraper::FanartTvMusic::qt_create_metaobjectdata<qt_meta_tag_ZN9mediaelch7scraper13FanartTvMusicE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "mediaelch::scraper::FanartTvMusic",
        "searchMovie",
        "",
        "searchStr",
        "limit",
        "searchConcert",
        "searchTvShow",
        "mediaelch::Locale",
        "locale",
        "searchArtist",
        "searchAlbum",
        "artistName",
        "onSearchArtistFinished",
        "onLoadArtistFinished",
        "onSearchAlbumFinished",
        "onLoadAlbumFinished",
        "onLoadAllArtistDataFinished",
        "onLoadAllAlbumDataFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'searchMovie'
        QtMocHelpers::SlotData<void(QString, int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 4 },
        }}),
        // Slot 'searchMovie'
        QtMocHelpers::SlotData<void(QString)>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'searchConcert'
        QtMocHelpers::SlotData<void(QString, int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 4 },
        }}),
        // Slot 'searchConcert'
        QtMocHelpers::SlotData<void(QString)>(5, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'searchTvShow'
        QtMocHelpers::SlotData<void(QString, mediaelch::Locale, int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { 0x80000000 | 7, 8 }, { QMetaType::Int, 4 },
        }}),
        // Slot 'searchTvShow'
        QtMocHelpers::SlotData<void(QString, mediaelch::Locale)>(6, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { 0x80000000 | 7, 8 },
        }}),
        // Slot 'searchArtist'
        QtMocHelpers::SlotData<void(QString, int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 4 },
        }}),
        // Slot 'searchArtist'
        QtMocHelpers::SlotData<void(QString)>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'searchAlbum'
        QtMocHelpers::SlotData<void(QString, QString, int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 }, { QMetaType::QString, 3 }, { QMetaType::Int, 4 },
        }}),
        // Slot 'searchAlbum'
        QtMocHelpers::SlotData<void(QString, QString)>(10, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 11 }, { QMetaType::QString, 3 },
        }}),
        // Slot 'onSearchArtistFinished'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onLoadArtistFinished'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSearchAlbumFinished'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onLoadAlbumFinished'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onLoadAllArtistDataFinished'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onLoadAllAlbumDataFinished'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FanartTvMusic, qt_meta_tag_ZN9mediaelch7scraper13FanartTvMusicE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject mediaelch::scraper::FanartTvMusic::staticMetaObject = { {
    QMetaObject::SuperData::link<ImageProvider::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper13FanartTvMusicE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper13FanartTvMusicE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9mediaelch7scraper13FanartTvMusicE_t>.metaTypes,
    nullptr
} };

void mediaelch::scraper::FanartTvMusic::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FanartTvMusic *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->searchMovie((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 1: _t->searchMovie((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->searchConcert((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->searchConcert((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->searchTvShow((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<mediaelch::Locale>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 5: _t->searchTvShow((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<mediaelch::Locale>>(_a[2]))); break;
        case 6: _t->searchArtist((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->searchArtist((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->searchAlbum((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 9: _t->searchAlbum((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 10: _t->onSearchArtistFinished(); break;
        case 11: _t->onLoadArtistFinished(); break;
        case 12: _t->onSearchAlbumFinished(); break;
        case 13: _t->onLoadAlbumFinished(); break;
        case 14: _t->onLoadAllArtistDataFinished(); break;
        case 15: _t->onLoadAllAlbumDataFinished(); break;
        default: ;
        }
    }
}

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

void *mediaelch::scraper::FanartTvMusic::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper13FanartTvMusicE_t>.strings))
        return static_cast<void*>(this);
    return ImageProvider::qt_metacast(_clname);
}

int mediaelch::scraper::FanartTvMusic::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ImageProvider::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 16;
    }
    return _id;
}
QT_WARNING_POP
