lib
KoTarStore Class Reference
Inheritance diagram for KoTarStore:

Detailed Description
Definition at line 29 of file KoTarStore.h.
Public Member Functions | |
KoTarStore (const QString &_filename, Mode _mode, const QCString &appIdentification) | |
KoTarStore (QIODevice *dev, Mode mode, const QCString &appIdentification) | |
KoTarStore (QWidget *window, const KURL &url, const QString &_filename, Mode _mode, const QCString &appIdentification) | |
~KoTarStore () | |
Protected Member Functions | |
virtual bool | init (Mode _mode) |
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 |
Static Protected Member Functions | |
static QCString | completeMagic (const QCString &appMimetype) |
Protected Attributes | |
KTar * | m_pTar |
const KArchiveDirectory * | m_currentDir |
QByteArray | m_byteArray |
Constructor & Destructor Documentation
|
KURL-constructor.
Definition at line 53 of file KoTarStore.cpp. |
Member Function Documentation
|
Implements KoStore. Definition at line 46 of file KoTarStore.h. |
|
Implements KoStore. Definition at line 157 of file KoTarStore.cpp. |
|
Enter a directory where we've been before. It is guaranteed to always exist. Implements KoStore. Definition at line 187 of file KoTarStore.cpp. |
|
Enter a subdirectory of the current directory. The directory might not exist yet in Write mode. Implements KoStore. Definition at line 169 of file KoTarStore.cpp. |
|
Check if a file exists inside the store.
Implements KoStore. Definition at line 203 of file KoTarStore.cpp. |
|
Init store - called by constructor.
Reimplemented from KoStore. Definition at line 111 of file KoTarStore.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 134 of file KoTarStore.cpp. |
|
Open the file
Implements KoStore. Definition at line 125 of file KoTarStore.cpp. |
Member Data Documentation
|
Buffer used when writing.
Definition at line 61 of file KoTarStore.h. |
|
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 KoTarStore.h. |
|
The tar archive.
Definition at line 54 of file KoTarStore.h. |
The documentation for this class was generated from the following files: