/****************************************************************************
** Meta object code from reading C++ file 'mediacontroller.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/mediacontroller.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 'mediacontroller.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_ZN6Phonon15MediaControllerE_t {};
} // unnamed namespace

template <> constexpr inline auto Phonon::MediaController::qt_create_metaobjectdata<qt_meta_tag_ZN6Phonon15MediaControllerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Phonon::MediaController",
        "availableAnglesChanged",
        "",
        "availableAngles",
        "availableAudioChannelsChanged",
        "availableChaptersChanged",
        "availableChapters",
        "availableMenusChanged",
        "QList<NavigationMenu>",
        "menus",
        "availableSubtitlesChanged",
        "availableTitlesChanged",
        "availableTitles",
        "angleChanged",
        "angleNumber",
        "chapterChanged",
        "chapterNumber",
        "titleChanged",
        "titleNumber",
        "setCurrentAngle",
        "setCurrentChapter",
        "setCurrentTitle",
        "setAutoplayTitles",
        "nextTitle",
        "previousTitle",
        "Features",
        "Feature",
        "Angles",
        "Chapters",
        "Navigations",
        "Titles",
        "Subtitles",
        "AudioChannels"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'availableAnglesChanged'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'availableAudioChannelsChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'availableChaptersChanged'
        QtMocHelpers::SignalData<void(int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 6 },
        }}),
        // Signal 'availableMenusChanged'
        QtMocHelpers::SignalData<void(QList<NavigationMenu>)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'availableSubtitlesChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'availableTitlesChanged'
        QtMocHelpers::SignalData<void(int)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 12 },
        }}),
        // Signal 'angleChanged'
        QtMocHelpers::SignalData<void(int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Signal 'chapterChanged'
        QtMocHelpers::SignalData<void(int)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 16 },
        }}),
        // Signal 'titleChanged'
        QtMocHelpers::SignalData<void(int)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 18 },
        }}),
        // Slot 'setCurrentAngle'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot 'setCurrentChapter'
        QtMocHelpers::SlotData<void(int)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 16 },
        }}),
        // Slot 'setCurrentTitle'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 18 },
        }}),
        // Slot 'setAutoplayTitles'
        QtMocHelpers::SlotData<void(bool)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'nextTitle'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'previousTitle'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // flag 'Features'
        QtMocHelpers::EnumData<Features>(25, 26, QMC::EnumIsFlag).add({
            {   27, Feature::Angles },
            {   28, Feature::Chapters },
            {   29, Feature::Navigations },
            {   30, Feature::Titles },
            {   31, Feature::Subtitles },
            {   32, Feature::AudioChannels },
        }),
    };
    return QtMocHelpers::metaObjectData<MediaController, qt_meta_tag_ZN6Phonon15MediaControllerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Phonon::MediaController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Phonon15MediaControllerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Phonon15MediaControllerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Phonon15MediaControllerE_t>.metaTypes,
    nullptr
} };

void Phonon::MediaController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MediaController *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->availableAnglesChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->availableAudioChannelsChanged(); break;
        case 2: _t->availableChaptersChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->availableMenusChanged((*reinterpret_cast<std::add_pointer_t<QList<NavigationMenu>>>(_a[1]))); break;
        case 4: _t->availableSubtitlesChanged(); break;
        case 5: _t->availableTitlesChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->angleChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->chapterChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->titleChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->setCurrentAngle((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->setCurrentChapter((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->setCurrentTitle((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: _t->setAutoplayTitles((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->nextTitle(); break;
        case 14: _t->previousTitle(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)(int )>(_a, &MediaController::availableAnglesChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)()>(_a, &MediaController::availableAudioChannelsChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)(int )>(_a, &MediaController::availableChaptersChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)(QList<NavigationMenu> )>(_a, &MediaController::availableMenusChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)()>(_a, &MediaController::availableSubtitlesChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)(int )>(_a, &MediaController::availableTitlesChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)(int )>(_a, &MediaController::angleChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)(int )>(_a, &MediaController::chapterChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaController::*)(int )>(_a, &MediaController::titleChanged, 8))
            return;
    }
}

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

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

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

// SIGNAL 0
void Phonon::MediaController::availableAnglesChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

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

// SIGNAL 3
void Phonon::MediaController::availableMenusChanged(QList<NavigationMenu> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Phonon::MediaController::availableSubtitlesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

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

// SIGNAL 6
void Phonon::MediaController::angleChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

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

// SIGNAL 8
void Phonon::MediaController::titleChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}
QT_WARNING_POP
