[Qt-interest] qNetworkReply waitForReadyRead()

Thiago Macieira thiago.macieira at trolltech.com
Mon Feb 16 19:15:29 CET 2009


Em Segunda-feira 16 Fevereiro 2009, às 18:39:45, Srikanth Kavoori escreveu:
> . now how do i stop my reader from reading the data from device when there
> is no data available and restart reading when the data is available. is
> there an alternative. right now i am able to start reading the complete
> data in the signal finished() , but would like to start reading in
> readyRead() as soon as the data has arrived.

Reading in response to readyRead() is the right way. What is your problem when 
doing that?

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090216/5096f015/attachment.bin 


More information about the Qt-interest-old mailing list