[Qt-interest] Re : QNetworkAccessManager and simple get request.
Thiago Macieira
thiago at kde.org
Thu Dec 10 14:50:44 CET 2009
Em Quinta-feira 10 Dezembro 2009, às 13:38:47, Markus Goetz escreveu:
> ext BOUCARD Olivier wrote:
> > All the QtNetwork module is asynchroneous except some functions like
> > waitFor* functions from QAbstractSocket.
>
> Unfortunately, the waitFor functions are not well implemented in
> QNetworkReply. You'd need a QEventLoop and some signal connecting to it
> to emulate them.
They are not implemented at all, intentionally. It's simply not possible with
the architecture.
QNetworkReply is asynchronous-only.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091210/a186e575/attachment.bin
More information about the Qt-interest-old
mailing list