[Qt-interest] Qt::AutoConnection definition change

Cristiano Leorato crleor at gmail.com
Mon Mar 22 16:49:32 CET 2010


Beware that, in Qt documentation, the "Signals and Slots Across Threads"
section has changed as follows:

In Qt 4.4.1:
"With auto connections (the default), the behavior is the same as with
direct connections if the signal is emitted in the thread where the receiver
lives; otherwise, the behavior is that of a queued connection."

In Qt 4.6.2:
"Auto Connection (default) The behavior is the same as the Direct
Connection, if the emitter and receiver are in the same thread. The behavior
is the same as the Queued Connection, if the emitter and receiver are in
different threads."

What is the reason of this documentation change?

>From the description in Qt4.6.2 it would seem the behaviour only depends on
whether emitter and receiver "live" in the same thread, which is wrong, I
believe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100322/dff9b94f/attachment.html 


More information about the Qt-interest-old mailing list