summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/lineedits.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/examples/lineedits.qdoc')
-rw-r--r--doc/src/examples/lineedits.qdoc12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/examples/lineedits.qdoc b/doc/src/examples/lineedits.qdoc
index f30f4aee29..70d85cff69 100644
--- a/doc/src/examples/lineedits.qdoc
+++ b/doc/src/examples/lineedits.qdoc
@@ -115,7 +115,7 @@
The slots respond to signals emitted when the comboboxes are changed by the
user.
- When the combobox for the \gui{Echo} group box is changed, the \c echoChanged()
+ When the combobox for the \uicontrol{Echo} group box is changed, the \c echoChanged()
slot is called:
\snippet examples/widgets/lineedits/window.cpp 9
@@ -123,7 +123,7 @@
The slot updates the line edit in the same group box to use an echo mode that
corresponds to the entry described in the combobox.
- When the combobox for the \gui{Validator} group box is changed, the
+ When the combobox for the \uicontrol{Validator} group box is changed, the
\c validatorChanged() slot is called:
\snippet examples/widgets/lineedits/window.cpp 10
@@ -133,7 +133,7 @@
We clear the line edit in this case to ensure that the new validator is
initially given valid input to work with.
- When the combobox for the \gui{Alignment} group box is changed, the
+ When the combobox for the \uicontrol{Alignment} group box is changed, the
\c alignmentChanged() slot is called:
\snippet examples/widgets/lineedits/window.cpp 11
@@ -142,7 +142,7 @@
the description selected in the combobox.
The \c inputMaskChanged() slot handles changes to the combobox in the
- \gui{Input Mask} group box:
+ \uicontrol{Input Mask} group box:
\snippet examples/widgets/lineedits/window.cpp 12
@@ -151,11 +151,11 @@
the mask is disabled if an empty string is used.
The \c accessChanged() slot handles changes to the combobox in the
- \gui{Access} group box:
+ \uicontrol{Access} group box:
\snippet examples/widgets/lineedits/window.cpp 13
- Here, we simply associate the \gui{False} and \gui{True} entries in the combobox
+ Here, we simply associate the \uicontrol{False} and \uicontrol{True} entries in the combobox
with \c false and \c true values to be passed to QLineEdit::setReadOnly(). This
allows the user to enable and disable input to the line edit.
*/