summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2010-11-29 14:20:43 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-11-29 14:20:43 (GMT)
commit0b8a04253e4842465427b3fcf6918a220905db0c (patch)
treeb1873a0af2b0a70a8acdf75429818cc1faad437a /doc
parent79f1bce5cef4cf98b426658252a479221e1ea4fa (diff)
downloadQt-0b8a04253e4842465427b3fcf6918a220905db0c.zip
Qt-0b8a04253e4842465427b3fcf6918a220905db0c.tar.gz
Qt-0b8a04253e4842465427b3fcf6918a220905db0c.tar.bz2
Fix documentation for QML extended types
Fixes the documentation for QML extended types, one should use 'qmlRegisterExtendedType' instead of 'qmlRegisterType'. Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/extending.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/extending.qdoc b/doc/src/declarative/extending.qdoc
index 5c1b977..1e6e301 100644
--- a/doc/src/declarative/extending.qdoc
+++ b/doc/src/declarative/extending.qdoc
@@ -594,10 +594,10 @@ the appropriate property on the extension object is used instead.
When an extended type is installed, one of the
\code
template<typename T, typename ExtendedT>
-int qmlRegisterType(const char *uri, int versionMajor, int versionMinor, const char *qmlName)
+int qmlRegisterExtendedType(const char *uri, int versionMajor, int versionMinor, const char *qmlName)
template<typename T, typename ExtendedT>
-int qmlRegisterType()
+int qmlRegisterExtendedType()
\endcode
functions should be used instead of the regular \c qmlRegisterType() variations.
The arguments are identical to the corresponding non-extension registration functions,