summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2009-06-04 12:32:43 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2009-06-11 06:51:10 (GMT)
commit2feffad511c2ea535e59221ae1b0b46c91bb8227 (patch)
treefdd6c0a6b0b009ed8514afb021b3e4e7bdd8c5de
parentaef2140573c5b68062db2f1a2cf968a1637344ae (diff)
downloadQt-2feffad511c2ea535e59221ae1b0b46c91bb8227.zip
Qt-2feffad511c2ea535e59221ae1b0b46c91bb8227.tar.gz
Qt-2feffad511c2ea535e59221ae1b0b46c91bb8227.tar.bz2
qdoc: Mention that QML_DECLARE_TYPE only works for non-abstract classes
-rw-r--r--doc/src/declarative/qmlforcpp.qdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/declarative/qmlforcpp.qdoc b/doc/src/declarative/qmlforcpp.qdoc
index 2898499..4095071 100644
--- a/doc/src/declarative/qmlforcpp.qdoc
+++ b/doc/src/declarative/qmlforcpp.qdoc
@@ -186,7 +186,8 @@
name \a QmlName. Of course there's nothing stopping you using the same
name for both the C++ and the QML name!
Any type can be added to the QML engine using these macros. The only
- requirements are that \a T inherits QObject and that it has a default constructor.
+ requirements are that \a T inherits QObject, is not abstract,
+ and that it has a default constructor.
\section1 Property Binding