summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-19 00:18:19 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-08-19 00:18:19 (GMT)
commit673fa509fe0ac8262e53a12907e99d2a007fb5f2 (patch)
tree795db4e18c43270ecfd12318755a3e0d35abc958
parentc6867a620259ee6c82a038995f424bef63d45aea (diff)
downloadQt-673fa509fe0ac8262e53a12907e99d2a007fb5f2.zip
Qt-673fa509fe0ac8262e53a12907e99d2a007fb5f2.tar.gz
Qt-673fa509fe0ac8262e53a12907e99d2a007fb5f2.tar.bz2
Document QML_DECLARE_TYPEINFO
-rw-r--r--doc/src/declarative/qtdeclarative.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/declarative/qtdeclarative.qdoc b/doc/src/declarative/qtdeclarative.qdoc
index b4f4c83..f163a66 100644
--- a/doc/src/declarative/qtdeclarative.qdoc
+++ b/doc/src/declarative/qtdeclarative.qdoc
@@ -59,6 +59,16 @@
Equivalent to Q_DECLARE_METATYPE(TYPE) and Q_DECLARE_METATYPE(QDeclarativeListProperty<TYPE>)
*/
+/*!
+ \macro QML_DECLARE_TYPEINFO(Type,Flags)
+ \relates QDeclarativeEngine
+
+ Declares additional properties of a type.
+
+ Current the only supported type info is \c QML_HAS_ATTACHED_PROPERTIES which
+ declares that the \c Type supports \l {Attached Properties}.
+*/
+
/*!
\fn int qmlRegisterType(const char *uri, int versionMajor, int versionMinor, const char *qmlName)