Doc: Q_REVISION/Q_INVOKABLE are added to declaration not definition.

Change-Id: Ia06d33df1b5d38783e22b0c45956a5154338ed33
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
Sérgio Martins 2013-11-19 18:10:42 +00:00 committed by The Qt Project
parent 1b9be3f481
commit 9943ac440e

View File

@ -4140,7 +4140,7 @@ QDebug operator<<(QDebug dbg, const QObject *o) {
\macro Q_INVOKABLE
\relates QObject
Apply this macro to definitions of member functions to allow them to
Apply this macro to declarations of member functions to allow them to
be invoked via the meta-object system. The macro is written before
the return type, as shown in the following example:
@ -4157,7 +4157,7 @@ QDebug operator<<(QDebug dbg, const QObject *o) {
\macro Q_REVISION
\relates QObject
Apply this macro to definitions of member functions to tag them with a
Apply this macro to declarations of member functions to tag them with a
revision number in the meta-object system. The macro is written before
the return type, as shown in the following example: