#include <zip_p.h>
Public Member Functions | |
ZipPrivate () | |
virtual | ~ZipPrivate () |
Zip::ErrorCode | createArchive (QIODevice *device) |
Zip::ErrorCode | closeArchive () |
void | reset () |
bool | zLibInit () |
Zip::ErrorCode | createEntry (const QFileInfo &file, const QString &root, Zip::CompressionLevel level) |
Zip::CompressionLevel | detectCompressionByMime (const QString &ext) |
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) |
Public Attributes | |
QMap< QString, ZipEntryP * > * | headers |
QIODevice * | device |
char | buffer1 [ZIP_READ_BUFFER] |
char | buffer2 [ZIP_READ_BUFFER] |
unsigned char * | uBuffer |
const quint32 * | crcTable |
QString | comment |
QString | password |
Definition at line 54 of file zip_p.h.
ZipPrivate | ( | ) |
~ZipPrivate | ( | ) | [virtual] |
Zip::ErrorCode createArchive | ( | QIODevice * | device | ) |
Definition at line 517 of file zip.cpp.
Referenced by Zip::createArchive().
Here is the caller graph for this function:
Zip::ErrorCode closeArchive | ( | ) |
Closes the current archive and writes out pending data.
Definition at line 1012 of file zip.cpp.
Referenced by Zip::closeArchive(), createArchive(), and ~ZipPrivate().
Here is the caller graph for this function:
void reset | ( | ) |
Definition at line 1194 of file zip.cpp.
Referenced by Zip::closeArchive().
Here is the caller graph for this function:
bool zLibInit | ( | ) |
Zip::ErrorCode createEntry | ( | const QFileInfo & | file, | |
const QString & | root, | |||
Zip::CompressionLevel | level | |||
) |
Definition at line 541 of file zip.cpp.
Referenced by Zip::addDirectory().
Here is the caller graph for this function:
Zip::CompressionLevel detectCompressionByMime | ( | const QString & | ext | ) |
Definition at line 977 of file zip.cpp.
Referenced by createEntry().
Here is the caller graph for this function:
void encryptBytes | ( | quint32 * | keys, | |
char * | buffer, | |||
qint64 | read | |||
) | [inline] |
Definition at line 964 of file zip.cpp.
Referenced by createEntry().
Here is the caller graph for this function:
void setULong | ( | quint32 | v, | |
char * | buffer, | |||
unsigned int | offset | |||
) | [inline] |
Definition at line 929 of file zip.cpp.
Referenced by closeArchive(), and createEntry().
Here is the caller graph for this function:
void updateKeys | ( | quint32 * | keys, | |
int | c | |||
) | const [inline] |
Definition at line 955 of file zip.cpp.
Referenced by createEntry(), encryptBytes(), and initKeys().
Here is the caller graph for this function:
void initKeys | ( | quint32 * | keys | ) | const [inline] |
Definition at line 938 of file zip.cpp.
Referenced by createEntry().
Here is the caller graph for this function:
int decryptByte | ( | quint32 | key2 | ) | const [inline] |
Definition at line 922 of file zip.cpp.
Referenced by createEntry(), and encryptBytes().
Here is the caller graph for this function:
QString extractRoot | ( | const QString & | p | ) | [inline] |
Definition at line 1209 of file zip.cpp.
Referenced by Zip::addDirectory().
Here is the caller graph for this function:
Definition at line 60 of file zip_p.h.
Referenced by closeArchive(), createArchive(), createEntry(), reset(), and ZipPrivate().
QIODevice* device |
Definition at line 62 of file zip_p.h.
Referenced by Zip::addDirectory(), closeArchive(), createArchive(), createEntry(), Zip::isOpen(), reset(), Zip::setArchiveComment(), and ZipPrivate().
char buffer1[ZIP_READ_BUFFER] |
Definition at line 64 of file zip_p.h.
Referenced by closeArchive(), createEntry(), and ZipPrivate().
char buffer2[ZIP_READ_BUFFER] |
unsigned char* uBuffer |
const quint32* crcTable |
QString comment |
Definition at line 71 of file zip_p.h.
Referenced by Zip::archiveComment(), closeArchive(), reset(), and Zip::setArchiveComment().
QString password |
Definition at line 72 of file zip_p.h.
Referenced by Zip::clearPassword(), createEntry(), initKeys(), Zip::password(), and Zip::setPassword().