\section{KFile\-Tree\-View\-Item Class Reference}
\label{classKFileTreeViewItem}\index{KFileTreeViewItem@{KFileTreeViewItem}}
An item for a {\bf KFile\-Tree\-View}{\rm (p.\,\pageref{classKFileTreeView})} that knows about its own {\bf KFile\-Item}{\rm (p.\,\pageref{classKFileItem})}.  


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

Inheritance diagram for KFile\-Tree\-View\-Item:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=72pt]{classKFileTreeViewItem__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KFile\-Tree\-View\-Item:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=126pt]{classKFileTreeViewItem__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KFile\-Tree\-View\-Item} ({\bf KFile\-Tree\-View\-Item} $\ast$, {\bf KFile\-Item} $\ast$, {\bf KFile\-Tree\-Branch} $\ast$)\label{classKFileTreeViewItem_a0}

\item 
{\bf KFile\-Tree\-View\-Item} ({\bf KFile\-Tree\-View} $\ast$, {\bf KFile\-Item} $\ast$, {\bf KFile\-Tree\-Branch} $\ast$)\label{classKFileTreeViewItem_a1}

\item 
{\bf KFile\-Tree\-Branch} $\ast$ {\bf branch} () const 
\item 
{\bf KFile\-Item} $\ast$ {\bf file\-Item} () const 
\item 
{\bf QString} {\bf path} () const 
\item 
{\bf KURL} {\bf url} () const 
\item 
bool {\bf is\-Dir} () const 
\item 
bool {\bf already\-Listed} () const 
\item 
void {\bf set\-Listed} (bool was\-Listed)
\begin{CompactList}\small\item\em set the flag if the directory was already listed. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
An item for a {\bf KFile\-Tree\-View}{\rm (p.\,\pageref{classKFileTreeView})} that knows about its own {\bf KFile\-Item}{\rm (p.\,\pageref{classKFileItem})}. 



Definition at line 40 of file kfiletreeviewitem.h.

\subsection{Member Function Documentation}
\index{KFileTreeViewItem@{KFile\-Tree\-View\-Item}!branch@{branch}}
\index{branch@{branch}!KFileTreeViewItem@{KFile\-Tree\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KFile\-Tree\-Branch}$\ast$ KFile\-Tree\-View\-Item::branch () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileTreeViewItem_a3}


\begin{Desc}
\item[Returns:]the {\bf KFile\-Tree\-Branch}{\rm (p.\,\pageref{classKFileTreeBranch})} the item is sorted in. \end{Desc}


Definition at line 50 of file kfiletreeviewitem.h.\index{KFileTreeViewItem@{KFile\-Tree\-View\-Item}!fileItem@{fileItem}}
\index{fileItem@{fileItem}!KFileTreeViewItem@{KFile\-Tree\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KFile\-Item}$\ast$ KFile\-Tree\-View\-Item::file\-Item () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileTreeViewItem_a4}


\begin{Desc}
\item[Returns:]the {\bf KFile\-Item}{\rm (p.\,\pageref{classKFileItem})} the viewitem is representing. \end{Desc}


Definition at line 55 of file kfiletreeviewitem.h.\index{KFileTreeViewItem@{KFile\-Tree\-View\-Item}!path@{path}}
\index{path@{path}!KFileTreeViewItem@{KFile\-Tree\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KFile\-Tree\-View\-Item::path () const}\label{classKFileTreeViewItem_a5}


\begin{Desc}
\item[Returns:]the path of the item. \end{Desc}


Definition at line 75 of file kfiletreeviewitem.cpp.\index{KFileTreeViewItem@{KFile\-Tree\-View\-Item}!url@{url}}
\index{url@{url}!KFileTreeViewItem@{KFile\-Tree\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KURL} KFile\-Tree\-View\-Item::url () const}\label{classKFileTreeViewItem_a6}


\begin{Desc}
\item[Returns:]the items {\bf KURL} \end{Desc}


Definition at line 70 of file kfiletreeviewitem.cpp.

References KFile\-Item::url().

Referenced by KFile\-Tree\-View::current\-URL().\index{KFileTreeViewItem@{KFile\-Tree\-View\-Item}!isDir@{isDir}}
\index{isDir@{isDir}!KFileTreeViewItem@{KFile\-Tree\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KFile\-Tree\-View\-Item::is\-Dir () const}\label{classKFileTreeViewItem_a7}


\begin{Desc}
\item[Returns:]if the item represents a directory \end{Desc}


Definition at line 80 of file kfiletreeviewitem.cpp.

References KFile\-Item::is\-Dir().\index{KFileTreeViewItem@{KFile\-Tree\-View\-Item}!alreadyListed@{alreadyListed}}
\index{alreadyListed@{alreadyListed}!KFileTreeViewItem@{KFile\-Tree\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KFile\-Tree\-View\-Item::already\-Listed () const}\label{classKFileTreeViewItem_a8}


\begin{Desc}
\item[Returns:]if this directory was already seen by a {\bf KDir\-Lister}{\rm (p.\,\pageref{classKDirLister})}. \end{Desc}


Definition at line 60 of file kfiletreeviewitem.cpp.

Referenced by KFile\-Tree\-Branch::populate().\index{KFileTreeViewItem@{KFile\-Tree\-View\-Item}!setListed@{setListed}}
\index{setListed@{setListed}!KFileTreeViewItem@{KFile\-Tree\-View\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Tree\-View\-Item::set\-Listed (bool {\em was\-Listed})}\label{classKFileTreeViewItem_a9}


set the flag if the directory was already listed. 



Definition at line 65 of file kfiletreeviewitem.cpp.

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