summaryrefslogtreecommitdiffstats
path: root/demos/declarative/calculator
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-23 00:15:14 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-23 00:15:14 (GMT)
commitdc602e3b9c4d5e4da1d57ed657d82e73401b4531 (patch)
tree6f1ec1972a6dbeea0830373fe534390da06e6869 /demos/declarative/calculator
parent8dc527a3837c937630c8bbbab034b8bc84d496fb (diff)
downloadQt-dc602e3b9c4d5e4da1d57ed657d82e73401b4531.zip
Qt-dc602e3b9c4d5e4da1d57ed657d82e73401b4531.tar.gz
Qt-dc602e3b9c4d5e4da1d57ed657d82e73401b4531.tar.bz2
Move all QML types to Qt/4.6 namespace.
Adjust examples and demos accordingly. As per QT-558
Diffstat (limited to 'demos/declarative/calculator')
-rw-r--r--demos/declarative/calculator/CalcButton.qml2
-rw-r--r--demos/declarative/calculator/calculator.qml2
2 files changed, 4 insertions, 0 deletions
diff --git a/demos/declarative/calculator/CalcButton.qml b/demos/declarative/calculator/CalcButton.qml
index 8203710..db8ae7c 100644
--- a/demos/declarative/calculator/CalcButton.qml
+++ b/demos/declarative/calculator/CalcButton.qml
@@ -1,3 +1,5 @@
+import Qt 4.6
+
Item {
property string operation
property bool toggable : false
diff --git a/demos/declarative/calculator/calculator.qml b/demos/declarative/calculator/calculator.qml
index 2a297ef..001730d 100644
--- a/demos/declarative/calculator/calculator.qml
+++ b/demos/declarative/calculator/calculator.qml
@@ -1,3 +1,5 @@
+import Qt 4.6
+
Rect {
id: MainWindow;
width: 320; height: 270; color: "black"