DirectorySizeJob Class Reference
from PyKDE4.kio import *
Inherits: KIO.Job → KCompositeJob → KJob → QObject
Namespace: KIO
Detailed Description
Computes a directory size (similar to "du", but doesn't give the same results
since we simply sum up the dir and file sizes, whereas du speaks disk blocks)
Usage: see KIO.directorySize.
Method Documentation
| slotResult | ( | self, |  | 
|  |  | KJob | job | 
|  | ) |  |  |  | 
 
 
- Returns:
-  the total number of files (counting symlinks to files, sockets
and character devices as files) in this directory and all sub-directories
 
- Returns:
-  the size we found
 
| long totalSubdirs | ( |  | self ) |  | 
 
- Returns:
-  the total number of sub-directories found (not including the
directory the search started from and treating symlinks to directories
as directories)