[Qt-interest] is it possible to dynamically change the type ofsignal/slot connections
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Thu Apr 23 23:17:47 CEST 2009
No... However, I would have "two" signals, blocking and auto...
When you need to wait for the results, and are willing to block your
thread for the results call
emit sigBLockingDoFunction
Otherwise class
emit sigNonBlockingDoFunction
Scott
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Yifei Li
> Sent: Thursday, April 23, 2009 2:03 PM
> To: qt-interest at trolltech.com
> Subject: [Qt-interest] is it possible to dynamically change the type
> ofsignal/slot connections
>
> Hi all,
>
> I would like to dynamically switch between BlockingQueuedConnection
and
> AutoConnection. Is this possible?
>
> Thanks
>
> Yifei
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list