summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-11-05 14:47:09 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-11-06 10:16:31 +0100
commit4a66fb9d763c94620f44fba61790078c132a5370 (patch)
tree7a24b378faec6ad60bff4451a20896b37b18707d /examples
parent6c8f3a7f8af38299910e2389dbf2bc4cefc65af7 (diff)
Fix a bunch of qdoc warnings
Remove or fix references to removed APIs, and some qdoc syntax fixes. Change-Id: I67d71062cd7a29f4eb74b02199b1482af5e59fc0 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/doc/src/stardelegate.qdoc2
-rw-r--r--examples/widgets/doc/src/styles.qdoc6
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/widgets/doc/src/stardelegate.qdoc b/examples/widgets/doc/src/stardelegate.qdoc
index b33fa3550f..f26424abaf 100644
--- a/examples/widgets/doc/src/stardelegate.qdoc
+++ b/examples/widgets/doc/src/stardelegate.qdoc
@@ -229,7 +229,7 @@
We first set the pen and brush we will use for painting. The \c
mode parameter can be either \c Editable or \c ReadOnly. If \c
mode is editable, we use the \l{QPalette::}{Highlight} color
- instead of the \l{QPalette::}{Foreground} color to draw the
+ instead of the \l{QPalette::}{WindowText} color to draw the
stars.
Then we draw the stars. If we are in \c Edit mode, we paint
diff --git a/examples/widgets/doc/src/styles.qdoc b/examples/widgets/doc/src/styles.qdoc
index 014541a330..99575a84da 100644
--- a/examples/widgets/doc/src/styles.qdoc
+++ b/examples/widgets/doc/src/styles.qdoc
@@ -123,7 +123,7 @@
We initialize the palette. Palettes have various
\l{QPalette::ColorRole}{color roles}, such as QPalette::Base
(used for filling text editors, item views, etc.), QPalette::Text
- (used for foreground text), and QPalette::Background (used for
+ (used for foreground text), and QPalette::Window (used for
the background of most widgets). Each role has its own QBrush,
which usually is a plain color but can also be a brush pattern or
even a texture (a QPixmap).
@@ -266,7 +266,7 @@
\list
\li If the button is a \l{QPushButton::flat}{flat button}, we use
- the \l{QPalette::Background}{Background} brush. We set \c
+ the \l{QPalette::Window}{Window} brush. We set \c
darker to \c true if the button is
\l{QAbstractButton::down}{down} or
\l{QAbstractButton::checked}{checked}.
@@ -350,7 +350,7 @@
The bottom-right part of the outline is drawn in a similar
fashion. Then we draw a one-pixel wide outline around the entire
- button, using the \l{QPalette::Foreground}{Foreground} component
+ button, using the \l{QPalette::WindowText}{WindowText} component
of the QPalette.
This completes the QStyle::PE_PanelButtonCommand case of the \c