aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/testtypes.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-05-16 12:31:59 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-17 08:58:45 +0200
commit9af1a7d0aee4f9ed48b2519779388830a8dd03e9 (patch)
tree1f4d5149781f211f3fb7e8ca54180035f9a3f780 /tests/auto/qml/qqmllanguage/testtypes.h
parent8236ca1aedabccf4bda4d0e3873ace8b48c522d6 (diff)
Fix signal handlers for signals with default arguments.
For cloned signals, connect to the index of the original. This was a regression caused by the switch to QQmlNotifierEndpoint for signal handlers. This change also makes parameters with default arguments available from QML, while previously they were unavailable. Change-Id: I1feb3412c3e9b0f2a5d6644c404c56d53c5544ac Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/testtypes.h')
-rw-r--r--tests/auto/qml/qqmllanguage/testtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/testtypes.h b/tests/auto/qml/qqmllanguage/testtypes.h
index 90dea4a217..a359a34ef5 100644
--- a/tests/auto/qml/qqmllanguage/testtypes.h
+++ b/tests/auto/qml/qqmllanguage/testtypes.h
@@ -164,6 +164,7 @@ signals:
void basicSignal();
void basicParameterizedSignal(int parameter);
void oddlyNamedNotifySignal();
+ void signalWithDefaultArg(int parameter = 5);
private:
friend class tst_qqmllanguage;