TaurusZIPLibrary
$VERSION$
|
This class represents a ZIP file being read. More...
#include <qtziphlp.h>
Public Slots | |
virtual bool | open (QIODevice *d) |
virtual void | close () |
virtual int | fileCount () const |
returns the amount of files stored in this ZIP file More... | |
virtual ZipFileInfo | firstFile () |
jumps to the first file stored in the ZIP file, returning its information More... | |
virtual ZipFileInfo | nextFile () |
moves to the next file in the ZIP file, returning its information More... | |
virtual ZipFileInfo | locateFile (const QString &name, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
tries to find a file with the given name, returning its information More... | |
virtual ZipFileInfo | currentFile () const |
returns information about the file currently being unpacked More... | |
virtual ZipFileInfo | currentFile (QIODevice &d) const |
virtual ZipFileInfo | currentFile (QByteArray &) const |
virtual QByteArray | currentFileContent () const |
returns the uncompressed content of the current file More... | |
virtual ZipFileInfo | currentFileRaw (QIODevice &d) const |
virtual ZipFileInfo | currentFileRaw (QByteArray &) const |
virtual QByteArray | currentFileRawContent () const |
returns the still compressed content of the current file More... | |
virtual QString | currentFileName () const |
returns the name of the file currently being uncompressed More... | |
virtual bool | copyCurrentFile (Zip &) const |
copies the current file to the given Zip object, returns true on success More... | |
Public Member Functions | |
Unzip (QObject *parent=0) | |
create a new ZIP object More... | |
virtual | ~Unzip () |
delete the ZIP object More... | |
virtual bool | isOpen () const |
returns true if the ZIP file is currently open for reading More... | |
Public Member Functions inherited from QtZipHelper::ZipHlpBase | |
ZipHlpBase (QObject *parent=0) | |
create Zip object with parent More... | |
virtual | ~ZipHlpBase () |
delete the object More... | |
virtual void | close ()=0 |
abstract base function: close the ZIP file More... | |
Additional Inherited Members | |
Protected Attributes inherited from QtZipHelper::ZipHlpBase | |
Private * | d |
This class represents a ZIP file being read.
|
explicit |
create a new ZIP object
|
virtual |
delete the ZIP object
|
virtualslot |
closes the ZIP object (abandoning internal state), but does not close the actual QIODevice
|
virtualslot |
copies the current file to the given Zip object, returns true on success
|
virtualslot |
returns information about the file currently being unpacked
|
virtualslot |
returns information about the file currently being unpacked and stores its uncompressed content in the given QIODevice
|
virtualslot |
returns information about the file currently being unpacked and stores its uncompressed content in the given byte array
|
virtualslot |
returns the uncompressed content of the current file
|
virtualslot |
returns the name of the file currently being uncompressed
|
virtualslot |
returns information about the file currently being unpacked and stores its still compressed content in the given QIODevice
|
virtualslot |
returns information about the file currently being unpacked and stores its still compressed content in the given byte array
|
virtualslot |
returns the still compressed content of the current file
|
virtualslot |
returns the amount of files stored in this ZIP file
|
virtualslot |
jumps to the first file stored in the ZIP file, returning its information
|
virtual |
returns true if the ZIP file is currently open for reading
Implements QtZipHelper::ZipHlpBase.
|
virtualslot |
tries to find a file with the given name, returning its information
|
virtualslot |
moves to the next file in the ZIP file, returning its information
|
virtualslot |
attaches a QIODevice to the ZIP object, does not take ownership of the device, you are responsible for closing or reparenting it