summaryrefslogtreecommitdiff
path: root/tests/auto/qdoc/generatedoutput/expected_output/globals.html
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-03-04 22:53:17 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-03-22 13:10:23 +0000
commit1d17e5edf2a81a9bcea946fa03ccfe90abf37c8b (patch)
tree4a47edfb5dae5d207dc626cb931cc342120399c0 /tests/auto/qdoc/generatedoutput/expected_output/globals.html
parente846a9b0a09a2e046e9afa5d4c954afe7b05df59 (diff)
downloadqttools-1d17e5edf2a81a9bcea946fa03ccfe90abf37c8b.tar.gz
qdoc: Display individual enum items in \sincelist output
The output of \sincelist command lists enumerations introduced in a specific version, documented with \enum with an associated \since meta-command. Individual enum \value entries can also be marked with a since-clause, however, this information was missing from the generated list. Adding support for this is less than trivial because EnumItem is not a Node subclass, and the Sections class, which is responsible for distributing the entries displayed in a since-list, operates on Node instances. To work around this, * Introduce since()/setSince() to EnumItem * Resolve since info for enum values in Tree::resolveSince() * Add enum values to a dedicated map in QDocDatabase * Add enum value since attributes to .index file * Add 'New Enum Values' as a new Section entry In order to generate content for the new section, don't directly populate it; only add a single entry to mark it non-empty. Actual enum values are then fetched from the new 'since-map'. Entries in this map contain a pointer to the associated EnumNode, used for linking. Add a simple test case in generatedoutput autotest. Fixes: QTBUG-110781 Change-Id: I064446dc1e369013284ba934adeabe908754b3bb Reviewed-by: Luca Di Sera <luca.disera@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/globals.html')
0 files changed, 0 insertions, 0 deletions