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

Public Member Functions | |
| KArchiveDirectory (KArchive *archive, const QString &name, int access, int date, const QString &user, const QString &group, const QString &symlink) | |
| QStringList | entries () const |
| KArchiveEntry * | entry (QString name) |
| const KArchiveEntry * | entry (QString name) const |
| void | addEntry (KArchiveEntry *) |
| virtual bool | isDirectory () const |
| void | copyTo (const QString &dest, bool recursive=true) const |
Protected Member Functions | |
| virtual void | virtual_hook (int id, void *data) |
Detailed Description
Represents a directory entry in a KArchive.A directory in an archive.
- See also:
- KArchive
Definition at line 560 of file karchive.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||||||||||
|
Creates a new directory entry.
Definition at line 517 of file karchive.cpp. |
Member Function Documentation
|
|
Returns a list of sub-entries.
Definition at line 526 of file karchive.cpp. Referenced by copyTo(). |
|
|
Returns the entry with the given name.
Definition at line 537 of file karchive.cpp. References KArchiveEntry::isDirectory(). Referenced by copyTo(). |
|
|
Returns the entry with the given name.
Definition at line 574 of file karchive.cpp. |
|
|
Checks whether this entry is a directory.
Reimplemented from KArchiveEntry. Definition at line 607 of file karchive.h. |
|
||||||||||||
|
Extracts all entries in this archive directory to the directory
If
Definition at line 585 of file karchive.cpp. References KArchiveFile::copyTo(), entries(), entry(), KArchiveEntry::isDirectory(), KArchiveEntry::isFile(), KArchiveEntry::name(), and KArchiveFile::position(). |
The documentation for this class was generated from the following files:
