# class DirectorySizeJob

###

Module | kio
Namespace | KIO
Class | DirectorySizeJob
Inherits | KIO::Job

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)

### methods

- DirectorySizeJob (dd)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  dd | DirectorySizeJobPrivate |

- DirectorySizeJob ( )

  returns ctor
  Not implemented
  before KDE 4.1.0 only

- slotResult (job)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  job | KJob |

- totalFiles ( )

  returns KIO.filesize_t

  Returns the total number of files (counting symlinks to files, sockets and character devices as files) in this directory and all sub-directories

- totalSize ( )

  returns KIO.filesize_t

  Returns the size we found

- totalSubdirs ( )

  returns KIO.filesize_t

  Returns the total number of sub-directories found (not including the directory the search started from and treating symlinks to directories as directories)