From 6f9271ce7c9c7c238814bf03ddfb25d2ae5304e7 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sun, 17 Sep 2023 17:14:34 +0300 Subject: [PATCH] QStaticLatin1StringMatcher: touch up API docs - Fix method name, it starts with a small letter - Improve grammar in one sentence - Use "INTEGRITY", less ambiguous and that's how their web site spells it Change-Id: Icfca9d7ebe64cd2f012456507ebf65c1e62f9e9d Reviewed-by: Thiago Macieira --- src/corelib/text/qstaticlatin1stringmatcher.qdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/corelib/text/qstaticlatin1stringmatcher.qdoc b/src/corelib/text/qstaticlatin1stringmatcher.qdoc index 88a0ec0091..5ee9621670 100644 --- a/src/corelib/text/qstaticlatin1stringmatcher.qdoc +++ b/src/corelib/text/qstaticlatin1stringmatcher.qdoc @@ -13,14 +13,14 @@ This class is useful when your code needs to search efficiently in Latin-1 strings for a substring that's known at compile-time. This is common, for example, in parsers. Using a matcher - object's IndexIn() is faster than using the indexOf() method of + object's indexIn() is faster than using the indexOf() member method of the string you are searching in, especially when the string to be found will be searched for repeatedly or within a large Latin-1 string that may contain many matches to prefixes of the substring to be found. Unlike QLatin1StringMatcher, this class calculates the internal - representation at \e{compile-time}, so it can even benefit if you + representation at \e{compile-time}, so it can be beneficial even if you are doing one-off Latin-1 string matches. Create the QStaticLatin1StringMatcher by calling @@ -37,7 +37,7 @@ compile-time, it does not offer setPattern() or setCaseSensitivity() methods. - Integrity is currently not supported. + \note INTEGRITY operating system is currently not supported. \sa QLatin1StringMatcher, QStaticByteArrayMatcher, QByteArrayMatcher */