KIO::ListJob Class Reference
A ListJob is allows you to get the get the content of a directory. More...
#include <jobclasses.h>
Inheritance diagram for KIO::ListJob:


Signals | |
void | entries (KIO::Job *job, const KIO::UDSEntryList &list) |
void | redirection (KIO::Job *job, const KURL &url) |
void | permanentRedirection (KIO::Job *job, const KURL &fromUrl, const KURL &toUrl) |
Public Member Functions | |
ListJob (const KURL &url, bool showProgressInfo, bool recursive=false, QString prefix=QString::null, bool includeHidden=true) | |
virtual void | start (Slave *slave) |
void | setUnrestricted (bool unrestricted) |
Protected Slots | |
virtual void | slotFinished () |
virtual void | slotMetaData (const KIO::MetaData &_metaData) |
virtual void | slotResult (KIO::Job *job) |
void | slotListEntries (const KIO::UDSEntryList &list) |
void | slotRedirection (const KURL &url) |
void | gotEntries (KIO::Job *subjob, const KIO::UDSEntryList &list) |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
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 1145 of file jobclasses.h.
Constructor & Destructor Documentation
|
Do not create a ListJob directly. Use KIO::listDir() or KIO::listRecursive() instead.
|
Member Function Documentation
|
Do not apply any KIOSK restrictions to this job.
Definition at line 1845 of file job.cpp. Referenced by KIO::DeleteJob::slotResult(). |
|
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.
|
|
Signals a redirection. Use to update the URL shown to the user. The redirection itself is handled internally.
|
|
Signals a permanent redirection. The redirection itself is handled internally.
Referenced by slotFinished(). |
|
Called when the slave marks the job as finished.
Reimplemented from KIO::SimpleJob. Definition at line 1806 of file job.cpp. References KURL::isEmpty(), KURL::isValid(), permanentRedirection(), and KIO::Job::queryMetaData(). |
|
MetaData from the slave is received.
Reimplemented from KIO::SimpleJob. |
|
Called whenever a subjob finishes. Default implementation checks for errors and propagates to parent job, then calls removeSubjob. Override if you don't want subjobs errors to be propagated.
Reimplemented from KIO::Job. Definition at line 1786 of file job.cpp. References KIO::Job::removeSubjob(). |
The documentation for this class was generated from the following files: