From 466a4245142d490890d11580c956d9288fab3ad3 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 2 Apr 2020 13:00:03 +0200 Subject: Fix example documentation to not mention QRegExp anymore Change-Id: I2761d8efef31a3b890de9cab78589f1d6c03f62d Reviewed-by: Paul Wicking --- examples/widgets/doc/src/addressbook.qdoc | 4 ++-- examples/widgets/doc/src/regularexpression.qdoc | 3 --- 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()} function. 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 */ -- cgit v1.2.3