Hi all,
just a little trouble...
If I emit more than one signal in a slot or in a function, how does Qt behave when I return from the function (or from the slot)?
Obviously, each signal is connected to a different slot!
Thanks,
Alex
Hi all,
just a little trouble...
If I emit more than one signal in a slot or in a function, how does Qt behave when I return from the function (or from the slot)?
Obviously, each signal is connected to a different slot!
Thanks,
Alex
Last edited by QAlex; 20th November 2009 at 09:56.
They behave like a normal function call. Look at Qt::ConnectionType and Signals and Slots, "...When a signal is emitted, the slots connected to it are usually executed immediately, just like a normal function call..."
Dear Montuno,
I found the first link very interesting for my doubt, because it explains how to have a bit of control on the execution of the slots connected to the signals.
Hope this note can be useful for other people!
Thanks for your help!!!
Bye
Alex
Bookmarks