QDoc: Fix type string handling and \since support for QML enumerations


Node::nodeTypeString() and Generator::typeString() were both missing
a case for NodeType::QmlEnum. This caused QML enum nodes to return
incorrect type strings (empty string and "documentation", respectively)
instead of "enumeration".

Extend the qmlenumvaluesfromcpp test to verify that the \since command
works correctly for QML enumerations, and update expected output files
accordingly.

Fixes: QTBUG-146227
Pick-to: 6.11
Change-Id: I165be815281a0c5220a1f50ad3c2860553465c5b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit06229f16dd46669f1478d25e24aa60f182e2817d
parent8e4b592e93351d941d8a6cc577ef0ffb6d3b34e1
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeTue, 5 May 2026 07:42:50 +0000