From ea4df8586e16efd82eb3ae5b71857c950cbb717f Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Wed, 13 Apr 2011 14:10:41 +0200 Subject: QNAM: Function re-ordering --- src/network/access/qnetworkreplyhttpimpl_p.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/network/access/qnetworkreplyhttpimpl_p.h') diff --git a/src/network/access/qnetworkreplyhttpimpl_p.h b/src/network/access/qnetworkreplyhttpimpl_p.h index 63ad2b9750..0420ffd313 100644 --- a/src/network/access/qnetworkreplyhttpimpl_p.h +++ b/src/network/access/qnetworkreplyhttpimpl_p.h @@ -180,18 +180,14 @@ public: void _q_finished(); - // ? - void consume(qint64 count); - - void setDownloadBuffer(QSharedPointer sp, qint64 size); - char* getDownloadBuffer(qint64 size); - // FIXME void finished(); void error(QNetworkReply::NetworkError code, const QString &errorString); void _q_error(QNetworkReply::NetworkError code, const QString &errorString); void metaDataChanged(); + void redirectionRequested(const QUrl &target); + void checkForRedirect(const int statusCode); // incoming from user @@ -249,6 +245,8 @@ public: QByteDataBuffer pendingDownloadData; // For signal compression qint64 bytesDownloaded; qint64 lastBytesDownloaded; + void setDownloadBuffer(QSharedPointer sp, qint64 size); + char* getDownloadBuffer(qint64 size); // only used when the "zero copy" style is used. Else downloadMultiBuffer is used. // Please note that the whole "zero copy" download buffer API is private right now. Do not use it. @@ -279,7 +277,6 @@ public: void postRequest(); - void checkForRedirect(const int statusCode); public: // From HTTP thread: -- cgit v1.2.3