/* This file is part of the KDE libraries SPDX-FileCopyrightText: 2023 Ismael Asensio SPDX-License-Identifier: LGPL-2.0-only */ #ifndef SOUNDTHEMECONFIG_H #define SOUNDTHEMECONFIG_H #include #include class SoundThemeConfig : public QObject { Q_OBJECT public: explicit SoundThemeConfig(QObject *parent = nullptr); QString soundTheme() const; Q_SIGNALS: void soundThemeChanged(const QString &theme); private Q_SLOTS: void kdeglobalsChanged(const KConfigGroup &group, const QByteArrayList &names); private: QString m_soundTheme; KConfigWatcher::Ptr m_configWatcher; }; #endif