Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72233

Improve QCollator documentation

    XMLWordPrintable

Details

    • 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

          For Gerrit Dashboard: QTBUG-72233
          # Subject Branch Project Status CR V

          Activity

            People

              Eddy Edward Welbourne
              kkohne Kai Köhne
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes