class KDirSize

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

Definition#include <kdirsize.h>
InheritsKIO::Job (kio) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods

Protected Slots


Detailed Description

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

 KDirSize ( const KURL & directory )

KDirSize

[protected: ]

 ~KDirSize ()

~KDirSize

[protected: ]

unsigned long  totalSize ()

totalSize

Returns: the size we found

Reimplemented from Job.

KDirSize *  dirSizeJob ( const KURL & directory )

dirSizeJob

[static]

Asynchronous method. Connect to the result signal.

unsigned long  dirSize ( const KURL & directory )

dirSize

[static]

Synchronous method - you get the result as soon as the call returns.

void  setSync ()

setSync

[protected: ]

void  slotResult ( KIO::Job *job )

slotResult

[protected slots: virtual slot]

Reimplemented from Job.

void  slotEntries ( KIO::Job * , const KIO::UDSEntryList & )

slotEntries

[protected slots: slot]


Generated by: dfaure on Tue Feb 27 12:47:11 2001, using kdoc 2.0a50.