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;
Information about a file to be created.
Definition: quazipnewinfo.h:38
Information about a file inside archive.
Definition: quazipfileinfo.h:36
bool open(OpenMode mode, const char *password)
Opens a file for reading.
Definition: quazipfile.h:297
ZIP archive.
Definition: quazip.h:83
A file inside ZIP archive.
Definition: quazipfile.h:73
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:113
The implementation class for QuaZip.
Definition: quazipfile.cpp:36
Default for platform. Case sensitive for UNIX, not for Windows.
Definition: quazip.h:114