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

template <> constexpr inline auto PulseAudioQt::Profile::qt_create_metaobjectdata<qt_meta_tag_ZN12PulseAudioQt7ProfileE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PulseAudioQt::Profile",
        "descriptionChanged",
        "",
        "priorityChanged",
        "availabilityChanged",
        "sinkCountChanged",
        "sourceCountChanged",
        "description",
        "priority",
        "availability",
        "Availability",
        "sinkCount",
        "sourceCount",
        "Unknown",
        "Available",
        "Unavailable"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'descriptionChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'priorityChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'availabilityChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sinkCountChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sourceCountChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'description'
        QtMocHelpers::PropertyData<QString>(7, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'priority'
        QtMocHelpers::PropertyData<quint32>(8, QMetaType::UInt, QMC::DefaultPropertyFlags, 1),
        // property 'availability'
        QtMocHelpers::PropertyData<enum Availability>(9, 0x80000000 | 10, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 2),
        // property 'sinkCount'
        QtMocHelpers::PropertyData<quint32>(11, QMetaType::UInt, QMC::DefaultPropertyFlags, 3),
        // property 'sourceCount'
        QtMocHelpers::PropertyData<quint32>(12, QMetaType::UInt, QMC::DefaultPropertyFlags, 4),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Availability'
        QtMocHelpers::EnumData<enum Availability>(10, 10, QMC::EnumFlags{}).add({
            {   13, Availability::Unknown },
            {   14, Availability::Available },
            {   15, Availability::Unavailable },
        }),
    };
    return QtMocHelpers::metaObjectData<Profile, qt_meta_tag_ZN12PulseAudioQt7ProfileE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PulseAudioQt::Profile::staticMetaObject = { {
    QMetaObject::SuperData::link<PulseObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PulseAudioQt7ProfileE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PulseAudioQt7ProfileE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12PulseAudioQt7ProfileE_t>.metaTypes,
    nullptr
} };

void PulseAudioQt::Profile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Profile *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->descriptionChanged(); break;
        case 1: _t->priorityChanged(); break;
        case 2: _t->availabilityChanged(); break;
        case 3: _t->sinkCountChanged(); break;
        case 4: _t->sourceCountChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Profile::*)()>(_a, &Profile::descriptionChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Profile::*)()>(_a, &Profile::priorityChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Profile::*)()>(_a, &Profile::availabilityChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Profile::*)()>(_a, &Profile::sinkCountChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Profile::*)()>(_a, &Profile::sourceCountChanged, 4))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->description(); break;
        case 1: *reinterpret_cast<quint32*>(_v) = _t->priority(); break;
        case 2: *reinterpret_cast<enum Availability*>(_v) = _t->availability(); break;
        case 3: *reinterpret_cast<quint32*>(_v) = _t->sinkCount(); break;
        case 4: *reinterpret_cast<quint32*>(_v) = _t->sourceCount(); break;
        default: break;
        }
    }
}

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

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

int PulseAudioQt::Profile::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PulseObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 5;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void PulseAudioQt::Profile::descriptionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void PulseAudioQt::Profile::priorityChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void PulseAudioQt::Profile::availabilityChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void PulseAudioQt::Profile::sinkCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void PulseAudioQt::Profile::sourceCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
