\section{KSycoca\-Entry Class Reference}
\label{classKSycocaEntry}\index{KSycocaEntry@{KSycocaEntry}}
Base class for all Sycoca entries.  


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

Inheritance diagram for KSycoca\-Entry:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=59pt]{classKSycocaEntry__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KSycoca\-Entry:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=86pt]{classKSycocaEntry__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
typedef {\bf KShared\-Ptr}$<$ {\bf KSycoca\-Entry} $>$ {\bf Ptr}\label{classKSycocaEntry_w0}

\item 
typedef {\bf QValue\-List}$<$ {\bf Ptr} $>$ {\bf List}\label{classKSycocaEntry_w1}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual bool {\bf is\-Type} (KSycoca\-Type t) const \label{classKSycocaEntry_a0}

\item 
virtual KSycoca\-Type {\bf sycoca\-Type} () const \label{classKSycocaEntry_a1}

\item 
{\bf KSycoca\-Entry} (const  {\bf QString} \&path)
\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
{\bf KSycoca\-Entry} ({\bf QData\-Stream} \&\_\-str, int offset)\label{classKSycocaEntry_a3}

\item 
virtual {\bf QString} {\bf name} () const =0
\item 
{\bf QString} {\bf entry\-Path} () const 
\item 
virtual bool {\bf is\-Valid} () const =0
\item 
virtual bool {\bf is\-Deleted} () const 
\item 
int {\bf offset} ()\label{classKSycocaEntry_a8}

\item 
virtual void {\bf save} ({\bf QData\-Stream} \&s)\label{classKSycocaEntry_a9}

\item 
virtual void {\bf load} ({\bf QData\-Stream} \&)=0\label{classKSycocaEntry_a10}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
void {\bf read} ({\bf QData\-Stream} \&s, {\bf QString} \&str)
\begin{CompactList}\small\item\em Safe demarshalling functions. \item\end{CompactList}\item 
void {\bf read} ({\bf QData\-Stream} \&s, {\bf QString\-List} \&list)\label{classKSycocaEntry_e1}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKSycocaEntry_b0}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
bool {\bf m\_\-b\-Deleted}\label{classKSycocaEntry_p0}

\item 
{\bf QString} {\bf m\-Path}\label{classKSycocaEntry_p1}

\end{CompactItemize}


\subsection{Detailed Description}
Base class for all Sycoca entries. 

You can't create an instance of KSycoca\-Entry, but it provides the common functionality for servicetypes and services. 



Definition at line 37 of file ksycocaentry.h.

\subsection{Constructor \& Destructor Documentation}
\index{KSycocaEntry@{KSycoca\-Entry}!KSycocaEntry@{KSycocaEntry}}
\index{KSycocaEntry@{KSycocaEntry}!KSycocaEntry@{KSycoca\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSycoca\-Entry::KSycoca\-Entry (const {\bf QString} \& {\em path})\hspace{0.3cm}{\tt  [inline]}}\label{classKSycocaEntry_a2}


Default constructor. 



Definition at line 51 of file ksycocaentry.h.

\subsection{Member Function Documentation}
\index{KSycocaEntry@{KSycoca\-Entry}!read@{read}}
\index{read@{read}!KSycocaEntry@{KSycoca\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSycoca\-Entry::read ({\bf QData\-Stream} \& {\em s}, {\bf QString} \& {\em str})\hspace{0.3cm}{\tt  [static]}}\label{classKSycocaEntry_e0}


Safe demarshalling functions. 



Definition at line 428 of file ksycoca.cpp.

References QData\-Stream::read\-Raw\-Bytes(), QString::set\-Length(), and QString::unicode().\index{KSycocaEntry@{KSycoca\-Entry}!name@{name}}
\index{name@{name}!KSycocaEntry@{KSycoca\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf QString} KSycoca\-Entry::name () const\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKSycocaEntry_a4}


\begin{Desc}
\item[Returns:]the name of this entry \end{Desc}
\index{KSycocaEntry@{KSycoca\-Entry}!entryPath@{entryPath}}
\index{entryPath@{entryPath}!KSycocaEntry@{KSycoca\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KSycoca\-Entry::entry\-Path () const\hspace{0.3cm}{\tt  [inline]}}\label{classKSycocaEntry_a5}


\begin{Desc}
\item[Returns:]the path of this entry The path can be absolute or relative. The corresponding factory should know relative to what. \end{Desc}


Definition at line 79 of file ksycocaentry.h.\index{KSycocaEntry@{KSycoca\-Entry}!isValid@{isValid}}
\index{isValid@{isValid}!KSycocaEntry@{KSycoca\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool KSycoca\-Entry::is\-Valid () const\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKSycocaEntry_a6}


\begin{Desc}
\item[Returns:]true if valid \end{Desc}
\index{KSycocaEntry@{KSycoca\-Entry}!isDeleted@{isDeleted}}
\index{isDeleted@{isDeleted}!KSycocaEntry@{KSycoca\-Entry}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool KSycoca\-Entry::is\-Deleted () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classKSycocaEntry_a7}


\begin{Desc}
\item[Returns:]true if deleted \end{Desc}


Definition at line 89 of file ksycocaentry.h.

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