KIO
KIO::ListJob Class Reference
#include <jobclasses.h>
Inheritance diagram for KIO::ListJob:

Detailed Description
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()
Definition at line 873 of file jobclasses.h.
Signals | |
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) |
Public Member Functions | |
const KUrl & | redirectionUrl () const |
void | setUnrestricted (bool unrestricted) |
~ListJob () | |
Protected Slots | |
virtual void | slotFinished () |
virtual void | slotMetaData (const KIO::MetaData &_metaData) |
virtual void | slotResult (KJob *job) |
Protected Member Functions | |
ListJob (ListJobPrivate &dd) |
Constructor & Destructor Documentation
Member Function Documentation
void KIO::ListJob::entries | ( | KIO::Job * | job, | |
const KIO::UDSEntryList & | list | |||
) | [signal] |
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
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 |
void ListJob::setUnrestricted | ( | bool | unrestricted | ) |
void ListJob::slotFinished | ( | ) | [protected, virtual, slot] |
void ListJob::slotMetaData | ( | const KIO::MetaData & | _metaData | ) | [protected, virtual, slot] |
MetaData from the slave is received.
- Parameters:
-
_metaData the meta data
- See also:
- metaData()
Reimplemented from KIO::SimpleJob.
void ListJob::slotResult | ( | KJob * | job | ) | [protected, virtual, slot] |
The documentation for this class was generated from the following files: