/****************************************************************************
** Meta object code from reading C++ file 'mediaobject.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 "../../../../phonon-backend-vlc-0.12.0/src/mediaobject.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 'mediaobject.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_ZN6Phonon3VLC11MediaObjectE_t {};
} // unnamed namespace

template <> constexpr inline auto Phonon::VLC::MediaObject::qt_create_metaobjectdata<qt_meta_tag_ZN6Phonon3VLC11MediaObjectE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Phonon::VLC::MediaObject",
        "availableSubtitlesChanged",
        "",
        "availableAudioChannelsChanged",
        "availableChaptersChanged",
        "availableTitlesChanged",
        "chapterChanged",
        "chapterNumber",
        "titleChanged",
        "titleNumber",
        "durationChanged",
        "newDuration",
        "videoWidgetSizeChanged",
        "i_width",
        "i_height",
        "aboutToFinish",
        "bufferStatus",
        "percentFilled",
        "currentSourceChanged",
        "MediaSource",
        "newSource",
        "finished",
        "hasVideoChanged",
        "b_has_video",
        "metaDataChanged",
        "QMultiMap<QString,QString>",
        "metaData",
        "prefinishMarkReached",
        "msecToEnd",
        "seekableChanged",
        "seekable",
        "stateChanged",
        "Phonon::State",
        "newState",
        "oldState",
        "tick",
        "time",
        "totalTimeChanged",
        "newTotalTime",
        "moveToNext",
        "changeState",
        "timeChanged",
        "emitTick",
        "moveToNextSource",
        "updateDuration",
        "updateMetaData",
        "updateState",
        "MediaPlayer::State",
        "state",
        "onHasVideoChanged",
        "hasVideo",
        "setBufferStatus",
        "percent",
        "refreshDescriptors"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'availableSubtitlesChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'availableAudioChannelsChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'availableChaptersChanged'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'availableTitlesChanged'
        QtMocHelpers::SignalData<void(int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'chapterChanged'
        QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 7 },
        }}),
        // Signal 'titleChanged'
        QtMocHelpers::SignalData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'durationChanged'
        QtMocHelpers::SignalData<void(qint64)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 11 },
        }}),
        // Signal 'videoWidgetSizeChanged'
        QtMocHelpers::SignalData<void(int, int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 14 },
        }}),
        // Signal 'aboutToFinish'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'bufferStatus'
        QtMocHelpers::SignalData<void(int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 17 },
        }}),
        // Signal 'currentSourceChanged'
        QtMocHelpers::SignalData<void(const MediaSource &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Signal 'finished'
        QtMocHelpers::SignalData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'hasVideoChanged'
        QtMocHelpers::SignalData<void(bool)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 23 },
        }}),
        // Signal 'metaDataChanged'
        QtMocHelpers::SignalData<void(const QMultiMap<QString,QString> &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Signal 'prefinishMarkReached'
        QtMocHelpers::SignalData<void(qint32)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 28 },
        }}),
        // Signal 'seekableChanged'
        QtMocHelpers::SignalData<void(bool)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 30 },
        }}),
        // Signal 'stateChanged'
        QtMocHelpers::SignalData<void(Phonon::State, Phonon::State)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 32, 33 }, { 0x80000000 | 32, 34 },
        }}),
        // Signal 'tick'
        QtMocHelpers::SignalData<void(qint64)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 36 },
        }}),
        // Signal 'totalTimeChanged'
        QtMocHelpers::SignalData<void(qint64)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 38 },
        }}),
        // Signal 'moveToNext'
        QtMocHelpers::SignalData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'changeState'
        QtMocHelpers::SlotData<void(Phonon::State)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'timeChanged'
        QtMocHelpers::SlotData<void(qint64)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::LongLong, 36 },
        }}),
        // Slot 'emitTick'
        QtMocHelpers::SlotData<void(qint64)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::LongLong, 36 },
        }}),
        // Slot 'moveToNextSource'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateDuration'
        QtMocHelpers::SlotData<void(qint64)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::LongLong, 11 },
        }}),
        // Slot 'updateMetaData'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateState'
        QtMocHelpers::SlotData<void(MediaPlayer::State)>(46, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 47, 48 },
        }}),
        // Slot 'onHasVideoChanged'
        QtMocHelpers::SlotData<void(bool)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 50 },
        }}),
        // Slot 'setBufferStatus'
        QtMocHelpers::SlotData<void(int)>(51, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 52 },
        }}),
        // Slot 'refreshDescriptors'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MediaObject, qt_meta_tag_ZN6Phonon3VLC11MediaObjectE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Phonon::VLC::MediaObject::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Phonon3VLC11MediaObjectE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Phonon3VLC11MediaObjectE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Phonon3VLC11MediaObjectE_t>.metaTypes,
    nullptr
} };

void Phonon::VLC::MediaObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MediaObject *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->availableSubtitlesChanged(); break;
        case 1: _t->availableAudioChannelsChanged(); break;
        case 2: _t->availableChaptersChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->availableTitlesChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->chapterChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->titleChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->durationChanged((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 7: _t->videoWidgetSizeChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 8: _t->aboutToFinish(); break;
        case 9: _t->bufferStatus((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->currentSourceChanged((*reinterpret_cast<std::add_pointer_t<MediaSource>>(_a[1]))); break;
        case 11: _t->finished(); break;
        case 12: _t->hasVideoChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->metaDataChanged((*reinterpret_cast<std::add_pointer_t<QMultiMap<QString,QString>>>(_a[1]))); break;
        case 14: _t->prefinishMarkReached((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 15: _t->seekableChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 16: _t->stateChanged((*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[2]))); break;
        case 17: _t->tick((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 18: _t->totalTimeChanged((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 19: _t->moveToNext(); break;
        case 20: _t->changeState((*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[1]))); break;
        case 21: _t->timeChanged((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 22: _t->emitTick((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 23: _t->moveToNextSource(); break;
        case 24: _t->updateDuration((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 25: _t->updateMetaData(); break;
        case 26: _t->updateState((*reinterpret_cast<std::add_pointer_t<MediaPlayer::State>>(_a[1]))); break;
        case 27: _t->onHasVideoChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 28: _t->setBufferStatus((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 29: _t->refreshDescriptors(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Phonon::State >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Phonon::State >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)()>(_a, &MediaObject::availableSubtitlesChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)()>(_a, &MediaObject::availableAudioChannelsChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(int )>(_a, &MediaObject::availableChaptersChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(int )>(_a, &MediaObject::availableTitlesChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(int )>(_a, &MediaObject::chapterChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(int )>(_a, &MediaObject::titleChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(qint64 )>(_a, &MediaObject::durationChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(int , int )>(_a, &MediaObject::videoWidgetSizeChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)()>(_a, &MediaObject::aboutToFinish, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(int )>(_a, &MediaObject::bufferStatus, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(const MediaSource & )>(_a, &MediaObject::currentSourceChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)()>(_a, &MediaObject::finished, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(bool )>(_a, &MediaObject::hasVideoChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(const QMultiMap<QString,QString> & )>(_a, &MediaObject::metaDataChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(qint32 )>(_a, &MediaObject::prefinishMarkReached, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(bool )>(_a, &MediaObject::seekableChanged, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(Phonon::State , Phonon::State )>(_a, &MediaObject::stateChanged, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(qint64 )>(_a, &MediaObject::tick, 17))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(qint64 )>(_a, &MediaObject::totalTimeChanged, 18))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)()>(_a, &MediaObject::moveToNext, 19))
            return;
    }
}

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

void *Phonon::VLC::MediaObject::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Phonon3VLC11MediaObjectE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "MediaObjectInterface"))
        return static_cast< MediaObjectInterface*>(this);
    if (!strcmp(_clname, "MediaController"))
        return static_cast< MediaController*>(this);
    if (!strcmp(_clname, "MediaObjectInterface3.phonon.kde.org"))
        return static_cast< Phonon::MediaObjectInterface*>(this);
    if (!strcmp(_clname, "AddonInterface0.2.phonon.kde.org"))
        return static_cast< Phonon::AddonInterface*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void Phonon::VLC::MediaObject::availableSubtitlesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Phonon::VLC::MediaObject::availableAudioChannelsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Phonon::VLC::MediaObject::availableChaptersChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Phonon::VLC::MediaObject::availableTitlesChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Phonon::VLC::MediaObject::chapterChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Phonon::VLC::MediaObject::titleChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Phonon::VLC::MediaObject::durationChanged(qint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Phonon::VLC::MediaObject::videoWidgetSizeChanged(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}

// SIGNAL 8
void Phonon::VLC::MediaObject::aboutToFinish()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Phonon::VLC::MediaObject::bufferStatus(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void Phonon::VLC::MediaObject::currentSourceChanged(const MediaSource & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void Phonon::VLC::MediaObject::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void Phonon::VLC::MediaObject::hasVideoChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void Phonon::VLC::MediaObject::metaDataChanged(const QMultiMap<QString,QString> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void Phonon::VLC::MediaObject::prefinishMarkReached(qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void Phonon::VLC::MediaObject::seekableChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}

// SIGNAL 16
void Phonon::VLC::MediaObject::stateChanged(Phonon::State _t1, Phonon::State _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1, _t2);
}

// SIGNAL 17
void Phonon::VLC::MediaObject::tick(qint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1);
}

// SIGNAL 18
void Phonon::VLC::MediaObject::totalTimeChanged(qint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 18, nullptr, _t1);
}

// SIGNAL 19
void Phonon::VLC::MediaObject::moveToNext()
{
    QMetaObject::activate(this, &staticMetaObject, 19, nullptr);
}
QT_WARNING_POP
