29 #include <QStringList>
41 #define UNZ_OPENERROR -1000
89 MAX_FILE_NAME_LENGTH=256
126 static Qt::CaseSensitivity convertCaseSensitivity(
229 void setFileNameCodec(
const char *fileNameCodecName);
231 QTextCodec* getFileNameCodec()
const;
240 void setCommentCodec(
const char *commentCodecName);
242 QTextCodec* getCommentCodec()
const;
249 QString getZipName()
const;
256 void setZipName(
const QString&
zipName);
271 Mode getMode()
const;
283 int getZipError()
const;
288 int getEntriesCount()
const;
290 QString getComment()
const;
300 void setComment(
const QString&
comment);
305 bool goToFirstFile();
350 bool setCurrentFile(
const QString& fileName,
CaseSensitivity cs =csDefault);
352 bool hasCurrentFile()
const;
393 QString getCurrentFileName()
const;
445 void setDataDescriptorWritingEnabled(
bool enabled);
450 bool isDataDescriptorWritingEnabled()
const;
458 QStringList getFileNameList()
const;
482 QList<QuaZipFileInfo64> getFileInfoList64()
const;
497 void setZip64Enabled(
bool zip64);
504 bool isZip64Enabled()
const;
509 bool isAutoClose()
const;
562 static void setDefaultFileNameCodec(QTextCodec *codec);
568 static void setDefaultFileNameCodec(
const char *codecName);
QIODevice * ioDevice
The device to access the archive.
Constants
Useful constants.
ZIP file is not open. This is the initial mode.
QString comment
The global comment.
ZIP file was created with open() call.
QTextCodec * commentCodec
The codec for comments.
Information about a file inside archive.
Mode
Open mode of the ZIP file.
QString zipName
The archive file name.
bool zip64
The zip64 mode.
bool getFileInfoList(QList< TFileInfo > *result) const
Returns either a list of file names or a list of QuaZipFileInfo.
Information about a file inside archive (with zip64 support).
bool autoClose
The auto-close flag.
ZIP file is open for reading files inside it.
CaseSensitivity
Case sensitivity for the file names.
All the internal stuff for the QuaZip class.
#define QUAZIP_EXPORT
This is automatically defined when building a static library, but when including QuaZip sources direc...
QuaZip::Mode mode
The open mode.
QTextCodec * fileNameCodec
The codec for file names.