\section{KDir\-Notify Class Reference}
\label{classKDirNotify}\index{KDirNotify@{KDirNotify}}
An abstract class that receives notifications of added and removed files in any directory, local or remote.  


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

Inheritance diagram for KDir\-Notify:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=64pt]{classKDirNotify__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KDir\-Notify:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=55pt]{classKDirNotify__coll__graph}
\end{center}
\end{figure}
\subsection*{DCOP Member Functions}
\begin{CompactItemize}
\item 
virtual ASYNC {\bf Files\-Added} (const  {\bf KURL} \&directory)=0
\begin{CompactList}\small\item\em Notify that files have been added in {\tt directory} Note: this is ASYNC so that it can be used with a broadcast. \item\end{CompactList}\item 
virtual ASYNC {\bf Files\-Removed} (const  {\bf KURL::List} \&file\-List)=0
\begin{CompactList}\small\item\em Notify that files have been deleted. \item\end{CompactList}\item 
virtual ASYNC {\bf Files\-Changed} (const  {\bf KURL::List} \&file\-List)=0
\begin{CompactList}\small\item\em Notify that files have been changed. \item\end{CompactList}\item 
virtual ASYNC {\bf File\-Renamed} (const  {\bf KURL} \&src, const  {\bf KURL} \&dst)
\begin{CompactList}\small\item\em Notify that a file has been renamed. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKDirNotify_b2}

\end{CompactItemize}


\subsection{Detailed Description}
An abstract class that receives notifications of added and removed files in any directory, local or remote. 

The information comes from the konqueror/kdesktop instance where the operation was done, and can interest KDir\-Listers, bookmark handlers, etc. 



Definition at line 32 of file kdirnotify.h.

\subsection{Member Function Documentation}
\index{KDirNotify@{KDir\-Notify}!FilesAdded@{FilesAdded}}
\index{FilesAdded@{FilesAdded}!KDirNotify@{KDir\-Notify}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual ASYNC KDir\-Notify::Files\-Added (const {\bf KURL} \& {\em directory})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKDirNotify_z0}


Notify that files have been added in {\tt directory} Note: this is ASYNC so that it can be used with a broadcast. 



Implemented in {\bf KDir\-Lister\-Cache} {\rm (p.\,\pageref{classKDirListerCache_a12})}.\index{KDirNotify@{KDir\-Notify}!FilesRemoved@{FilesRemoved}}
\index{FilesRemoved@{FilesRemoved}!KDirNotify@{KDir\-Notify}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual ASYNC KDir\-Notify::Files\-Removed (const {\bf KURL::List} \& {\em file\-List})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKDirNotify_z1}


Notify that files have been deleted. 

Note: this is ASYNC so that it can be used with a broadcast 

Implemented in {\bf KDir\-Lister\-Cache} {\rm (p.\,\pageref{classKDirListerCache_a13})}.\index{KDirNotify@{KDir\-Notify}!FilesChanged@{FilesChanged}}
\index{FilesChanged@{FilesChanged}!KDirNotify@{KDir\-Notify}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual ASYNC KDir\-Notify::Files\-Changed (const {\bf KURL::List} \& {\em file\-List})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKDirNotify_z2}


Notify that files have been changed. 

At the moment, this is only used for new icon, but it could be used for size etc. as well. Note: this is ASYNC so that it can be used with a broadcast 

Implemented in {\bf KDir\-Lister\-Cache} {\rm (p.\,\pageref{classKDirListerCache_a14})}.\index{KDirNotify@{KDir\-Notify}!FileRenamed@{FileRenamed}}
\index{FileRenamed@{FileRenamed}!KDirNotify@{KDir\-Notify}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KDir\-Notify::File\-Renamed (const {\bf KURL} \& {\em src}, const {\bf KURL} \& {\em dst})\hspace{0.3cm}{\tt  [virtual]}}\label{classKDirNotify_z3}


Notify that a file has been renamed. 

Note: this is ASYNC so that it can be used with a broadcast 

Reimplemented in {\bf KDir\-Lister\-Cache} {\rm (p.\,\pageref{classKDirListerCache_a15})}.

Definition at line 30 of file kdirnotify.cpp.

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