diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-05-25 13:03:28 -0700 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-05-27 09:38:00 +0000 |
commit | 578329719374f2c55d60682e51013970f7afe44e (patch) | |
tree | eeafff9f10da530d5c7c23b69046f0347bc7d1ea | |
parent | 0c6a1e633d45dfef150fa5a2c5079d6b3a9126e8 (diff) | |
download | qtdoc-578329719374f2c55d60682e51013970f7afe44e.tar.gz |
Doc: update the moc docs as to what can't be used with class templates
It's not just signals and slots, it's everything that requires a meta
object. That is, as soon as Q_OBJECT is used.
Task-number: QTBUG-46318
Change-Id: Ia2e569fbca46406386c9ffff13e18fca0773fd4d
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r-- | doc/src/development/moc.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/development/moc.qdoc b/doc/src/development/moc.qdoc index 13f35235..6a609c1a 100644 --- a/doc/src/development/moc.qdoc +++ b/doc/src/development/moc.qdoc @@ -252,7 +252,7 @@ \section1 Limitations \c moc does not handle all of C++. The main problem is that class - templates cannot have signals or slots. Here is an example: + templates cannot have the Q_OBJECT macro. Here is an example: \snippet snippets/code/doc_src_moc.cpp 5 |