\section{KProtocol\-Info\-Factory Class Reference}
\label{classKProtocolInfoFactory}\index{KProtocolInfoFactory@{KProtocolInfoFactory}}
KProtocol\-Info\-Factory is a factory for getting {\bf KProtocol\-Info}. Factory for {\bf KProtocol\-Info}.  


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

Collaboration diagram for KProtocol\-Info\-Factory:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=130pt]{classKProtocolInfoFactory__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KProtocol\-Info} $\ast$ {\bf find\-Protocol} (const {\bf QString} \&protocol)\label{classKProtocolInfoFactory_a2}

\item 
{\bf QString\-List} {\bf protocols} ()
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KProtocol\-Info\-Factory} $\ast$ {\bf self} ()
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf KSycoca\-Entry} $\ast$ {\bf create\-Entry} (const {\bf QString} \&, const char $\ast$)\label{classKProtocolInfoFactory_b0}

\item 
virtual {\bf KProtocol\-Info} $\ast$ {\bf create\-Entry} (int offset)\label{classKProtocolInfoFactory_b1}

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

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf QMap}$<$ {\bf QString}, {\bf KProtocol\-Info::Ptr} $>$ {\bf m\_\-cache}\label{classKProtocolInfoFactory_p0}

\end{CompactItemize}
\subsection*{Static Protected Attributes}
\begin{CompactItemize}
\item 
static {\bf KProtocol\-Info\-Factory} $\ast$ {\bf \_\-self} = 0\label{classKProtocolInfoFactory_t0}

\end{CompactItemize}


\subsection{Detailed Description}
KProtocol\-Info\-Factory is a factory for getting {\bf KProtocol\-Info}. Factory for {\bf KProtocol\-Info}. 

The factory is a singleton (only one instance can exist).



Definition at line 40 of file kprotocolinfofactory.h.

\subsection{Member Function Documentation}
\index{KProtocolInfoFactory@{KProtocol\-Info\-Factory}!self@{self}}
\index{self@{self}!KProtocolInfoFactory@{KProtocol\-Info\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static {\bf KProtocol\-Info\-Factory}$\ast$ KProtocol\-Info\-Factory::self ()\hspace{0.3cm}{\tt  [inline, static]}}\label{classKProtocolInfoFactory_e0}


The instance of the KProtocol\-Info\-Factory. 

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


Definition at line 48 of file kprotocolinfofactory.h.\index{KProtocolInfoFactory@{KProtocol\-Info\-Factory}!protocols@{protocols}}
\index{protocols@{protocols}!KProtocolInfoFactory@{KProtocol\-Info\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KProtocol\-Info\-Factory::protocols ()}\label{classKProtocolInfoFactory_a3}


Returns list of all known protocols. 

\begin{Desc}
\item[Returns:]a list of all protocols \end{Desc}


Definition at line 66 of file kprotocolinfofactory.cpp.

References QValue\-List::begin(), QValue\-List::end(), and KProtocol\-Info::name().

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