summaryrefslogtreecommitdiff
path: root/tests/auto/qdoc/generatedoutput/expected_output/docbook
diff options
context:
space:
mode:
authorLuca Di Sera <luca.disera@qt.io>2022-01-27 15:13:05 +0100
committerLuca Di Sera <luca.disera@qt.io>2022-01-28 15:06:49 +0000
commit1461f654257e1b47096686140d3b0874cde76feb (patch)
treeffd22bc3baf61dde5f4c7691cd0ecc5c1ea7a1dd /tests/auto/qdoc/generatedoutput/expected_output/docbook
parent3407004fa96f416de3d54612477765879d4e9651 (diff)
downloadqttools-1461f654257e1b47096686140d3b0874cde76feb.tar.gz
qdoc: Remove quotefunction from the codebase
The codebase for QDoc implements a command, 'quotefunction', that eases quoting a specifying function from a currently being-quoted file. The command is unused in Qt's documentation, is undocumented in the QDoc manual and only appears as a string (but not a call to the command itself), inside of the files used by `tst_generatedOutput`. While, arguably, there might be some use to higher-level commands that simplify common operations that might be done trough the use of the `quotefromfile` family of commands, `quotefunction` itself is, currently, no more than dead code, and is thus removed, knowing that it can be reintroduced with ease should the need arise, as a mean to simplify the upcoming changes to the quoting system. `DocParser::slashed` is now removed as it was used only during the processing of a 'quotefunction' command. The machinery which supported this feature in the `CodeMarker` family of classes, `functionBeginRegExp` and `functionEndRegExp`, was removed as it is now unused. The `quotefunction` string in the input data to `tst_generatedOutput` was removed and the output was regenerated to take the change into account. Change-Id: Ied2b04e0f3f1a74ff60300e83e2a514de872b7cb Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/docbook')
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml
index 70f0aaf4f..7944e3fa1 100644
--- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml
+++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml
@@ -52,7 +52,7 @@
<db:para>The code above doesn't compile</db:para>
</db:note>
<db:warning>
-<db:para>The following commands have yet to be tested: footnote link sincelist header index topicref // or just don’t care, remove it image inlineimage printline printto printuntil // what’s the difference between printto and printuntil??? quotefile quotefromfile quotefunction skipline skipto skipuntil span snippet codeline overload sub sup tableofcontents tt uicontrol endmapref endomit underline unicode</db:para>
+<db:para>The following commands have yet to be tested: footnote link sincelist header index topicref // or just don’t care, remove it image inlineimage printline printto printuntil // what’s the difference between printto and printuntil??? quotefile quotefromfile skipline skipto skipuntil span snippet codeline overload sub sup tableofcontents tt uicontrol endmapref endomit underline unicode</db:para>
</db:warning>
</db:section>
</db:section>