summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativestates/data/signalOverrideCrash2.qml
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-05-20 09:49:13 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-05-20 09:49:13 (GMT)
commitdbfedcb31961579499fcb5342ccc42311191bcd4 (patch)
tree3e8c020ec99a5d69b9787a8d164a2f326936eebc /tests/auto/declarative/qdeclarativestates/data/signalOverrideCrash2.qml
parentaa9211937ff38c0fffa55bc879130b33f03865ff (diff)
parent30ffe43f826baae366b6e745d077ade316512d3b (diff)
downloadQt-dbfedcb31961579499fcb5342ccc42311191bcd4.zip
Qt-dbfedcb31961579499fcb5342ccc42311191bcd4.tar.gz
Qt-dbfedcb31961579499fcb5342ccc42311191bcd4.tar.bz2
Merge branch 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration
* 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration: (681 commits) Be consistent in conversion from string (eg. color, int rounding). Simplify code to make next change clearer. Stop warnings. Improve error messages when tests fail. Stop highlight animators for highlightFollowsCurrentItem: false Ensure valuetype enums can be assigned from JS Improve testcase Rename Component::errorsString() -> errorString() (and also for Fixes for docs, example code Make test more stable Autotest (XFAIL) for QTBUG-10822 Add return value for resolveTypeInNamespace Fix test Fix test. Missed files. Missing break Create overview page for examples for Extending QML in C++ Added default countries for Mongolian and Nepali. Updated tst_qlocale autotest. Updated the 4.7.0 change log with my changes. Freetype is not used on symbian, don't use it. ...
Diffstat (limited to 'tests/auto/declarative/qdeclarativestates/data/signalOverrideCrash2.qml')
-rw-r--r--tests/auto/declarative/qdeclarativestates/data/signalOverrideCrash2.qml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativestates/data/signalOverrideCrash2.qml b/tests/auto/declarative/qdeclarativestates/data/signalOverrideCrash2.qml
new file mode 100644
index 0000000..2215ee4
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativestates/data/signalOverrideCrash2.qml
@@ -0,0 +1,24 @@
+import Qt 4.7
+
+Rectangle {
+ id: myRect
+ width: 400
+ height: 400
+
+ states: [
+ State {
+ name: "state1"
+ PropertyChanges {
+ target: myRect
+ onHeightChanged: console.log("Hello World")
+ color: "green"
+ }
+ },
+ State {
+ name: "state2"; extend: "state1"
+ PropertyChanges {
+ target: myRect
+ color: "red"
+ }
+ }]
+}