class KDiskFreeSp

This class parses the output of "df" to find the disk usage information for a given partition (mount point). More...

Definition#include <kdiskfreesp.h>
InheritsQObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Public Static Methods


Detailed Description

This class parses the output of "df" to find the disk usage information for a given partition (mount point).

 KDiskFreeSp ( QObject *parent=0, const char *name=0 )

KDiskFreeSp

 ~KDiskFreeSp ()

~KDiskFreeSp

Destructor - this object autodeletes itself when it's done

int  readDF ( const QString & mountPoint )

readDF

Call this to fire a search on the disk usage information for mountPoint. foundMountPoint will be emitted if this mount point is found, with the info requested. done is emitted in any case.

KDiskFreeSp *  findUsageInfo ( const QString & path )

findUsageInfo

[static]

Call this to fire a search on the disk usage information for the mount point containing path. foundMountPoint will be emitted if this mount point is found, with the info requested. done is emitted in any case.

void  foundMountPoint ( const QString & mountPoint, unsigned long kBSize, unsigned long kBUsed, unsigned long kBAvail )

foundMountPoint

[signal]

void  foundMountPoint ( const unsigned long&, const unsigned long&, const unsigned long&, const QString& )

foundMountPoint

[signal]

void  done ()

done

[signal]


Generated by: dfaure on kde.faure.org on Thu Jan 17 22:17:38 2002, using kdoc 2.0a53.