[Qt-interest] Qt signaling smarts...

Thiago Macieira thiago at kde.org
Tue Nov 24 19:14:37 CET 2009


Em Terça-feira 24 Novembro 2009, às 18:52:01, BRM escreveu:
> Thank you very much for answering my question. Looks like I will need to
>  figure out how to track the QThread1 object so I can make queued
>  connections directly between the two threads without having it go through
>  the main thread.

You can always make the middle-man signal be a direct connection:

connect(&myQThread1,SIGNAL(thread1Signal()), 
this,SIGNAL(thread1SignalToThread2Signal(), Qt::DirectConnection)
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091124/bbccb30d/attachment.bin 


More information about the Qt-interest-old mailing list