Fix example documentation to not mention QRegExp anymore
Change-Id: I2761d8efef31a3b890de9cab78589f1d6c03f62d Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
ea6c69bd6a
commit
466a424514
@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
QSortFilterProxyModel is the class responsible for filtering
|
QSortFilterProxyModel is the class responsible for filtering
|
||||||
the contacts for each group of contacts. Each proxy model uses
|
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
|
corresponding alphabetical group. The \c AddDialog class is
|
||||||
used to obtain information from the user for the address book.
|
used to obtain information from the user for the address book.
|
||||||
This QDialog subclass is instantiated by \c NewAddressTab to
|
This QDialog subclass is instantiated by \c NewAddressTab to
|
||||||
@ -199,7 +199,7 @@
|
|||||||
group tabs, table views and proxy models in
|
group tabs, table views and proxy models in
|
||||||
\c AddressWidget. Each proxy model in turn is set to filter
|
\c AddressWidget. Each proxy model in turn is set to filter
|
||||||
contact names according to the relevant alphabet group using a
|
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
|
table views are also sorted in ascending order using the
|
||||||
corresponding proxy model's \l{QSortFilterProxyModel::}{sort()}
|
corresponding proxy model's \l{QSortFilterProxyModel::}{sort()}
|
||||||
function.
|
function.
|
||||||
|
@ -40,9 +40,6 @@
|
|||||||
case insensitive matching, multiline matching, Unicode properties selectors
|
case insensitive matching, multiline matching, Unicode properties selectors
|
||||||
and partial/incremental matching.
|
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
|
\image regularexpression-example.png
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user