/****************************************************************************
** Meta object code from reading C++ file 'ffplayer.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../subtitlecomposer/src/videoplayer/backend/ffplayer.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 'ffplayer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN16SubtitleComposer8FFPlayerE_t {};
} // unnamed namespace

template <> constexpr inline auto SubtitleComposer::FFPlayer::qt_create_metaobjectdata<qt_meta_tag_ZN16SubtitleComposer8FFPlayerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SubtitleComposer::FFPlayer",
        "mediaLoaded",
        "",
        "stateChanged",
        "FFPlayer::State",
        "state",
        "positionChanged",
        "pos",
        "durationChanged",
        "duration",
        "speedChanged",
        "speed",
        "volumeChanged",
        "volume",
        "muteChanged",
        "muted",
        "videoStreamsChanged",
        "streams",
        "audioStreamsChanged",
        "subtitleStreamsChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'mediaLoaded'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'stateChanged'
        QtMocHelpers::SignalData<void(FFPlayer::State)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'positionChanged'
        QtMocHelpers::SignalData<void(double)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 7 },
        }}),
        // Signal 'durationChanged'
        QtMocHelpers::SignalData<void(double)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Signal 'speedChanged'
        QtMocHelpers::SignalData<void(double)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 11 },
        }}),
        // Signal 'volumeChanged'
        QtMocHelpers::SignalData<void(double)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 13 },
        }}),
        // Signal 'muteChanged'
        QtMocHelpers::SignalData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 15 },
        }}),
        // Signal 'videoStreamsChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 17 },
        }}),
        // Signal 'audioStreamsChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 17 },
        }}),
        // Signal 'subtitleStreamsChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 17 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FFPlayer, qt_meta_tag_ZN16SubtitleComposer8FFPlayerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SubtitleComposer::FFPlayer::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer8FFPlayerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer8FFPlayerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16SubtitleComposer8FFPlayerE_t>.metaTypes,
    nullptr
} };

void SubtitleComposer::FFPlayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FFPlayer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->mediaLoaded(); break;
        case 1: _t->stateChanged((*reinterpret_cast<std::add_pointer_t<FFPlayer::State>>(_a[1]))); break;
        case 2: _t->positionChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 3: _t->durationChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 4: _t->speedChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 5: _t->volumeChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 6: _t->muteChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->videoStreamsChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 8: _t->audioStreamsChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 9: _t->subtitleStreamsChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)()>(_a, &FFPlayer::mediaLoaded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(FFPlayer::State )>(_a, &FFPlayer::stateChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(double )>(_a, &FFPlayer::positionChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(double )>(_a, &FFPlayer::durationChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(double )>(_a, &FFPlayer::speedChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(double )>(_a, &FFPlayer::volumeChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(bool )>(_a, &FFPlayer::muteChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(const QStringList & )>(_a, &FFPlayer::videoStreamsChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(const QStringList & )>(_a, &FFPlayer::audioStreamsChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (FFPlayer::*)(const QStringList & )>(_a, &FFPlayer::subtitleStreamsChanged, 9))
            return;
    }
}

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

void *SubtitleComposer::FFPlayer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer8FFPlayerE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int SubtitleComposer::FFPlayer::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void SubtitleComposer::FFPlayer::mediaLoaded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void SubtitleComposer::FFPlayer::stateChanged(FFPlayer::State _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void SubtitleComposer::FFPlayer::positionChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void SubtitleComposer::FFPlayer::durationChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void SubtitleComposer::FFPlayer::speedChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void SubtitleComposer::FFPlayer::volumeChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void SubtitleComposer::FFPlayer::muteChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void SubtitleComposer::FFPlayer::videoStreamsChanged(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void SubtitleComposer::FFPlayer::audioStreamsChanged(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void SubtitleComposer::FFPlayer::subtitleStreamsChanged(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
