aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/signalHandler.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/signalHandler.qml')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/signalHandler.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/signalHandler.qml b/tests/auto/qml/qmlcppcodegen/data/signalHandler.qml
new file mode 100644
index 0000000000..621c218d02
--- /dev/null
+++ b/tests/auto/qml/qmlcppcodegen/data/signalHandler.qml
@@ -0,0 +1,10 @@
+pragma Strict
+import QtQml
+
+QtObject {
+ signal foo
+ signal bar(baz: string)
+
+ onFoo: ()=> console.log("foo")
+ onBar: (baz)=> console.log(baz)
+}