KIO
directorysizejob.cpp
Go to the documentation of this file.
void addMetaData(const QString &key, const QString &value)
Add key/value pair to the meta data that is sent to the slave.
Definition: job.cpp:264
void emitResult()
Computes a directory size (similar to "du", but doesn't give the same results since we simply sum up ...
Definition: directorysizejob.h:35
void setUiDelegate(KJobUiDelegate *delegate)
Device number for this file, used to detect hardlinks.
Definition: udsentry.h:258
A ListJob is allows you to get the get the content of a directory.
Definition: jobclasses.h:936
void setError(int errorCode)
const char * name(StandardAction id)
KIO::filesize_t totalSize() const
Definition: directorysizejob.cpp:93
void setErrorText(const QString &errorText)
long long numberValue(uint field, long long defaultValue=0) const
Definition: udsentry.cpp:78
List of KFileItems, which adds a few helper methods to QList.
Definition: kfileitem.h:674
KIO::filesize_t totalSubdirs() const
Definition: directorysizejob.cpp:103
Inode number for this file, used to detect hardlinks.
Definition: udsentry.h:261
bool isLink() const
Returns true if this item represents a link in the UNIX sense of a link.
Definition: kfileitem.cpp:1573
virtual void slotResult(KJob *job)
Definition: directorysizejob.cpp:182
ListJob * listRecursive(const KUrl &url, JobFlags flags=DefaultFlags, bool includeHidden=true)
The same as the previous method, but recurses subdirectories.
Definition: job.cpp:2744
Filename - as displayed in directory listings etc.
Definition: udsentry.h:163
KIO::filesize_t totalFiles() const
Definition: directorysizejob.cpp:98
DirectorySizeJob * directorySize(const KUrl &directory)
Computes a directory size (by doing a recursive listing).
Definition: directorysizejob.cpp:202
Definition: job_p.h:37
const KShortcut & end()
DirectorySizeJob(DirectorySizeJobPrivate &dd)
Definition: directorysizejob.cpp:84
A KFileItem is a generic class to handle a file, local or remote.
Definition: kfileitem.h:45
QStringList list(const QString &fileClass)
Returns a list of directories associated with this file-class.
Definition: krecentdirs.cpp:60
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.