#include <jobclasses.h>
|
void | entries (KIO::Job *job, const KIO::UDSEntryList &list) |
|
void | permanentRedirection (KIO::Job *job, const KUrl &fromUrl, const KUrl &toUrl) |
|
void | redirection (KIO::Job *job, const KUrl &url) |
|
void | subError (KIO::ListJob *job, KIO::ListJob *subJob) |
|
void | canceled (KJob *job) |
|
void | connected (KIO::Job *job) |
|
void | description (KJob *job, const QString &title, const QPair< QString, QString > &field1=qMakePair(QString(), QString()), const QPair< QString, QString > &field2=qMakePair(QString(), QString())) |
|
void | finished (KJob *job) |
|
void | infoMessage (KJob *job, const QString &plain, const QString &rich=QString()) |
|
void | percent (KJob *job, unsigned long percent) |
|
void | processedAmount (KJob *job, KJob::Unit unit, qulonglong amount) |
|
void | processedSize (KJob *job, qulonglong size) |
|
void | result (KJob *job) |
|
void | resumed (KJob *job) |
|
void | speed (KJob *job, unsigned long speed) |
|
void | suspended (KJob *job) |
|
void | totalAmount (KJob *job, KJob::Unit unit, qulonglong amount) |
|
void | totalSize (KJob *job, qulonglong size) |
|
void | warning (KJob *job, const QString &plain, const QString &rich=QString()) |
|
A ListJob is allows you to get the get the content of a directory.
Don't create the job directly, but use KIO::listRecursive() or KIO::listDir() instead.
- See also
- KIO::listRecursive()
-
KIO::listDir()
Definition at line 936 of file jobclasses.h.
ListJob::ListJob |
( |
ListJobPrivate & |
dd | ) |
|
|
protected |
This signal emits the entry found by the job while listing.
The progress signals aren't specific to ListJob. It simply uses SimpleJob's processedSize (number of entries listed) and totalSize (total number of entries, if known), as well as percent.
- Parameters
-
job | the job that emitted this signal |
list | the list of UDSEntries |
void KIO::ListJob::permanentRedirection |
( |
KIO::Job * |
job, |
|
|
const KUrl & |
fromUrl, |
|
|
const KUrl & |
toUrl |
|
) |
| |
|
signal |
Signals a permanent redirection.
The redirection itself is handled internally.
- Parameters
-
job | the job that emitted this signal |
fromUrl | the original URL |
toUrl | the new URL |
void KIO::ListJob::redirection |
( |
KIO::Job * |
job, |
|
|
const KUrl & |
url |
|
) |
| |
|
signal |
Signals a redirection.
Use to update the URL shown to the user. The redirection itself is handled internally.
- Parameters
-
job | the job that is redirected |
url | the new url |
const KUrl & ListJob::redirectionUrl |
( |
| ) |
const |
Returns the ListJob's redirection URL.
This will be invalid if there was no redirection.
- Returns
- the redirection url
Definition at line 2779 of file job.cpp.
void ListJob::setUnrestricted |
( |
bool |
unrestricted | ) |
|
Do not apply any KIOSK restrictions to this job.
Definition at line 2749 of file job.cpp.
void ListJob::slotFinished |
( |
| ) |
|
|
protectedvirtualslot |
void ListJob::slotResult |
( |
KJob * |
job | ) |
|
|
protectedvirtualslot |
This signal is emitted when a sub-directory could not be listed.
The job keeps going, thus doesn't result in an overall error.
- Parameters
-
job | the job that emitted the signal |
subJob | the job listing a sub-directory, which failed. Use url(), error() and errorText() on that job to find out more. |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.