summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/script/data/global_prop.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-06-24 04:28:18 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-06-24 04:30:00 (GMT)
commit2bae9da77fbc6407ddb24d0fe8135698092cbb6a (patch)
tree65fed9de63fbf5ead6e7cf20c504f6e6975fdd58 /tests/benchmarks/declarative/script/data/global_prop.qml
parent736067120b466248cbfc3180a533dc416953c5e0 (diff)
downloadQt-2bae9da77fbc6407ddb24d0fe8135698092cbb6a.zip
Qt-2bae9da77fbc6407ddb24d0fe8135698092cbb6a.tar.gz
Qt-2bae9da77fbc6407ddb24d0fe8135698092cbb6a.tar.bz2
More script benchmarking.
Diffstat (limited to 'tests/benchmarks/declarative/script/data/global_prop.qml')
-rw-r--r--tests/benchmarks/declarative/script/data/global_prop.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/benchmarks/declarative/script/data/global_prop.qml b/tests/benchmarks/declarative/script/data/global_prop.qml
index 908cecf..4fb7ee7 100644
--- a/tests/benchmarks/declarative/script/data/global_prop.qml
+++ b/tests/benchmarks/declarative/script/data/global_prop.qml
@@ -46,9 +46,8 @@ Rectangle {
width: 200; height: 200
signal triggered
- onTriggered: Program.doSomething();
+ signal incrementTriggered
- function doSomething() {
- Program.doSomething();
- }
+ onTriggered: Program.doSomething();
+ onIncrementTriggered: Program.doIncrement();
}