diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2020-11-25 18:40:54 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-11-27 13:26:53 +0100 |
| commit | e1def46f3707f9307d16f5bb2eae9db633b1c961 (patch) | |
| tree | 94d0edf648287dcaaec278fa90b4b682964c3105 /src/xml/doc/snippets | |
| parent | a590ea5792076e86c7cad91fccc0e08f3b7da31e (diff) | |
Clean up QCollator's documentation and tell fewer lies
Its collation strategy can't be passed to the constructor, so
describing it as initialized with a strategy was misleading.
The "Linux without ICU" disclaimer was poorly phrased and only
mentioned on one of the options; it actually applies to all.
The operator() was marked internal, but the class doc's claim that
QCollator can be used with std::sort() relies on it being callable.
Moved option descriptions to the getters and filled in the missing
ones. Mention the default in all cases.
Added a minimal illustration of how to use a QCollator.
Fixes: QTBUG-72233
Change-Id: Ifa846eca05e8e42aaa08c4947a59a82d8a8a79bc
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/xml/doc/snippets')
0 files changed, 0 insertions, 0 deletions
