summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets')
-rw-r--r--src/widgets/widgets/qabstractbutton.cpp4
-rw-r--r--src/widgets/widgets/qdial.cpp8
-rw-r--r--src/widgets/widgets/qgroupbox.cpp2
-rw-r--r--src/widgets/widgets/qscrollbar.cpp2
4 files changed, 8 insertions, 8 deletions
diff --git a/src/widgets/widgets/qabstractbutton.cpp b/src/widgets/widgets/qabstractbutton.cpp
index c263e5c239..1514fd0fa4 100644
--- a/src/widgets/widgets/qabstractbutton.cpp
+++ b/src/widgets/widgets/qabstractbutton.cpp
@@ -88,8 +88,8 @@ Q_WIDGETS_EXPORT extern bool qt_tab_all_widgets;
\snippet code/src_gui_widgets_qabstractbutton.cpp 0
- The \key Alt+C shortcut is assigned to the button, i.e., when the
- user presses \key Alt+C the button will call animateClick(). See
+ The \uicontrol Alt+C shortcut is assigned to the button, i.e., when the
+ user presses \uicontrol Alt+C the button will call animateClick(). See
the \l {QShortcut#mnemonic}{QShortcut} documentation for details
(to display an actual ampersand, use '&&').
diff --git a/src/widgets/widgets/qdial.cpp b/src/widgets/widgets/qdial.cpp
index e3fe390f2a..38e3d3a655 100644
--- a/src/widgets/widgets/qdial.cpp
+++ b/src/widgets/widgets/qdial.cpp
@@ -215,11 +215,11 @@ int QDialPrivate::valueFromPoint(const QPoint &p) const
subtractPage() available as slots.
The dial's keyboard interface is fairly simple: The
- \key{left}/\key{up} and \key{right}/\key{down} arrow keys adjust
+ \uicontrol{left}/\uicontrol{up} and \uicontrol{right}/\uicontrol{down} arrow keys adjust
the dial's \l {QAbstractSlider::value} {value} by the defined
- \l {QAbstractSlider::singleStep} {singleStep}, \key{Page Up} and
- \key{Page Down} by the defined \l {QAbstractSlider::pageStep}
- {pageStep}, and the \key Home and \key End keys set the value to
+ \l {QAbstractSlider::singleStep} {singleStep}, \uicontrol{Page Up} and
+ \uicontrol{Page Down} by the defined \l {QAbstractSlider::pageStep}
+ {pageStep}, and the \uicontrol Home and \uicontrol End keys set the value to
the defined \l {QAbstractSlider::minimum} {minimum} and
\l {QAbstractSlider::maximum} {maximum} values.
diff --git a/src/widgets/widgets/qgroupbox.cpp b/src/widgets/widgets/qgroupbox.cpp
index 343fc85bc9..64875074a3 100644
--- a/src/widgets/widgets/qgroupbox.cpp
+++ b/src/widgets/widgets/qgroupbox.cpp
@@ -263,7 +263,7 @@ void QGroupBox::setTitle(const QString &title)
\snippet code/src_gui_widgets_qgroupbox.cpp 0
- In the example above, \key Alt+U moves the keyboard focus to the
+ In the example above, \uicontrol Alt+U moves the keyboard focus to the
group box. See the \l {QShortcut#mnemonic}{QShortcut}
documentation for details (to display an actual ampersand, use
'&&').
diff --git a/src/widgets/widgets/qscrollbar.cpp b/src/widgets/widgets/qscrollbar.cpp
index 6ac5473f2e..e896173884 100644
--- a/src/widgets/widgets/qscrollbar.cpp
+++ b/src/widgets/widgets/qscrollbar.cpp
@@ -118,7 +118,7 @@ QT_BEGIN_NAMESPACE
The length of the slider is usually related to the value of the page step,
and typically represents the proportion of the document area shown in a
scrolling view. The page step is the amount that the value changes by
- when the user presses the \key{Page Up} and \key{Page Down} keys, and is
+ when the user presses the \uicontrol{Page Up} and \uicontrol{Page Down} keys, and is
set with setPageStep(). Smaller changes to the value defined by the
line step are made using the cursor keys, and this quantity is set with
\l{QAbstractSlider::}{setSingleStep()}.