diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2011-01-26 11:42:49 (GMT) |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2011-01-26 12:50:44 (GMT) |
commit | d3bf6e227b353c10de3353b6072640dea59b52c0 (patch) | |
tree | c80ea533b6fbfaf214dfe2c3f6a7333084ccf795 /doc/src/declarative | |
parent | a0177c4b9e4566f9d9edcab7b12ed77bfd823590 (diff) | |
download | Qt-d3bf6e227b353c10de3353b6072640dea59b52c0.zip Qt-d3bf6e227b353c10de3353b6072640dea59b52c0.tar.gz Qt-d3bf6e227b353c10de3353b6072640dea59b52c0.tar.bz2 |
doc: Fixed a missing * in the docs for QML_DECLARE_TYPE
It's actually equivalant to Q_DECLARE_METATYPE(TYPE *). This explains
why it works on classes that use Q_DISABLE_COPY.
Reviewed-by: David Boddie <david.boddie@nokia.com>
Diffstat (limited to 'doc/src/declarative')
-rw-r--r-- | doc/src/declarative/qtdeclarative.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/declarative/qtdeclarative.qdoc b/doc/src/declarative/qtdeclarative.qdoc index 05dac52..6affbf9 100644 --- a/doc/src/declarative/qtdeclarative.qdoc +++ b/doc/src/declarative/qtdeclarative.qdoc @@ -56,7 +56,7 @@ \macro QML_DECLARE_TYPE() \relates QDeclarativeEngine - Equivalent to \c Q_DECLARE_METATYPE(TYPE) and \c Q_DECLARE_METATYPE(QDeclarativeListProperty<TYPE>) + Equivalent to \c Q_DECLARE_METATYPE(TYPE *) and \c Q_DECLARE_METATYPE(QDeclarativeListProperty<TYPE>) #include <QtDeclarative> to use this macro. */ |