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

template <> constexpr inline auto TvShowFilesWidget::qt_create_metaobjectdata<qt_meta_tag_ZN17TvShowFilesWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TvShowFilesWidget",
        "sigEpisodeSelected",
        "",
        "TvShowEpisode*",
        "episode",
        "sigTvShowSelected",
        "TvShow*",
        "show",
        "sigSeasonSelected",
        "SeasonNumber",
        "season",
        "sigNothingSelected",
        "sigStartSearch",
        "renewModel",
        "force",
        "emitLastSelection",
        "multiScrape",
        "onItemSelected",
        "QModelIndex",
        "current",
        "previous",
        "showContextMenu",
        "QPoint",
        "point",
        "scanForEpisodes",
        "markAsWatched",
        "markAsUnwatched",
        "loadStreamDetails",
        "markForSyncBool",
        "markForSync",
        "unmarkForSync",
        "openFolder",
        "openNfo",
        "showMissingEpisodes",
        "hideSpecialsInMissingEpisodes",
        "updateStatusLabel",
        "playEpisode",
        "idx"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigEpisodeSelected'
        QtMocHelpers::SignalData<void(TvShowEpisode *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'sigTvShowSelected'
        QtMocHelpers::SignalData<void(TvShow *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'sigSeasonSelected'
        QtMocHelpers::SignalData<void(TvShow *, SeasonNumber)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 9, 10 },
        }}),
        // Signal 'sigNothingSelected'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigStartSearch'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'renewModel'
        QtMocHelpers::SlotData<void(bool)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 14 },
        }}),
        // Slot 'renewModel'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'emitLastSelection'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'multiScrape'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onItemSelected'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QModelIndex &)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 19 }, { 0x80000000 | 18, 20 },
        }}),
        // Slot 'showContextMenu'
        QtMocHelpers::SlotData<void(QPoint)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'scanForEpisodes'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'markAsWatched'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'markAsUnwatched'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'loadStreamDetails'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'markForSyncBool'
        QtMocHelpers::SlotData<void(bool)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 29 },
        }}),
        // Slot 'markForSync'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'unmarkForSync'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openFolder'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openNfo'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showMissingEpisodes'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'hideSpecialsInMissingEpisodes'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateStatusLabel'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'playEpisode'
        QtMocHelpers::SlotData<void(QModelIndex)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 37 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TvShowFilesWidget, qt_meta_tag_ZN17TvShowFilesWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TvShowFilesWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17TvShowFilesWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17TvShowFilesWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17TvShowFilesWidgetE_t>.metaTypes,
    nullptr
} };

void TvShowFilesWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TvShowFilesWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigEpisodeSelected((*reinterpret_cast<std::add_pointer_t<TvShowEpisode*>>(_a[1]))); break;
        case 1: _t->sigTvShowSelected((*reinterpret_cast<std::add_pointer_t<TvShow*>>(_a[1]))); break;
        case 2: _t->sigSeasonSelected((*reinterpret_cast<std::add_pointer_t<TvShow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<SeasonNumber>>(_a[2]))); break;
        case 3: _t->sigNothingSelected(); break;
        case 4: _t->sigStartSearch(); break;
        case 5: _t->renewModel((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->renewModel(); break;
        case 7: _t->emitLastSelection(); break;
        case 8: _t->multiScrape(); break;
        case 9: _t->onItemSelected((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[2]))); break;
        case 10: _t->showContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 11: _t->scanForEpisodes(); break;
        case 12: _t->markAsWatched(); break;
        case 13: _t->markAsUnwatched(); break;
        case 14: _t->loadStreamDetails(); break;
        case 15: _t->markForSyncBool((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 16: _t->markForSync(); break;
        case 17: _t->unmarkForSync(); break;
        case 18: _t->openFolder(); break;
        case 19: _t->openNfo(); break;
        case 20: _t->showMissingEpisodes(); break;
        case 21: _t->hideSpecialsInMissingEpisodes(); break;
        case 22: _t->updateStatusLabel(); break;
        case 23: _t->playEpisode((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< TvShowEpisode* >(); break;
            }
            break;
        case 1:
            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 2:
            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 (TvShowFilesWidget::*)(TvShowEpisode * )>(_a, &TvShowFilesWidget::sigEpisodeSelected, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TvShowFilesWidget::*)(TvShow * )>(_a, &TvShowFilesWidget::sigTvShowSelected, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TvShowFilesWidget::*)(TvShow * , SeasonNumber )>(_a, &TvShowFilesWidget::sigSeasonSelected, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (TvShowFilesWidget::*)()>(_a, &TvShowFilesWidget::sigNothingSelected, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (TvShowFilesWidget::*)()>(_a, &TvShowFilesWidget::sigStartSearch, 4))
            return;
    }
}

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

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

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

// SIGNAL 0
void TvShowFilesWidget::sigEpisodeSelected(TvShowEpisode * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void TvShowFilesWidget::sigTvShowSelected(TvShow * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void TvShowFilesWidget::sigSeasonSelected(TvShow * _t1, SeasonNumber _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

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

// SIGNAL 4
void TvShowFilesWidget::sigStartSearch()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
