KArchiveDirectory Class Reference
A directory in an archive. More...
#include <karchive.h>
Inheritance diagram for KArchiveDirectory:

Public Methods | |
QStringList | entries () const |
KArchiveEntry * | entry (QString name) |
virtual bool | isDirectory () const |
void | copyTo (const QString &dest, bool recursive=true) const |
Extracts all entries in this archive directory to the directory dest . | |
Protected Methods | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
A directory in an archive.
- See also:
- KArchive , KArchiveFile
Definition at line 306 of file karchive.h.
Member Function Documentation
|
Definition at line 316 of file karchive.cpp. References QDictIterator::current(), and QDictIterator::currentKey(). Referenced by copyTo(). |
|
Definition at line 327 of file karchive.cpp. References QString::find(), KArchiveEntry::isDirectory(), QString::left(), QString::length(), and QString::mid(). Referenced by copyTo(), and KArchive::findOrCreate(). |
|
Reimplemented from KArchiveEntry. Definition at line 336 of file karchive.h. |
|
Extracts all entries in this archive directory to the directory
If
Definition at line 375 of file karchive.cpp. References QPtrList< KArchiveFile >::append(), KArchiveFile::copyTo(), entries(), entry(), QPtrList< KArchiveFile >::first(), QMap::insert(), KArchiveEntry::isDirectory(), QPtrStack::isEmpty(), KArchiveEntry::isFile(), QDir::mkdir(), KArchiveEntry::name(), QPtrList< KArchiveFile >::next(), QValueStack::pop(), QPtrStack::pop(), KArchiveFile::position(), QValueStack::push(), QPtrStack::push(), and QPtrList< KArchiveFile >::sort(). |
The documentation for this class was generated from the following files: