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

Deprecated QTextEncoder::fromUnicode ( const QString & uc, int & lenInOut ) should be documented as QT3 support member

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.6.1
    • 4.6.0
    • Documentation
    • None
    • 669cb438384f1ceafd4b2ee783b9a52d7110ccf7

    Description

      Deprecated member function QTextEncoder::fromUnicode ( const QString & uc, int & lenInOut ) should be documented as QT3 support member.

      From qt\src\corelib\codecs\qtextcodec.h
      #ifdef QT3_SUPPORT
      QByteArray fromUnicode(const QString& uc, int& lenInOut);
      #endif

      From qt\src\corelib\codecs\qtextcodec.cpp
      #ifdef QT3_SUPPORT
      /*!
      \overload

      Converts \a lenInOut characters (not bytes) from \a uc, and returns the
      result in a QByteArray. The number of characters read is returned in
      the \a lenInOut parameter.
      */
      QByteArray QTextEncoder::fromUnicode(const QString& uc, int& lenInOut)
      {
      QByteArray result = c->fromUnicode(uc.constData(), lenInOut, &state);
      lenInOut = result.length();
      return result;
      }
      #endif

      Attachments

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

        Activity

          People

            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            ahlenand Anders Ahlén (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes