Hello.
On http://doc.qt.nokia.com/4.7/qnetworkaccessmanager.html is small example:
Qt Code:
  1. QNetworkRequest request;
  2. request.setUrl(QUrl("http://qt.nokia.com"));
  3. request.setRawHeader("User-Agent", "MyOwnBrowser 1.0");
  4.  
  5. QNetworkReply *reply = manager->get(request);
  6. //if network error occur here - what happens? slotError is called or not?
  7.  
  8. connect(reply, SIGNAL(readyRead()), this, SLOT(slotReadyRead()));
  9. connect(reply, SIGNAL(error(QNetworkReply::NetworkError)),
  10. this, SLOT(slotError(QNetworkReply::NetworkError)));
  11. connect(reply, SIGNAL(sslErrors(QList<QSslError>)),
  12. this, SLOT(slotSslErrors(QList<QSslError>)));
To copy to clipboard, switch view to plain text mode 
If network error occur in line 6 of code - what happens? Probably slotError will not be triggered. Any suggestions?