class KDiskFreeSpace |
|
This class parses the output of "df" to find the disk usage information for a given partition (mount point). |
|
Constructor |
|
|
Emitted when the request made via readDF is over, whether foundMountPoint was emitted or not. |
|
Call this to fire a search on the disk usage information for the mount point containing path. The foundMountPoint() signal will be emitted if this mount point is found, with the info requested. The done() signal is emitted in any case. |
|
Emitted when the information about the requested mount point was found.
mountPoint - the requested mount point kibSize - the total size of the partition in KiB kibUsed - the amount of KiB being used on the partition kibAvail - the available space on the partition in KiB |
|
Call this to fire a search on the disk usage information
for mountPoint.
The foundMountPoint() signal will be emitted
if this mount point is found, with the info requested.
The done() signal is emitted in any case.
Returns true if the request could be handled, false if another request is happening already. readDF() can only be called once on a given instance of KDiskFreeSpace, given that it handles only the request for one mount point and then auto-deletes itself. Suicidal objects are not reusable... |