• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

KIO

  • KIO
  • DirectorySizeJob
Public Member Functions | Protected Slots | Protected Member Functions
KIO::DirectorySizeJob Class Reference

#include <directorysizejob.h>

Inheritance diagram for KIO::DirectorySizeJob:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ~DirectorySizeJob ()
KIO::filesize_t totalFiles () const
KIO::filesize_t totalSize () const
KIO::filesize_t totalSubdirs () const

Protected Slots

virtual void slotResult (KJob *job)

Protected Member Functions

 DirectorySizeJob (DirectorySizeJobPrivate &dd)

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.

Definition at line 35 of file directorysizejob.h.


Constructor & Destructor Documentation

DirectorySizeJob::~DirectorySizeJob ( )

Definition at line 89 of file directorysizejob.cpp.

DirectorySizeJob::DirectorySizeJob ( DirectorySizeJobPrivate &  dd) [protected]

Definition at line 84 of file directorysizejob.cpp.


Member Function Documentation

void DirectorySizeJob::slotResult ( KJob *  job) [protected, virtual, slot]

Reimplemented from KCompositeJob.

Definition at line 182 of file directorysizejob.cpp.

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

Definition at line 98 of file directorysizejob.cpp.

KIO::filesize_t DirectorySizeJob::totalSize ( ) const
Returns:
the size we found

Definition at line 93 of file directorysizejob.cpp.

KIO::filesize_t DirectorySizeJob::totalSubdirs ( ) const
Returns:
the total number of sub-directories found (not including the directory the search started from and treating symlinks to directories as directories)

Definition at line 103 of file directorysizejob.cpp.


The documentation for this class was generated from the following files:
  • directorysizejob.h
  • directorysizejob.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:55:29 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal