aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/SignalHandler.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/SignalHandler.qml')
-rw-r--r--tests/auto/qml/qmllint/data/SignalHandler.qml10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/auto/qml/qmllint/data/SignalHandler.qml b/tests/auto/qml/qmllint/data/SignalHandler.qml
index bdf503e3dc..865277cedb 100644
--- a/tests/auto/qml/qmllint/data/SignalHandler.qml
+++ b/tests/auto/qml/qmllint/data/SignalHandler.qml
@@ -1,5 +1,13 @@
import QtQuick 2.0
MouseArea {
- onDoubleClicked: console.log(mouse);
+ onDoubleClicked: {
+ console.log(mouse);
+ // do further things
+ }
+ onClicked: console.info(mouse)
+ onPositionChanged: {
+ console.log(mouse)
+ }
+ onPressAndHold: console.warn(mouse)
}