summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2010-04-14 14:55:36 (GMT)
committermae <qt-info@nokia.com>2010-04-14 14:56:52 (GMT)
commitbd062a4532cb9ffc3539093da0adf3be6fdc8fc9 (patch)
tree3562e8eac86f95484f62368adcf9cec56f1360ed /doc/src
parent0cc27cec860f46b1e349c428973cf4ce3331b285 (diff)
downloadQt-bd062a4532cb9ffc3539093da0adf3be6fdc8fc9.zip
Qt-bd062a4532cb9ffc3539093da0adf3be6fdc8fc9.tar.gz
Qt-bd062a4532cb9ffc3539093da0adf3be6fdc8fc9.tar.bz2
Updates to the module documentation
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/qtdeclarative.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/declarative/qtdeclarative.qdoc b/doc/src/declarative/qtdeclarative.qdoc
index 8013b92..cbb2146 100644
--- a/doc/src/declarative/qtdeclarative.qdoc
+++ b/doc/src/declarative/qtdeclarative.qdoc
@@ -69,6 +69,10 @@
/*!
\macro QML_DECLARE_TYPE()
\relates QDeclarativeEngine
+
+ Declares a C++ type to be usable in the QML system. In addition
+ to this, a type must also be registered with the QML system using
+ qmlRegisterType().
*/
@@ -79,6 +83,7 @@
This template function registers the C++ type in the QML system with
the name \a qmlName. in the library imported from \a uri having the
version number composed from \a versionMajor and \a versionMinor.
+ The type should also haved been declared with the QML_DECLARE_TYPE() macro.
Returns the QML type id.
@@ -109,6 +114,8 @@
This template function registers the C++ type in the QML system
under the name \a typeName.
+ The type should also haved been declared with the QML_DECLARE_TYPE() macro.
+
Returns the QML type id.
*/