diff options
author | Topi Reinio <topi.reinio@qt.io> | 2021-03-15 22:01:15 +0100 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2021-03-17 14:53:20 +0100 |
commit | 5dd444d42a4843f23d7d1dace642a13d10f750bb (patch) | |
tree | b69c631ec52959769b51ff285b7d61d354444072 /tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html | |
parent | b7fd470a5b0fad2193bcfcb415e35f393250722d (diff) |
qdoc: Re-implement \default command
Marking a QML property as a default property is now done with \qmldefault
command; repurpose the \default command to set a default value for a
property.
The default value is visible in the detailed property documentation as
an extra 'default: <value>' attribute. The value is taken as-is from
the argument passed to the command.
Fixes: QTBUG-81525
Change-Id: I7a4395e6e96046facfc3d75cc62a3bd01d04935b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html b/tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html index 8d603703f..98a91612e 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html +++ b/tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html @@ -127,7 +127,7 @@ <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="type-attached-prop"> <td class="tblQmlPropNode"><p> -<a name="type-attached-prop"></a><span class="name">Type.type</span> : <span class="type">enumeration</span></p></td></tr> +<a name="type-attached-prop"></a><span class="qmlextra">[default: Type.NoType] </span><span class="name">Type.type</span> : <span class="type">enumeration</span></p></td></tr> </table></div></div> <div class="qmldoc"><div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tbldscr">Description</th></tr> <tr><td class="topAlign"><code>Type.NoType</code></td><td class="topAlign">Nothing</td></tr> |