/****************************************************************************
** 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-4.12.0/phonon/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_ZN6Phonon11MediaObjectE_t {};
} // unnamed namespace

template <> constexpr inline auto Phonon::MediaObject::qt_create_metaobjectdata<qt_meta_tag_ZN6Phonon11MediaObjectE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Phonon::MediaObject",
        "stateChanged",
        "",
        "Phonon::State",
        "newstate",
        "oldstate",
        "tick",
        "time",
        "metaDataChanged",
        "seekableChanged",
        "isSeekable",
        "hasVideoChanged",
        "hasVideo",
        "bufferStatus",
        "percentFilled",
        "finished",
        "currentSourceChanged",
        "Phonon::MediaSource",
        "newSource",
        "aboutToFinish",
        "prefinishMarkReached",
        "msecToEnd",
        "totalTimeChanged",
        "newTotalTime",
        "setTickInterval",
        "newTickInterval",
        "play",
        "pause",
        "stop",
        "seek",
        "clear",
        "_k_resumePlay",
        "_k_resumePause",
        "_k_metaDataChanged",
        "QMultiMap<QString,QString>",
        "_k_stateChanged",
        "_k_aboutToFinish",
        "_k_currentSourceChanged",
        "MediaSource",
        "transitionTime",
        "prefinishMark",
        "tickInterval"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'stateChanged'
        QtMocHelpers::SignalData<void(Phonon::State, Phonon::State)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 },
        }}),
        // Signal 'tick'
        QtMocHelpers::SignalData<void(qint64)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 7 },
        }}),
        // Signal 'metaDataChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'seekableChanged'
        QtMocHelpers::SignalData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Signal 'hasVideoChanged'
        QtMocHelpers::SignalData<void(bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Signal 'bufferStatus'
        QtMocHelpers::SignalData<void(int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Signal 'finished'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentSourceChanged'
        QtMocHelpers::SignalData<void(const Phonon::MediaSource &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Signal 'aboutToFinish'
        QtMocHelpers::SignalData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'prefinishMarkReached'
        QtMocHelpers::SignalData<void(qint32)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 21 },
        }}),
        // Signal 'totalTimeChanged'
        QtMocHelpers::SignalData<void(qint64)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 23 },
        }}),
        // Slot 'setTickInterval'
        QtMocHelpers::SlotData<void(qint32)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 25 },
        }}),
        // Slot 'play'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pause'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stop'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'seek'
        QtMocHelpers::SlotData<void(qint64)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 7 },
        }}),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot '_k_resumePlay'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot '_k_resumePause'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot '_k_metaDataChanged'
        QtMocHelpers::SlotData<void(const QMultiMap<QString,QString> &)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 34, 2 },
        }}),
        // Slot '_k_stateChanged'
        QtMocHelpers::SlotData<void(Phonon::State, Phonon::State)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Slot '_k_aboutToFinish'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot '_k_currentSourceChanged'
        QtMocHelpers::SlotData<void(const MediaSource &)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 38, 2 },
        }}),
        // Slot '_k_stateChanged'
        QtMocHelpers::SlotData<void(Phonon::State, Phonon::State)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { 0x80000000 | 3, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'transitionTime'
        QtMocHelpers::PropertyData<qint32>(39, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'prefinishMark'
        QtMocHelpers::PropertyData<qint32>(40, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'tickInterval'
        QtMocHelpers::PropertyData<qint32>(41, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MediaObject, qt_meta_tag_ZN6Phonon11MediaObjectE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Phonon::MediaObject::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Phonon11MediaObjectE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Phonon11MediaObjectE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Phonon11MediaObjectE_t>.metaTypes,
    nullptr
} };

void Phonon::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->stateChanged((*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[2]))); break;
        case 1: _t->tick((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 2: _t->metaDataChanged(); break;
        case 3: _t->seekableChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->hasVideoChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->bufferStatus((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->finished(); break;
        case 7: _t->currentSourceChanged((*reinterpret_cast<std::add_pointer_t<Phonon::MediaSource>>(_a[1]))); break;
        case 8: _t->aboutToFinish(); break;
        case 9: _t->prefinishMarkReached((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 10: _t->totalTimeChanged((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 11: _t->setTickInterval((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 12: _t->play(); break;
        case 13: _t->pause(); break;
        case 14: _t->stop(); break;
        case 15: _t->seek((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 16: _t->clear(); break;
        case 17: _t->k_func()->_k_resumePlay(); break;
        case 18: _t->k_func()->_k_resumePause(); break;
        case 19: _t->k_func()->_k_metaDataChanged((*reinterpret_cast<std::add_pointer_t<QMultiMap<QString,QString>>>(_a[1]))); break;
        case 20: _t->k_func()->_k_stateChanged((*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[2]))); break;
        case 21: _t->k_func()->_k_aboutToFinish(); break;
        case 22: _t->k_func()->_k_currentSourceChanged((*reinterpret_cast<std::add_pointer_t<MediaSource>>(_a[1]))); break;
        case 23: _t->k_func()->_k_stateChanged((*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Phonon::State>>(_a[2]))); 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 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 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Phonon::State >(); break;
            }
            break;
        case 23:
            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;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(Phonon::State , Phonon::State )>(_a, &MediaObject::stateChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(qint64 )>(_a, &MediaObject::tick, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)()>(_a, &MediaObject::metaDataChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(bool )>(_a, &MediaObject::seekableChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(bool )>(_a, &MediaObject::hasVideoChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(int )>(_a, &MediaObject::bufferStatus, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)()>(_a, &MediaObject::finished, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(const Phonon::MediaSource & )>(_a, &MediaObject::currentSourceChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)()>(_a, &MediaObject::aboutToFinish, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(qint32 )>(_a, &MediaObject::prefinishMarkReached, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaObject::*)(qint64 )>(_a, &MediaObject::totalTimeChanged, 10))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qint32*>(_v) = _t->transitionTime(); break;
        case 1: *reinterpret_cast<qint32*>(_v) = _t->prefinishMark(); break;
        case 2: *reinterpret_cast<qint32*>(_v) = _t->tickInterval(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTransitionTime(*reinterpret_cast<qint32*>(_v)); break;
        case 1: _t->setPrefinishMark(*reinterpret_cast<qint32*>(_v)); break;
        case 2: _t->setTickInterval(*reinterpret_cast<qint32*>(_v)); break;
        default: break;
        }
    }
}

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

void *Phonon::MediaObject::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Phonon11MediaObjectE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "MediaNode"))
        return static_cast< MediaNode*>(this);
    return QObject::qt_metacast(_clname);
}

int Phonon::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 < 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;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}

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

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

// SIGNAL 2
void Phonon::MediaObject::metaDataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

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

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

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

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

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

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

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