/****************************************************************************
** Meta object code from reading C++ file 'TvShowMultiScrapeDialog.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/ui/tv_show/TvShowMultiScrapeDialog.h"
#include <QtNetwork/QSslError>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#include <QtCore/QSet>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TvShowMultiScrapeDialog.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_ZN23TvShowMultiScrapeDialogE_t {};
} // unnamed namespace

template <> constexpr inline auto TvShowMultiScrapeDialog::qt_create_metaobjectdata<qt_meta_tag_ZN23TvShowMultiScrapeDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TvShowMultiScrapeDialog",
        "exec",
        "",
        "reject",
        "accept",
        "onShowInfoToggled",
        "onEpisodeInfoToggled",
        "onChkAllShowInfosToggled",
        "onChkAllEpisodeInfosToggled",
        "onStartScraping",
        "onScrapingFinished",
        "onSearchFinished",
        "mediaelch::scraper::ShowSearchJob*",
        "searchJob",
        "scrapeNext",
        "onInfoLoadDone",
        "TvShow*",
        "show",
        "QSet<ShowScraperInfo>",
        "details",
        "onEpisodeLoadDone",
        "onLoadDone",
        "QMap<ImageType,QList<Poster>>",
        "posters",
        "onDownloadFinished",
        "DownloadManagerElement",
        "elem",
        "onScraperChanged",
        "index",
        "onLanguageChanged",
        "onSeasonOrderChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'exec'
        QtMocHelpers::SlotData<int()>(1, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'reject'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'accept'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onShowInfoToggled'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onEpisodeInfoToggled'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onChkAllShowInfosToggled'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onChkAllEpisodeInfosToggled'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onStartScraping'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onScrapingFinished'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSearchFinished'
        QtMocHelpers::SlotData<void(mediaelch::scraper::ShowSearchJob *)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'scrapeNext'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onInfoLoadDone'
        QtMocHelpers::SlotData<void(TvShow *, QSet<ShowScraperInfo>)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 }, { 0x80000000 | 18, 19 },
        }}),
        // Slot 'onEpisodeLoadDone'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onLoadDone'
        QtMocHelpers::SlotData<void(TvShow *, QMap<ImageType,QVector<Poster>>)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 }, { 0x80000000 | 22, 23 },
        }}),
        // Slot 'onDownloadFinished'
        QtMocHelpers::SlotData<void(DownloadManagerElement)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'onScraperChanged'
        QtMocHelpers::SlotData<void(int)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 28 },
        }}),
        // Slot 'onLanguageChanged'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSeasonOrderChanged'
        QtMocHelpers::SlotData<void(int)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 28 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TvShowMultiScrapeDialog, qt_meta_tag_ZN23TvShowMultiScrapeDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TvShowMultiScrapeDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23TvShowMultiScrapeDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23TvShowMultiScrapeDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN23TvShowMultiScrapeDialogE_t>.metaTypes,
    nullptr
} };

void TvShowMultiScrapeDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TvShowMultiScrapeDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { int _r = _t->exec();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->reject(); break;
        case 2: _t->accept(); break;
        case 3: _t->onShowInfoToggled(); break;
        case 4: _t->onEpisodeInfoToggled(); break;
        case 5: _t->onChkAllShowInfosToggled(); break;
        case 6: _t->onChkAllEpisodeInfosToggled(); break;
        case 7: _t->onStartScraping(); break;
        case 8: _t->onScrapingFinished(); break;
        case 9: _t->onSearchFinished((*reinterpret_cast<std::add_pointer_t<mediaelch::scraper::ShowSearchJob*>>(_a[1]))); break;
        case 10: _t->scrapeNext(); break;
        case 11: _t->onInfoLoadDone((*reinterpret_cast<std::add_pointer_t<TvShow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QSet<ShowScraperInfo>>>(_a[2]))); break;
        case 12: _t->onEpisodeLoadDone(); break;
        case 13: _t->onLoadDone((*reinterpret_cast<std::add_pointer_t<TvShow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<ImageType,QList<Poster>>>>(_a[2]))); break;
        case 14: _t->onDownloadFinished((*reinterpret_cast<std::add_pointer_t<DownloadManagerElement>>(_a[1]))); break;
        case 15: _t->onScraperChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->onLanguageChanged(); break;
        case 17: _t->onSeasonOrderChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< mediaelch::scraper::ShowSearchJob* >(); break;
            }
            break;
        case 11:
            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;
        case 13:
            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;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DownloadManagerElement >(); break;
            }
            break;
        }
    }
}

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

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

int TvShowMultiScrapeDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    return _id;
}
QT_WARNING_POP
