\section{KArchive\-Entry Class Reference}
\label{classKArchiveEntry}\index{KArchiveEntry@{KArchiveEntry}}
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=118pt]{classKArchiveEntry__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KArchive\-Entry:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=117pt]{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)\label{classKArchiveEntry_a0}

\item 
{\bf QDate\-Time} {\bf datetime} () const 
\begin{CompactList}\small\item\em Creation date of the file. \item\end{CompactList}\item 
int {\bf date} () const \label{classKArchiveEntry_a3}

\item 
{\bf QString} {\bf name} () const 
\begin{CompactList}\small\item\em Name of the file without path. \item\end{CompactList}\item 
mode\_\-t {\bf permissions} () const 
\begin{CompactList}\small\item\em The permissions and mode flags as returned by the stat() function in st\_\-mode. \item\end{CompactList}\item 
{\bf QString} {\bf user} () const 
\begin{CompactList}\small\item\em User who created the file. \item\end{CompactList}\item 
{\bf QString} {\bf group} () const 
\begin{CompactList}\small\item\em Group of the user who created the file. \item\end{CompactList}\item 
{\bf QString} {\bf symlink} () const 
\begin{CompactList}\small\item\em Symlink if there is one. \item\end{CompactList}\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}
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 172 of file karchive.h.

\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. 



Definition at line 241 of file karchive.cpp.

References QDate\-Time::set\-Time\_\-t().\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. 



Definition at line 190 of file karchive.h.

Referenced by KArchive\-Directory::copy\-To(), and KArchive\-File::copy\-To().\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. 



Definition at line 195 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. 



Definition at line 199 of file karchive.h.\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. 



Definition at line 203 of file karchive.h.\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. 



Definition at line 208 of file karchive.h.\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}


\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 213 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}


\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 218 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}
