KColorSchemeWatcher Class
Information about system-wide color preferences. More...
Header: | #include <KColorSchemeWatcher> |
CMake: | find_package(KF6 REQUIRED COMPONENTS GuiAddons)
target_link_libraries(mytarget PRIVATE KF6::GuiAddons) |
Since: | 5.100 |
Inherits: | QObject |
Public Types
Public Functions
Signals
Detailed Description
Member Type Documentation
enum KColorSchemeWatcher::ColorPreference
Constant | Value | Description |
KColorSchemeWatcher::NoPreference | 0 | No preference available |
KColorSchemeWatcher::PreferDark | 1 | The user prefers a dark color scheme |
KColorSchemeWatcher::PreferLight | 2 | The user prefers a light color scheme |
Member Function Documentation
The system-wide color preference.
void KColorSchemeWatcher::systemPreferenceChanged()
Emitted when systemPreference changes.