diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-08 03:21:11 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-08 04:20:12 (GMT) |
commit | 4e86f05efe32275117f686d6ae3b39eb0a7621af (patch) | |
tree | 0ce2179a35daf304e5f3679e73a5a5b9cecd3000 /doc/src/declarative/dynamicobjects.qdoc | |
parent | 76f5e9e7d1eea8d688d5459b7b7b2bfa3f9057ed (diff) | |
download | Qt-4e86f05efe32275117f686d6ae3b39eb0a7621af.zip Qt-4e86f05efe32275117f686d6ae3b39eb0a7621af.tar.gz Qt-4e86f05efe32275117f686d6ae3b39eb0a7621af.tar.bz2 |
Replace "import Qt 4.6" with "import Qt 4.7"
Diffstat (limited to 'doc/src/declarative/dynamicobjects.qdoc')
-rw-r--r-- | doc/src/declarative/dynamicobjects.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/declarative/dynamicobjects.qdoc b/doc/src/declarative/dynamicobjects.qdoc index b2e3f90..63f697d 100644 --- a/doc/src/declarative/dynamicobjects.qdoc +++ b/doc/src/declarative/dynamicobjects.qdoc @@ -122,7 +122,7 @@ If the QML does not exist until runtime, you can create a QML item from a string of QML using the createQmlObject function, as in the following example: \code - newObject = createQmlObject('import Qt 4.6; Rectangle { color: "red"; width: 20; height: 20 }', + newObject = createQmlObject('import Qt 4.7; Rectangle { color: "red"; width: 20; height: 20 }', targetItem, "dynamicSnippet1"); \endcode The first argument is the string of QML to create. Just like in a new file, you will need to |