docs: Q_CLASSINFO is used in a couple more places besides ActiveQt

Change-Id: I000f538dc11477224efbf2edc91873822eb9fef2
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
Shawn Rutledge 2014-04-09 07:27:21 +02:00 committed by The Qt Project
parent 0be1c4899c
commit 3a4bd21db5
2 changed files with 9 additions and 6 deletions

View File

@ -26,7 +26,7 @@ qhp.QtCore.subprojects.classes.sortPages = true
tagfile = ../../../doc/qtcore/qtcore.tags tagfile = ../../../doc/qtcore/qtcore.tags
depends += qtgui qtwidgets qtnetwork qtdoc qtmacextras qtquick qtlinguist qtdesigner qtconcurrent qtxml qmake depends += activeqt qtdbus qtgui qtwidgets qtnetwork qtdoc qtmacextras qtqml qtquick qtlinguist qtdesigner qtconcurrent qtxml qmake
headerdirs += .. headerdirs += ..

View File

@ -4063,18 +4063,21 @@ QDebug operator<<(QDebug dbg, const QObject *o) {
\macro Q_CLASSINFO(Name, Value) \macro Q_CLASSINFO(Name, Value)
\relates QObject \relates QObject
This macro associates extra information to the class, which is This macro associates extra information to the class, which is available
available using QObject::metaObject(). Except for the ActiveQt using QObject::metaObject(). Qt makes only limited use of this feature, in
extension, Qt doesn't use this information. the \l{Active Qt}, \l{Qt D-Bus} and \l{Qt QML} modules.
The extra information takes the form of a \a Name string and a \a The extra information takes the form of a \a Name string and a \a Value
Value literal string. literal string.
Example: Example:
\snippet code/src_corelib_kernel_qobject.cpp 35 \snippet code/src_corelib_kernel_qobject.cpp 35
\sa QMetaObject::classInfo() \sa QMetaObject::classInfo()
\sa QAxFactory
\sa {Using Qt D-Bus Adaptors}
\sa {Extending QML - Default Property Example}
*/ */
/*! /*!