\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, 
{\bf Mode\-Max} =  65536
 \}
\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, 
{\bf File\-View\-Max} =  65536
 \}
\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 
static bool {\bf is\-Sort\-By\-Name} (const QDir::Sort\-Spec \&sort)\label{classKFile_e0}

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

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

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

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

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

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

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

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

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

\item 
static bool {\bf is\-Preview\-Info} (const File\-View \&view)
\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 31 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_w17}


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 42 of file kfile.h.

\subsection{Member Function Documentation}
\index{KFile@{KFile}!isPreviewInfo@{isPreviewInfo}}
\index{isPreviewInfo@{isPreviewInfo}!KFile@{KFile}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static 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 123 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}
