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
const_iterator insert(const T &value)
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
iterator end()
bool isLink() const
Returns true if this item represents a link in the UNIX sense of a link.
Definition: kfileitem.cpp:1567
bool contains(const T &value) const
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:2740
Filename - as displayed in directory listings etc.
Definition: udsentry.h:163
typedef ConstIterator
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:39
const KShortcut & end()
iterator begin()
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
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.