\section{KArchive\-Entry Class Reference}
\label{classKArchiveEntry}\index{KArchiveEntry@{KArchiveEntry}}
A base class for entries in an {\bf KArchive}{\rm (p.\,\pageref{classKArchive})}. Base class for the archive-file's directory structure.  


{\tt \#include $<$karchive.h$>$}

Inheritance diagram for KArchive\-Entry:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=111pt]{classKArchiveEntry__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KArchive\-Entry:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=99pt]{classKArchiveEntry__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KArchive\-Entry} ({\bf KArchive} $\ast$archive, const {\bf QString} \&name, int access, int date, const {\bf QString} \&user, const {\bf QString} \&group, const {\bf QString} \&symlink)
\item 
{\bf QDate\-Time} {\bf datetime} () const 
\item 
int {\bf date} () const 
\item 
{\bf QString} {\bf name} () const 
\item 
mode\_\-t {\bf permissions} () const 
\item 
{\bf QString} {\bf user} () const 
\item 
{\bf QString} {\bf group} () const 
\item 
{\bf QString} {\bf symlink} () const 
\item 
virtual bool {\bf is\-File} () const 
\item 
virtual bool {\bf is\-Directory} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf KArchive} $\ast$ {\bf archive} () const \label{classKArchiveEntry_b0}

\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKArchiveEntry_b1}

\end{CompactItemize}


\subsection{Detailed Description}
A base class for entries in an {\bf KArchive}{\rm (p.\,\pageref{classKArchive})}. Base class for the archive-file's directory structure. 

\begin{Desc}
\item[See also:]{\bf KArchive\-File}{\rm (p.\,\pageref{classKArchiveFile})} 

{\bf KArchive\-Directory}{\rm (p.\,\pageref{classKArchiveDirectory})} \end{Desc}




Definition at line 384 of file karchive.h.

\subsection{Constructor \& Destructor Documentation}
\index{KArchiveEntry@{KArchive\-Entry}!KArchiveEntry@{KArchiveEntry}}
\index{KArchiveEntry@{KArchiveEntry}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KArchive\-Entry::KArchive\-Entry ({\bf KArchive} $\ast$ {\em archive}, const {\bf QString} \& {\em name}, int {\em access}, int {\em date}, const {\bf QString} \& {\em user}, const {\bf QString} \& {\em group}, const {\bf QString} \& {\em symlink})}\label{classKArchiveEntry_a0}


Creates a new entry. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em archive}]the entries archive \item[{\em name}]the name of the entry \item[{\em access}]the permissions in unix format \item[{\em date}]the date (in seconds since 1970) \item[{\em user}]the user that owns the entry \item[{\em group}]the group that owns the entry \item[{\em symlink}]the symlink, or QString::null \end{description}
\end{Desc}


Definition at line 437 of file karchive.cpp.

References group(), name(), symlink(), and user().

\subsection{Member Function Documentation}
\index{KArchiveEntry@{KArchive\-Entry}!datetime@{datetime}}
\index{datetime@{datetime}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QDate\-Time} KArchive\-Entry::datetime () const}\label{classKArchiveEntry_a2}


Creation date of the file. 

\begin{Desc}
\item[Returns:]the creation date \end{Desc}


Definition at line 451 of file karchive.cpp.

References QDate\-Time::set\-Time\_\-t().\index{KArchiveEntry@{KArchive\-Entry}!date@{date}}
\index{date@{date}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KArchive\-Entry::date () const\hspace{0.3cm}{\tt  [inline]}}\label{classKArchiveEntry_a3}


Creation date of the file. 

\begin{Desc}
\item[Returns:]the creation date in seconds since 1970 \end{Desc}


Definition at line 413 of file karchive.h.\index{KArchiveEntry@{KArchive\-Entry}!name@{name}}
\index{name@{name}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KArchive\-Entry::name () const\hspace{0.3cm}{\tt  [inline]}}\label{classKArchiveEntry_a4}


Name of the file without path. 

\begin{Desc}
\item[Returns:]the file name without path \end{Desc}


Definition at line 419 of file karchive.h.

Referenced by KArchive\-Directory::copy\-To(), KArchive\-File::copy\-To(), and KArchive\-Entry().\index{KArchiveEntry@{KArchive\-Entry}!permissions@{permissions}}
\index{permissions@{permissions}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}mode\_\-t KArchive\-Entry::permissions () const\hspace{0.3cm}{\tt  [inline]}}\label{classKArchiveEntry_a5}


The permissions and mode flags as returned by the stat() function in st\_\-mode. 

\begin{Desc}
\item[Returns:]the permissions \end{Desc}


Definition at line 425 of file karchive.h.\index{KArchiveEntry@{KArchive\-Entry}!user@{user}}
\index{user@{user}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KArchive\-Entry::user () const\hspace{0.3cm}{\tt  [inline]}}\label{classKArchiveEntry_a6}


User who created the file. 

\begin{Desc}
\item[Returns:]the owner of the file \end{Desc}


Definition at line 430 of file karchive.h.

Referenced by KArchive\-Entry().\index{KArchiveEntry@{KArchive\-Entry}!group@{group}}
\index{group@{group}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KArchive\-Entry::group () const\hspace{0.3cm}{\tt  [inline]}}\label{classKArchiveEntry_a7}


Group of the user who created the file. 

\begin{Desc}
\item[Returns:]the group of the file \end{Desc}


Definition at line 435 of file karchive.h.

Referenced by KArchive\-Entry().\index{KArchiveEntry@{KArchive\-Entry}!symlink@{symlink}}
\index{symlink@{symlink}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KArchive\-Entry::symlink () const\hspace{0.3cm}{\tt  [inline]}}\label{classKArchiveEntry_a8}


Symlink if there is one. 

\begin{Desc}
\item[Returns:]the symlink, or QString::null \end{Desc}


Definition at line 441 of file karchive.h.

Referenced by KArchive\-Entry().\index{KArchiveEntry@{KArchive\-Entry}!isFile@{isFile}}
\index{isFile@{isFile}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool KArchive\-Entry::is\-File () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classKArchiveEntry_a9}


Checks whether the entry is a file. 

\begin{Desc}
\item[Returns:]true if this entry is a file \end{Desc}


Reimplemented in {\bf KArchive\-File} {\rm (p.\,\pageref{classKArchiveFile_a7})}.

Definition at line 447 of file karchive.h.

Referenced by KArchive\-Directory::copy\-To().\index{KArchiveEntry@{KArchive\-Entry}!isDirectory@{isDirectory}}
\index{isDirectory@{isDirectory}!KArchiveEntry@{KArchive\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool KArchive\-Entry::is\-Directory () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classKArchiveEntry_a10}


Checks whether the entry is a directory. 

\begin{Desc}
\item[Returns:]true if this entry is a directory \end{Desc}


Reimplemented in {\bf KArchive\-Directory} {\rm (p.\,\pageref{classKArchiveDirectory_a6})}.

Definition at line 453 of file karchive.h.

Referenced by KArchive\-Directory::copy\-To(), KArchive\-Directory::entry(), KArchive::find\-Or\-Create(), and KZip::open\-Archive().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
karchive.h\item 
karchive.cpp\end{CompactItemize}
