/****************************************************************************
** Meta object code from reading C++ file 'MovieFilesWidget.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/movies/MovieFilesWidget.h"
#include <QtGui/qtextcursor.h>
#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 'MovieFilesWidget.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_ZN16MovieFilesWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto MovieFilesWidget::qt_create_metaobjectdata<qt_meta_tag_ZN16MovieFilesWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MovieFilesWidget",
        "noMovieSelected",
        "",
        "movieSelected",
        "Movie*",
        "sigStartSearch",
        "restoreLastSelection",
        "setFilter",
        "QList<Filter*>",
        "filters",
        "text",
        "movieSelectedEmitter",
        "multiScrape",
        "setAlphaListData",
        "itemActivated",
        "QModelIndex",
        "index",
        "previous",
        "onSortByName",
        "onSortByAdded",
        "onSortByYear",
        "onSortBySeen",
        "onSortByNew",
        "showContextMenu",
        "QPoint",
        "point",
        "markAsWatched",
        "markAsUnwatched",
        "loadStreamDetails",
        "markForSync",
        "unmarkForSync",
        "openFolder",
        "scrollToAlpha",
        "alpha",
        "onLeftEdge",
        "isEdge",
        "onActionMediaStatusColumn",
        "onLabel",
        "updateStatusLabel",
        "playMovie",
        "idx",
        "openNfoFile"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'noMovieSelected'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'movieSelected'
        QtMocHelpers::SignalData<void(Movie *)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 2 },
        }}),
        // Signal 'sigStartSearch'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'restoreLastSelection'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setFilter'
        QtMocHelpers::SlotData<void(QVector<Filter*>, QString)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { QMetaType::QString, 10 },
        }}),
        // Slot 'movieSelectedEmitter'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'multiScrape'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setAlphaListData'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'itemActivated'
        QtMocHelpers::SlotData<void(QModelIndex, QModelIndex)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 16 }, { 0x80000000 | 15, 17 },
        }}),
        // Slot 'onSortByName'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSortByAdded'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSortByYear'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSortBySeen'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSortByNew'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showContextMenu'
        QtMocHelpers::SlotData<void(QPoint)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 24, 25 },
        }}),
        // Slot 'markAsWatched'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'markAsUnwatched'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'loadStreamDetails'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // 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 'scrollToAlpha'
        QtMocHelpers::SlotData<void(QString)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 33 },
        }}),
        // Slot 'onLeftEdge'
        QtMocHelpers::SlotData<void(bool)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 35 },
        }}),
        // Slot 'onActionMediaStatusColumn'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onLabel'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateStatusLabel'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'playMovie'
        QtMocHelpers::SlotData<void(QModelIndex)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 40 },
        }}),
        // Slot 'openNfoFile'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MovieFilesWidget, qt_meta_tag_ZN16MovieFilesWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MovieFilesWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16MovieFilesWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16MovieFilesWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16MovieFilesWidgetE_t>.metaTypes,
    nullptr
} };

void MovieFilesWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MovieFilesWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->noMovieSelected(); break;
        case 1: _t->movieSelected((*reinterpret_cast<std::add_pointer_t<Movie*>>(_a[1]))); break;
        case 2: _t->sigStartSearch(); break;
        case 3: _t->restoreLastSelection(); break;
        case 4: _t->setFilter((*reinterpret_cast<std::add_pointer_t<QList<Filter*>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 5: _t->movieSelectedEmitter(); break;
        case 6: _t->multiScrape(); break;
        case 7: _t->setAlphaListData(); break;
        case 8: _t->itemActivated((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[2]))); break;
        case 9: _t->onSortByName(); break;
        case 10: _t->onSortByAdded(); break;
        case 11: _t->onSortByYear(); break;
        case 12: _t->onSortBySeen(); break;
        case 13: _t->onSortByNew(); break;
        case 14: _t->showContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 15: _t->markAsWatched(); break;
        case 16: _t->markAsUnwatched(); break;
        case 17: _t->loadStreamDetails(); break;
        case 18: _t->markForSync(); break;
        case 19: _t->unmarkForSync(); break;
        case 20: _t->openFolder(); break;
        case 21: _t->scrollToAlpha((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 22: _t->onLeftEdge((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 23: _t->onActionMediaStatusColumn(); break;
        case 24: _t->onLabel(); break;
        case 25: _t->updateStatusLabel(); break;
        case 26: _t->playMovie((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 27: _t->openNfoFile(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< QList<Filter*> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MovieFilesWidget::*)()>(_a, &MovieFilesWidget::noMovieSelected, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MovieFilesWidget::*)(Movie * )>(_a, &MovieFilesWidget::movieSelected, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MovieFilesWidget::*)()>(_a, &MovieFilesWidget::sigStartSearch, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void MovieFilesWidget::noMovieSelected()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void MovieFilesWidget::movieSelected(Movie * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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