KGuiAddons

kcolorschemewatcher_xdg.h
1/*
2 * SPDX-FileCopyrightText: 2021 Nicolas Fella <nicolas.fella@gmx.de>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KCOLORSCHEMEWATCHER_XDG_H
8#define KCOLORSCHEMEWATCHER_XDG_H
9
10#include "kcolorschemewatcherbackend.h"
11
12#include <QDBusVariant>
13
14class KColorSchemeWatcherXDG : public KColorSchemeWatcherBackend
15{
17public:
18 KColorSchemeWatcherXDG();
19 KColorSchemeWatcher::ColorPreference systemPreference() const override;
20
21private Q_SLOTS:
22 void slotSettingChanged(QString, QString, QDBusVariant);
23
24private:
25 KColorSchemeWatcher::ColorPreference fdoToInternal(uint value) const;
26 KColorSchemeWatcher::ColorPreference m_preference = KColorSchemeWatcher::NoPreference;
27};
28
29#endif
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.