[Qt-interest] [Interest] z-order for Qt's signals and slots
Giuseppe D'Angelo
dangelog at gmail.com
Wed Nov 23 17:12:10 CET 2011
On 23 November 2011 15:23, Arnold Krille <arnold at arnoldarts.de> wrote:
> No, they are _not_ guaranteed to be called in order. The docs explicitly state
> that currently the order called is the order connected, but also states that
> this can change anytime if a "better" algorithm is found.
I must have overlooked this fact. Where it's written?
What I said comes from http://doc.qt.nokia.com/latest/signalsandslots.html
"If several slots are connected to one signal, the slots will be
executed one after the other, in the order they have been connected,
when the signal is emitted."
and as I said, was added in 4.6 docs by commit 0ea19cf0 -- before it
showed "undefined".
Cheers,
--
Giuseppe D'Angelo
More information about the Qt-interest-old
mailing list