[Qt-interest] need help with qobject connect
Thiago Macieira
thiago.macieira at trolltech.com
Mon Aug 10 23:49:04 CEST 2009
Murphy, Sean M. wrote:
>> >> I mean SLOTs called consistently in a queue order.
>> >
>> >As I said already, the order of this queue is undefined, meaning it
>> >could potentially change depending on the phase of the moon.
>>
>> Actually, it is defined. It's always the order of the connects.
>
>Thiago, the Qt docs disagree with you, and agree with what Andreas
> meant. From http://doc.qtsoftware.com/4.5/signalsandslots.html#signals
>
>"If several slots are connected to one signal, the slots will be
> executed one after the other, in an arbitrary order, when the signal is
> emitted."
>
>As Andreas said, ***RIGHT NOW*** they are executed in the order that
> they were connected, but you Trolls (are you still considered Trolls,
> btw?) don't guarantee that they will be in all versions of Qt.
Agreed, but we probably cannot change the order, as that would break far
too many applications that depend on it.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Development Frameworks
Sandakerveien 116, NO-0402 Oslo, Norway
Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14 San Francisco, California: Nov 2 - 4
http://qt.nokia.com/qtdevdays2009
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090810/19f03dde/attachment.bin
More information about the Qt-interest-old
mailing list