#include <zip_p.h>
|
| | ZipPrivate () |
| virtual | ~ZipPrivate () |
| 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) |
|
| int | compressionStrategy (const QString &path, QIODevice &file) const |
| Zip::ErrorCode | deflateFile (const QFileInfo &fileInfo, quint32 &crc, qint64 &written, const Zip::CompressionLevel &level, quint32 **keys) |
| Zip::ErrorCode | storeFile (const QString &path, QIODevice &file, quint32 &crc, qint64 &written, quint32 **keys) |
| Zip::ErrorCode | compressFile (const QString &path, QIODevice &file, quint32 &crc, qint64 &written, const Zip::CompressionLevel &level, quint32 **keys) |
| Zip::ErrorCode | do_closeArchive () |
| Zip::ErrorCode | writeEntry (const QString &fileName, const ZipEntryP *h, quint32 &szCentralDir) |
| Zip::ErrorCode | writeCentralDir (quint32 offCentralDir, quint32 szCentralDir) |
◆ crc_t
◆ ZipPrivate()
| ZipPrivate::ZipPrivate |
( |
| ) |
|
◆ ~ZipPrivate()
| ZipPrivate::~ZipPrivate |
( |
| ) |
|
|
virtual |
◆ addDirectory()
| Zip::ErrorCode ZipPrivate::addDirectory |
( |
const QString & | path, |
|
|
const QString & | root, |
|
|
Zip::CompressionOptions | options, |
|
|
Zip::CompressionLevel | level, |
|
|
int | hierarchyLevel, |
|
|
int * | addedFiles = 0 ) |
◆ addFiles()
◆ closeArchive()
Closes the current archive and writes out pending data.
◆ compressFile()
◆ compressionStrategy()
| int ZipPrivate::compressionStrategy |
( |
const QString & | path, |
|
|
QIODevice & | file ) const |
|
private |
◆ containsEntry()
| 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.
◆ createArchive()
◆ createEntry()
◆ decryptByte()
| int ZipPrivate::decryptByte |
( |
quint32 | key2 | ) |
const |
|
inline |
◆ deflateFile()
◆ detectCompressionByMime()
◆ deviceDestroyed
| void ZipPrivate::deviceDestroyed |
( |
QObject * | | ) |
|
|
privateslot |
◆ do_closeArchive()
◆ encryptBytes()
| void ZipPrivate::encryptBytes |
( |
quint32 * | keys, |
|
|
char * | buffer, |
|
|
qint64 | read ) |
|
inline |
◆ extractRoot()
| QString ZipPrivate::extractRoot |
( |
const QString & | p, |
|
|
Zip::CompressionOptions | o ) |
|
inline |
◆ initKeys()
| void ZipPrivate::initKeys |
( |
quint32 * | keys | ) |
const |
|
inline |
◆ reset()
| void ZipPrivate::reset |
( |
| ) |
|
◆ setULong()
| void ZipPrivate::setULong |
( |
quint32 | v, |
|
|
char * | buffer, |
|
|
unsigned int | offset ) |
|
inline |
◆ storeFile()
| Zip::ErrorCode ZipPrivate::storeFile |
( |
const QString & | path, |
|
|
QIODevice & | file, |
|
|
quint32 & | crc, |
|
|
qint64 & | written, |
|
|
quint32 ** | keys ) |
|
private |
◆ updateChecksum()
| quint32 ZipPrivate::updateChecksum |
( |
const quint32 & | crc, |
|
|
const quint32 & | val ) const |
|
inline |
Updates a one-char-only CRC; it's the Info-Zip macro re-adapted.
◆ updateKeys()
| void ZipPrivate::updateKeys |
( |
quint32 * | keys, |
|
|
int | c ) const |
|
inline |
◆ writeCentralDir()
| Zip::ErrorCode ZipPrivate::writeCentralDir |
( |
quint32 | offCentralDir, |
|
|
quint32 | szCentralDir ) |
|
private |
◆ writeEntry()
◆ zLibInit()
| bool ZipPrivate::zLibInit |
( |
| ) |
|
◆ buffer1
◆ buffer2
◆ comment
| QString ZipPrivate::comment |
◆ crcTable
| const crc_t* ZipPrivate::crcTable |
◆ device
| QIODevice* ZipPrivate::device |
◆ file
◆ headers
| QMap<QString,ZipEntryP*>* ZipPrivate::headers |
◆ password
| QString ZipPrivate::password |
◆ uBuffer
| unsigned char* ZipPrivate::uBuffer |
The documentation for this class was generated from the following files: