Fix example documentation to not mention QRegExp anymore

Change-Id: I2761d8efef31a3b890de9cab78589f1d6c03f62d
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Lars Knoll 2020-04-02 13:00:03 +02:00
parent ea6c69bd6a
commit 466a424514
2 changed files with 2 additions and 5 deletions

View File

@ -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.

View File

@ -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
*/