diff options
author | Thibaut Cuvelier <cuvelier.thibaut@gmail.com> | 2023-02-10 05:16:10 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2023-04-26 14:43:45 +0200 |
commit | 90147027312b88cae1fd0f432ad6c8fd73426ce6 (patch) | |
tree | c8428657b82949a0c7be004b38f06f05f0e610b7 /tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml | |
parent | c6665d7ebf68cb3a1ed15527309eb70ffe927536 (diff) | |
download | qttools-90147027312b88cae1fd0f432ad6c8fd73426ce6.tar.gz |
QDoc: implement ITS attributes for parts that shouldn't be translated
This patch is a port of b7849d42efff91a4d247a4028d6c129f3742743a
for DocBook.
Pick-to: 6.5
Change-Id: I0220691da3e0827bc89e05912bcbb723d8490cf5
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml index add2bcae1..a5ffd1cd0 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<db:article xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.2" xml:lang="en"> +<db:article xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:its="http://www.w3.org/2005/11/its" version="5.2" xml:lang="en"> <db:info> <db:title>QML Documentation Example</db:title> <db:productname>Test</db:productname> @@ -21,7 +21,7 @@ <db:title>Properties, Signals, Handlers, and Methods</db:title> <db:para>The types have their properties, signals, handlers, and methods defined in their respective QML files. QDoc associates the properties and methods to the types, therefore, you only need to place the documentation above the property, method, or signal.</db:para> <db:para>To document the type of a <db:emphasis>property alias</db:emphasis>, you must use the \qmlproperty command to specify the data type.</db:para> -<db:programlisting language="cpp">\qmlproperty int anAliasedProperty +<db:programlisting language="cpp" its:translate="no">\qmlproperty int anAliasedProperty An aliased property of type int. </db:programlisting> <db:section xml:id="internal-documentation"> |