diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-06-24 09:34:57 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-06-24 09:47:44 (GMT) |
commit | 1304bcc9bdf7e6bd58b2a5f516acdd471fdf2328 (patch) | |
tree | a92bbfea493280b4abef05a228f6195338d0168b /src/network/access | |
parent | 0fec4eecb0f65d7dbf7a4769c9b7784c31b97578 (diff) | |
download | Qt-1304bcc9bdf7e6bd58b2a5f516acdd471fdf2328.zip Qt-1304bcc9bdf7e6bd58b2a5f516acdd471fdf2328.tar.gz Qt-1304bcc9bdf7e6bd58b2a5f516acdd471fdf2328.tar.bz2 |
QNAM: Removed some dead code
Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/access')
-rw-r--r-- | src/network/access/qnetworkaccessbackend.cpp | 5 | ||||
-rw-r--r-- | src/network/access/qnetworkaccessbackend_p.h | 1 | ||||
-rw-r--r-- | src/network/access/qnetworkreplyimpl_p.h | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/src/network/access/qnetworkaccessbackend.cpp b/src/network/access/qnetworkaccessbackend.cpp index bea0c72..88ae894 100644 --- a/src/network/access/qnetworkaccessbackend.cpp +++ b/src/network/access/qnetworkaccessbackend.cpp @@ -217,11 +217,6 @@ qint64 QNetworkAccessBackend::nextDownstreamBlockSize() const return reply->nextDownstreamBlockSize(); } -qint64 QNetworkAccessBackend::downstreamBytesToConsume() const -{ - return reply->writeBuffer.size(); -} - void QNetworkAccessBackend::writeDownstreamData(const QByteArray &data) { reply->appendDownstreamData(data); diff --git a/src/network/access/qnetworkaccessbackend_p.h b/src/network/access/qnetworkaccessbackend_p.h index e6d16ca..21cb4a6 100644 --- a/src/network/access/qnetworkaccessbackend_p.h +++ b/src/network/access/qnetworkaccessbackend_p.h @@ -166,7 +166,6 @@ protected: // these functions control the downstream mechanism // that is, data that has come via the connection and is going out the backend qint64 nextDownstreamBlockSize() const; - qint64 downstreamBytesToConsume() const; void writeDownstreamData(const QByteArray &data); public slots: diff --git a/src/network/access/qnetworkreplyimpl_p.h b/src/network/access/qnetworkreplyimpl_p.h index 2ee25ad..4d75526 100644 --- a/src/network/access/qnetworkreplyimpl_p.h +++ b/src/network/access/qnetworkreplyimpl_p.h @@ -166,7 +166,6 @@ public: #endif QRingBuffer readBuffer; - QRingBuffer writeBuffer; qint64 bytesDownloaded; qint64 lastBytesDownloaded; qint64 bytesUploaded; |