

QMAPSHACK QUAZIP ARCHIVE
You may also use getUnzFile() and getZipFile() functions to get the ZIP archive handle and use it with ZIP/UNZIP package API directly. The use of this class is simple - just create instance using constructor, then set ZIP archive file name using setFile() function (if you did not passed the name to the constructor), then open() and then use different functions to work with it! Well, if you are paranoid, you may also wish to call close before destructing the instance, to check for errors on close. This class is indended to provide interface to the ZIP subpackage of the ZIP/UNZIP package as well as to the UNZIP subpackage. But see QuaZipFile::QuaZipFile(QuaZip*, QObject*) for the possible pitfalls. You can also use this class to open files inside archive by passing pointer to the instance of this class to the constructor of the QuaZipFile class. It can be used to read table contents of the ZIP archive and retreiving information about the files inside it. This class implements basic interface to the ZIP archive. SetDefaultFileNameCodec (const char *codecName) SetDefaultFileNameCodec (QTextCodec *codec) Returns the actual case sensitivity for the specified QuaZIP one. Returns whether the zip64 mode is enabled.ĬonvertCaseSensitivity ( CaseSensitivity cs) Returns information list about all files inside the archive. Returns a list of files inside the archive. Returns the data descriptor default writing mode. SetDataDescriptorWritingEnabled (bool enabled)Ĭhanges the data descriptor writing mode. GetCurrentFileInfo ( QuaZipFileInfo64 *info) const Retrieves information about the current file. GetCurrentFileInfo ( QuaZipFileInfo *info) const Returns true if the current file has been set. SetCurrentFile (const QString &fileName, CaseSensitivity cs=csDefault) Sets the current file to the next file in the archive. Sets the current file to the first file in the archive. Returns number of the entries in the ZIP central directory.
QMAPSHACK QUAZIP CODE
Returns the error code of the last operation.
QMAPSHACK QUAZIP ZIP FILE
Returns true if ZIP file is open, false otherwise. Returns the mode in which ZIP file was opened. Sets the device representing the ZIP file. Returns the device representing this ZIP file. SetCommentCodec (const char *commentCodecName) Sets the codec used to encode/decode comments inside archive. SetCommentCodec (QTextCodec *commentCodec) Returns the codec used to encode/decode comments inside archive. SetFileNameCodec (const char *fileNameCodecName) Sets the codec used to encode/decode file names inside archive. SetFileNameCodec (QTextCodec *fileNameCodec)

Open ( Mode mode, zlib_filefunc_def *ioApi=NULL) More.Ĭonstructs QuaZip object associated with ZIP file zipName.Ĭonstructs QuaZip object associated with ZIP file represented by ioDevice.
