aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-01-31 16:52:36 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-03 00:39:18 +0100
commit01dc7e2ea476e0e6dcdce2e72979bbc858f4057d (patch)
treed8796f7695bbf8ad42abf47cd84c1b5e000ef795 /tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml
parent5e07b57b818326da47a46d384415041fa4cea0ba (diff)
Remove QtQuick1 elements from qtdeclarative
QtQuick1 is now contained in a separate repository. Task-number: QTBUG-23737 Change-Id: I09eae67af5693a22b896b916f816f73ccc3a89b1 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml')
-rw-r--r--tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml b/tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml
deleted file mode 100644
index ffe417ae2a..0000000000
--- a/tests/auto/qtquick1/qdeclarativelistmodel/data/setmodelcachelist.qml
+++ /dev/null
@@ -1,20 +0,0 @@
-import QtQuick 1.0
-
-ListModel {
- id: model
- property bool ok : false
-
- Component.onCompleted: {
- model.append({"attrs": []})
- model.get(0)
- model.set(0, {"attrs": [{'abc': 123, 'def': 456}] } )
- ok = ( model.get(0).attrs.get(0).abc == 123
- && model.get(0).attrs.get(0).def == 456 )
-
- model.set(0, {"attrs": [{'abc': 789, 'def': 101}] } )
- ok = ( model.get(0).attrs.get(0).abc == 789
- && model.get(0).attrs.get(0).def == 101 )
-
- }
-}
-