the start of a class to return files from inside the odf

This commit is contained in:
Chani Armitage
2010-06-25 07:05:29 -07:00
parent 145ab1bbe8
commit f4e9db0501
5 changed files with 84 additions and 9 deletions
@@ -0,0 +1,21 @@
#ifndef ZIPNETWORKREPLY_H
#define ZIPNETWORKREPLY_H
#include <QNetworkReply>
class OdfContainer;
class ZipNetworkReply : public QNetworkReply
{
Q_OBJECT
public:
ZipNetworkReply(QObject* parent, const QNetworkRequest &req, const QNetworkAccessManager::Operation op);
void abort();
protected:
qint64 readData(char *data, qint64 maxSize) ;
private:
OdfContainer *zipFile;
};
#endif // ODF_H