summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-06-16 09:00:45 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-21 14:50:57 +0000
commit8118633466d3acf2f767f60ddc410cca79e6473f (patch)
tree48bc1f8a3671324c9b325476bdee2d604cfb931b /src
parent85710cf149d4b7f6aa929392206ef9784a2e3888 (diff)
Doc: Add note to Qt::MatchFlags about implementation dependent behavior
Fixes: QTBUG-94374 Change-Id: I7f426c92bf0434998d0793eedd405c1a682a28d9 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> (cherry picked from commit c92c3c19e8ba02eeceff882b71571a076bef504d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/global/qnamespace.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index 4a5de1774a..61a00378ec 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -2832,6 +2832,11 @@
the first item and continues until all items have been examined.
\value MatchRecursive Searches the entire hierarchy.
+ \note Qt::MatchExactly, Qt::MatchContains, Qt::MatchStartsWith,
+ Qt::MatchEndsWith, Qt::MatchRegularExpression, Qt::MatchWildcard, and
+ Qt::MatchFixedString are mutually exclusive. The behavior achieved by
+ setting several of them in a Qt::MatchFlags argument is undefined.
+
\sa QString::compare(), QRegularExpression
*/