From f6d9c3f0dd014c409c43150b3a10866f47ea54a6 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Wed, 6 Oct 2010 14:13:02 +0200 Subject: Clarified the auto connect enumeration regarding which type of connection is made. Task-number: QTBUG-14223 Reviewed-by: David Boddie --- src/corelib/global/qnamespace.qdoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index ad0ffd7..32e85db 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -511,9 +511,11 @@ delivery at a later time. \value AutoConnection - (default) Same as DirectConnection, if the emitter and - receiver are in the same thread. Same as QueuedConnection, - if the emitter and receiver are in different threads. + (default) If the object sending the signal is in a different thread + than the receiving object, the signal is queued, behaving as + Qt::QueuedConnection. If both objects are in the same thread, + the slot is invoked directly, behaving as Qt::DirectConnection. The + type of connection is determined when the signal is emitted. \value DirectConnection The slot is invoked immediately, when the signal is -- cgit v0.12