Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12
-
None
-
8
-
e1def46f3707f9307d16f5bb2eae9db633b1c961 (qt/qtbase/dev)
-
Qt6_Foundation_Sprint 22, Qt6_Foundation_Sprint 23
Description
QCollator documentation right now is pretty bare and not well interlinked:
- There's no simple snippet showing how to use QCollator for sorting strings (e.g. with std::sort):
QCollator collator; std::sort(list.begin(), list.end(), collator);
- There's no simple snippet for doing the same using QCollator::sortKey(), i.e.
- QStringList::sort documentation does not reference QCollator
- QString::localeAwareCompare documentation does not reference QCollator.
Attachments
Issue Links
- relates to
-
QTBUG-88546 Improve QCollator testing
-
- Closed
-
For Gerrit Dashboard: QTBUG-72233 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
323626,3 | Fix spacing in QCollator documentation | dev | qt/qtbase | Status: MERGED | +2 | 0 |
323627,3 | Clean up QCollator's documentation and tell fewer lies | dev | qt/qtbase | Status: MERGED | +2 | 0 |