\section{KDisk\-Free\-Sp Class Reference}
\label{classKDiskFreeSp}\index{KDiskFreeSp@{KDiskFreeSp}}
This class parses the output of \char`\"{}df\char`\"{} to find the disk usage information for a given partition (mount point).  


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

Inheritance diagram for KDisk\-Free\-Sp:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=55pt]{classKDiskFreeSp__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KDisk\-Free\-Sp:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=184pt]{classKDiskFreeSp__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf found\-Mount\-Point} (const {\bf QString} \&mount\-Point, unsigned long k\-BSize, unsigned long k\-BUsed, unsigned long k\-BAvail)\label{classKDiskFreeSp_l0}

\item 
void {\bf found\-Mount\-Point} (const unsigned long \&, const unsigned long \&, const unsigned long \&, const {\bf QString} \&)\label{classKDiskFreeSp_l1}

\item 
void {\bf done} ()\label{classKDiskFreeSp_l2}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KDisk\-Free\-Sp} ({\bf QObject} $\ast${\bf parent}=0, const char $\ast${\bf name}=0)\label{classKDiskFreeSp_a0}

\item 
{\bf $\sim$KDisk\-Free\-Sp} ()
\item 
int {\bf read\-DF} (const {\bf QString} \&mount\-Point)
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KDisk\-Free\-Sp} $\ast$ {\bf find\-Usage\-Info} (const {\bf QString} \&path)
\end{CompactItemize}


\subsection{Detailed Description}
This class parses the output of \char`\"{}df\char`\"{} to find the disk usage information for a given partition (mount point). 



Definition at line 40 of file kdiskfreesp.h.

\subsection{Constructor \& Destructor Documentation}
\index{KDiskFreeSp@{KDisk\-Free\-Sp}!~KDiskFreeSp@{$\sim$KDiskFreeSp}}
\index{~KDiskFreeSp@{$\sim$KDiskFreeSp}!KDiskFreeSp@{KDisk\-Free\-Sp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KDisk\-Free\-Sp::$\sim${\bf KDisk\-Free\-Sp} ()}\label{classKDiskFreeSp_a1}


Destructor - this object autodeletes itself when it's done. 



Definition at line 63 of file kdiskfreesp.cpp.

\subsection{Member Function Documentation}
\index{KDiskFreeSp@{KDisk\-Free\-Sp}!readDF@{readDF}}
\index{readDF@{readDF}!KDiskFreeSp@{KDisk\-Free\-Sp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KDisk\-Free\-Sp::read\-DF (const {\bf QString} \& {\em mount\-Point})}\label{classKDiskFreeSp_a2}


Call this to fire a search on the disk usage information for {\tt mount\-Point}. 

found\-Mount\-Point will be emitted if this mount point is found, with the info requested. done is emitted in any case. 

Definition at line 80 of file kdiskfreesp.cpp.

References KProcess::clear\-Arguments(), endl(), QString::from\-Local8Bit(), KProcess::is\-Running(), kd\-Error(), and KProcess::start().

Referenced by find\-Usage\-Info(), and KFile\-Props\-Plugin::KFile\-Props\-Plugin().\index{KDiskFreeSp@{KDisk\-Free\-Sp}!findUsageInfo@{findUsageInfo}}
\index{findUsageInfo@{findUsageInfo}!KDiskFreeSp@{KDisk\-Free\-Sp}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KDisk\-Free\-Sp} $\ast$ KDisk\-Free\-Sp::find\-Usage\-Info (const {\bf QString} \& {\em path})\hspace{0.3cm}{\tt  [static]}}\label{classKDiskFreeSp_e0}


Call this to fire a search on the disk usage information for the mount point containing {\tt path}. 

found\-Mount\-Point will be emitted if this mount point is found, with the info requested. done is emitted in any case. 

Definition at line 163 of file kdiskfreesp.cpp.

References KIO::find\-Path\-Mount\-Point(), and read\-DF().

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