aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/AutomatchedSignalHandler.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/AutomatchedSignalHandler.qml')
-rw-r--r--tests/auto/qml/qmllint/data/AutomatchedSignalHandler.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/AutomatchedSignalHandler.qml b/tests/auto/qml/qmllint/data/AutomatchedSignalHandler.qml
new file mode 100644
index 0000000000..064444e182
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/AutomatchedSignalHandler.qml
@@ -0,0 +1,15 @@
+import QtQuick 2.12
+
+Item {
+ width: 640
+ height: 480
+
+ MouseArea {
+ anchors.fill: parent
+ onClicked: console.log("okok")
+
+ Connections {
+ onClicked: console.log(mouse.x)
+ }
+ }
+}