28#include <QtCore/QIODevice>
30#include "quazip_global.h"
32#include "quazipnewinfo.h"
84 qint64
readData(
char *data, qint64 maxSize)
override;
86 qint64
writeData(
const char *data, qint64 maxSize)
override;
246 QString getActualFileName()
const;
254 void setZipName(
const QString& zipName);
292 bool open(OpenMode mode)
override;
298 inline bool open(OpenMode mode,
const char *password)
299 {
return open(mode,
nullptr,
nullptr,
false, password);}
312 bool open(OpenMode mode,
int *method,
int *level,
bool raw,
const char *password =
nullptr);
347 const char *password =
nullptr, quint32 crc =0,
348 int method =Z_DEFLATED,
int level =Z_DEFAULT_COMPRESSION,
bool raw =
false,
349 int windowBits =-MAX_WBITS,
int memLevel =DEF_MEM_LEVEL,
int strategy =Z_DEFAULT_STRATEGY);
374 qint64
pos()
const override;
392 bool atEnd()
const override;
406 qint64
size()
const override;
454 void close()
override;
456 int getZipError()
const;
The implementation class for QuaZip.
Definition: quazipfile.cpp:41
A file inside ZIP archive.
Definition: quazipfile.h:74
bool open(OpenMode mode, const char *password)
Opens a file for reading.
Definition: quazipfile.h:298
ZIP archive.
Definition: quazip.h:84
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:114
@ csDefault
Default for platform. Case sensitive for UNIX, not for Windows.
Definition: quazip.h:115
virtual bool atEnd() const const
virtual qint64 bytesAvailable() const const
virtual bool isSequential() const const
virtual bool open(QIODevice::OpenMode mode)
virtual qint64 pos() const const
virtual qint64 readData(char *data, qint64 maxSize)=0
virtual qint64 size() const const
virtual qint64 writeData(const char *data, qint64 maxSize)=0
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:85
Information about a file inside archive.
Definition: quazipfileinfo.h:45
Information about a file to be created.
Definition: quazipnewinfo.h:50