KIO
directorysizejob.cpp
Go to the documentation of this file.
List of KFileItems, which adds a few helper methods to QList<KFileItem>.
Definition: kfileitem.h:675
A KFileItem is a generic class to handle a file, local or remote.
Definition: kfileitem.h:46
bool isLink() const
Returns true if this item represents a link in the UNIX sense of a link.
Definition: kfileitem.cpp:1567
Computes a directory size (similar to "du", but doesn't give the same results since we simply sum up ...
Definition: directorysizejob.h:36
KIO::filesize_t totalSize() const
Definition: directorysizejob.cpp:93
DirectorySizeJob(DirectorySizeJobPrivate &dd)
Definition: directorysizejob.cpp:84
KIO::filesize_t totalFiles() const
Definition: directorysizejob.cpp:98
virtual void slotResult(KJob *job)
Definition: directorysizejob.cpp:182
KIO::filesize_t totalSubdirs() const
Definition: directorysizejob.cpp:103
Definition: job_p.h:40
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
A ListJob is allows you to get the get the content of a directory.
Definition: jobclasses.h:936
long long numberValue(uint field, long long defaultValue=0) const
Definition: udsentry.cpp:78
void setErrorText(const QString &errorText)
void emitResult()
int error() const
void setError(int errorCode)
QString errorText() const
void setUiDelegate(KJobUiDelegate *delegate)
ListJob * listRecursive(const KUrl &url, JobFlags flags=DefaultFlags, bool includeHidden=true)
The same as the previous method, but recurses subdirectories.
Definition: job.cpp:2740
DirectorySizeJob * directorySize(const KUrl &directory)
Computes a directory size (by doing a recursive listing).
Definition: directorysizejob.cpp:202
QStringList list(const QString &fileClass)
Returns a list of directories associated with this file-class.
Definition: krecentdirs.cpp:60
const char * name(StandardAction id)
const KShortcut & end()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.