/****************************************************************************
** Meta object code from reading C++ file 'context.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 "../../../../pulseaudio-qt-1.8.1/src/context.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 'context.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_ZN12PulseAudioQt7ContextE_t {};
} // unnamed namespace

template <> constexpr inline auto PulseAudioQt::Context::qt_create_metaobjectdata<qt_meta_tag_ZN12PulseAudioQt7ContextE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PulseAudioQt::Context",
        "sinkAdded",
        "",
        "PulseAudioQt::Sink*",
        "sink",
        "sinkRemoved",
        "sinkInputAdded",
        "PulseAudioQt::SinkInput*",
        "sinkInput",
        "sinkInputRemoved",
        "sourceAdded",
        "PulseAudioQt::Source*",
        "source",
        "sourceRemoved",
        "sourceOutputAdded",
        "PulseAudioQt::SourceOutput*",
        "sourceOutput",
        "sourceOutputRemoved",
        "clientAdded",
        "PulseAudioQt::Client*",
        "client",
        "clientRemoved",
        "cardAdded",
        "PulseAudioQt::Card*",
        "card",
        "cardRemoved",
        "moduleAdded",
        "PulseAudioQt::Module*",
        "module",
        "moduleRemoved",
        "streamRestoreAdded",
        "PulseAudioQt::StreamRestore*",
        "streamRestore",
        "streamRestoreRemoved",
        "stateChanged",
        "autoConnectingChanged",
        "reconnectDaemon",
        "state",
        "State",
        "autoConnecting",
        "Unconnected",
        "Connecting",
        "Authorizing",
        "SettingName",
        "Ready",
        "Failed",
        "Terminated"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sinkAdded'
        QtMocHelpers::SignalData<void(PulseAudioQt::Sink *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'sinkRemoved'
        QtMocHelpers::SignalData<void(PulseAudioQt::Sink *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'sinkInputAdded'
        QtMocHelpers::SignalData<void(PulseAudioQt::SinkInput *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'sinkInputRemoved'
        QtMocHelpers::SignalData<void(PulseAudioQt::SinkInput *)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'sourceAdded'
        QtMocHelpers::SignalData<void(PulseAudioQt::Source *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Signal 'sourceRemoved'
        QtMocHelpers::SignalData<void(PulseAudioQt::Source *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Signal 'sourceOutputAdded'
        QtMocHelpers::SignalData<void(PulseAudioQt::SourceOutput *)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Signal 'sourceOutputRemoved'
        QtMocHelpers::SignalData<void(PulseAudioQt::SourceOutput *)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Signal 'clientAdded'
        QtMocHelpers::SignalData<void(PulseAudioQt::Client *)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Signal 'clientRemoved'
        QtMocHelpers::SignalData<void(PulseAudioQt::Client *)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Signal 'cardAdded'
        QtMocHelpers::SignalData<void(PulseAudioQt::Card *)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Signal 'cardRemoved'
        QtMocHelpers::SignalData<void(PulseAudioQt::Card *)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Signal 'moduleAdded'
        QtMocHelpers::SignalData<void(PulseAudioQt::Module *)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Signal 'moduleRemoved'
        QtMocHelpers::SignalData<void(PulseAudioQt::Module *)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Signal 'streamRestoreAdded'
        QtMocHelpers::SignalData<void(PulseAudioQt::StreamRestore *)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Signal 'streamRestoreRemoved'
        QtMocHelpers::SignalData<void(PulseAudioQt::StreamRestore *)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Signal 'stateChanged'
        QtMocHelpers::SignalData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'autoConnectingChanged'
        QtMocHelpers::SignalData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reconnectDaemon'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'state'
        QtMocHelpers::PropertyData<enum State>(37, 0x80000000 | 38, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 16),
        // property 'autoConnecting'
        QtMocHelpers::PropertyData<bool>(39, QMetaType::Bool, QMC::DefaultPropertyFlags, 17),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'State'
        QtMocHelpers::EnumData<enum State>(38, 38, QMC::EnumIsScoped).add({
            {   40, State::Unconnected },
            {   41, State::Connecting },
            {   42, State::Authorizing },
            {   43, State::SettingName },
            {   44, State::Ready },
            {   45, State::Failed },
            {   46, State::Terminated },
        }),
    };
    return QtMocHelpers::metaObjectData<Context, qt_meta_tag_ZN12PulseAudioQt7ContextE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PulseAudioQt::Context::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PulseAudioQt7ContextE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PulseAudioQt7ContextE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12PulseAudioQt7ContextE_t>.metaTypes,
    nullptr
} };

void PulseAudioQt::Context::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Context *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sinkAdded((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Sink*>>(_a[1]))); break;
        case 1: _t->sinkRemoved((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Sink*>>(_a[1]))); break;
        case 2: _t->sinkInputAdded((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::SinkInput*>>(_a[1]))); break;
        case 3: _t->sinkInputRemoved((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::SinkInput*>>(_a[1]))); break;
        case 4: _t->sourceAdded((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Source*>>(_a[1]))); break;
        case 5: _t->sourceRemoved((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Source*>>(_a[1]))); break;
        case 6: _t->sourceOutputAdded((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::SourceOutput*>>(_a[1]))); break;
        case 7: _t->sourceOutputRemoved((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::SourceOutput*>>(_a[1]))); break;
        case 8: _t->clientAdded((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Client*>>(_a[1]))); break;
        case 9: _t->clientRemoved((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Client*>>(_a[1]))); break;
        case 10: _t->cardAdded((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Card*>>(_a[1]))); break;
        case 11: _t->cardRemoved((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Card*>>(_a[1]))); break;
        case 12: _t->moduleAdded((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Module*>>(_a[1]))); break;
        case 13: _t->moduleRemoved((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::Module*>>(_a[1]))); break;
        case 14: _t->streamRestoreAdded((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::StreamRestore*>>(_a[1]))); break;
        case 15: _t->streamRestoreRemoved((*reinterpret_cast<std::add_pointer_t<PulseAudioQt::StreamRestore*>>(_a[1]))); break;
        case 16: _t->stateChanged(); break;
        case 17: _t->autoConnectingChanged(); break;
        case 18: _t->reconnectDaemon(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Sink * )>(_a, &Context::sinkAdded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Sink * )>(_a, &Context::sinkRemoved, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::SinkInput * )>(_a, &Context::sinkInputAdded, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::SinkInput * )>(_a, &Context::sinkInputRemoved, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Source * )>(_a, &Context::sourceAdded, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Source * )>(_a, &Context::sourceRemoved, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::SourceOutput * )>(_a, &Context::sourceOutputAdded, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::SourceOutput * )>(_a, &Context::sourceOutputRemoved, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Client * )>(_a, &Context::clientAdded, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Client * )>(_a, &Context::clientRemoved, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Card * )>(_a, &Context::cardAdded, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Card * )>(_a, &Context::cardRemoved, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Module * )>(_a, &Context::moduleAdded, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::Module * )>(_a, &Context::moduleRemoved, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::StreamRestore * )>(_a, &Context::streamRestoreAdded, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)(PulseAudioQt::StreamRestore * )>(_a, &Context::streamRestoreRemoved, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)()>(_a, &Context::stateChanged, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (Context::*)()>(_a, &Context::autoConnectingChanged, 17))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<enum State*>(_v) = _t->state(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isAutoConnecting(); break;
        default: break;
        }
    }
}

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

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

int PulseAudioQt::Context::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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 19;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void PulseAudioQt::Context::sinkAdded(PulseAudioQt::Sink * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void PulseAudioQt::Context::sinkRemoved(PulseAudioQt::Sink * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void PulseAudioQt::Context::sinkInputAdded(PulseAudioQt::SinkInput * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void PulseAudioQt::Context::sinkInputRemoved(PulseAudioQt::SinkInput * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void PulseAudioQt::Context::sourceAdded(PulseAudioQt::Source * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void PulseAudioQt::Context::sourceRemoved(PulseAudioQt::Source * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void PulseAudioQt::Context::sourceOutputAdded(PulseAudioQt::SourceOutput * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void PulseAudioQt::Context::sourceOutputRemoved(PulseAudioQt::SourceOutput * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void PulseAudioQt::Context::clientAdded(PulseAudioQt::Client * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void PulseAudioQt::Context::clientRemoved(PulseAudioQt::Client * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void PulseAudioQt::Context::cardAdded(PulseAudioQt::Card * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void PulseAudioQt::Context::cardRemoved(PulseAudioQt::Card * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void PulseAudioQt::Context::moduleAdded(PulseAudioQt::Module * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void PulseAudioQt::Context::moduleRemoved(PulseAudioQt::Module * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void PulseAudioQt::Context::streamRestoreAdded(PulseAudioQt::StreamRestore * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void PulseAudioQt::Context::streamRestoreRemoved(PulseAudioQt::StreamRestore * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}

// SIGNAL 16
void PulseAudioQt::Context::stateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 16, nullptr);
}

// SIGNAL 17
void PulseAudioQt::Context::autoConnectingChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 17, nullptr);
}
QT_WARNING_POP
