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

Inconsistent api in QStringEncoder vs QStringConverter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.8.0 FF
    • 6.6, 6.7
    • None
    • f8359084b (dev)

    Description

      `QStringList QStringConverter::availableCodecs()` returns a list of QStrings and the documentation says:

      The names returned by this function can be passed to QStringEncoder's and QStringDecoder's constructor to create a en- or decoder for the given codec.

      `QStringEncoder` and `QStringDecoder` constructor takes a const char * as a name.

      I suggest adding a QStringEnDecoder overload with a QString to make it easy to do the combination.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            svuorela Sune Vuorela
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes