33 #include "quazip_global.h" 34 #include "quazipfileinfo.h" 39 #define UNZ_OPENERROR -1000 87 MAX_FILE_NAME_LENGTH=256
128 QuaZip(
const QString& zipName);
131 QuaZip(QIODevice *ioDevice);
184 void setFileNameCodec(QTextCodec *fileNameCodec);
189 void setFileNameCodec(
const char *fileNameCodecName);
191 QTextCodec* getFileNameCodec()
const;
195 void setCommentCodec(QTextCodec *commentCodec);
200 void setCommentCodec(
const char *commentCodecName);
202 QTextCodec* getCommentCodec()
const;
209 QString getZipName()
const;
216 void setZipName(
const QString& zipName);
222 QIODevice *getIoDevice()
const;
229 void setIoDevice(QIODevice *ioDevice);
231 Mode getMode()
const;
243 int getZipError()
const;
248 int getEntriesCount()
const;
250 QString getComment()
const;
256 void setComment(
const QString& comment);
261 bool goToFirstFile();
306 bool setCurrentFile(
const QString& fileName,
CaseSensitivity cs =csDefault);
308 bool hasCurrentFile()
const;
333 QString getCurrentFileName()
const;
350 unzFile getUnzFile();
356 zipFile getZipFile();
Constants
Useful constants.
Definition: quazip.h:86
ZIP file is not open. This is the initial mode.
Definition: quazip.h:93
ZIP file was created with open() call.
Definition: quazip.h:95
Information about a file inside archive.
Definition: quazipfileinfo.h:35
Mode
Open mode of the ZIP file.
Definition: quazip.h:92
ZIP file is open for reading files inside it.
Definition: quazip.h:94
ZIP archive.
Definition: quazip.h:82
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:112
Definition: quazip.cpp:28