summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-04-02 12:57:56 +0200
committerLars Knoll <lars.knoll@qt.io>2020-04-15 14:38:23 +0200
commit48794f5057f49373a7b8803db8bab7131e04575c (patch)
treea65a490bf0f55ec9b67f8ad74ba92dfa25a7eae2 /examples/widgets/doc
parent52d91508fd391c6dd1eb0312902cd50759eedad2 (diff)
Port example over to QRegularExpression
Change-Id: I1e15bfa0a2973aabcad78f3eba4bb4903f8f3f6f Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/widgets/doc')
-rw-r--r--examples/widgets/doc/src/customsortfiltermodel.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/widgets/doc/src/customsortfiltermodel.qdoc b/examples/widgets/doc/src/customsortfiltermodel.qdoc
index 97725ead04..ebbd29a921 100644
--- a/examples/widgets/doc/src/customsortfiltermodel.qdoc
+++ b/examples/widgets/doc/src/customsortfiltermodel.qdoc
@@ -250,15 +250,15 @@
The \c textFilterChanged() function is called whenever the user
changes the filter pattern or the case sensitivity.
- We first retrieve the preferred syntax (the QRegExp::PatternSyntax
+ We first retrieve the preferred syntax (the FilterWidget::PatternSyntax
enum is used to interpret the meaning of the given pattern), then
we determine the preferred case sensitivity. Based on these
preferences and the current filter pattern, we set the proxy
- model's \l {QSortFilterProxyModel::}{filterRegExp} property. The
- \l {QSortFilterProxyModel::}{filterRegExp} property holds the
+ model's \l {QSortFilterProxyModel::}{filterRegularExpression} property. The
+ \l {QSortFilterProxyModel::}{filterRegularExpression} property holds the
regular expression used to filter the contents of the source
model. Note that calling QSortFilterProxyModel's \l
- {QSortFilterProxyModel::}{setFilterRegExp()} function also updates
+ {QSortFilterProxyModel::}{setFilterRegularExpression()} function also updates
the model.
\snippet itemviews/customsortfiltermodel/window.cpp 9