diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-07-20 01:40:37 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-07-20 01:45:47 (GMT) |
commit | c95889b7896dc5418841ef72326d99296943e616 (patch) | |
tree | 4b19d8884af26e4e78042f06686e89e40b46d0f8 /doc/src/snippets/declarative/createComponent.qml | |
parent | 8e19cbbad806b710e03ff17e80646e0274cf63cc (diff) | |
download | Qt-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.qml | 4 |
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] |