diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-05-06 13:08:08 +0200 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2020-05-06 13:58:43 +0200 |
commit | 87cffaf9ed4022ac05d3a91d9f26ed1415bdecf6 (patch) | |
tree | a6a477b2191d0e9b8963bd61d26e11bdd53449db /tests/auto/qdoc/generatedoutput/testdata | |
parent | f1d3878a3caa9ea6143d791c68bf96109b231f88 (diff) |
qdoc: Fix parsing of QML signals that take parameters
The signature of a QML signal can resemble that of a method, so we
need to parse it as such.
Fixes: QTBUG-84034
Pick-to: 5.15
Change-Id: I8506cd3c2cb469053c750ef6d2335cd1b85c3f1a
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testdata')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml b/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml index 1ddafcfe4..2e581335e 100644 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml +++ b/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml @@ -43,6 +43,17 @@ Item { id: testCase /*! + \qmlsignal QDocTest::completed + */ + signal completed + + /*! + \qmlsignal DocTest::test(var bar) + Signal with parameter \a bar. + */ + signal foo(var bar) + + /*! \qmlproperty string DocTest::name Name of the test. |