\section{KFile Class Reference}
\label{classKFile}\index{KFile@{KFile}}
KFile is a class which provides a namespace for some enumerated values associated with the kfile library.  


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

\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Mode} \{ \par
{\bf File} =  1, 
{\bf Directory} =  2, 
{\bf Files} =  4, 
{\bf Existing\-Only} =  8, 
\par
{\bf Local\-Only} =  16
 \}
\begin{CompactList}\small\item\em Modes of operation for the dialog. \item\end{CompactList}\item 
enum {\bf File\-View} \{ \par
{\bf Default} =  0, 
{\bf Simple} =  1, 
{\bf Detail} =  2, 
{\bf Separate\-Dirs} =  4, 
\par
{\bf Preview\-Contents} =  8, 
{\bf Preview\-Info} =  16
 \}
\item 
enum {\bf Selection\-Mode} \{ {\bf Single} =  1, 
{\bf Multi} =  2, 
{\bf Extended} =  4, 
{\bf No\-Selection} =  8
 \}
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf is\-Sort\-By\-Name} (const  QDir::Sort\-Spec \&sort)\label{classKFile_e0}

\item 
bool {\bf is\-Sort\-By\-Size} (const  QDir::Sort\-Spec \&sort)\label{classKFile_e1}

\item 
bool {\bf is\-Sort\-By\-Date} (const  QDir::Sort\-Spec \&sort)\label{classKFile_e2}

\item 
bool {\bf is\-Sort\-Dirs\-First} (const  QDir::Sort\-Spec \&sort)\label{classKFile_e3}

\item 
bool {\bf is\-Sort\-Case\-Insensitive} (const  QDir::Sort\-Spec \&sort)\label{classKFile_e4}

\item 
bool {\bf is\-Default\-View} (const  File\-View \&view)\label{classKFile_e5}

\item 
bool {\bf is\-Simple\-View} (const  File\-View \&view)\label{classKFile_e6}

\item 
bool {\bf is\-Detail\-View} (const  File\-View \&view)\label{classKFile_e7}

\item 
bool {\bf is\-Separate\-Dirs} (const  File\-View \&view)\label{classKFile_e8}

\item 
bool {\bf is\-Preview\-Contents} (const  File\-View \&view)\label{classKFile_e9}

\item 
bool {\bf is\-Preview\-Info} (const  File\-View \&view)
\begin{CompactList}\small\item\em \begin{Desc}
\item[Since:]3.1 \end{Desc}
\item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
KFile is a class which provides a namespace for some enumerated values associated with the kfile library. 

You will never need to construct a KFile object itself. 



Definition at line 29 of file kfile.h.

\subsection{Member Enumeration Documentation}
\index{KFile@{KFile}!Mode@{Mode}}
\index{Mode@{Mode}!KFile@{KFile}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KFile::Mode}}\label{classKFile_w15}


Modes of operation for the dialog. 

\begin{itemize}
\item {\tt File} - Get a single file name from the user. \item {\tt Directory} - Get a directory name from the user. \item {\tt Files} - Get multiple file names from the user. \item {\tt Existing\-Only} - Never return a filename which does not exist yet \item {\tt Local\-Only} - Don't return remote filenames \end{itemize}


Definition at line 40 of file kfile.h.

Referenced by KFile\-Dialog::mode(), and KDir\-Operator::mode().

\subsection{Member Function Documentation}
\index{KFile@{KFile}!isPreviewInfo@{isPreviewInfo}}
\index{isPreviewInfo@{isPreviewInfo}!KFile@{KFile}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KFile::is\-Preview\-Info (const File\-View \& {\em view})\hspace{0.3cm}{\tt  [inline, static]}}\label{classKFile_e10}


\begin{Desc}
\item[Since:]3.1 \end{Desc}




Definition at line 119 of file kfile.h.

Referenced by KDir\-Operator::create\-View(), and KDir\-Operator::set\-View().

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