summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarco Benelli <marco.benelli@qt.io>2017-07-14 11:19:54 +0200
committerTopi Reinio <topi.reinio@qt.io>2020-09-26 17:33:46 +0200
commit8b962f66637b9a9474c40f2889c50cdc505e59d4 (patch)
treecdfa167f9f674de3c10a53f1b14e40f4c9601134 /tests
parentf4aab8114032984a2456262f75152361e932951c (diff)
qdoc: include QML import + major version number in keyword
The QML import and major version number is needed to disambiguate components with the same name that belongs to distincts modules. The unqualified keyword is kept for retro-compatibility. Task-number: QTBUG-61876 Change-Id: Id886f8fb6ecbad7a9cccd05025709ba6eab13093 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/test.qhp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/test.qhp b/tests/auto/qdoc/generatedoutput/expected_output/test.qhp
index f5bbe89b3..9bcabb0ab 100644
--- a/tests/auto/qdoc/generatedoutput/expected_output/test.qhp
+++ b/tests/auto/qdoc/generatedoutput/expected_output/test.qhp
@@ -55,14 +55,20 @@
</toc>
<keywords>
<keyword name="AbstractParent" id="QML.AbstractParent" ref="qml-qdoc-test-abstractparent.html"/>
+ <keyword name="AbstractParent" id="QML.QDoc.Test1.AbstractParent" ref="qml-qdoc-test-abstractparent.html"/>
<keyword name="Child" id="QML.Child" ref="qml-qdoc-test-child.html"/>
+ <keyword name="Child" id="QML.QDoc.Test1.Child" ref="qml-qdoc-test-child.html"/>
<keyword name="DocTest" id="QML.DocTest" ref="qml-qdoc-test-doctest.html"/>
+ <keyword name="DocTest" id="QML.QDoc.Test1.DocTest" ref="qml-qdoc-test-doctest.html"/>
<keyword name="ProgressBar" id="QML.ProgressBar" ref="qml-uicomponents-progressbar.html"/>
+ <keyword name="ProgressBar" id="QML.UIComponents1.ProgressBar" ref="qml-uicomponents-progressbar.html"/>
<keyword name="QDOCTEST_MACRO" id="QDOCTEST_MACRO" ref="testqdoc.html#QDOCTEST_MACRO"/>
<keyword name="QDOCTEST_MACRO2" id="QDOCTEST_MACRO2" ref="testqdoc-test.html#QDOCTEST_MACRO2"/>
<keyword name="QDoc Test C++ Classes" id="QDoc Test C++ Classes" ref="testcpp-module.html"/>
<keyword name="Switch" id="QML.Switch" ref="qml-uicomponents-switch.html"/>
+ <keyword name="Switch" id="QML.UIComponents1.Switch" ref="qml-uicomponents-switch.html"/>
<keyword name="TabWidget" id="QML.TabWidget" ref="qml-uicomponents-tabwidget.html"/>
+ <keyword name="TabWidget" id="QML.UIComponents1.TabWidget" ref="qml-uicomponents-tabwidget.html"/>
<keyword name="Test" id="TestQDoc::Test" ref="testqdoc-test.html"/>
<keyword name="Test::SomeType" id="Test::SomeType" ref="testqdoc-test.html#SomeType-typedef"/>
<keyword name="TestDerived" id="TestQDoc::TestDerived" ref="testqdoc-testderived.html"/>
@@ -70,8 +76,10 @@
<keyword name="TestDerived::NotTypedef" id="TestDerived::NotTypedef" ref="testqdoc-testderived.html#NotTypedef-alias"/>
<keyword name="TestQDoc" id="TestQDoc" ref="testqdoc.html"/>
<keyword name="Type" id="QML.Type" ref="qml-qdoc-test-type.html"/>
+ <keyword name="Type" id="QML.QDoc.Test1.Type" ref="qml-qdoc-test-type.html"/>
<keyword name="UI Components" id="UI Components" ref="uicomponents-qmlmodule.html"/>
<keyword name="YetAnotherChild" id="QML.YetAnotherChild" ref="qml-qdoc-test-yetanotherchild.html"/>
+ <keyword name="YetAnotherChild" id="QML.QDoc.Test1.YetAnotherChild" ref="qml-qdoc-test-yetanotherchild.html"/>
<keyword name="abs" id="int::abs" ref="qml-int.html#abs-method"/>
<keyword name="active" id="DocTest::active" ref="qml-qdoc-test-doctest.html#active-prop"/>
<keyword name="anotherObsoleteMember" id="Test::anotherObsoleteMember" ref="testqdoc-test-obsolete.html#anotherObsoleteMember"/>