Doc: Fix description about Qt::UniqueConnection

Qt::UniqueConnection is a flag, not a standalone connection type.

Change-Id: Ibafb7306f3d60753a4381897488131e6484d368f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Sze Howe Koh 2013-01-05 23:50:35 +08:00 committed by The Qt Project
parent e02ecba61f
commit d48534302c

View File

@ -523,11 +523,11 @@
application to deadlock.
\value UniqueConnection
Same as AutoConnection, but the connection is made only if
it does not duplicate an existing connection. i.e., if the
same signal is already connected to the same slot for the
same pair of objects, then the connection will fail. This
connection type was introduced in Qt 4.6.
This is a flag that can be combined with any one of the above
connection types, using a bitwise OR. When Qt::UniqueConnection is
set, QObject::connect() will fail if the connection already exists
(i.e. if the same signal is already connected to the same slot
for the same pair of objects). This flag was introduced in Qt 4.6.
With queued connections, the parameters must be of types that are
known to Qt's meta-object system, because Qt needs to copy the