summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.cpp
diff options
context:
space:
mode:
authorAlejandro Exojo <suy@badopi.org>2015-07-05 16:02:18 +0200
committerAlejandro Exojo Piqueras <suy@badopi.org>2015-07-12 19:47:44 +0000
commit4b17bc34977329aa68fefdd1e2c9428adaa65356 (patch)
tree74b324546b9a1bf76dd7c0bd4dae0bb61b2a464f /src/corelib/kernel/qmetaobject.cpp
parent4018cd3529ded32f3434095a2da2568d52dfe16a (diff)
doc: Correction in access(): signals are now public
Change-Id: I7c3ea57103a3e68ec5fadd082c11fbc0db960b0b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
-rw-r--r--src/corelib/kernel/qmetaobject.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp
index bae8c1268b..fc161e6f89 100644
--- a/src/corelib/kernel/qmetaobject.cpp
+++ b/src/corelib/kernel/qmetaobject.cpp
@@ -1964,8 +1964,9 @@ int QMetaMethod::revision() const
Returns the access specification of this method (private,
protected, or public).
- Signals are always protected, meaning that you can only emit them
- from the class or from a subclass.
+ \note Signals are always public, but you should regard that as an
+ implementation detail. It is almost always a bad idea to emit a signal from
+ outside its class.
\sa methodType()
*/