KArchiveEntry Class Reference
A base class for entries in an KArchive. Base class for the archive-file's directory structure. More...
#include <karchive.h>
Inheritance diagram for KArchiveEntry:


| Public Member Functions | |
| KArchiveEntry (KArchive *archive, const QString &name, int access, int date, const QString &user, const QString &group, const QString &symlink) | |
| QDateTime | datetime () const | 
| int | date () const | 
| QString | name () const | 
| mode_t | permissions () const | 
| QString | user () const | 
| QString | group () const | 
| QString | symlink () const | 
| virtual bool | isFile () const | 
| virtual bool | isDirectory () const | 
| Protected Member Functions | |
| KArchive * | archive () const | 
| virtual void | virtual_hook (int id, void *data) | 
Detailed Description
A base class for entries in an KArchive. Base class for the archive-file's directory structure.
- See also:
- KArchiveFile
Definition at line 382 of file karchive.h.
Constructor & Destructor Documentation
| 
 | ||||||||||||||||||||||||||||||||
| Creates a new entry. 
 
 Definition at line 437 of file karchive.cpp. | 
Member Function Documentation
| 
 | 
| Creation date of the file. 
 
 Definition at line 451 of file karchive.cpp. References QDateTime::setTime_t(). | 
| 
 | 
| Creation date of the file. 
 
 Definition at line 411 of file karchive.h. | 
| 
 | 
| Name of the file without path. 
 
 Definition at line 417 of file karchive.h. Referenced by KArchiveDirectory::copyTo(), and KArchiveFile::copyTo(). | 
| 
 | 
| The permissions and mode flags as returned by the stat() function in st_mode. 
 
 Definition at line 423 of file karchive.h. | 
| 
 | 
| User who created the file. 
 
 Definition at line 428 of file karchive.h. | 
| 
 | 
| Group of the user who created the file. 
 
 Definition at line 433 of file karchive.h. | 
| 
 | 
| Symlink if there is one. 
 
 Definition at line 439 of file karchive.h. | 
| 
 | 
| Checks whether the entry is a file. 
 
 Reimplemented in KArchiveFile. Definition at line 445 of file karchive.h. Referenced by KArchiveDirectory::copyTo(). | 
| 
 | 
| Checks whether the entry is a directory. 
 
 Reimplemented in KArchiveDirectory. Definition at line 451 of file karchive.h. Referenced by KArchiveDirectory::copyTo(), KArchiveDirectory::entry(), KArchive::findOrCreate(), and KZip::openArchive(). | 
The documentation for this class was generated from the following files:

