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

template <> constexpr inline auto SubtitleComposer::VideoPlayer::qt_create_metaobjectdata<qt_meta_tag_ZN16SubtitleComposer11VideoPlayerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SubtitleComposer::VideoPlayer",
        "fileOpenError",
        "",
        "filePath",
        "reason",
        "fileOpened",
        "fileClosed",
        "playbackError",
        "errorMessage",
        "playing",
        "positionChanged",
        "seconds",
        "durationChanged",
        "fpsChanged",
        "fps",
        "playSpeedChanged",
        "rate",
        "paused",
        "stopped",
        "textStreamsChanged",
        "textStreams",
        "activeAudioStreamChanged",
        "audioStreamIndex",
        "audioStreamsChanged",
        "audioStreams",
        "volumeChanged",
        "volume",
        "muteChanged",
        "muted",
        "doubleClicked",
        "QPointF",
        "point",
        "rightClicked",
        "leftClicked",
        "wheelUp",
        "wheelDown",
        "openFile",
        "closeFile",
        "play",
        "pause",
        "togglePlayPaused",
        "seek",
        "step",
        "frameOffset",
        "stop",
        "selectAudioStream",
        "streamIndex",
        "increaseVolume",
        "amount",
        "decreaseVolume",
        "setVolume",
        "setMuted",
        "mute"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'fileOpenError'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'fileOpened'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'fileClosed'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'playbackError'
        QtMocHelpers::SignalData<void(const QString &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Signal 'playbackError'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Signal 'playing'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'positionChanged'
        QtMocHelpers::SignalData<void(double)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 11 },
        }}),
        // Signal 'durationChanged'
        QtMocHelpers::SignalData<void(double)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 11 },
        }}),
        // Signal 'fpsChanged'
        QtMocHelpers::SignalData<void(double)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 14 },
        }}),
        // Signal 'playSpeedChanged'
        QtMocHelpers::SignalData<void(double)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 16 },
        }}),
        // Signal 'paused'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'stopped'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'textStreamsChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 20 },
        }}),
        // Signal 'activeAudioStreamChanged'
        QtMocHelpers::SignalData<void(int)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 22 },
        }}),
        // Signal 'audioStreamsChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 24 },
        }}),
        // Signal 'volumeChanged'
        QtMocHelpers::SignalData<void(double)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 26 },
        }}),
        // Signal 'muteChanged'
        QtMocHelpers::SignalData<void(bool)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 28 },
        }}),
        // Signal 'doubleClicked'
        QtMocHelpers::SignalData<void(const QPointF &)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Signal 'rightClicked'
        QtMocHelpers::SignalData<void(const QPointF &)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Signal 'leftClicked'
        QtMocHelpers::SignalData<void(const QPointF &)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Signal 'wheelUp'
        QtMocHelpers::SignalData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'wheelDown'
        QtMocHelpers::SignalData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openFile'
        QtMocHelpers::SlotData<bool(const QString &)>(36, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'closeFile'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'play'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pause'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'togglePlayPaused'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'seek'
        QtMocHelpers::SlotData<bool(double)>(41, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Double, 11 },
        }}),
        // Slot 'step'
        QtMocHelpers::SlotData<bool(int)>(42, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 43 },
        }}),
        // Slot 'stop'
        QtMocHelpers::SlotData<bool()>(44, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'selectAudioStream'
        QtMocHelpers::SlotData<bool(int)>(45, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 46 },
        }}),
        // Slot 'increaseVolume'
        QtMocHelpers::SlotData<void(double)>(47, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 48 },
        }}),
        // Slot 'increaseVolume'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'decreaseVolume'
        QtMocHelpers::SlotData<void(double)>(49, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 48 },
        }}),
        // Slot 'decreaseVolume'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'setVolume'
        QtMocHelpers::SlotData<void(double)>(50, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 26 },
        }}),
        // Slot 'setMuted'
        QtMocHelpers::SlotData<void(bool)>(51, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 52 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<VideoPlayer, qt_meta_tag_ZN16SubtitleComposer11VideoPlayerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SubtitleComposer::VideoPlayer::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer11VideoPlayerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer11VideoPlayerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16SubtitleComposer11VideoPlayerE_t>.metaTypes,
    nullptr
} };

