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:
parent
1b9be3f481
commit
9943ac440e
@ -4140,7 +4140,7 @@ QDebug operator<<(QDebug dbg, const QObject *o) {
|
|||||||
\macro Q_INVOKABLE
|
\macro Q_INVOKABLE
|
||||||
\relates QObject
|
\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
|
be invoked via the meta-object system. The macro is written before
|
||||||
the return type, as shown in the following example:
|
the return type, as shown in the following example:
|
||||||
|
|
||||||
@ -4157,7 +4157,7 @@ QDebug operator<<(QDebug dbg, const QObject *o) {
|
|||||||
\macro Q_REVISION
|
\macro Q_REVISION
|
||||||
\relates QObject
|
\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
|
revision number in the meta-object system. The macro is written before
|
||||||
the return type, as shown in the following example:
|
the return type, as shown in the following example:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user