.TH "KArchiveEntry" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KArchiveEntry \- A base class for entries in an \fBKArchive\fP. Base class for the archive-file's directory structure.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <karchive.h>\fP
.PP
Inherited by \fBKArchiveDirectory\fP, and \fBKArchiveFile\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKArchiveEntry\fP (\fBKArchive\fP *archive, const \fBQString\fP &name, int access, int date, const \fBQString\fP &user, const \fBQString\fP &group, const \fBQString\fP &symlink)"
.br
.ti -1c
.RI "\fBQDateTime\fP \fBdatetime\fP () const "
.br
.ti -1c
.RI "int \fBdate\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBname\fP () const "
.br
.ti -1c
.RI "mode_t \fBpermissions\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBuser\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBgroup\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBsymlink\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisFile\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisDirectory\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBKArchive\fP * \fBarchive\fP () const "
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A base class for entries in an \fBKArchive\fP. Base class for the archive-file's directory structure. 

\fBSee also:\fP
.RS 4
\fBKArchiveFile\fP 
.PP
\fBKArchiveDirectory\fP 
.RE
.PP

.PP
Definition at line 384 of file karchive.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KArchiveEntry::KArchiveEntry (\fBKArchive\fP * archive, const \fBQString\fP & name, int access, int date, const \fBQString\fP & user, const \fBQString\fP & group, const \fBQString\fP & symlink)"
.PP
Creates a new entry. 
.PP
\fBParameters:\fP
.RS 4
\fIarchive\fP the entries archive 
.br
\fIname\fP the name of the entry 
.br
\fIaccess\fP the permissions in unix format 
.br
\fIdate\fP the date (in seconds since 1970) 
.br
\fIuser\fP the user that owns the entry 
.br
\fIgroup\fP the group that owns the entry 
.br
\fIsymlink\fP the symlink, or QString::null 
.RE
.PP

.PP
Definition at line 437 of file karchive.cpp.
.PP
References group(), name(), symlink(), and user().
.SH "Member Function Documentation"
.PP 
.SS "\fBQDateTime\fP KArchiveEntry::datetime () const"
.PP
Creation date of the file. 
.PP
\fBReturns:\fP
.RS 4
the creation date 
.RE
.PP

.PP
Definition at line 451 of file karchive.cpp.
.PP
References QDateTime::setTime_t().
.SS "int KArchiveEntry::date () const\fC [inline]\fP"
.PP
Creation date of the file. 
.PP
\fBReturns:\fP
.RS 4
the creation date in seconds since 1970 
.RE
.PP

.PP
Definition at line 413 of file karchive.h.
.SS "\fBQString\fP KArchiveEntry::name () const\fC [inline]\fP"
.PP
Name of the file without path. 
.PP
\fBReturns:\fP
.RS 4
the file name without path 
.RE
.PP

.PP
Definition at line 419 of file karchive.h.
.PP
Referenced by KArchiveDirectory::copyTo(), KArchiveFile::copyTo(), and KArchiveEntry().
.SS "mode_t KArchiveEntry::permissions () const\fC [inline]\fP"
.PP
The permissions and mode flags as returned by the stat() function in st_mode. 
.PP
\fBReturns:\fP
.RS 4
the permissions 
.RE
.PP

.PP
Definition at line 425 of file karchive.h.
.SS "\fBQString\fP KArchiveEntry::user () const\fC [inline]\fP"
.PP
User who created the file. 
.PP
\fBReturns:\fP
.RS 4
the owner of the file 
.RE
.PP

.PP
Definition at line 430 of file karchive.h.
.PP
Referenced by KArchiveEntry().
.SS "\fBQString\fP KArchiveEntry::group () const\fC [inline]\fP"
.PP
Group of the user who created the file. 
.PP
\fBReturns:\fP
.RS 4
the group of the file 
.RE
.PP

.PP
Definition at line 435 of file karchive.h.
.PP
Referenced by KArchiveEntry().
.SS "\fBQString\fP KArchiveEntry::symlink () const\fC [inline]\fP"
.PP
Symlink if there is one. 
.PP
\fBReturns:\fP
.RS 4
the symlink, or QString::null 
.RE
.PP

.PP
Definition at line 441 of file karchive.h.
.PP
Referenced by KArchiveEntry().
.SS "virtual bool KArchiveEntry::isFile () const\fC [inline, virtual]\fP"
.PP
Checks whether the entry is a file. 
.PP
\fBReturns:\fP
.RS 4
true if this entry is a file 
.RE
.PP

.PP
Reimplemented in \fBKArchiveFile\fP.
.PP
Definition at line 447 of file karchive.h.
.PP
Referenced by KArchiveDirectory::copyTo().
.SS "virtual bool KArchiveEntry::isDirectory () const\fC [inline, virtual]\fP"
.PP
Checks whether the entry is a directory. 
.PP
\fBReturns:\fP
.RS 4
true if this entry is a directory 
.RE
.PP

.PP
Reimplemented in \fBKArchiveDirectory\fP.
.PP
Definition at line 453 of file karchive.h.
.PP
Referenced by KArchiveDirectory::copyTo(), KArchiveDirectory::entry(), KArchive::findOrCreate(), and KZip::openArchive().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
