KArchiveEntry Class Reference
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 |
Creation date of the file. | |
int | date () const |
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 |
Protected Member Functions | |
KArchive * | archive () const |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Base class for the archive-file's directory structure.
- See also:
- KArchiveFile
Definition at line 172 of file karchive.h.
Member Function Documentation
|
Creation date of the file.
Definition at line 241 of file karchive.cpp. References QDateTime::setTime_t(). |
|
Name of the file without path.
Definition at line 190 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 195 of file karchive.h. |
|
User who created the file.
Definition at line 199 of file karchive.h. |
|
Group of the user who created the file.
Definition at line 203 of file karchive.h. |
|
Symlink if there is one.
Definition at line 208 of file karchive.h. |
|
Reimplemented in KArchiveFile. Definition at line 213 of file karchive.h. Referenced by KArchiveDirectory::copyTo(). |
|
Reimplemented in KArchiveDirectory. Definition at line 218 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: