\section{KFolder\-Type Class Reference}
\label{classKFolderType}\index{KFolderType@{KFolderType}}
Mimetype for a folder (inode/directory) Handles locked folders, for instance.  


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

Inheritance diagram for KFolder\-Type:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=59pt]{classKFolderType__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KFolder\-Type:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=255pt]{classKFolderType__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KFolder\-Type} ({\bf KDesktop\-File} $\ast$config)\label{classKFolderType_a0}

\item 
{\bf KFolder\-Type} ({\bf QData\-Stream} \&\_\-str, int {\bf offset})\label{classKFolderType_a1}

\item 
virtual {\bf QString} {\bf icon} (const  {\bf QString} \&\_\-url, bool \_\-is\_\-local) const 
\begin{CompactList}\small\item\em Return the filename of the icon associated with the mimetype. \item\end{CompactList}\item 
virtual {\bf QString} {\bf icon} (const  {\bf KURL} \&\_\-url, bool \_\-is\_\-local) const 
\begin{CompactList}\small\item\em This function differs from the above only in that a {\bf KURL} may be provided instead of a {\bf QString} for convenience. \item\end{CompactList}\item 
virtual {\bf QString} {\bf comment} (const  {\bf QString} \&\_\-url, bool \_\-is\_\-local) const 
\begin{CompactList}\small\item\em The arguments are unused, but provided so that {\bf KMime\-Type}{\rm (p.\,\pageref{classKMimeType})} derived classes can use them. \item\end{CompactList}\item 
virtual {\bf QString} {\bf comment} (const  {\bf KURL} \&\_\-url, bool \_\-is\_\-local) const 
\begin{CompactList}\small\item\em This function differs from the above only in that a {\bf KURL} may be provided instead of a {\bf QString} for convenience. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKFolderType_b0}

\end{CompactItemize}


\subsection{Detailed Description}
Mimetype for a folder (inode/directory) Handles locked folders, for instance. 



Definition at line 316 of file kmimetype.h.

\subsection{Member Function Documentation}
\index{KFolderType@{KFolder\-Type}!icon@{icon}}
\index{icon@{icon}!KFolderType@{KFolder\-Type}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KFolder\-Type::icon (const {\bf QString} \& {\em \_\-url}, bool {\em \_\-is\_\-local}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKFolderType_a2}


Return the filename of the icon associated with the mimetype. 

The arguments are unused, but provided so that KMime\-Type-derived classes can use them (e.g. {\bf KFolder\-Type}{\rm (p.\,\pageref{classKFolderType})} uses the URL to return one out of 2 icons)

\begin{Desc}
\item[Returns:]The path to the icon associated with this MIME type. \end{Desc}


Reimplemented from {\bf KMime\-Type} {\rm (p.\,\pageref{classKMimeType_a5})}.

Definition at line 471 of file kmimetype.cpp.

References KService\-Type::icon(), and QString::is\-Empty().

Referenced by icon().\index{KFolderType@{KFolder\-Type}!icon@{icon}}
\index{icon@{icon}!KFolderType@{KFolder\-Type}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KFolder\-Type::icon (const {\bf KURL} \& {\em \_\-url}, bool {\em \_\-is\_\-local}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKFolderType_a3}


This function differs from the above only in that a {\bf KURL} may be provided instead of a {\bf QString} for convenience. 



Reimplemented from {\bf KMime\-Type} {\rm (p.\,\pageref{classKMimeType_a6})}.

Definition at line 479 of file kmimetype.cpp.

References KURL::add\-Path(), QFile::encode\-Name(), KStandard\-Dirs::exists(), icon(), KService\-Type::icon(), QString::is\-Empty(), KURL::path(), KConfig\-Base::read\-Entry(), and KConfig\-Base::set\-Desktop\-Group().\index{KFolderType@{KFolder\-Type}!comment@{comment}}
\index{comment@{comment}!KFolderType@{KFolder\-Type}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KFolder\-Type::comment (const {\bf QString} \& {\em \_\-url}, bool {\em \_\-is\_\-local}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKFolderType_a4}


The arguments are unused, but provided so that {\bf KMime\-Type}{\rm (p.\,\pageref{classKMimeType})} derived classes can use them. 

\begin{Desc}
\item[Returns:]The descriptive comment associated with the MIME type, if any. \end{Desc}


Reimplemented from {\bf KMime\-Type} {\rm (p.\,\pageref{classKMimeType_a10})}.

Definition at line 526 of file kmimetype.cpp.

References KMime\-Type::comment(), and QString::is\-Empty().

Referenced by comment().\index{KFolderType@{KFolder\-Type}!comment@{comment}}
\index{comment@{comment}!KFolderType@{KFolder\-Type}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KFolder\-Type::comment (const {\bf KURL} \& {\em \_\-url}, bool {\em \_\-is\_\-local}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKFolderType_a5}


This function differs from the above only in that a {\bf KURL} may be provided instead of a {\bf QString} for convenience. 



Reimplemented from {\bf KMime\-Type} {\rm (p.\,\pageref{classKMimeType_a11})}.

Definition at line 534 of file kmimetype.cpp.

References KURL::add\-Path(), comment(), KMime\-Type::comment(), QString::is\-Empty(), KURL::path(), KConfig\-Base::read\-Entry(), and KConfig\-Base::set\-Desktop\-Group().

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