void SubtitleComposer::VideoPlayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VideoPlayer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->fileOpenError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->fileOpened((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->fileClosed(); break;
        case 3: _t->playbackError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->playbackError(); break;
        case 5: _t->playing(); break;
        case 6: _t->positionChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 7: _t->durationChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 8: _t->fpsChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 9: _t->playSpeedChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 10: _t->paused(); break;
        case 11: _t->stopped(); break;
        case 12: _t->textStreamsChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 13: _t->activeAudioStreamChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 14: _t->audioStreamsChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 15: _t->volumeChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 16: _t->muteChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 17: _t->doubleClicked((*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[1]))); break;
        case 18: _t->rightClicked((*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[1]))); break;
        case 19: _t->leftClicked((*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[1]))); break;
        case 20: _t->wheelUp(); break;
        case 21: _t->wheelDown(); break;
        case 22: { bool _r = _t->openFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 23: _t->closeFile(); break;
        case 24: _t->play(); break;
        case 25: _t->pause(); break;
        case 26: _t->togglePlayPaused(); break;
        case 27: { bool _r = _t->seek((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 28: { bool _r = _t->step((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 29: { bool _r = _t->stop();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 30: { bool _r = _t->selectAudioStream((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 31: _t->increaseVolume((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 32: _t->increaseVolume(); break;
        case 33: _t->decreaseVolume((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 34: _t->decreaseVolume(); break;
        case 35: _t->setVolume((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 36: _t->setMuted((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(const QString & , const QString & )>(_a, &VideoPlayer::fileOpenError, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(const QString & )>(_a, &VideoPlayer::fileOpened, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)()>(_a, &VideoPlayer::fileClosed, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(const QString & )>(_a, &VideoPlayer::playbackError, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)()>(_a, &VideoPlayer::playing, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(double )>(_a, &VideoPlayer::positionChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(double )>(_a, &VideoPlayer::durationChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(double )>(_a, &VideoPlayer::fpsChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(double )>(_a, &VideoPlayer::playSpeedChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)()>(_a, &VideoPlayer::paused, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)()>(_a, &VideoPlayer::stopped, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(const QStringList & )>(_a, &VideoPlayer::textStreamsChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(int )>(_a, &VideoPlayer::activeAudioStreamChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(const QStringList & )>(_a, &VideoPlayer::audioStreamsChanged, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(double )>(_a, &VideoPlayer::volumeChanged, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(bool )>(_a, &VideoPlayer::muteChanged, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(const QPointF & )>(_a, &VideoPlayer::doubleClicked, 17))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(const QPointF & )>(_a, &VideoPlayer::rightClicked, 18))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)(const QPointF & )>(_a, &VideoPlayer::leftClicked, 19))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)()>(_a, &VideoPlayer::wheelUp, 20))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoPlayer::*)()>(_a, &VideoPlayer::wheelDown, 21))
            return;
    }
}

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

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

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

// SIGNAL 0
void SubtitleComposer::VideoPlayer::fileOpenError(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void SubtitleComposer::VideoPlayer::fileOpened(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void SubtitleComposer::VideoPlayer::fileClosed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void SubtitleComposer::VideoPlayer::playbackError(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 5
void SubtitleComposer::VideoPlayer::playing()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

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

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

// SIGNAL 8
void SubtitleComposer::VideoPlayer::fpsChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void SubtitleComposer::VideoPlayer::playSpeedChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void SubtitleComposer::VideoPlayer::paused()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void SubtitleComposer::VideoPlayer::stopped()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void SubtitleComposer::VideoPlayer::textStreamsChanged(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void SubtitleComposer::VideoPlayer::activeAudioStreamChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

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

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

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

// SIGNAL 17
void SubtitleComposer::VideoPlayer::doubleClicked(const QPointF & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1);
}

// SIGNAL 18
void SubtitleComposer::VideoPlayer::rightClicked(const QPointF & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 18, nullptr, _t1);
}

// SIGNAL 19
void SubtitleComposer::VideoPlayer::leftClicked(const QPointF & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 19, nullptr, _t1);
}

// SIGNAL 20
void SubtitleComposer::VideoPlayer::wheelUp()
{
    QMetaObject::activate(this, &staticMetaObject, 20, nullptr);
}

// SIGNAL 21
void SubtitleComposer::VideoPlayer::wheelDown()
{
    QMetaObject::activate(this, &staticMetaObject, 21, nullptr);
}
QT_WARNING_POP
