summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-03-19 11:16:26 +0100
committerPaul Wicking <paul.wicking@qt.io>2021-04-28 12:39:04 +0200
commit1637d91efd8fb389bc09bdaa960f5d9d4f9e0164 (patch)
tree17d5a8aea7e85f57b9f8e9cdbcbac58b83a0f16f /tests/auto/qdoc/generatedoutput/expected_output/qml-qdoc-test-type.html
parentcbc5277f1d38bad75ced13d20f9ef914bc9b5950 (diff)
QDoc: Add \deprecatedsince command
As deprecated methods may stick around over a couple of versions, add a command that lets us record which version something was deprecated in. [ChangeLog][qdoc] QDoc now lets you record the version something is deprecated in with the new \deprecatedsince command. Fixes: QTBUG-58249 Change-Id: I69de350502580f446008f717462bbc1c4c251564 Reviewed-by: Topi Reiniƶ <topi.reinio@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.html12
1 files changed, 12 insertions, 0 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 bd8fb93e5..31590dbc6 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
@@ -57,6 +57,7 @@
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">Type <b><b><a href="qml-qdoc-test-type.html#copy-method">copy</a></b></b>(<i>a</i>)</li>
+<li class="fn"><b><b><a href="qml-qdoc-test-type.html#deprecatedMethod-method">deprecatedMethod</a></b></b>()<code> (deprecated since 6.2)</code></li>
<li class="fn"><b><b><a href="qml-qdoc-test-type.html#disable-method">disable</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qdoc-test-type.html#enable-method">enable</a></b></b>()</li>
</ul>
@@ -189,5 +190,16 @@
<div class="qmldoc"><p>Returns another Type based on <i>a</i>.</p>
</div></div><!-- @@@copy -->
<br/>
+<!-- $$$deprecatedMethod[overload1]$$$deprecatedMethod -->
+<div class="qmlitem"><div class="qmlproto">
+<div class="table"><table class="qmlname">
+<tr valign="top" class="odd" id="deprecatedMethod-method">
+<td class="tblQmlFuncNode"><p id="deprecatedMethod-method">
+<span class="name">deprecatedMethod</span>()</p></td></tr>
+</table></div></div>
+<div class="qmldoc"><p>This method is deprecated since 6.2.</p>
+<p>This is a method that should include information about being deprecated and that it has been so since 6.2 in its docs.</p>
+</div></div><!-- @@@deprecatedMethod -->
+<br/>
</body>
</html>