summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-08 03:21:11 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-04-08 04:20:12 (GMT)
commit4e86f05efe32275117f686d6ae3b39eb0a7621af (patch)
tree0ce2179a35daf304e5f3679e73a5a5b9cecd3000 /src/declarative/qml
parent76f5e9e7d1eea8d688d5459b7b7b2bfa3f9057ed (diff)
downloadQt-4e86f05efe32275117f686d6ae3b39eb0a7621af.zip
Qt-4e86f05efe32275117f686d6ae3b39eb0a7621af.tar.gz
Qt-4e86f05efe32275117f686d6ae3b39eb0a7621af.tar.bz2
Replace "import Qt 4.6" with "import Qt 4.7"
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp2
-rw-r--r--src/declarative/qml/qdeclarativeworkerscript.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index 44437ea..ee0bd18 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -408,7 +408,7 @@ QDeclarativeWorkerScriptEngine *QDeclarativeEnginePrivate::getWorkerScriptEngine
\code
QDeclarativeEngine engine;
QDeclarativeComponent component(&engine);
- component.setData("import Qt 4.6\nText { text: \"Hello world!\" }", QUrl());
+ component.setData("import Qt 4.7\nText { text: \"Hello world!\" }", QUrl());
QDeclarativeItem *item = qobject_cast<QDeclarativeItem *>(component.create());
//add item to view, etc
diff --git a/src/declarative/qml/qdeclarativeworkerscript.cpp b/src/declarative/qml/qdeclarativeworkerscript.cpp
index ddb0ece..caf680e 100644
--- a/src/declarative/qml/qdeclarativeworkerscript.cpp
+++ b/src/declarative/qml/qdeclarativeworkerscript.cpp
@@ -508,7 +508,7 @@ void QDeclarativeWorkerScriptEngine::run()
Here is an example:
\qml
- import Qt 4.6
+ import Qt 4.7
Rectangle {
width: 300