ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
The implementation class for QuaZip. More...
Private Member Functions | |
void | resetZipError () const |
Resets zipError. More... | |
void | setZipError (int zipError) const |
Sets the zip error. More... | |
QuaZipFilePrivate (QuaZipFile *q) | |
The constructor for the corresponding QuaZipFile constructor. More... | |
QuaZipFilePrivate (QuaZipFile *q, const QString &zipName) | |
The constructor for the corresponding QuaZipFile constructor. More... | |
QuaZipFilePrivate (QuaZipFile *q, const QString &zipName, const QString &fileName, QuaZip::CaseSensitivity cs) | |
The constructor for the corresponding QuaZipFile constructor. More... | |
QuaZipFilePrivate (QuaZipFile *q, QuaZip *zip) | |
The constructor for the QuaZipFile constructor accepting a file name. More... | |
~QuaZipFilePrivate () | |
The destructor. More... | |
Private Attributes | |
QuaZipFile * | q |
The pointer to the associated QuaZipFile instance. More... | |
QuaZip * | zip |
The QuaZip object to work with. More... | |
QString | fileName |
The file name. More... | |
QuaZip::CaseSensitivity | caseSensitivity |
Case sensitivity mode. More... | |
bool | raw |
Whether this file is opened in the raw mode. More... | |
qint64 | writePos |
Write position to keep track of. More... | |
quint64 | uncompressedSize |
Uncompressed size to write along with a raw file. More... | |
quint32 | crc |
CRC to write along with a raw file. More... | |
bool | internal |
Whether zip points to an internal QuaZip instance. More... | |
int | zipError |
The last error. More... | |
Friends | |
class | QuaZipFile |
This class contains all the private stuff for the QuaZipFile class, thus allowing to preserve binary compatibility between releases, the technique known as the Pimpl (private implementation) idiom.
Definition at line 37 of file quazipfile.cpp.
|
inlineprivate |
Definition at line 78 of file quazipfile.cpp.
|
inlineprivate |
Definition at line 81 of file quazipfile.cpp.
|
inlineprivate |
Definition at line 87 of file quazipfile.cpp.
|
inlineprivate |
Definition at line 98 of file quazipfile.cpp.
|
inlineprivate |
Definition at line 101 of file quazipfile.cpp.
|
inlineprivate |
Definition at line 69 of file quazipfile.cpp.
References UNZ_OK.
Referenced by QuaZipFile::close(), and QuaZipFile::open().
|
private |
This function is marked as const although it changes one field. This allows to call it from const functions that don't change anything by themselves.
Definition at line 211 of file quazipfile.cpp.
References q, UNZ_OK, and zipError.
Referenced by QuaZipFile::close(), QuaZipFile::csize(), QuaZipFile::getActualFileName(), QuaZipFile::getFileInfo(), QuaZipFile::open(), QuaZipFile::readData(), QuaZipFile::usize(), and QuaZipFile::writeData().
|
friend |
Definition at line 38 of file quazipfile.cpp.
|
private |
Definition at line 47 of file quazipfile.cpp.
Referenced by QuaZipFile::getCaseSensitivity(), QuaZipFile::open(), and QuaZipFile::setFileName().
|
private |
Definition at line 59 of file quazipfile.cpp.
Referenced by QuaZipFile::close(), and QuaZipFile::open().
|
private |
Definition at line 45 of file quazipfile.cpp.
Referenced by QuaZipFile::getFileName(), QuaZipFile::open(), QuaZipFile::setFileName(), and QuaZipFile::setZip().
|
private |
This is true if the archive was opened by name, rather than by supplying an existing QuaZip instance.
Definition at line 65 of file quazipfile.cpp.
Referenced by QuaZipFile::close(), QuaZipFile::getZip(), QuaZipFile::open(), QuaZipFile::setFileName(), QuaZipFile::setZip(), and QuaZipFile::setZipName().
|
private |
Definition at line 41 of file quazipfile.cpp.
Referenced by setZipError().
|
private |
Definition at line 49 of file quazipfile.cpp.
Referenced by QuaZipFile::isRaw(), QuaZipFile::open(), and QuaZipFile::size().
|
private |
Definition at line 57 of file quazipfile.cpp.
Referenced by QuaZipFile::close(), and QuaZipFile::open().
|
private |
QIODevice::pos() is broken for non-seekable devices, so we need our own position.
Definition at line 55 of file quazipfile.cpp.
Referenced by QuaZipFile::open(), QuaZipFile::pos(), QuaZipFile::size(), and QuaZipFile::writeData().
|
private |
Definition at line 43 of file quazipfile.cpp.
Referenced by QuaZipFile::atEnd(), QuaZipFile::close(), QuaZipFile::csize(), QuaZipFile::getActualFileName(), QuaZipFile::getFileInfo(), QuaZipFile::getZip(), QuaZipFile::getZipName(), QuaZipFile::open(), QuaZipFile::pos(), QuaZipFile::readData(), QuaZipFile::setFileName(), QuaZipFile::setZip(), QuaZipFile::setZipName(), QuaZipFile::usize(), and QuaZipFile::writeData().
|
private |
Definition at line 67 of file quazipfile.cpp.
Referenced by QuaZipFile::close(), QuaZipFile::csize(), QuaZipFile::getFileInfo(), QuaZipFile::getZipError(), QuaZipFile::open(), setZipError(), QuaZipFile::usize(), and QuaZipFile::writeData().