path: root/examples/widgets
diff options
Diffstat (limited to 'examples/widgets')
2 files changed, 2 insertions, 5 deletions
diff --git a/examples/widgets/doc/src/addressbook.qdoc b/examples/widgets/doc/src/addressbook.qdoc
index e5e7fe5c2c..ed2b8e90e6 100644
--- a/examples/widgets/doc/src/addressbook.qdoc
+++ b/examples/widgets/doc/src/addressbook.qdoc
@@ -68,7 +68,7 @@
QSortFilterProxyModel is the class responsible for filtering
the contacts for each group of contacts. Each proxy model uses
- a QRegExp to filter out contacts that do not belong in the
+ a QRegularExpression to filter out contacts that do not belong in the
corresponding alphabetical group. The \c AddDialog class is
used to obtain information from the user for the address book.
This QDialog subclass is instantiated by \c NewAddressTab to
@@ -199,7 +199,7 @@
group tabs, table views and proxy models in
\c AddressWidget. Each proxy model in turn is set to filter
contact names according to the relevant alphabet group using a
- \l{Qt::CaseInsensitive}{case-insensitive} QRegExp object. The
+ case-insensitive QRegularExpression object. The
table views are also sorted in ascending order using the
corresponding proxy model's \l{QSortFilterProxyModel::}{sort()}
diff --git a/examples/widgets/doc/src/regularexpression.qdoc b/examples/widgets/doc/src/regularexpression.qdoc
index 2ced25c347..f11679cf6c 100644
--- a/examples/widgets/doc/src/regularexpression.qdoc
+++ b/examples/widgets/doc/src/regularexpression.qdoc
@@ -40,9 +40,6 @@
case insensitive matching, multiline matching, Unicode properties selectors
and partial/incremental matching.
- QRegularExpression is a big improvement over QRegExp in terms of features
- and performance and should be used in all new code.
\image regularexpression-example.png