|
Zip::ErrorCode | createArchive (QIODevice *device) |
|
Zip::ErrorCode | closeArchive () |
|
void | reset () |
|
bool | zLibInit () |
|
bool | containsEntry (const QFileInfo &info) const |
|
Zip::ErrorCode | addDirectory (const QString &path, const QString &root, Zip::CompressionOptions options, Zip::CompressionLevel level, int hierarchyLevel, int *addedFiles=0) |
|
Zip::ErrorCode | addFiles (const QStringList &paths, const QString &root, Zip::CompressionOptions options, Zip::CompressionLevel level, int *addedFiles) |
|
Zip::ErrorCode | createEntry (const QFileInfo &file, const QString &root, Zip::CompressionLevel level) |
|
Zip::CompressionLevel | detectCompressionByMime (const QString &ext) |
|
quint32 | updateChecksum (const quint32 &crc, const quint32 &val) const |
| Updates a one-char-only CRC; it's the Info-Zip macro re-adapted.
|
|
void | encryptBytes (quint32 *keys, char *buffer, qint64 read) |
|
void | setULong (quint32 v, char *buffer, unsigned int offset) |
|
void | updateKeys (quint32 *keys, int c) const |
|
void | initKeys (quint32 *keys) const |
|
int | decryptByte (quint32 key2) const |
|
QString | extractRoot (const QString &p, Zip::CompressionOptions o) |
|
|
QMap< QString, ZipEntryP * > * | headers |
|
QIODevice * | device |
|
QFile * | file |
|
char | buffer1 [ZIP_READ_BUFFER] |
|
char | buffer2 [ZIP_READ_BUFFER] |
|
unsigned char * | uBuffer |
|
const crc_t * | crcTable |
|
QString | comment |
|
QString | password |
|
Closes the current archive and writes out pending data.
bool ZipPrivate::containsEntry |
( |
const QFileInfo & |
info | ) |
const |
Returns true if an entry for info
has already been added. Uses file size and lower case absolute path to compare entries.
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/third_party/zip/zip_p.h
- /Users/ale/src/Scribus/scribus/third_party/zip/zip.cpp