[Qt-interest] signals / slots
Constantin Makshin
cmakshin at gmail.com
Tue Jan 11 20:23:30 CET 2011
Yes, Qt supports queued connections (http://doc.qt.nokia.com/4.7/signalsandslots.html#signals).
However, I'd suggest moving long operations to separate threads when possible. In that case they won't block the event loop and will be able to be performed simultaneously, increasing application's overall performance.
On Tuesday 11 January 2011 22:01:07 Michael S wrote:
> Good day all,
>
> I am writing a service type console application and decided to use signals / slots for event notifications. I have a few times of events. Some are scheduled with QTimer objects, some are external. I was wondering if the emitted signals get queued somewhere, in case 2 of them overlap and the first slot takes a long time to complete. In other words I want to make sure than no signals are lost.
>
> Thanks,
> Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110111/fdced110/attachment.bin
More information about the Qt-interest-old
mailing list