File indexing completed on 2025-01-05 04:49:49

0001 /*
0002  * SPDX-FileCopyrightText: 2016 Daniel Vrátil <dvratil@kde.org>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-or-later
0005  *
0006  */
0007 
0008 #pragma once
0009 
0010 #include <QObject>
0011 
0012 class SettingsChangeNotifier : public QObject
0013 {
0014     Q_OBJECT
0015 
0016 public:
0017     static SettingsChangeNotifier *self();
0018 
0019     ~SettingsChangeNotifier() override;
0020 
0021     void notifySettingsChanged();
0022 
0023 Q_SIGNALS:
0024     void settingsChanged();
0025 
0026 private:
0027     explicit SettingsChangeNotifier(QObject *parent = nullptr);
0028 };