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>
This commit is contained in:
Alejandro Exojo 2015-07-05 16:02:18 +02:00 committed by Alejandro Exojo Piqueras
parent 4018cd3529
commit 4b17bc3497

View File

@ -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()
*/