summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorKavindra Devi Palaraja <kavindra.palaraja@nokia.com>2009-08-17 14:12:55 (GMT)
committerKavindra Devi Palaraja <kavindra.palaraja@nokia.com>2009-08-17 14:12:55 (GMT)
commitb31244b59396abea08254cb649eb1f59b2f8ed55 (patch)
treee213c7458f12e4894657a7a0a49a64b11a2fd910 /src/gui/itemviews
parent55e3c88a002de2a99e144df82ad7ac375a7c51aa (diff)
downloadQt-b31244b59396abea08254cb649eb1f59b2f8ed55.zip
Qt-b31244b59396abea08254cb649eb1f59b2f8ed55.tar.gz
Qt-b31244b59396abea08254cb649eb1f59b2f8ed55.tar.bz2
Doc - mentioned that if no QRegExp is set, or an empty string is set,
everything in the source model will be accepted. Task: 251308 Reviewed-By: Olivier Goffart
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qsortfilterproxymodel.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/itemviews/qsortfilterproxymodel.cpp b/src/gui/itemviews/qsortfilterproxymodel.cpp
index aef59b5..d173efe 100644
--- a/src/gui/itemviews/qsortfilterproxymodel.cpp
+++ b/src/gui/itemviews/qsortfilterproxymodel.cpp
@@ -1984,9 +1984,11 @@ Qt::SortOrder QSortFilterProxyModel::sortOrder() const
\brief the QRegExp used to filter the contents of the source model
Setting this property overwrites the current
- \l{QSortFilterProxyModel::filterCaseSensitivity}
- {filterCaseSensitivity}. By default, the QRegExp is an empty
- string matching all contents.
+ \l{QSortFilterProxyModel::filterCaseSensitivity}{filterCaseSensitivity}.
+ By default, the QRegExp is an empty string matching all contents.
+
+ If no QRegExp or an empty string is set, everything in the source model
+ will be accepted.
\sa filterCaseSensitivity, setFilterWildcard(), setFilterFixedString()
*/