| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#ifndef KCOLORSCHEMEWATCHER_XDG_H |
| 8 |
#define KCOLORSCHEMEWATCHER_XDG_H |
| 9 |
|
| 10 |
#include "kcolorschemewatcherbackend.h" |
| 11 |
|
| 12 |
#include <QDBusVariant> |
| 13 |
|
| 14 |
class KColorSchemeWatcherXDG : public KColorSchemeWatcherBackend |
| 15 |
{ |
| 16 |
Q_OBJECT |
| 17 |
public: |
| 18 |
KColorSchemeWatcherXDG(); |
| 19 |
KColorSchemeWatcher::ColorPreference systemPreference() const override; |
| 20 |
|
| 21 |
private Q_SLOTS: |
| 22 |
void slotSettingChanged(QString, QString, QDBusVariant); |
| 23 |
|
| 24 |
private: |
| 25 |
KColorSchemeWatcher::ColorPreference fdoToInternal(uint value) const; |
| 26 |
KColorSchemeWatcher::ColorPreference m_preference = KColorSchemeWatcher::NoPreference; |
| 27 |
}; |
| 28 |
|
| 29 |
#endif |