summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlqt/data
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-02-24 02:42:00 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-02-24 02:42:00 (GMT)
commit7c76abb0dc4204043bec9b6fa315f9753a7986ae (patch)
treecee303672cfd138790645e731f2d69472564d4b7 /tests/auto/declarative/qmlqt/data
parent4066e60e859853cfe3240245ba05271e79839506 (diff)
downloadQt-7c76abb0dc4204043bec9b6fa315f9753a7986ae.zip
Qt-7c76abb0dc4204043bec9b6fa315f9753a7986ae.tar.gz
Qt-7c76abb0dc4204043bec9b6fa315f9753a7986ae.tar.bz2
Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to QDeclarativeXXX.
Diffstat (limited to 'tests/auto/declarative/qmlqt/data')
-rw-r--r--tests/auto/declarative/qmlqt/data/closestangle.qml12
-rw-r--r--tests/auto/declarative/qmlqt/data/consoleLog.qml8
-rw-r--r--tests/auto/declarative/qmlqt/data/createComponent.qml23
-rw-r--r--tests/auto/declarative/qmlqt/data/createComponentData.qml5
-rw-r--r--tests/auto/declarative/qmlqt/data/createQmlObject.qml31
-rw-r--r--tests/auto/declarative/qmlqt/data/darker.qml11
-rw-r--r--tests/auto/declarative/qmlqt/data/enums.qml9
-rw-r--r--tests/auto/declarative/qmlqt/data/hsla.qml11
-rw-r--r--tests/auto/declarative/qmlqt/data/lighter.qml10
-rw-r--r--tests/auto/declarative/qmlqt/data/md5.qml6
-rw-r--r--tests/auto/declarative/qmlqt/data/point.qml9
-rw-r--r--tests/auto/declarative/qmlqt/data/rect.qml9
-rw-r--r--tests/auto/declarative/qmlqt/data/rgba.qml10
-rw-r--r--tests/auto/declarative/qmlqt/data/size.qml11
-rw-r--r--tests/auto/declarative/qmlqt/data/tint.qml9
-rw-r--r--tests/auto/declarative/qmlqt/data/vector.qml8
16 files changed, 0 insertions, 182 deletions
diff --git a/tests/auto/declarative/qmlqt/data/closestangle.qml b/tests/auto/declarative/qmlqt/data/closestangle.qml
deleted file mode 100644
index b5f7fc6..0000000
--- a/tests/auto/declarative/qmlqt/data/closestangle.qml
+++ /dev/null
@@ -1,12 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property var testSame: Qt.closestAngle(0,1)
- property var testLess: Qt.closestAngle(0,-359)
- property var testMore: Qt.closestAngle(0,361)
- property var testFail: Qt.closestAngle(0)
- property var test5: Qt.closestAngle(0,1,2)
- property var test6: Qt.closestAngle(123.45465768,1.11)
- property var test7: Qt.closestAngle(-3.1415,1.11)
-}
-
diff --git a/tests/auto/declarative/qmlqt/data/consoleLog.qml b/tests/auto/declarative/qmlqt/data/consoleLog.qml
deleted file mode 100644
index e657ff1..0000000
--- a/tests/auto/declarative/qmlqt/data/consoleLog.qml
+++ /dev/null
@@ -1,8 +0,0 @@
-import Qt 4.6
-
-QtObject {
- Component.onCompleted: {
- console.log("completed", "ok")
- console.log("completed ok")
- }
-}
diff --git a/tests/auto/declarative/qmlqt/data/createComponent.qml b/tests/auto/declarative/qmlqt/data/createComponent.qml
deleted file mode 100644
index d9b70ec..0000000
--- a/tests/auto/declarative/qmlqt/data/createComponent.qml
+++ /dev/null
@@ -1,23 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property bool incorrectArgCount1: false
- property bool incorrectArgCount2: false
- property bool emptyArg: false
-
- property string relativeUrl
- property string absoluteUrl
-
- Component.onCompleted: {
- // Test that using incorrect argument count returns a null object
- incorrectArgCount1 = (createComponent() == null);
- incorrectArgCount2 = (createComponent("main.qml", 10) == null);
- emptyArg = (createComponent("") == null);
-
- var r = createComponent("createComponentData.qml");
- relativeUrl = r.url;
-
- var a = createComponent("http://www.example.com/test.qml");
- absoluteUrl = a.url;
- }
-}
diff --git a/tests/auto/declarative/qmlqt/data/createComponentData.qml b/tests/auto/declarative/qmlqt/data/createComponentData.qml
deleted file mode 100644
index a5e99a0..0000000
--- a/tests/auto/declarative/qmlqt/data/createComponentData.qml
+++ /dev/null
@@ -1,5 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property int test: 1913
-}
diff --git a/tests/auto/declarative/qmlqt/data/createQmlObject.qml b/tests/auto/declarative/qmlqt/data/createQmlObject.qml
deleted file mode 100644
index 9150782..0000000
--- a/tests/auto/declarative/qmlqt/data/createQmlObject.qml
+++ /dev/null
@@ -1,31 +0,0 @@
-import Qt 4.6
-
-Item {
- id: root
-
- property bool incorrectArgCount1: false
- property bool incorrectArgCount2: false
- property bool emptyArg: false
- property bool noParent: false
- property bool notReady: false
- property bool runtimeError: false
- property bool errors: false
-
- property bool success: false
-
- Component.onCompleted: {
- // errors
- incorrectArgCount1 = (createQmlObject() == null);
- incorrectArgCount2 = (createQmlObject("import Qt 4.6\nQtObject{}", root, "main.qml", 10) == null);
- emptyArg = (createQmlObject("", root) == null);
- errors = (createQmlObject("import Qt 4.6\nQtObject{\nproperty int test: 13\nproperty int test: 13\n}", root, "main.qml") == null);
- noParent = (createQmlObject("import Qt 4.6\nQtObject{\nproperty int test: 13}", 0) == null);
- notReady = (createQmlObject("import Qt 4.6\nQtObject{\nBlah{}\n}", root, "http://www.example.com/main.qml") == null);
- runtimeError = (createQmlObject("import Qt 4.6\nQtObject{property int test\nonTestChanged: QtObject{}\n}", root) == null);
-
- var o = createQmlObject("import Qt 4.6\nQtObject{\nproperty int test: 13\n}", root);
- success = (o.test == 13);
-
- createQmlObject("import Qt 4.6\nItem {}\n", root);
- }
-}
diff --git a/tests/auto/declarative/qmlqt/data/darker.qml b/tests/auto/declarative/qmlqt/data/darker.qml
deleted file mode 100644
index 2df067e..0000000
--- a/tests/auto/declarative/qmlqt/data/darker.qml
+++ /dev/null
@@ -1,11 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property var test1: Qt.darker(Qt.rgba(1, 0.8, 0.3))
- property var test2: Qt.darker()
- property var test3: Qt.darker(Qt.rgba(1, 0.8, 0.3), 10)
- property var test4: Qt.darker("red");
- property var test5: Qt.darker("perfectred"); // Non-existant color
- property var test6: Qt.darker(10);
-}
-
diff --git a/tests/auto/declarative/qmlqt/data/enums.qml b/tests/auto/declarative/qmlqt/data/enums.qml
deleted file mode 100644
index 1efa6f5..0000000
--- a/tests/auto/declarative/qmlqt/data/enums.qml
+++ /dev/null
@@ -1,9 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property int test1: Qt.Key_Escape
- property int test2: Qt.DescendingOrder
- property int test3: Qt.ElideMiddle
- property int test4: Qt.AlignRight
-}
-
diff --git a/tests/auto/declarative/qmlqt/data/hsla.qml b/tests/auto/declarative/qmlqt/data/hsla.qml
deleted file mode 100644
index df51ccd..0000000
--- a/tests/auto/declarative/qmlqt/data/hsla.qml
+++ /dev/null
@@ -1,11 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property color test1: Qt.hsla(1, 0, 0, 0.8);
- property color test2: Qt.hsla(1, 0.5, 0.3);
- property color test3: Qt.hsla(1, 1);
- property color test4: Qt.hsla(1, 1, 1, 1, 1);
- property color test5: Qt.hsla(1.2, 1, 1);
- property color test6: Qt.hsla(-0.1, 1, 1);
-}
-
diff --git a/tests/auto/declarative/qmlqt/data/lighter.qml b/tests/auto/declarative/qmlqt/data/lighter.qml
deleted file mode 100644
index 4e0c431..0000000
--- a/tests/auto/declarative/qmlqt/data/lighter.qml
+++ /dev/null
@@ -1,10 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property var test1: Qt.lighter(Qt.rgba(1, 0.8, 0.3))
- property var test2: Qt.lighter()
- property var test3: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 10)
- property var test4: Qt.lighter("red");
- property var test5: Qt.lighter("perfectred"); // Non-existant color
- property var test6: Qt.lighter(10);
-}
diff --git a/tests/auto/declarative/qmlqt/data/md5.qml b/tests/auto/declarative/qmlqt/data/md5.qml
deleted file mode 100644
index c474b71..0000000
--- a/tests/auto/declarative/qmlqt/data/md5.qml
+++ /dev/null
@@ -1,6 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property string test1: Qt.md5()
- property string test2: Qt.md5("Hello World")
-}
diff --git a/tests/auto/declarative/qmlqt/data/point.qml b/tests/auto/declarative/qmlqt/data/point.qml
deleted file mode 100644
index c383beb..0000000
--- a/tests/auto/declarative/qmlqt/data/point.qml
+++ /dev/null
@@ -1,9 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property var test1: Qt.point(19, 34);
- property var test2: Qt.point(-3, 109.2);
- property var test3: Qt.point(-3);
- property var test4: Qt.point(-3, 109.2, 1);
-}
-
diff --git a/tests/auto/declarative/qmlqt/data/rect.qml b/tests/auto/declarative/qmlqt/data/rect.qml
deleted file mode 100644
index 82b6428..0000000
--- a/tests/auto/declarative/qmlqt/data/rect.qml
+++ /dev/null
@@ -1,9 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property var test1: Qt.rect(10, 13, 100, 109)
- property var test2: Qt.rect(-10, 13, 100, 109.6)
- property var test3: Qt.rect(10, 13);
- property var test4: Qt.rect(10, 13, 100, 109, 10)
- property var test5: Qt.rect(10, 13, 100, -109)
-}
diff --git a/tests/auto/declarative/qmlqt/data/rgba.qml b/tests/auto/declarative/qmlqt/data/rgba.qml
deleted file mode 100644
index 6dd6565..0000000
--- a/tests/auto/declarative/qmlqt/data/rgba.qml
+++ /dev/null
@@ -1,10 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property color test1: Qt.rgba(1, 0, 0, 0.8);
- property color test2: Qt.rgba(1, 0.5, 0.3);
- property color test3: Qt.rgba(1, 1);
- property color test4: Qt.rgba(1, 1, 1, 1, 1);
- property color test5: Qt.rgba(1.2, 1, 1);
- property color test6: Qt.rgba(-0.1, 1, 1);
-}
diff --git a/tests/auto/declarative/qmlqt/data/size.qml b/tests/auto/declarative/qmlqt/data/size.qml
deleted file mode 100644
index 05b0317..0000000
--- a/tests/auto/declarative/qmlqt/data/size.qml
+++ /dev/null
@@ -1,11 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property var test1: Qt.size(19, 34);
- property var test2: Qt.size(3, 109.2);
- property var test3: Qt.size(-3, 10);
- property var test4: Qt.size(3);
- property var test5: Qt.size(3, 109.2, 1);
-}
-
-
diff --git a/tests/auto/declarative/qmlqt/data/tint.qml b/tests/auto/declarative/qmlqt/data/tint.qml
deleted file mode 100644
index da8afe2..0000000
--- a/tests/auto/declarative/qmlqt/data/tint.qml
+++ /dev/null
@@ -1,9 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property color test1: Qt.tint("red", "blue");
- property color test2: Qt.tint(Qt.rgba(1, 0, 0), Qt.rgba(0, 0, 0, 0));
- property color test3: Qt.tint("red", Qt.rgba(0, 0, 1, 0.5)); // XXX - what should this be?
- property color test4: Qt.tint("red", Qt.rgba(0, 0, 1, 0.5), 10);
- property color test5: Qt.tint("red")
-}
diff --git a/tests/auto/declarative/qmlqt/data/vector.qml b/tests/auto/declarative/qmlqt/data/vector.qml
deleted file mode 100644
index a471c7a..0000000
--- a/tests/auto/declarative/qmlqt/data/vector.qml
+++ /dev/null
@@ -1,8 +0,0 @@
-import Qt 4.6
-
-QtObject {
- property var test1: Qt.vector3d(1, 0, 0.9);
- property var test2: Qt.vector3d(102, -10, -982.1);
- property var test3: Qt.vector3d(102, -10);
- property var test4: Qt.vector3d(102, -10, -982.1, 10);
-}