diff options
author | Tor Arne Vestbø <[email protected]> | 2023-02-09 14:16:05 +0100 |
---|---|---|
committer | Axel Spoerl <[email protected]> | 2023-02-15 11:43:49 +0100 |
commit | c22cf6dc072671ab457cebfd48fa28e89d0db4c0 (patch) | |
tree | dca9819aa045f4e6aa164647671d328d37e3a649 /src/gui/kernel/qstylehints.h | |
parent | 9a7a12692fcc0849e56d8f85d7d201483c3e0aec (diff) |
Rename Qt::Appearance to Qt::ColorScheme
Based on discussions in the 6.5 API review, where we concluded that
'appearance' is too general. Instead, we follow the CSS standard
and use the term 'color scheme'.
Change-Id: I8ceaf4138ecadff5ccd962480e8e5beb39b556ec
Reviewed-by: Axel Spoerl <[email protected]>
Reviewed-by: Jonas Kvinge <[email protected]>
Reviewed-by: Timur Pocheptsov <[email protected]>
(cherry picked from commit 32749c913b32e89e2027227233794f2296166cc6)
Diffstat (limited to 'src/gui/kernel/qstylehints.h')
-rw-r--r-- | src/gui/kernel/qstylehints.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/kernel/qstylehints.h b/src/gui/kernel/qstylehints.h index cae5a64f858..969bec4b358 100644 --- a/src/gui/kernel/qstylehints.h +++ b/src/gui/kernel/qstylehints.h @@ -52,7 +52,6 @@ class Q_GUI_EXPORT QStyleHints : public QObject Q_PROPERTY(int mouseDoubleClickDistance READ mouseDoubleClickDistance STORED false CONSTANT FINAL) Q_PROPERTY(int touchDoubleTapDistance READ touchDoubleTapDistance STORED false CONSTANT FINAL) - Q_PROPERTY(Qt::Appearance appearance READ appearance NOTIFY appearanceChanged FINAL) Q_PROPERTY(Qt::ColorScheme colorScheme READ colorScheme NOTIFY colorSchemeChanged FINAL) public: @@ -94,7 +93,6 @@ public: void setWheelScrollLines(int scrollLines); void setMouseQuickSelectionThreshold(int threshold); int mouseQuickSelectionThreshold() const; - Qt::Appearance appearance() const; Qt::ColorScheme colorScheme() const; Q_SIGNALS: @@ -109,7 +107,6 @@ Q_SIGNALS: void showShortcutsInContextMenusChanged(bool); void wheelScrollLinesChanged(int scrollLines); void mouseQuickSelectionThresholdChanged(int threshold); - void appearanceChanged(Qt::Appearance appearance); void colorSchemeChanged(Qt::ColorScheme colorScheme); private: |