[Qt-interest] Temporarily 'ignoring' QIODevice::readyRead() in multithreaded app

R. Reucher rene.reucher at batcom-it.net
Mon Dec 7 16:49:51 CET 2009


On Mon December 7 2009 16:33 preet.desai at gmail.com wrote:
> I need a way to 'ignore' signals after receiving readyRead() initially,
> and then enable signals once again when my signal handler function has
> completed execution.
If temporarily ignoring the signals solves your troubles, try using "bool
QObject::blockSignals(bool block)" on the QIODevice.

HTH, René
-- 
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/



More information about the Qt-interest-old mailing list