• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

KDiskFreeSp Class Reference

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

#include <kdiskfreesp.h>

Inheritance diagram for KDiskFreeSp:

Inheritance graph
[legend]

List of all members.


Signals

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

Public Member Functions

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

Static Public Member Functions

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).

Definition at line 40 of file kdiskfreesp.h.


Constructor & Destructor Documentation

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

Definition at line 46 of file kdiskfreesp.cpp.

KDiskFreeSp::~KDiskFreeSp (  ) 

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

Definition at line 63 of file kdiskfreesp.cpp.


Member Function Documentation

void KDiskFreeSp::done (  )  [signal]

KDiskFreeSp * KDiskFreeSp::findUsageInfo ( const QString &  path  )  [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.

Definition at line 163 of file kdiskfreesp.cpp.

void KDiskFreeSp::foundMountPoint ( const unsigned long &  ,
const unsigned long &  ,
const unsigned long &  ,
const QString &   
) [signal]

void KDiskFreeSp::foundMountPoint ( const QString &  mountPoint,
unsigned long  kBSize,
unsigned long  kBUsed,
unsigned long  kBAvail 
) [signal]

int KDiskFreeSp::readDF ( const QString &  mountPoint  ) 

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.

Definition at line 80 of file kdiskfreesp.cpp.


The documentation for this class was generated from the following files:
  • kdiskfreesp.h
  • kdiskfreesp.cpp

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal