diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-05-06 13:08:08 +0200 |
---|---|---|
committer | Cherry-pick Bot <cherrypickbot@codereview.qt-project.org> | 2020-05-06 12:50:10 +0000 |
commit | c7755a190ec9484ff97804de75d484e0a1d20cef (patch) | |
tree | a0824472dbba50adf020fb309dc3de02cd6eb046 /tests/auto/qdoc/generatedoutput/testdata | |
parent | ceb313d955294db3cd43a30bcd0bb56674868d62 (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
Change-Id: I8506cd3c2cb469053c750ef6d2335cd1b85c3f1a
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 87cffaf9ed4022ac05d3a91d9f26ed1415bdecf6)
Reviewed-by: Cherry-pick Bot
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. |