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

#include "../../../../../haruna/src/mpris/mpriscontroller.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 'mpriscontroller.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN15MprisControllerE_t {};
} // unnamed namespace

template <> constexpr inline auto MprisController::qt_create_metaobjectdata<qt_meta_tag_ZN15MprisControllerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MprisController",
        "raiseRequested",
        "",
        "quitRequested",
        "nextRequested",
        "previousRequested",
        "pauseRequested",
        "playpauseRequested",
        "stopRequested",
        "playRequested",
        "seekRequested",
        "offset",
        "seekToRequested",
        "position",
        "openUriRequested",
        "uri",
        "fullscreenChangeRequested",
        "fullscreen",
        "volumeChangeRequested",
        "volume",
        "loopStatusChangeRequested",
        "loopStatus",
        "shuffleChangeRequested",
        "shuffle",
        "rateChangeRequested",
        "rate"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'raiseRequested'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'quitRequested'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'nextRequested'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'previousRequested'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'pauseRequested'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'playpauseRequested'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'stopRequested'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'playRequested'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'seekRequested'
        QtMocHelpers::SignalData<void(qlonglong)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 11 },
        }}),
        // Signal 'seekToRequested'
        QtMocHelpers::SignalData<void(qlonglong)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 13 },
        }}),
        // Signal 'openUriRequested'
        QtMocHelpers::SignalData<void(QString)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Signal 'fullscreenChangeRequested'
        QtMocHelpers::SignalData<void(bool)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 17 },
        }}),
        // Signal 'volumeChangeRequested'
        QtMocHelpers::SignalData<void(double)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 19 },
        }}),
        // Signal 'loopStatusChangeRequested'
        QtMocHelpers::SignalData<void(const QString &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 },
        }}),
        // Signal 'shuffleChangeRequested'
        QtMocHelpers::SignalData<void(bool)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 23 },
        }}),
        // Signal 'rateChangeRequested'
        QtMocHelpers::SignalData<void(double)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 25 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MprisController, qt_meta_tag_ZN15MprisControllerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MprisController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15MprisControllerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15MprisControllerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15MprisControllerE_t>.metaTypes,
    nullptr
} };

void MprisController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MprisController *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->raiseRequested(); break;
        case 1: _t->quitRequested(); break;
        case 2: _t->nextRequested(); break;
        case 3: _t->previousRequested(); break;
        case 4: _t->pauseRequested(); break;
        case 5: _t->playpauseRequested(); break;
        case 6: _t->stopRequested(); break;
        case 7: _t->playRequested(); break;
        case 8: _t->seekRequested((*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[1]))); break;
        case 9: _t->seekToRequested((*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[1]))); break;
        case 10: _t->openUriRequested((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->fullscreenChangeRequested((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->volumeChangeRequested((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 13: _t->loopStatusChangeRequested((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->shuffleChangeRequested((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->rateChangeRequested((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)()>(_a, &MprisController::raiseRequested, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)()>(_a, &MprisController::quitRequested, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)()>(_a, &MprisController::nextRequested, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)()>(_a, &MprisController::previousRequested, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)()>(_a, &MprisController::pauseRequested, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)()>(_a, &MprisController::playpauseRequested, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)()>(_a, &MprisController::stopRequested, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)()>(_a, &MprisController::playRequested, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)(qlonglong )>(_a, &MprisController::seekRequested, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)(qlonglong )>(_a, &MprisController::seekToRequested, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)(QString )>(_a, &MprisController::openUriRequested, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)(bool )>(_a, &MprisController::fullscreenChangeRequested, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)(double )>(_a, &MprisController::volumeChangeRequested, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)(const QString & )>(_a, &MprisController::loopStatusChangeRequested, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)(bool )>(_a, &MprisController::shuffleChangeRequested, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (MprisController::*)(double )>(_a, &MprisController::rateChangeRequested, 15))
            return;
    }
}

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

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

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

// SIGNAL 0
void MprisController::raiseRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void MprisController::quitRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void MprisController::nextRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void MprisController::previousRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void MprisController::pauseRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void MprisController::playpauseRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void MprisController::stopRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void MprisController::playRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void MprisController::seekRequested(qlonglong _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void MprisController::seekToRequested(qlonglong _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void MprisController::openUriRequested(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void MprisController::fullscreenChangeRequested(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void MprisController::volumeChangeRequested(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void MprisController::loopStatusChangeRequested(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void MprisController::shuffleChangeRequested(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void MprisController::rateChangeRequested(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}
QT_WARNING_POP
