28#include <QtCore/QString>
29#include <QtCore/QStringList>
30#include "quazip_qt_compat.h"
35#include "quazip_global.h"
36#include "quazipfileinfo.h"
41#define UNZ_OPENERROR -1000
89 MAX_FILE_NAME_LENGTH=256
126 static Qt::CaseSensitivity convertCaseSensitivity(
193 bool open(Mode mode, zlib_filefunc_def *ioApi =
nullptr);
229 void setFileNameCodec(
QTextCodec *fileNameCodec);
234 void setFileNameCodec(
const char *fileNameCodecName);
240 void setOsCode(uint osCode);
242 uint getOsCode()
const;
248 void setCommentCodec(
QTextCodec *commentCodec);
253 void setCommentCodec(
const char *commentCodecName);
269 void setZipName(
const QString& zipName);
284 Mode getMode()
const;
296 int getZipError()
const;
301 int getEntriesCount()
const;
313 void setComment(
const QString& comment);
318 bool goToFirstFile();
363 bool setCurrentFile(
const QString& fileName, CaseSensitivity cs =csDefault);
365 bool hasCurrentFile()
const;
406 QString getCurrentFileName()
const;
423 unzFile getUnzFile();
429 zipFile getZipFile();
458 void setDataDescriptorWritingEnabled(
bool enabled);
463 bool isDataDescriptorWritingEnabled()
const;
510 void setZip64Enabled(
bool zip64);
517 bool isZip64Enabled()
const;
532 void setUtf8Enabled(
bool utf8);
539 bool isUtf8Enabled()
const;
544 bool isAutoClose()
const;
566 void setAutoClose(
bool autoClose)
const;
597 static void setDefaultFileNameCodec(
QTextCodec *codec);
603 static void setDefaultFileNameCodec(
const char *codecName);
608 static void setDefaultOsCode(uint osCode);
613 static uint getDefaultOsCode();
All the internal stuff for the QuaZip class.
Definition: quazip.cpp:41
ZIP archive.
Definition: quazip.h:84
Mode
Open mode of the ZIP file.
Definition: quazip.h:94
@ mdCreate
ZIP file was created with open() call.
Definition: quazip.h:97
@ mdUnzip
ZIP file is open for reading files inside it.
Definition: quazip.h:96
@ mdNotOpen
ZIP file is not open. This is the initial mode.
Definition: quazip.h:95
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:114
Constants
Useful constants.
Definition: quazip.h:88
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:85
Information about a file inside archive.
Definition: quazipfileinfo.h:45