aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/qdeclarativedebugtrace/data/exit.qml
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-12-20 14:26:39 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-09 16:53:14 +0100
commit82dfecab38031f8009ea64ef93063c02b79eaf94 (patch)
tree2fb8e982b517d5b76bb228be477b92c0aa31788c /tests/auto/declarative/debugger/qdeclarativedebugtrace/data/exit.qml
parent4a224c4bd36e859c7b36867d4322321c0852c05a (diff)
Debugger: Allow trace service to send data on exit
Add a statusAboutToBeChanged virtual that allows services to send data e.g. on application exit. Change-Id: I28fa513ab2a12d6973c444aac3062d64a0957207 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
Diffstat (limited to 'tests/auto/declarative/debugger/qdeclarativedebugtrace/data/exit.qml')
-rw-r--r--tests/auto/declarative/debugger/qdeclarativedebugtrace/data/exit.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/declarative/debugger/qdeclarativedebugtrace/data/exit.qml b/tests/auto/declarative/debugger/qdeclarativedebugtrace/data/exit.qml
new file mode 100644
index 0000000000..b250524caa
--- /dev/null
+++ b/tests/auto/declarative/debugger/qdeclarativedebugtrace/data/exit.qml
@@ -0,0 +1,9 @@
+import QtQuick 2.0
+
+Item {
+ Timer {
+ running: true
+ interval: 1
+ onTriggered: Qt.quit();
+ }
+}