diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2009-06-04 12:32:43 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2009-06-11 06:51:10 (GMT) |
commit | 2feffad511c2ea535e59221ae1b0b46c91bb8227 (patch) | |
tree | fdd6c0a6b0b009ed8514afb021b3e4e7bdd8c5de | |
parent | aef2140573c5b68062db2f1a2cf968a1637344ae (diff) | |
download | Qt-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.qdoc | 3 |
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 |