[Qt-interest] qNetworkReply waitForReadyRead()
Srikanth Kavoori
srikanth.kavoori at gmail.com
Mon Feb 16 12:58:52 CET 2009
Hi all ,
Does anyone has any idea if waitForReadyRead works with QNetworkReply as a
device.
i connected my function to QNetworkReply's readyRead to get trigger to start
reading my data.
If i get all data in one readyRead everything works fine.
but if readyRead gets connected only after a chunk of data even though i
wait using waitForReadyRead , it never works. waitForReadyRead always
returns False even though bytesAvailable() is less than contentLength from
the reply's headers.
When i debugged the code , it always refers the base class
waitForReadyRead() ( in this case QIODevice's function ) which has a default
implementation to return FALSE.
has anyone able QNetworkReply's readyRead function with multiple chunks of
data without using waitForReadyRead ?
Thanks in advance for your help.
Best Regards,
Srikanth Kavoori
Sent from: Tampere Ls Finland.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090216/f3fb9339/attachment.html
More information about the Qt-interest-old
mailing list