summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/scope.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/declarative/scope.qdoc')
-rw-r--r--doc/src/declarative/scope.qdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/declarative/scope.qdoc b/doc/src/declarative/scope.qdoc
index 363ba8d..5501242 100644
--- a/doc/src/declarative/scope.qdoc
+++ b/doc/src/declarative/scope.qdoc
@@ -112,7 +112,7 @@ following example shows a simple QML file that accesses some enumeration
values and calls an imported JavaScript function.
\code
-import Qt 4.7
+import QtQuick 1.0
import "code.js" as Code
ListView {
@@ -253,7 +253,7 @@ is used, the \c title property may resolve differently.
\code
// TitlePage.qml
-import Qt 4.7
+import QtQuick 1.0
Item {
property string title
@@ -269,7 +269,7 @@ Item {
}
// TitleText.qml
-import Qt 4.7
+import QtQuick 1.0
Text {
property int size
text: "<b>" + title + "</b>"
@@ -285,7 +285,7 @@ to use property interfaces, like this:
\code
// TitlePage.qml
-import Qt 4.7
+import QtQuick 1.0
Item {
id: root
property string title
@@ -304,7 +304,7 @@ Item {
}
// TitleText.qml
-import Qt 4.7
+import QtQuick 1.0
Text {
property string title
property int size