Signals |
Public Member Functions |
Protected Slots |
Protected Member Functions |
List of all members
TDEIO::DeleteJob Class Reference
#include <jobclasses.h>
Inheritance diagram for TDEIO::DeleteJob:
Signals | |
void | totalFiles (TDEIO::Job *job, unsigned long files) |
void | totalDirs (TDEIO::Job *job, unsigned long dirs) |
void | processedFiles (TDEIO::Job *job, unsigned long files) |
void | processedDirs (TDEIO::Job *job, unsigned long dirs) |
void | deleting (TDEIO::Job *job, const KURL &file) |
Signals inherited from TDEIO::Job | |
void | result (TDEIO::Job *job) |
void | canceled (TDEIO::Job *job) |
void | infoMessage (TDEIO::Job *job, const TQString &msg) |
void | warning (TDEIO::Job *job, const TQString &msg) |
void | connected (TDEIO::Job *job) |
void | percent (TDEIO::Job *job, unsigned long percent) |
void | totalSize (TDEIO::Job *job, TDEIO::filesize_t size) |
void | processedSize (TDEIO::Job *job, TDEIO::filesize_t size) |
void | speed (TDEIO::Job *job, unsigned long speed) |
Public Member Functions | |
DeleteJob (const KURL::List &src, bool shred, bool showProgressInfo) | |
KURL::List | urls () const |
Public Member Functions inherited from TDEIO::Job | |
virtual void | kill (bool quietly=true) |
int | error () const |
int | progressId () const |
const TQString & | errorText () const |
TQString | errorString () const |
TQStringList | detailedErrorStrings (const KURL *reqUrl=0L, int method=-1) const |
void | showErrorDialog (TQWidget *parent=0L) |
void | setAutoErrorHandlingEnabled (bool enable, TQWidget *parentWidget=0) |
bool | isAutoErrorHandlingEnabled () const |
void | setAutoWarningHandlingEnabled (bool enable) |
bool | isAutoWarningHandlingEnabled () const |
void | setInteractive (bool enable) |
bool | isInteractive () const |
void | setWindow (TQWidget *window) |
TQWidget * | window () const |
void | updateUserTimestamp (unsigned long time) |
void | setParentJob (Job *parentJob) |
Job * | parentJob () const |
void | setMetaData (const TDEIO::MetaData &metaData) |
void | addMetaData (const TQString &key, const TQString &value) |
void | addMetaData (const TQMap< TQString, TQString > &values) |
void | mergeMetaData (const TQMap< TQString, TQString > &values) |
MetaData | outgoingMetaData () const |
MetaData | metaData () const |
TQString | queryMetaData (const TQString &key) |
TDEIO::filesize_t | getProcessedSize () |
Protected Slots | |
void | slotStart () |
void | slotEntries (TDEIO::Job *, const TDEIO::UDSEntryList &list) |
virtual void | slotResult (TDEIO::Job *job) |
void | slotProcessedSize (TDEIO::Job *, TDEIO::filesize_t data_size) |
void | slotReport () |
Protected Slots inherited from TDEIO::Job | |
virtual void | slotResult (TDEIO::Job *job) |
void | slotSpeed (TDEIO::Job *job, unsigned long speed) |
void | slotInfoMessage (TDEIO::Job *job, const TQString &msg) |
void | slotSpeedTimeout () |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Protected Member Functions inherited from TDEIO::Job | |
Job (bool showProgressInfo) | |
virtual void | addSubjob (Job *job, bool inheritMetaData=true) |
virtual void | removeSubjob (Job *job) |
void | removeSubjob (Job *job, bool mergeMetaData, bool emitResultIfLast) |
void | emitPercent (TDEIO::filesize_t processedSize, TDEIO::filesize_t totalSize) |
void | emitSpeed (unsigned long speed) |
void | emitResult () |
void | setProcessedSize (TDEIO::filesize_t size) |
unsigned long | userTimestamp () const |
int & | extraFlags () |
Additional Inherited Members | |
Protected Types inherited from TDEIO::Job | |
enum | { EF_TransferJobAsync = (1 << 0) , EF_TransferJobNeedData = (1 << 1) , EF_TransferJobDataSent = (1 << 2) , EF_ListJobUnrestricted = (1 << 3) } |
Protected Attributes inherited from TDEIO::Job | |
TQPtrList< Job > | subjobs |
int | m_error |
TQString | m_errorText |
unsigned long | m_percent |
int | m_progressId |
TQTimer * | m_speedTimer |
TQGuardedPtr< TQWidget > | m_window |
MetaData | m_outgoingMetaData |
MetaData | m_incomingMetaData |
Detailed Description
A more complex Job to delete files and directories.
Don't create the job directly, but use TDEIO::del() instead.
- See also
- TDEIO::del()
Definition at line 1762 of file jobclasses.h.
Constructor & Destructor Documentation
◆ DeleteJob()
DeleteJob::DeleteJob | ( | const KURL::List & | src, |
bool | shred, | ||
bool | showProgressInfo | ||
) |
Do not create a DeleteJob directly.
Use TDEIO::del() instead.
- Parameters
-
src the list of URLs to delete shred true to shred (make sure that data is not recoverable)a showProgressInfo true to show progress information to the user
- See also
- TDEIO::del()
Member Function Documentation
◆ deleting
|
signal |
Sends the URL of the file that is currently being deleted.
- Parameters
-
job the job that emitted this signal file the URL of the file or directory that is being deleted
◆ processedDirs
|
signal |
Sends the number of processed directories.
- Parameters
-
job the job that emitted this signal dirs the number of processed dirs
◆ processedFiles
|
signal |
Sends the number of processed files.
- Parameters
-
job the job that emitted this signal files the number of processed files
◆ slotProcessedSize
|
protectedslot |
◆ totalDirs
|
signal |
Emitted when the toal number of direcotries is known.
- Parameters
-
job the job that emitted this signal dirs the total number of directories
◆ totalFiles
|
signal |
Emitted when the total number of files is known.
- Parameters
-
job the job that emitted this signal files the total number of files
◆ urls()
|
inline |
The documentation for this class was generated from the following files: