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

Inconsistent api in QStringEncoder vs QStringConverter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.8.0 FF
    • 6.6, 6.7
    • None
    • f8359084b (dev), d4c4e6b87 (dev), 23013db67 (6.8)

      `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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes