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

QString::isUpper() and QString::isLower() documentation is incorrect.

XMLWordPrintable

      The documentation for QString.isUpper() on the website says: "Returns true if the string is uppercase, that is, it's identical to its toUpper() folding."

      However, this is not how it is documented nor implemented in the source code: "Returns true if the string only contains uppercase letters, otherwise returns false."

      Even though the implementation described on the website makes more sense, it is indeed implemented such that QString("3").isUpper() will return false.

      The method QString.isLower() has the same issue.

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

            paulwicking Paul Wicking
            bcmpinc_ Bauke Conijn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes