class KDiskFreeSp

# 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>`
Inherits | QObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KDiskFreeSp ( QObject *parent=0, const char *name=0 )
- ~KDiskFreeSp ()
- int readDF ( const QString & mountPoint )

#### Signals

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

#### Public Static Methods

- static KDiskFreeSp * findUsageInfo ( const QString & path )

## 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: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:17 2003, using kdoc 2.0a54.