summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.cpp
diff options
context:
space:
mode:
authorAlan Alpert <aalpert@blackberry.com>2013-03-08 10:51:53 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-01 19:30:28 +0200
commit22cd698e39970ded3fa4fd873195314015ce4b8c (patch)
treec7a0353f52389b97b85615b80da6d07963b737da /src/corelib/kernel/qmetaobject.cpp
parent6845a4fb0147117e8517d66f18792ca7acdbe06e (diff)
Document Q_REVISION macro better
Previously it was only mentioned in properties.qdoc Task-number: QTBUG-18802 Change-Id: Iab23128c1567974154cdcce7412b2e1468bb846a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
-rw-r--r--src/corelib/kernel/qmetaobject.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp
index 4399349352..b581be821b 100644
--- a/src/corelib/kernel/qmetaobject.cpp
+++ b/src/corelib/kernel/qmetaobject.cpp
@@ -1904,9 +1904,9 @@ int QMetaMethod::methodIndex() const
return QMetaMethodPrivate::get(this)->ownMethodIndex() + mobj->methodOffset();
}
+// This method has been around for a while, but the documentation was marked \internal until 5.1
/*!
- \internal
-
+ \since 5.1
Returns the method revision if one was
specified by Q_REVISION, otherwise returns 0.
*/
@@ -2550,7 +2550,7 @@ static QByteArray qualifiedName(const QMetaEnum &e)
A property has a name() and a type(), as well as various
attributes that specify its behavior: isReadable(), isWritable(),
- isDesignable(), isScriptable(), and isStored().
+ isDesignable(), isScriptable(), revision(), and isStored().
If the property is an enumeration, isEnumType() returns true; if the
property is an enumeration that is also a flag (i.e. its values
@@ -2994,8 +2994,9 @@ int QMetaProperty::notifySignalIndex() const
}
}
+// This method has been around for a while, but the documentation was marked \internal until 5.1
/*!
- \internal
+ \since 5.1
Returns the property revision if one was
specified by REVISION, otherwise returns 0.