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

#include <QtCore/qtmochelpers.h>

#include <memory>


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

template <> constexpr inline auto TvShowWidgetEpisode::qt_create_metaobjectdata<qt_meta_tag_ZN19TvShowWidgetEpisodeE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TvShowWidgetEpisode",
        "sigSetActionSearchEnabled",
        "",
        "MainWidgets",
        "sigSetActionSaveEnabled",
        "onSetEnabled",
        "enabled",
        "onClear",
        "onSaveInformation",
        "onStartScraperSearch",
        "onPlayEpisode",
        "onAddDirector",
        "onRemoveDirector",
        "onAddWriter",
        "onRemoveWriter",
        "onChooseThumbnail",
        "onDeleteThumbnail",
        "onImageDropped",
        "ImageType",
        "imageType",
        "QUrl",
        "imageUrl",
        "onPosterDownloadFinished",
        "DownloadManagerElement",
        "elem",
        "onLoadDone",
        "QSet<EpisodeScraperInfo>",
        "details",
        "onRevertChanges",
        "onCaptureImage",
        "type",
        "onImdbIdChanged",
        "imdbid",
        "onTvdbIdChanged",
        "tvdbid",
        "onTmdbIdChanged",
        "tmdbId",
        "onTvmazeIdChanged",
        "tvmazeId",
        "onNameChange",
        "text",
        "onShowTitleChange",
        "onSeasonChange",
        "value",
        "onEpisodeChange",
        "onDisplaySeasonChange",
        "onDisplayEpisodeChange",
        "onTop250Change",
        "onCertificationChange",
        "onFirstAiredChange",
        "date",
        "onPlayCountChange",
        "onLastPlayedChange",
        "dateTime",
        "onStudioChange",
        "onEpBookmarkChange",
        "time",
        "onOverviewChange",
        "onDirectorEdited",
        "QTableWidgetItem*",
        "item",
        "onWriterEdited",
        "onStreamDetailsEdited",
        "onReloadStreamDetails",
        "updateStreamDetails",
        "reloadedFromFile",
        "onAddTag",
        "tag",
        "onRemoveTag",
        "onAddActor",
        "onRemoveActor",
        "onActorChanged",
        "onChangeActorImage",
        "onActorEdited",
        "onImdbIdOpen",
        "onTvMazeIdOpen"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigSetActionSearchEnabled'
        QtMocHelpers::SignalData<void(bool, MainWidgets)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Signal 'sigSetActionSaveEnabled'
        QtMocHelpers::SignalData<void(bool, MainWidgets)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Slot 'onSetEnabled'
        QtMocHelpers::SlotData<void(bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 6 },
        }}),
        // Slot 'onClear'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onSaveInformation'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onStartScraperSearch'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPlayEpisode'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onAddDirector'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onRemoveDirector'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAddWriter'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onRemoveWriter'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onChooseThumbnail'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDeleteThumbnail'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onImageDropped'
        QtMocHelpers::SlotData<void(ImageType, QUrl)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 19 }, { 0x80000000 | 20, 21 },
        }}),
        // Slot 'onPosterDownloadFinished'
        QtMocHelpers::SlotData<void(DownloadManagerElement)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Slot 'onLoadDone'
        QtMocHelpers::SlotData<void(QSet<EpisodeScraperInfo>)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'onRevertChanges'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onCaptureImage'
        QtMocHelpers::SlotData<void(ImageType)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 30 },
        }}),
        // Slot 'onImdbIdChanged'
        QtMocHelpers::SlotData<void(QString)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 32 },
        }}),
        // Slot 'onTvdbIdChanged'
        QtMocHelpers::SlotData<void(QString)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 34 },
        }}),
        // Slot 'onTmdbIdChanged'
        QtMocHelpers::SlotData<void(QString)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 36 },
        }}),
        // Slot 'onTvmazeIdChanged'
        QtMocHelpers::SlotData<void(QString)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 38 },
        }}),
        // Slot 'onNameChange'
        QtMocHelpers::SlotData<void(QString)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 40 },
        }}),
        // Slot 'onShowTitleChange'
        QtMocHelpers::SlotData<void(QString)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 40 },
        }}),
        // Slot 'onSeasonChange'
        QtMocHelpers::SlotData<void(int)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 43 },
        }}),
        // Slot 'onEpisodeChange'
        QtMocHelpers::SlotData<void(int)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 43 },
        }}),
        // Slot 'onDisplaySeasonChange'
        QtMocHelpers::SlotData<void(int)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 43 },
        }}),
        // Slot 'onDisplayEpisodeChange'
        QtMocHelpers::SlotData<void(int)>(46, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 43 },
        }}),
        // Slot 'onTop250Change'
        QtMocHelpers::SlotData<void(int)>(47, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 43 },
        }}),
        // Slot 'onCertificationChange'
        QtMocHelpers::SlotData<void(QString)>(48, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 40 },
        }}),
        // Slot 'onFirstAiredChange'
        QtMocHelpers::SlotData<void(QDate)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QDate, 50 },
        }}),
        // Slot 'onPlayCountChange'
        QtMocHelpers::SlotData<void(int)>(51, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 43 },
        }}),
        // Slot 'onLastPlayedChange'
        QtMocHelpers::SlotData<void(QDateTime)>(52, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QDateTime, 53 },
        }}),
        // Slot 'onStudioChange'
        QtMocHelpers::SlotData<void(QString)>(54, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 40 },
        }}),
        // Slot 'onEpBookmarkChange'
        QtMocHelpers::SlotData<void(QTime)>(55, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QTime, 56 },
        }}),
        // Slot 'onOverviewChange'
        QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDirectorEdited'
        QtMocHelpers::SlotData<void(QTableWidgetItem *)>(58, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 59, 60 },
        }}),
        // Slot 'onWriterEdited'
        QtMocHelpers::SlotData<void(QTableWidgetItem *)>(61, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 59, 60 },
        }}),
        // Slot 'onStreamDetailsEdited'
        QtMocHelpers::SlotData<void()>(62, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onReloadStreamDetails'
        QtMocHelpers::SlotData<void()>(63, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateStreamDetails'
        QtMocHelpers::SlotData<void(bool)>(64, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 65 },
        }}),
        // Slot 'updateStreamDetails'
        QtMocHelpers::SlotData<void()>(64, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'onAddTag'
        QtMocHelpers::SlotData<void(QString)>(66, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 67 },
        }}),
        // Slot 'onRemoveTag'
        QtMocHelpers::SlotData<void(QString)>(68, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 67 },
        }}),
        // Slot 'onAddActor'
        QtMocHelpers::SlotData<void()>(69, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onRemoveActor'
        QtMocHelpers::SlotData<void()>(70, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onActorChanged'
        QtMocHelpers::SlotData<void()>(71, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onChangeActorImage'
        QtMocHelpers::SlotData<void()>(72, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onActorEdited'
        QtMocHelpers::SlotData<void(QTableWidgetItem *)>(73, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 59, 60 },
        }}),
        // Slot 'onImdbIdOpen'
        QtMocHelpers::SlotData<void()>(74, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onTvMazeIdOpen'
        QtMocHelpers::SlotData<void()>(75, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TvShowWidgetEpisode, qt_meta_tag_ZN19TvShowWidgetEpisodeE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TvShowWidgetEpisode::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19TvShowWidgetEpisodeE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19TvShowWidgetEpisodeE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19TvShowWidgetEpisodeE_t>.metaTypes,
    nullptr
} };

void TvShowWidgetEpisode::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TvShowWidgetEpisode *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigSetActionSearchEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MainWidgets>>(_a[2]))); break;
        case 1: _t->sigSetActionSaveEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MainWidgets>>(_a[2]))); break;
        case 2: _t->onSetEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->onClear(); break;
        case 4: _t->onSaveInformation(); break;
        case 5: _t->onStartScraperSearch(); break;
        case 6: _t->onPlayEpisode(); break;
        case 7: _t->onAddDirector(); break;
        case 8: _t->onRemoveDirector(); break;
        case 9: _t->onAddWriter(); break;
        case 10: _t->onRemoveWriter(); break;
        case 11: _t->onChooseThumbnail(); break;
        case 12: _t->onDeleteThumbnail(); break;
        case 13: _t->onImageDropped((*reinterpret_cast<std::add_pointer_t<ImageType>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 14: _t->onPosterDownloadFinished((*reinterpret_cast<std::add_pointer_t<DownloadManagerElement>>(_a[1]))); break;
        case 15: _t->onLoadDone((*reinterpret_cast<std::add_pointer_t<QSet<EpisodeScraperInfo>>>(_a[1]))); break;
        case 16: _t->onRevertChanges(); break;
        case 17: _t->onCaptureImage((*reinterpret_cast<std::add_pointer_t<ImageType>>(_a[1]))); break;
        case 18: _t->onImdbIdChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 19: _t->onTvdbIdChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 20: _t->onTmdbIdChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 21: _t->onTvmazeIdChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 22: _t->onNameChange((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 23: _t->onShowTitleChange((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 24: _t->onSeasonChange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 25: _t->onEpisodeChange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 26: _t->onDisplaySeasonChange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 27: _t->onDisplayEpisodeChange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 28: _t->onTop250Change((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 29: _t->onCertificationChange((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 30: _t->onFirstAiredChange((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 31: _t->onPlayCountChange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 32: _t->onLastPlayedChange((*reinterpret_cast<std::add_pointer_t<QDateTime>>(_a[1]))); break;
        case 33: _t->onStudioChange((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 34: _t->onEpBookmarkChange((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1]))); break;
        case 35: _t->onOverviewChange(); break;
        case 36: _t->onDirectorEdited((*reinterpret_cast<std::add_pointer_t<QTableWidgetItem*>>(_a[1]))); break;
        case 37: _t->onWriterEdited((*reinterpret_cast<std::add_pointer_t<QTableWidgetItem*>>(_a[1]))); break;
        case 38: _t->onStreamDetailsEdited(); break;
        case 39: _t->onReloadStreamDetails(); break;
        case 40: _t->updateStreamDetails((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 41: _t->updateStreamDetails(); break;
        case 42: _t->onAddTag((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 43: _t->onRemoveTag((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 44: _t->onAddActor(); break;
        case 45: _t->onRemoveActor(); break;
        case 46: _t->onActorChanged(); break;
        case 47: _t->onChangeActorImage(); break;
        case 48: _t->onActorEdited((*reinterpret_cast<std::add_pointer_t<QTableWidgetItem*>>(_a[1]))); break;
        case 49: _t->onImdbIdOpen(); break;
        case 50: _t->onTvMazeIdOpen(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TvShowWidgetEpisode::*)(bool , MainWidgets )>(_a, &TvShowWidgetEpisode::sigSetActionSearchEnabled, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TvShowWidgetEpisode::*)(bool , MainWidgets )>(_a, &TvShowWidgetEpisode::sigSetActionSaveEnabled, 1))
            return;
    }
}

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

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

int TvShowWidgetEpisode::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 51)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 51;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 51)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 51;
    }
    return _id;
}

// SIGNAL 0
void TvShowWidgetEpisode::sigSetActionSearchEnabled(bool _t1, MainWidgets _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void TvShowWidgetEpisode::sigSetActionSaveEnabled(bool _t1, MainWidgets _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}
QT_WARNING_POP
