aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qsgitem2/data/resourcesProperty.qml
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-10-14 10:51:42 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-21 11:53:26 +0200
commitbfb3c424abc7c839dc44de0e36024ede99ece736 (patch)
treeb6814d0238bead8518b23c078beb818432de6ce4 /tests/auto/declarative/qsgitem2/data/resourcesProperty.qml
parent2d119a137f1bc0c8b1113cd6c58413a1b89a4c1c (diff)
Rename Qt Quick-specific classes to QQuick*
The QSG (SceneGraph) prefix is too generic for Qt Quick(2)-specific classes. All the classes and files in the declarative/items directory have been renamed. In particular, for classes that are currently public, the renaming is as follows: QSGView --> QQuickView QSGCanvas --> QQuickCanvas QSGItem --> QQuickItem QSGPaintedItem --> QQuickPaintedItem The header files have been renamed accordingly (e.g. qsgview.h --> qquickview.h). Change-Id: Iac937fff81db20bb639486a793c3aeb5230b038c Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qsgitem2/data/resourcesProperty.qml')
-rw-r--r--tests/auto/declarative/qsgitem2/data/resourcesProperty.qml21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/auto/declarative/qsgitem2/data/resourcesProperty.qml b/tests/auto/declarative/qsgitem2/data/resourcesProperty.qml
deleted file mode 100644
index b8f18bb375..0000000000
--- a/tests/auto/declarative/qsgitem2/data/resourcesProperty.qml
+++ /dev/null
@@ -1,21 +0,0 @@
-import QtQuick 2.0
-
-Item {
- id: root
-
- property bool test1
- property bool test2
- property bool test3
- property bool test4
- property bool test5
-
- Component.onCompleted: {
- test1 = (root.resources.length >= 3)
- test2 = root.resources[0] == item1
- test3 = root.resources[1] == item2
- test4 = root.resources[2] == item3
- test5 = root.resources[10] == null
- }
-
- resources: [ Item { id: item1 }, Item { id: item2 }, Item { id: item3 } ]
-}