29 #include "quazip_global.h"
31 #include "quazipnewinfo.h"
75 qint64 readData(
char *data, qint64 maxSize);
77 qint64 writeData(
const char *data, qint64 maxSize);
101 QuaZipFile(
const QString& zipName, QObject *parent =NULL);
112 QuaZipFile(
const QString& zipName,
const QString& fileName,
179 QString getZipName()
const;
198 QString getFileName()
const;
237 QString getActualFileName()
const;
245 void setZipName(
const QString& zipName);
283 virtual bool open(OpenMode mode);
289 inline bool open(OpenMode mode,
const char *password)
290 {
return open(mode, NULL, NULL,
false, password);}
303 bool open(OpenMode mode,
int *method,
int *level,
bool raw,
const char *password =NULL);
326 const char *password =NULL, quint32 crc =0,
327 int method =Z_DEFLATED,
int level =Z_DEFAULT_COMPRESSION,
bool raw =
false,
328 int windowBits =-MAX_WBITS,
int memLevel =DEF_MEM_LEVEL,
int strategy =Z_DEFAULT_STRATEGY);
330 virtual bool isSequential()
const;
353 virtual qint64 pos()
const;
371 virtual bool atEnd()
const;
385 virtual qint64 size()
const;
420 virtual void close();
422 int getZipError()
const;
Information about a file to be created.
Definition: quazipnewinfo.h:38
Information about a file inside archive.
Definition: quazipfileinfo.h:35
bool open(OpenMode mode, const char *password)
Opens a file for reading.
Definition: quazipfile.h:289
ZIP archive.
Definition: quazip.h:82
A file inside ZIP archive.
Definition: quazipfile.h:65
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:112
Definition: quazipfile.cpp:28
Default for platform. Case sensitive for UNIX, not for Windows.
Definition: quazip.h:113