From 4c8ea0c920d99dcf0d0decc04597da7b521f2e9c Mon Sep 17 00:00:00 2001 From: John Brooks Date: Tue, 31 Aug 2010 20:42:14 -0600 Subject: Correct QNetworkReply::downloadProgress and uploadProgress docs The signal provides qint64, which cannot be connected to QProgressBar::setValue(int). --- src/network/access/qnetworkreply.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/network/access/qnetworkreply.cpp b/src/network/access/qnetworkreply.cpp index c8b8c1f..261ed20 100644 --- a/src/network/access/qnetworkreply.cpp +++ b/src/network/access/qnetworkreply.cpp @@ -283,9 +283,6 @@ QNetworkReplyPrivate::QNetworkReplyPrivate() The upload is finished when \a bytesSent is equal to \a bytesTotal. At that time, \a bytesTotal will not be -1. - This signal is suitable to connecting to QProgressBar::setValue() - to update the QProgressBar that provides user feedback. - \sa downloadProgress() */ @@ -306,9 +303,6 @@ QNetworkReplyPrivate::QNetworkReplyPrivate() The download is finished when \a bytesReceived is equal to \a bytesTotal. At that time, \a bytesTotal will not be -1. - This signal is suitable to connecting to QProgressBar::setValue() - to update the QProgressBar that provides user feedback. - Note that the values of both \a bytesReceived and \a bytesTotal may be different from size(), the total number of bytes obtained through read() or readAll(), or the value of the -- cgit v0.12