\section{KAuto\-Unmount Class Reference}
\label{classKAutoUnmount}\index{KAutoUnmount@{KAutoUnmount}}
This class implements synchronous unmounting of devices, It is a wrapper around the asychronous {\bf KIO::special}{\rm (p.\,\pageref{namespaceKIO_a199})}() call for unmount, used by {\bf KMime\-Type}{\rm (p.\,\pageref{classKMimeType})}. This class implements synchronous unmounting of devices,.  


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

Inheritance diagram for KAuto\-Unmount:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=64pt]{classKAutoUnmount__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KAuto\-Unmount:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=107pt]{classKAutoUnmount__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf finished} ()
\begin{CompactList}\small\item\em Emitted when the directory has been unmounted. \item\end{CompactList}\item 
void {\bf error} ()
\begin{CompactList}\small\item\em Emitted in case the directory could not been unmounted. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KAuto\-Unmount} (const  {\bf QString} \&mountpoint, const  {\bf QString} \&desktop\-File)
\begin{CompactList}\small\item\em Unmounts a device. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Result} ({\bf KIO::Job} $\ast$)\label{classKAutoUnmount_j0}

\end{CompactItemize}


\subsection{Detailed Description}
This class implements synchronous unmounting of devices, It is a wrapper around the asychronous {\bf KIO::special}{\rm (p.\,\pageref{namespaceKIO_a199})}() call for unmount, used by {\bf KMime\-Type}{\rm (p.\,\pageref{classKMimeType})}. This class implements synchronous unmounting of devices,. 



Definition at line 81 of file kautomount.h.

\subsection{Constructor \& Destructor Documentation}
\index{KAutoUnmount@{KAuto\-Unmount}!KAutoUnmount@{KAutoUnmount}}
\index{KAutoUnmount@{KAutoUnmount}!KAutoUnmount@{KAuto\-Unmount}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAuto\-Unmount::KAuto\-Unmount (const {\bf QString} \& {\em mountpoint}, const {\bf QString} \& {\em desktop\-File})}\label{classKAutoUnmount_a0}


Unmounts a device. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em mountpoint}]the mount point - KAuto\-Unmount finds the device from that \item[{\em desktop\-File}]the file the user clicked on - to notify {\bf KDir\-Watch}{\rm (p.\,\pageref{classKDirWatch})} of the fact that it should emit file\-Dirty for it (to have the icon change) \end{description}
\end{Desc}


Definition at line 74 of file kautomount.cpp.

References QObject::connect(), and KIO::unmount().

\subsection{Member Function Documentation}
\index{KAutoUnmount@{KAuto\-Unmount}!finished@{finished}}
\index{finished@{finished}!KAutoUnmount@{KAuto\-Unmount}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAuto\-Unmount::finished ()\hspace{0.3cm}{\tt  [signal]}}\label{classKAutoUnmount_l0}


Emitted when the directory has been unmounted. 

\index{KAutoUnmount@{KAuto\-Unmount}!error@{error}}
\index{error@{error}!KAutoUnmount@{KAuto\-Unmount}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAuto\-Unmount::error ()\hspace{0.3cm}{\tt  [signal]}}\label{classKAutoUnmount_l1}


Emitted in case the directory could not been unmounted. 



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