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

#include "../../../../lxqt-panel-2.4.0/plugin-volume/pulseaudioengine.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 'pulseaudioengine.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN16PulseAudioEngineE_t {};
} // unnamed namespace

template <> constexpr inline auto PulseAudioEngine::qt_create_metaobjectdata<qt_meta_tag_ZN16PulseAudioEngineE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PulseAudioEngine",
        "sinkInfoChanged",
        "",
        "uint32_t",
        "idx",
        "contextStateChanged",
        "pa_context_state_t",
        "state",
        "readyChanged",
        "ready",
        "sinkRemoved",
        "sinkInfoReceived",
        "PulseAudioDevice",
        "commitDeviceVolume",
        "AudioDevice*",
        "device",
        "retrieveSinkInfo",
        "setMute",
        "setContextState",
        "setIgnoreMaxVolume",
        "ignore",
        "handleContextStateChanged",
        "connectContext",
        "removeSink",
        "addOrUpdateSink"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sinkInfoChanged'
        QtMocHelpers::SignalData<void(uint32_t)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'contextStateChanged'
        QtMocHelpers::SignalData<void(pa_context_state_t)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'readyChanged'
        QtMocHelpers::SignalData<void(bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 9 },
        }}),
        // Signal 'sinkRemoved'
        QtMocHelpers::SignalData<void(uint32_t)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'sinkInfoReceived'
        QtMocHelpers::SignalData<void(const PulseAudioDevice &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 2 },
        }}),
        // Slot 'commitDeviceVolume'
        QtMocHelpers::SlotData<void(AudioDevice *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Slot 'retrieveSinkInfo'
        QtMocHelpers::SlotData<void(uint32_t)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'setMute'
        QtMocHelpers::SlotData<void(AudioDevice *, bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 }, { QMetaType::Bool, 7 },
        }}),
        // Slot 'setContextState'
        QtMocHelpers::SlotData<void(pa_context_state_t)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'setIgnoreMaxVolume'
        QtMocHelpers::SlotData<void(bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Slot 'handleContextStateChanged'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'connectContext'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'removeSink'
        QtMocHelpers::SlotData<void(uint32_t)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'addOrUpdateSink'
        QtMocHelpers::SlotData<void(const PulseAudioDevice &)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 12, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PulseAudioEngine, qt_meta_tag_ZN16PulseAudioEngineE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PulseAudioEngine::staticMetaObject = { {
    QMetaObject::SuperData::link<AudioEngine::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16PulseAudioEngineE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16PulseAudioEngineE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16PulseAudioEngineE_t>.metaTypes,
    nullptr
} };

void PulseAudioEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PulseAudioEngine *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sinkInfoChanged((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        case 1: _t->contextStateChanged((*reinterpret_cast<std::add_pointer_t<pa_context_state_t>>(_a[1]))); break;
        case 2: _t->readyChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->sinkRemoved((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        case 4: _t->sinkInfoReceived((*reinterpret_cast<std::add_pointer_t<PulseAudioDevice>>(_a[1]))); break;
        case 5: _t->commitDeviceVolume((*reinterpret_cast<std::add_pointer_t<AudioDevice*>>(_a[1]))); break;
        case 6: _t->retrieveSinkInfo((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        case 7: _t->setMute((*reinterpret_cast<std::add_pointer_t<AudioDevice*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 8: _t->setContextState((*reinterpret_cast<std::add_pointer_t<pa_context_state_t>>(_a[1]))); break;
        case 9: _t->setIgnoreMaxVolume((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->handleContextStateChanged(); break;
        case 11: _t->connectContext(); break;
        case 12: _t->removeSink((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        case 13: _t->addOrUpdateSink((*reinterpret_cast<std::add_pointer_t<PulseAudioDevice>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PulseAudioEngine::*)(uint32_t )>(_a, &PulseAudioEngine::sinkInfoChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PulseAudioEngine::*)(pa_context_state_t )>(_a, &PulseAudioEngine::contextStateChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PulseAudioEngine::*)(bool )>(_a, &PulseAudioEngine::readyChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PulseAudioEngine::*)(uint32_t )>(_a, &PulseAudioEngine::sinkRemoved, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PulseAudioEngine::*)(const PulseAudioDevice & )>(_a, &PulseAudioEngine::sinkInfoReceived, 4))
            return;
    }
}

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

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

int PulseAudioEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AudioEngine::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void PulseAudioEngine::sinkInfoChanged(uint32_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void PulseAudioEngine::contextStateChanged(pa_context_state_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void PulseAudioEngine::readyChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void PulseAudioEngine::sinkRemoved(uint32_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void PulseAudioEngine::sinkInfoReceived(const PulseAudioDevice & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
