Details
-
User Story
-
Resolution: Fixed
-
P2: Important
-
5.11.0 Alpha, 5.14.0
-
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
- is required for
-
QTBUG-81337 Wrong enum values documented for scoped enum Qt::HighDpiScaleFactorRoundingPolicy
- Closed
For Gerrit Dashboard: QTBUG-66740 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
286684,6 | qdoc: Parse enum classes correctly | 5.15 | qt/qttools | Status: MERGED | +2 | 0 |