/****************************************************************************
** Meta object code from reading C++ file 'ImageProvider.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/ImageProvider.h"
#include <QtNetwork/QSslError>
#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 'ImageProvider.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_ZN9mediaelch7scraper13ImageProviderE_t {};
} // unnamed namespace

template <> constexpr inline auto mediaelch::scraper::ImageProvider::qt_create_metaobjectdata<qt_meta_tag_ZN9mediaelch7scraper13ImageProviderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "mediaelch::scraper::ImageProvider",
        "sigSearchDone",
        "",
        "QList<ScraperSearchResult>",
        "mediaelch::ScraperError",
        "error",
        "sigImagesLoaded",
        "QList<Poster>",
        "sigMovieImagesLoaded",
        "Movie*",
        "QMap<ImageType,QList<Poster>>",
        "sigConcertImagesLoaded",
        "Concert*",
        "sigTvShowImagesLoaded",
        "TvShow*",
        "sigArtistImagesLoaded",
        "Artist*",
        "sigAlbumImagesLoaded",
        "Album*",
        "searchMovie",
        "searchStr",
        "limit",
        "searchConcert",
        "searchTvShow",
        "mediaelch::Locale",
        "locale",
        "searchArtist",
        "searchAlbum",
        "artistName"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigSearchDone'
        QtMocHelpers::SignalData<void(QVector<ScraperSearchResult>, mediaelch::ScraperError)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { 0x80000000 | 4, 5 },
        }}),
        // Signal 'sigImagesLoaded'
        QtMocHelpers::SignalData<void(QVector<Poster>, mediaelch::ScraperError)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 }, { 0x80000000 | 4, 5 },
        }}),
        // Signal 'sigMovieImagesLoaded'
        QtMocHelpers::SignalData<void(Movie *, QMap<ImageType,QVector<Poster>>)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 }, { 0x80000000 | 10, 2 },
        }}),
        // Signal 'sigConcertImagesLoaded'
        QtMocHelpers::SignalData<void(Concert *, QMap<ImageType,QVector<Poster>>)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 2 }, { 0x80000000 | 10, 2 },
        }}),
        // Signal 'sigTvShowImagesLoaded'
        QtMocHelpers::SignalData<void(TvShow *, QMap<ImageType,QVector<Poster>>)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 2 }, { 0x80000000 | 10, 2 },
        }}),
        // Signal 'sigArtistImagesLoaded'
        QtMocHelpers::SignalData<void(Artist *, QMap<ImageType,QVector<Poster>>)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 }, { 0x80000000 | 10, 2 },
        }}),
        // Signal 'sigAlbumImagesLoaded'
        QtMocHelpers::SignalData<void(Album *, QMap<ImageType,QVector<Poster>>)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 2 }, { 0x80000000 | 10, 2 },
        }}),
        // Slot 'searchMovie'
        QtMocHelpers::SlotData<void(QString, int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 }, { QMetaType::Int, 21 },
        }}),
        // Slot 'searchConcert'
        QtMocHelpers::SlotData<void(QString, int)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 }, { QMetaType::Int, 21 },
        }}),
        // Slot 'searchTvShow'
        QtMocHelpers::SlotData<void(QString, mediaelch::Locale, int)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 }, { 0x80000000 | 24, 25 }, { QMetaType::Int, 21 },
        }}),
        // Slot 'searchArtist'
        QtMocHelpers::SlotData<void(QString, int)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 }, { QMetaType::Int, 21 },
        }}),
        // Slot 'searchAlbum'
        QtMocHelpers::SlotData<void(QString, QString, int)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 28 }, { QMetaType::QString, 20 }, { QMetaType::Int, 21 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ImageProvider, qt_meta_tag_ZN9mediaelch7scraper13ImageProviderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject mediaelch::scraper::ImageProvider::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper13ImageProviderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper13ImageProviderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9mediaelch7scraper13ImageProviderE_t>.metaTypes,
    nullptr
} };

void mediaelch::scraper::ImageProvider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ImageProvider *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigSearchDone((*reinterpret_cast<std::add_pointer_t<QList<ScraperSearchResult>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<mediaelch::ScraperError>>(_a[2]))); break;
        case 1: _t->sigImagesLoaded((*reinterpret_cast<std::add_pointer_t<QList<Poster>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<mediaelch::ScraperError>>(_a[2]))); break;
        case 2: _t->sigMovieImagesLoaded((*reinterpret_cast<std::add_pointer_t<Movie*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<ImageType,QList<Poster>>>>(_a[2]))); break;
        case 3: _t->sigConcertImagesLoaded((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<ImageType,QList<Poster>>>>(_a[2]))); break;
        case 4: _t->sigTvShowImagesLoaded((*reinterpret_cast<std::add_pointer_t<TvShow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<ImageType,QList<Poster>>>>(_a[2]))); break;
        case 5: _t->sigArtistImagesLoaded((*reinterpret_cast<std::add_pointer_t<Artist*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<ImageType,QList<Poster>>>>(_a[2]))); break;
        case 6: _t->sigAlbumImagesLoaded((*reinterpret_cast<std::add_pointer_t<Album*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<ImageType,QList<Poster>>>>(_a[2]))); break;
        case 7: _t->searchMovie((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 8: _t->searchConcert((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 9: _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 10: _t->searchArtist((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 11: _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;
        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 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Movie* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Concert* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< TvShow* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ImageProvider::*)(QVector<ScraperSearchResult> , mediaelch::ScraperError )>(_a, &ImageProvider::sigSearchDone, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageProvider::*)(QVector<Poster> , mediaelch::ScraperError )>(_a, &ImageProvider::sigImagesLoaded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageProvider::*)(Movie * , QMap<ImageType,QVector<Poster>> )>(_a, &ImageProvider::sigMovieImagesLoaded, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageProvider::*)(Concert * , QMap<ImageType,QVector<Poster>> )>(_a, &ImageProvider::sigConcertImagesLoaded, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageProvider::*)(TvShow * , QMap<ImageType,QVector<Poster>> )>(_a, &ImageProvider::sigTvShowImagesLoaded, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageProvider::*)(Artist * , QMap<ImageType,QVector<Poster>> )>(_a, &ImageProvider::sigArtistImagesLoaded, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageProvider::*)(Album * , QMap<ImageType,QVector<Poster>> )>(_a, &ImageProvider::sigAlbumImagesLoaded, 6))
            return;
    }
}

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

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

int mediaelch::scraper::ImageProvider::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void mediaelch::scraper::ImageProvider::sigSearchDone(QVector<ScraperSearchResult> _t1, mediaelch::ScraperError _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void mediaelch::scraper::ImageProvider::sigImagesLoaded(QVector<Poster> _t1, mediaelch::ScraperError _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void mediaelch::scraper::ImageProvider::sigMovieImagesLoaded(Movie * _t1, QMap<ImageType,QVector<Poster>> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void mediaelch::scraper::ImageProvider::sigConcertImagesLoaded(Concert * _t1, QMap<ImageType,QVector<Poster>> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

// SIGNAL 4
void mediaelch::scraper::ImageProvider::sigTvShowImagesLoaded(TvShow * _t1, QMap<ImageType,QVector<Poster>> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}

// SIGNAL 5
void mediaelch::scraper::ImageProvider::sigArtistImagesLoaded(Artist * _t1, QMap<ImageType,QVector<Poster>> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void mediaelch::scraper::ImageProvider::sigAlbumImagesLoaded(Album * _t1, QMap<ImageType,QVector<Poster>> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}
QT_WARNING_POP
