summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
-rw-r--r--src/corelib/kernel/qobject.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp
index 0184e9a9e7..c0773882f3 100644
--- a/src/corelib/kernel/qobject.cpp
+++ b/src/corelib/kernel/qobject.cpp
@@ -4071,18 +4071,21 @@ QDebug operator<<(QDebug dbg, const QObject *o) {
\macro Q_CLASSINFO(Name, Value)
\relates QObject
- This macro associates extra information to the class, which is
- available using QObject::metaObject(). Except for the ActiveQt
- extension, Qt doesn't use this information.
+ This macro associates extra information to the class, which is available
+ using QObject::metaObject(). Qt makes only limited use of this feature, in
+ 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
- Value literal string.
+ The extra information takes the form of a \a Name string and a \a Value
+ literal string.
Example:
\snippet code/src_corelib_kernel_qobject.cpp 35
\sa QMetaObject::classInfo()
+ \sa QAxFactory
+ \sa {Using Qt D-Bus Adaptors}
+ \sa {Extending QML - Default Property Example}
*/
/*!
@@ -4441,6 +4444,8 @@ void qDeleteInEventHandler(QObject *o)
\snippet code/src_corelib_kernel_qobject.cpp 46
The connection will automatically disconnect if the sender is destroyed.
+ However, you should take care that any objects used within the functor
+ are still alive when the signal is emitted.
\note If the compiler does not support C++11 variadic templates, the number
of arguments in the signal or slot are limited to 6, and the functor object
@@ -4478,6 +4483,8 @@ void qDeleteInEventHandler(QObject *o)
The connection will automatically disconnect if the sender or the context
is destroyed.
+ However, you should take care that any objects used within the functor
+ are still alive when the signal is emitted.
\note If the compiler does not support C++11 variadic templates, the number
of arguments in the signal or slot are limited to 6, and the functor object