KIO::DeleteJob Class Reference
A more complex Job to delete files and directories. More...
#include <jobclasses.h>
Inheritance diagram for KIO::DeleteJob:


| Signals | |
| void | totalFiles (KIO::Job *job, unsigned long files) | 
| void | totalDirs (KIO::Job *job, unsigned long dirs) | 
| void | processedFiles (KIO::Job *job, unsigned long files) | 
| void | processedDirs (KIO::Job *job, unsigned long dirs) | 
| void | deleting (KIO::Job *job, const KURL &file) | 
| Public Member Functions | |
| DeleteJob (const KURL::List &src, bool shred, bool showProgressInfo) | |
| KURL::List | urls () const | 
| Protected Slots | |
| void | slotStart () | 
| void | slotEntries (KIO::Job *, const KIO::UDSEntryList &list) | 
| virtual void | slotResult (KIO::Job *job) | 
| void | slotProcessedSize (KIO::Job *, KIO::filesize_t data_size) | 
| void | slotReport () | 
| Protected Member Functions | |
| virtual void | virtual_hook (int id, void *data) | 
Detailed Description
A more complex Job to delete files and directories.Don't create the job directly, but use KIO::del() instead.
- See also:
- KIO::del()
Definition at line 1468 of file jobclasses.h.
Constructor & Destructor Documentation
| 
 | ||||||||||||||||
| Do not create a DeleteJob directly. Use KIO::del() instead. 
 
 
 Definition at line 3221 of file job.cpp. References QObject::connect(), QTimer::singleShot(), QTimer::start(), totalDirs(), and totalFiles(). | 
Member Function Documentation
| 
 | 
| Returns the list of URLs. 
 
 Definition at line 1487 of file jobclasses.h. | 
| 
 | ||||||||||||
| Emitted when the total number of files is known. 
 
 Referenced by DeleteJob(). | 
| 
 | ||||||||||||
| Emitted when the toal number of direcotries is known. 
 
 Referenced by DeleteJob(). | 
| 
 | ||||||||||||
| Sends the number of processed files. 
 
 | 
| 
 | ||||||||||||
| Sends the number of processed directories. 
 
 | 
| 
 | ||||||||||||
| Sends the URL of the file that is currently being deleted. 
 
 | 
| 
 | 
| 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 3512 of file job.cpp. References KIO::Job::addSubjob(), QValueList< KURL >::append(), QValueList::begin(), QObject::connect(), KURL::directory(), QValueList::end(), KIO::Job::error(), KIO::filesize_t, QPtrList< Job >::isEmpty(), KURL::isLocalFile(), KIO::listRecursive(), KURL::path(), QPtrList< Job >::remove(), KIO::ListJob::setUnrestricted(), KIO::UDS_FILE_TYPE, KIO::UDS_LINK_DEST, KIO::UDS_SIZE, and KIO::UDSEntry. | 
| 
 | ||||||||||||
| Forward signal from subjob. 
 Definition at line 3483 of file job.cpp. References KIO::filesize_t, KIO::Job::percent(), KIO::Job::processedSize(), and KIO::Job::setProcessedSize(). | 
The documentation for this class was generated from the following files:

