diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-07-09 10:07:20 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-07-09 10:07:20 (GMT) |
commit | 3b0a4bcf854e1d63b947e3f1690748850d416a6f (patch) | |
tree | 55378ef95deed553945edf65574b0996fb4dc7a4 /doc | |
parent | 49e66883ee4e104f9713d8e1e1b34215760a6174 (diff) | |
download | Qt-3b0a4bcf854e1d63b947e3f1690748850d416a6f.zip Qt-3b0a4bcf854e1d63b947e3f1690748850d416a6f.tar.gz Qt-3b0a4bcf854e1d63b947e3f1690748850d416a6f.tar.bz2 |
doc: Fixed last of the declarative/QML qdoc warnings.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/advtutorial.qdoc | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/doc/src/declarative/advtutorial.qdoc b/doc/src/declarative/advtutorial.qdoc index 9c72e95..740f6f9 100644 --- a/doc/src/declarative/advtutorial.qdoc +++ b/doc/src/declarative/advtutorial.qdoc @@ -164,14 +164,22 @@ The \c createBlock() function creates a block from the \c Block.qml file and moves the new block to its position on the game canvas. This involves several steps: \list -\o \l {Qt::createComponent()}{Qt.createComponent()} is called to generate an element from \c Block.qml. - If the component is ready, we can call \c createObject() to create an instance of the \c Block item. -\o If \c createObject() returned null (i.e. if there was an error while - loading the object), print the error information. -\o Place the block in its position on the board and set its width and height. - Also, store it in the blocks array for future reference. -\o Finally, print error information to the console if the component could not be - loaded for some reason (for example, if the file is missing). + +\o \l {QML:Qt::createComponent()}{Qt.createComponent()} is called to + generate an element from \c Block.qml. If the component is ready, + we can call \c createObject() to create an instance of the \c Block + item. + +\o If \c createObject() returned null (i.e. if there was an error + while loading the object), print the error information. + +\o Place the block in its position on the board and set its width and + height. Also, store it in the blocks array for future reference. + +\o Finally, print error information to the console if the component + could not be loaded for some reason (for example, if the file is + missing). + \endlist |