summaryrefslogtreecommitdiffstats
path: root/src/network/access/qfilenetworkreply_p.h
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-01-25 12:11:46 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-01-25 12:42:00 (GMT)
commit91ccf28292f7fb78e0192c281bde2818a9be3a97 (patch)
tree98bcb3d3a9846ce2b4164636cd12f3479d369dda /src/network/access/qfilenetworkreply_p.h
parentc56ede1d6f5082cd10c310d473779cfea3363fe6 (diff)
downloadQt-91ccf28292f7fb78e0192c281bde2818a9be3a97.zip
Qt-91ccf28292f7fb78e0192c281bde2818a9be3a97.tar.gz
Qt-91ccf28292f7fb78e0192c281bde2818a9be3a97.tar.bz2
QFileNetworkReply: Use a QFileEngine
Slight performance increase. Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/access/qfilenetworkreply_p.h')
-rw-r--r--src/network/access/qfilenetworkreply_p.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/network/access/qfilenetworkreply_p.h b/src/network/access/qfilenetworkreply_p.h
index 125fa2e..710ec9f 100644
--- a/src/network/access/qfilenetworkreply_p.h
+++ b/src/network/access/qfilenetworkreply_p.h
@@ -57,6 +57,7 @@
#include "qnetworkreply_p.h"
#include "qnetworkaccessmanager.h"
#include <QFile>
+#include <QAbstractFileEngine>
QT_BEGIN_NAMESPACE
@@ -85,9 +86,11 @@ class QFileNetworkReplyPrivate: public QNetworkReplyPrivate
{
public:
QFileNetworkReplyPrivate();
+ ~QFileNetworkReplyPrivate();
- QFile realFile;
- qint64 realFileSize;
+ QAbstractFileEngine *fileEngine;
+ qint64 fileSize;
+ qint64 filePos;
virtual bool isFinished() const;