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

template <> constexpr inline auto AudioSettings::qt_create_metaobjectdata<qt_meta_tag_ZN13AudioSettingsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AudioSettings",
        "QML.Element",
        "auto",
        "QML.Singleton",
        "true",
        "PreferredLanguageChanged",
        "",
        "PreferredTrackChanged",
        "VolumeChanged",
        "VolumeStepChanged",
        "ReplayGainChanged",
        "ReplayGainPreampChanged",
        "ReplayGainPreventClipChanged",
        "ReplayGainFallbackChanged",
        "preferredLanguage",
        "isPreferredLanguageImmutable",
        "preferredTrack",
        "isPreferredTrackImmutable",
        "volume",
        "isVolumeImmutable",
        "defaultVolumeValue",
        "volumeStep",
        "isVolumeStepImmutable",
        "defaultVolumeStepValue",
        "replayGain",
        "isReplayGainImmutable",
        "defaultReplayGainValue",
        "replayGainPreamp",
        "isReplayGainPreampImmutable",
        "defaultReplayGainPreampValue",
        "replayGainPreventClip",
        "isReplayGainPreventClipImmutable",
        "defaultReplayGainPreventClipValue",
        "replayGainFallback",
        "isReplayGainFallbackImmutable",
        "defaultReplayGainFallbackValue"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'PreferredLanguageChanged'
        QtMocHelpers::SignalData<void()>(5, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'PreferredTrackChanged'
        QtMocHelpers::SignalData<void()>(7, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'VolumeChanged'
        QtMocHelpers::SignalData<void()>(8, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'VolumeStepChanged'
        QtMocHelpers::SignalData<void()>(9, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ReplayGainChanged'
        QtMocHelpers::SignalData<void()>(10, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ReplayGainPreampChanged'
        QtMocHelpers::SignalData<void()>(11, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ReplayGainPreventClipChanged'
        QtMocHelpers::SignalData<void()>(12, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ReplayGainFallbackChanged'
        QtMocHelpers::SignalData<void()>(13, 6, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'preferredLanguage'
        QtMocHelpers::PropertyData<QString>(14, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'isPreferredLanguageImmutable'
        QtMocHelpers::PropertyData<bool>(15, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'preferredTrack'
        QtMocHelpers::PropertyData<int>(16, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'isPreferredTrackImmutable'
        QtMocHelpers::PropertyData<bool>(17, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'volume'
        QtMocHelpers::PropertyData<int>(18, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'isVolumeImmutable'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'defaultVolumeValue'
        QtMocHelpers::PropertyData<int>(20, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'volumeStep'
        QtMocHelpers::PropertyData<int>(21, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'isVolumeStepImmutable'
        QtMocHelpers::PropertyData<bool>(22, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'defaultVolumeStepValue'
        QtMocHelpers::PropertyData<int>(23, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'replayGain'
        QtMocHelpers::PropertyData<QString>(24, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'isReplayGainImmutable'
        QtMocHelpers::PropertyData<bool>(25, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'defaultReplayGainValue'
        QtMocHelpers::PropertyData<QString>(26, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'replayGainPreamp'
        QtMocHelpers::PropertyData<int>(27, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'isReplayGainPreampImmutable'
        QtMocHelpers::PropertyData<bool>(28, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'defaultReplayGainPreampValue'
        QtMocHelpers::PropertyData<int>(29, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'replayGainPreventClip'
        QtMocHelpers::PropertyData<bool>(30, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'isReplayGainPreventClipImmutable'
        QtMocHelpers::PropertyData<bool>(31, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'defaultReplayGainPreventClipValue'
        QtMocHelpers::PropertyData<bool>(32, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'replayGainFallback'
        QtMocHelpers::PropertyData<int>(33, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 7),
        // property 'isReplayGainFallbackImmutable'
        QtMocHelpers::PropertyData<bool>(34, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'defaultReplayGainFallbackValue'
        QtMocHelpers::PropertyData<int>(35, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<AudioSettings, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject AudioSettings::staticMetaObject = { {
    QMetaObject::SuperData::link<KConfigSkeleton::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13AudioSettingsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13AudioSettingsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13AudioSettingsE_t>.metaTypes,
    nullptr
} };

void AudioSettings::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AudioSettings *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->PreferredLanguageChanged(); break;
        case 1: _t->PreferredTrackChanged(); break;
        case 2: _t->VolumeChanged(); break;
        case 3: _t->VolumeStepChanged(); break;
        case 4: _t->ReplayGainChanged(); break;
        case 5: _t->ReplayGainPreampChanged(); break;
        case 6: _t->ReplayGainPreventClipChanged(); break;
        case 7: _t->ReplayGainFallbackChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AudioSettings::*)()>(_a, &AudioSettings::PreferredLanguageChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AudioSettings::*)()>(_a, &AudioSettings::PreferredTrackChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AudioSettings::*)()>(_a, &AudioSettings::VolumeChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AudioSettings::*)()>(_a, &AudioSettings::VolumeStepChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AudioSettings::*)()>(_a, &AudioSettings::ReplayGainChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (AudioSettings::*)()>(_a, &AudioSettings::ReplayGainPreampChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (AudioSettings::*)()>(_a, &AudioSettings::ReplayGainPreventClipChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (AudioSettings::*)()>(_a, &AudioSettings::ReplayGainFallbackChanged, 7))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->preferredLanguage(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isPreferredLanguageImmutable(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->preferredTrack(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->isPreferredTrackImmutable(); break;
        case 4: *reinterpret_cast<int*>(_v) = _t->volume(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->isVolumeImmutable(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->defaultVolumeValue(); break;
        case 7: *reinterpret_cast<int*>(_v) = _t->volumeStep(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->isVolumeStepImmutable(); break;
        case 9: *reinterpret_cast<int*>(_v) = _t->defaultVolumeStepValue(); break;
        case 10: *reinterpret_cast<QString*>(_v) = _t->replayGain(); break;
        case 11: *reinterpret_cast<bool*>(_v) = _t->isReplayGainImmutable(); break;
        case 12: *reinterpret_cast<QString*>(_v) = _t->defaultReplayGainValue(); break;
        case 13: *reinterpret_cast<int*>(_v) = _t->replayGainPreamp(); break;
        case 14: *reinterpret_cast<bool*>(_v) = _t->isReplayGainPreampImmutable(); break;
        case 15: *reinterpret_cast<int*>(_v) = _t->defaultReplayGainPreampValue(); break;
        case 16: *reinterpret_cast<bool*>(_v) = _t->replayGainPreventClip(); break;
        case 17: *reinterpret_cast<bool*>(_v) = _t->isReplayGainPreventClipImmutable(); break;
        case 18: *reinterpret_cast<bool*>(_v) = _t->defaultReplayGainPreventClipValue(); break;
        case 19: *reinterpret_cast<int*>(_v) = _t->replayGainFallback(); break;
        case 20: *reinterpret_cast<bool*>(_v) = _t->isReplayGainFallbackImmutable(); break;
        case 21: *reinterpret_cast<int*>(_v) = _t->defaultReplayGainFallbackValue(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPreferredLanguage(*reinterpret_cast<QString*>(_v)); break;
        case 2: _t->setPreferredTrack(*reinterpret_cast<int*>(_v)); break;
        case 4: _t->setVolume(*reinterpret_cast<int*>(_v)); break;
        case 7: _t->setVolumeStep(*reinterpret_cast<int*>(_v)); break;
        case 10: _t->setReplayGain(*reinterpret_cast<QString*>(_v)); break;
        case 13: _t->setReplayGainPreamp(*reinterpret_cast<int*>(_v)); break;
        case 16: _t->setReplayGainPreventClip(*reinterpret_cast<bool*>(_v)); break;
        case 19: _t->setReplayGainFallback(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

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

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

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

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

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

// SIGNAL 7
void AudioSettings::ReplayGainFallbackChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
