29 #include "quazip_global.h"
31 #include "quazipnewinfo.h"
83 qint64 readData(
char *data, qint64 maxSize);
85 qint64 writeData(
const char *data, qint64 maxSize);
109 QuaZipFile(
const QString& zipName, QObject *parent =NULL);
120 QuaZipFile(
const QString& zipName,
const QString& fileName,
187 QString getZipName()
const;
206 QString getFileName()
const;
245 QString getActualFileName()
const;
253 void setZipName(
const QString& zipName);
291 virtual bool open(OpenMode mode);
297 inline bool open(OpenMode mode,
const char *password)
298 {
return open(mode, NULL, NULL,
false, password);}
311 bool open(OpenMode mode,
int *method,
int *level,
bool raw,
const char *password =NULL);
341 const char *password =NULL, quint32 crc =0,
342 int method =Z_DEFLATED,
int level =Z_DEFAULT_COMPRESSION,
bool raw =
false,
343 int windowBits =-MAX_WBITS,
int memLevel =DEF_MEM_LEVEL,
int strategy =Z_DEFAULT_STRATEGY);
345 virtual bool isSequential()
const;
368 virtual qint64 pos()
const;
386 virtual bool atEnd()
const;
400 virtual qint64 size()
const;
435 virtual void close();
437 int getZipError()
const;
439 virtual qint64 bytesAvailable()
const;