lib
KoZipStore Class Reference
Inheritance diagram for KoZipStore:

Detailed Description
Definition at line 29 of file KoZipStore.h.
Public Member Functions | |
KoZipStore (const QString &_filename, Mode _mode, const QCString &appIdentification) | |
KoZipStore (QIODevice *dev, Mode mode, const QCString &appIdentification) | |
KoZipStore (QWidget *window, const KURL &_url, const QString &_filename, Mode _mode, const QCString &appIdentification) | |
~KoZipStore () | |
virtual Q_LONG | write (const char *_data, Q_ULONG _len) |
Protected Member Functions | |
virtual bool | init (Mode _mode, const QCString &appIdentification) |
virtual bool | openWrite (const QString &name) |
virtual bool | openRead (const QString &name) |
virtual bool | closeWrite () |
virtual bool | closeRead () |
virtual bool | enterRelativeDirectory (const QString &dirName) |
virtual bool | enterAbsoluteDirectory (const QString &path) |
virtual bool | fileExists (const QString &absPath) const |
Protected Attributes | |
KZip * | m_pZip |
const KArchiveDirectory * | m_currentDir |
Constructor & Destructor Documentation
|
KURL-constructor.
Definition at line 66 of file KoZipStore.cpp. |
Member Function Documentation
|
Implements KoStore. Definition at line 48 of file KoZipStore.h. |
|
Implements KoStore. Definition at line 190 of file KoZipStore.cpp. |
|
Enter a directory where we've been before. It is guaranteed to always exist. Implements KoStore. Definition at line 221 of file KoZipStore.cpp. |
|
Enter a subdirectory of the current directory. The directory might not exist yet in Write mode. Implements KoStore. Definition at line 203 of file KoZipStore.cpp. |
|
Check if a file exists inside the store.
Implements KoStore. Definition at line 233 of file KoZipStore.cpp. |
|
Open the file On success, this method must set m_stream to a stream from which we can read, as well as setting m_iSize to the size of the file.
Implements KoStore. Definition at line 145 of file KoZipStore.cpp. |
|
Open the file
Implements KoStore. Definition at line 132 of file KoZipStore.cpp. |
|
Write data into the currently opened file. You can also use the streams for this. Reimplemented from KoStore. Definition at line 168 of file KoZipStore.cpp. |
Member Data Documentation
|
In "Read" mode this pointer is pointing to the current directory in the archive to speed up the verification process.
Definition at line 58 of file KoZipStore.h. |
|
The archive.
Definition at line 54 of file KoZipStore.h. |
The documentation for this class was generated from the following files: