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

qdoc: Handle enum classes

    XMLWordPrintable

Details

    • User Story
    • Resolution: Fixed
    • P2: Important
    • 6.1.0 RC, 5.15
    • 5.11.0 Alpha, 5.14.0
    • Build tools: qdoc
    • None
    • 13
    • DaVinci sprint 1
    • 46f71fcce6d278e62ec5a766d769681400b330ed

    Description

      "Introduce QAbstractItemModel::checkIndex()" 69496d4e22fb6a8805fbcfa798d9aca53621a2ac https://codereview.qt-project.org/#/c/204377/ introduced the first C++ 11 class enum to Qt (QAIM::CheckIndexOption).

      Usage-wise this means its values must be fully qualified (QAIM::CheckIndexOption::IndexIsValid).

      The enum values in the \enum doc section were originally qualified accordingly:

      \value CheckIndexOption::IndexIsValid 
      

      The qualification was removed by "doc: Fix remaining qdoc warnings in qabstractitemmodel.cpp" 706e8a0295832a54e86fb72e1505444a69a55362 https://codereview.qt-project.org/#/c/216844/ resulting in the doc text:

      ....
      QAbstractItemModel::IndexIsValid 0x0001
      
      The model index passed to QAbstractItemModel::checkIndex() is checked to be a valid model index.
      ....
      

      which is not correct. The values should show qualified in the documentation

      Attachments

        Issue Links

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

          Activity

            People

              treinio Topi Reiniƶ
              kleint Friedemann Kleint
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes