kio Library API Documentation

KArchiveEntry Class Reference

Base class for the archive-file's directory structure. More...

#include <karchive.h>

Inheritance diagram for KArchiveEntry:

KArchiveDirectory KArchiveFile List of all members.

Public Methods

QDateTime datetime () const
 Creation date of the file.

QString name () const
 Name of the file without path.

mode_t permissions () const
 The permissions and mode flags as returned by the stat() function in st_mode.

QString user () const
 User who created the file.

QString group () const
 Group of the user who created the file.

QString symlink () const
 Symlink if there is one.

virtual bool isFile () const
virtual bool isDirectory () const

Detailed Description

Base class for the archive-file's directory structure.

See also:
KArchiveFile , KArchiveDirectory

Definition at line 172 of file karchive.h.


Member Function Documentation

QDateTime KArchiveEntry::datetime  
 

Creation date of the file.

Definition at line 241 of file karchive.cpp.

References QDateTime::setTime_t().

Referenced by KZip::prepareWriting().

QString KArchiveEntry::name   const [inline]
 

Name of the file without path.

Definition at line 190 of file karchive.h.

Referenced by KArchiveDirectory::copyTo(), and KArchiveFile::copyTo().

mode_t KArchiveEntry::permissions   const [inline]
 

The permissions and mode flags as returned by the stat() function in st_mode.

Definition at line 195 of file karchive.h.

QString KArchiveEntry::user   const [inline]
 

User who created the file.

Definition at line 199 of file karchive.h.

QString KArchiveEntry::group   const [inline]
 

Group of the user who created the file.

Definition at line 203 of file karchive.h.

QString KArchiveEntry::symlink   const [inline]
 

Symlink if there is one.

Definition at line 208 of file karchive.h.

virtual bool KArchiveEntry::isFile   const [inline, virtual]
 

Returns:
true if this entry is a file

Reimplemented in KArchiveFile.

Definition at line 213 of file karchive.h.

Referenced by KArchiveDirectory::copyTo().

virtual bool KArchiveEntry::isDirectory   const [inline, virtual]
 

Returns:
true if this entry is a directory

Reimplemented in KArchiveDirectory.

Definition at line 218 of file karchive.h.

Referenced by KArchiveDirectory::copyTo(), KArchiveDirectory::entry(), and KArchive::findOrCreate().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:21:34 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001