summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/createComponent.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-20 01:40:37 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-07-20 01:45:47 (GMT)
commitc95889b7896dc5418841ef72326d99296943e616 (patch)
tree4b19d8884af26e4e78042f06686e89e40b46d0f8 /doc/src/snippets/declarative/createComponent.qml
parent8e19cbbad806b710e03ff17e80646e0274cf63cc (diff)
downloadQt-c95889b7896dc5418841ef72326d99296943e616.zip
Qt-c95889b7896dc5418841ef72326d99296943e616.tar.gz
Qt-c95889b7896dc5418841ef72326d99296943e616.tar.bz2
fixes for dynamic object creation docs
Diffstat (limited to 'doc/src/snippets/declarative/createComponent.qml')
-rw-r--r--doc/src/snippets/declarative/createComponent.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/declarative/createComponent.qml b/doc/src/snippets/declarative/createComponent.qml
index 8bfed07..0f9fad5 100644
--- a/doc/src/snippets/declarative/createComponent.qml
+++ b/doc/src/snippets/declarative/createComponent.qml
@@ -40,12 +40,12 @@
//![0]
import Qt 4.7
-import "componentCreation.js" as MyModule
+import "componentCreation.js" as MyScript
Rectangle {
id: appWindow
width: 300; height: 300
- Component.onCompleted: MyModule.createSpriteObjects();
+ Component.onCompleted: MyScript.createSpriteObjects();
}
//![0]