#include <unzip_p.h>
|
| | UnzipPrivate () |
| UnZip::ErrorCode | openArchive (QIODevice *device) |
| UnZip::ErrorCode | seekToCentralDirectory () |
| UnZip::ErrorCode | parseCentralDirectoryRecord () |
| UnZip::ErrorCode | parseLocalHeaderRecord (const QString &path, const ZipEntryP &entry) |
| void | closeArchive () |
| UnZip::ErrorCode | extractFile (const QString &path, const ZipEntryP &entry, const QDir &dir, UnZip::ExtractionOptions options) |
| UnZip::ErrorCode | extractFile (const QString &path, const ZipEntryP &entry, QIODevice *device, UnZip::ExtractionOptions options) |
| UnZip::ErrorCode | testPassword (quint32 *keys, const QString &_file, const ZipEntryP &header) |
| bool | testKeys (const ZipEntryP &header, quint32 *keys) |
| bool | createDirectory (const QString &path) |
| void | decryptBytes (quint32 *keys, char *buffer, qint64 read) |
| quint32 | getULong (const unsigned char *data, quint32 offset) const |
| quint64 | getULLong (const unsigned char *data, quint32 offset) const |
| quint16 | getUShort (const unsigned char *data, quint32 offset) const |
| int | decryptByte (quint32 key2) const |
| void | updateKeys (quint32 *keys, int c) const |
| void | initKeys (const QString &pwd, quint32 *keys) const |
| QDateTime | convertDateTime (const unsigned char date[2], const unsigned char time[2]) const |
◆ UnzipPrivate()
| UnzipPrivate::UnzipPrivate |
( |
| ) |
|
◆ closeArchive()
| void UnzipPrivate::closeArchive |
( |
| ) |
|
◆ convertDateTime()
| QDateTime UnzipPrivate::convertDateTime |
( |
const unsigned char | date[2], |
|
|
const unsigned char | time[2] ) const |
|
inline |
◆ createDirectory()
| bool UnzipPrivate::createDirectory |
( |
const QString & | path | ) |
|
◆ decryptByte()
| int UnzipPrivate::decryptByte |
( |
quint32 | key2 | ) |
const |
|
inline |
◆ decryptBytes()
| void UnzipPrivate::decryptBytes |
( |
quint32 * | keys, |
|
|
char * | buffer, |
|
|
qint64 | read ) |
|
inline |
◆ deviceDestroyed
| void UnzipPrivate::deviceDestroyed |
( |
QObject * | | ) |
|
|
privateslot |
◆ do_closeArchive()
| void UnzipPrivate::do_closeArchive |
( |
| ) |
|
|
private |
◆ extractFile() [1/2]
| UnZip::ErrorCode UnzipPrivate::extractFile |
( |
const QString & | path, |
|
|
const ZipEntryP & | entry, |
|
|
const QDir & | dir, |
|
|
UnZip::ExtractionOptions | options ) |
◆ extractFile() [2/2]
| UnZip::ErrorCode UnzipPrivate::extractFile |
( |
const QString & | path, |
|
|
const ZipEntryP & | entry, |
|
|
QIODevice * | device, |
|
|
UnZip::ExtractionOptions | options ) |
◆ extractStoredFile()
| UnZip::ErrorCode UnzipPrivate::extractStoredFile |
( |
const quint32 | szComp, |
|
|
quint32 ** | keys, |
|
|
quint32 & | myCRC, |
|
|
QIODevice * | outDev, |
|
|
UnZip::ExtractionOptions | options ) |
|
private |
◆ getULLong()
| quint64 UnzipPrivate::getULLong |
( |
const unsigned char * | data, |
|
|
quint32 | offset ) const |
|
inline |
◆ getULong()
| quint32 UnzipPrivate::getULong |
( |
const unsigned char * | data, |
|
|
quint32 | offset ) const |
|
inline |
◆ getUShort()
| quint16 UnzipPrivate::getUShort |
( |
const unsigned char * | data, |
|
|
quint32 | offset ) const |
|
inline |
◆ inflateFile()
| UnZip::ErrorCode UnzipPrivate::inflateFile |
( |
const quint32 | szComp, |
|
|
quint32 ** | keys, |
|
|
quint32 & | myCRC, |
|
|
QIODevice * | outDev, |
|
|
UnZip::ExtractionOptions | options ) |
|
private |
◆ initKeys()
| void UnzipPrivate::initKeys |
( |
const QString & | pwd, |
|
|
quint32 * | keys ) const |
|
inline |
◆ openArchive()
- Todo
- Ignore CD entry count? CD may be corrupted.
◆ parseCentralDirectoryRecord()
◆ parseLocalHeaderRecord()
◆ seekToCentralDirectory()
◆ testKeys()
| bool UnzipPrivate::testKeys |
( |
const ZipEntryP & | header, |
|
|
quint32 * | keys ) |
◆ testPassword()
◆ updateKeys()
| void UnzipPrivate::updateKeys |
( |
quint32 * | keys, |
|
|
int | c ) const |
|
inline |
◆ buffer1
◆ buffer2
◆ cdEntryCount
| quint16 UnzipPrivate::cdEntryCount |
◆ cdOffset
| quint32 UnzipPrivate::cdOffset |
◆ comment
| QString UnzipPrivate::comment |
◆ crcTable
| const quint32* UnzipPrivate::crcTable |
◆ device
| QIODevice* UnzipPrivate::device |
◆ eocdOffset
| quint32 UnzipPrivate::eocdOffset |
◆ file
| QFile* UnzipPrivate::file |
◆ headers
| QMap<QString,ZipEntryP*>* UnzipPrivate::headers |
◆ password
| QString UnzipPrivate::password |
◆ skipAllEncrypted
| bool UnzipPrivate::skipAllEncrypted |
◆ uBuffer
| unsigned char* UnzipPrivate::uBuffer |
◆ unsupportedEntryCount
| quint16 UnzipPrivate::unsupportedEntryCount |
The documentation for this class was generated from the following files: