summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2017-01-21 23:39:52 +0100
committerSamuel Gaist <samuel.gaist@edeltech.ch>2017-01-24 20:28:22 +0000
commit992bffdba587a1885e844570a0d04b15cda9fa3f (patch)
tree84f5167f0ccac808d46ba76907e97102e88ae204 /examples/widgets
parent9170cf9f1d57b6c31d58511b04759942d640b57c (diff)
Doc: Fixed old text still mentioning QRegExp
The example has already been ported to QRegularExpression however part of the documentation still referred to the QRegExp class. This patch updates the documentation to match the new version of the code. Change-Id: Id433d0b28deae0c4f702c0c54d2704174f8c7689 Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
Diffstat (limited to 'examples/widgets')
-rw-r--r--examples/widgets/doc/src/icons.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/doc/src/icons.qdoc b/examples/widgets/doc/src/icons.qdoc
index d3bf508f2c..42d823975b 100644
--- a/examples/widgets/doc/src/icons.qdoc
+++ b/examples/widgets/doc/src/icons.qdoc
@@ -741,8 +741,8 @@
whitespace and one or several digits again.
The first digits of the regular expression are captured using
- parentheses. This enables us to use the QRegExp::cap() or
- QRegExp::capturedTexts() functions to extract the matched
+ parentheses. This enables us to use the QRegularExpressionMatch::captured()
+ or QRegularExpressionMatch::capturedTexts() functions to extract the matched
characters. If the first and second numbers of the spin box value
differ (e.g., "16 x 24"), we use the first number.