26 #ifndef __KDISKFREESP_H__
27 #define __KDISKFREESP_H__
32 #include <tdelibs_export.h>
43 KDiskFreeSp( TQObject *parent=0,
const char *name=0 );
54 int readDF(
const TQString & mountPoint );
63 static KDiskFreeSp * findUsageInfo(
const TQString & path );
66 void foundMountPoint(
const TQString & mountPoint,
unsigned long kBSize,
unsigned long kBUsed,
unsigned long kBAvail );
71 void foundMountPoint(
const unsigned long&,
const unsigned long&,
const unsigned long&,
const TQString& );
75 void receivedDFStdErrOut(TDEProcess *,
char *data,
int len);
80 TQCString dfStringErrOut;
81 TQString m_mountPoint;
82 bool readingDFStdErrOut;
83 class KDiskFreeSpPrivate;
84 KDiskFreeSpPrivate * d;
This class parses the output of "df" to find the disk usage information for a given partition (mount ...