class KArchiveDirectory

# class KArchiveDirectory | A directory in an archive. More...
Definition | `#include <karchive.h>`
Inherits | KArchiveEntry [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KArchiveDirectory ( KArchive* archive, const QString& name, int access, int date, const QString& user, const QString& group, const QString& symlink)
- virtual ~KArchiveDirectory ()
- 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 Methods

- virtual void virtual_hook ( int id, void* data )

## Detailed Description

See also: KArchive, KArchiveFile

KArchiveDirectory ( KArchive* archive, const QString& name, int access, int date, const QString& user, const QString& group, const QString& symlink) | ### KArchiveDirectory

~KArchiveDirectory () | ### ~KArchiveDirectory

[virtual]

QStringList entries () | ### entries

[const]

Returns: the names of all entries in this directory (filenames, no path).

KArchiveEntry* entry ( QString name ) | ### entry

Parameters:

name | may be "test1", "mydir/test3", "mydir/mysubdir/test3", etc.

Returns: a pointer to the entry in the directory.

const KArchiveEntry* entry ( QString name ) | ### entry

[const]

void addEntry ( KArchiveEntry* ) | ### addEntry

Adds a new entry to the directory.

bool isDirectory () | ### isDirectory

[const virtual]

Returns: true, since this entry is a directory

Reimplemented from KArchiveEntry.

void copyTo (const QString& dest, bool recursive = true) | ### copyTo

[const]

Extracts all entries in this archive directory to the directory `dest`. If `recursive` is true, subdirectories are extracted as well.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Reimplemented from KArchiveEntry.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.