diff options
Diffstat (limited to 'src/corelib/text/qstringmatcher.h')
-rw-r--r-- | src/corelib/text/qstringmatcher.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/text/qstringmatcher.h b/src/corelib/text/qstringmatcher.h index 581d8931e4..937f17df0a 100644 --- a/src/corelib/text/qstringmatcher.h +++ b/src/corelib/text/qstringmatcher.h @@ -40,6 +40,9 @@ public: { return indexIn(QStringView(str, length), from); } qsizetype indexIn(QStringView str, qsizetype from = 0) const; QString pattern() const; + QStringView patternView() const noexcept + { return q_sv; } + inline Qt::CaseSensitivity caseSensitivity() const { return q_cs; } private: |