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 <thiago.macieira@intel.com>
This commit is contained in:
Ahmad Samir 2023-09-17 17:14:34 +03:00
parent e1dcc858b2
commit 6f9271ce7c

View File

@ -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
*/