[Qt-interest] Qt signaling smarts...
Gordon Schumacher
gordon at rebit.com
Tue Nov 24 19:20:41 CET 2009
Thiago Macieira wrote:
> You can always make the middle-man signal be a direct connection:
>
> connect(&myQThread1,SIGNAL(thread1Signal()),
> this,SIGNAL(thread1SignalToThread2Signal(), Qt::DirectConnection)
>
*blink*
So, that would be why the sender() docs warn you about threaded
DirectConnection... when I read that, I went "why the heck would you do
such a thing... bad juju!" I guess as long as you're not actually
accessing any data - as with this example - that would be safe!
More information about the Qt-interest-old
mailing list