kmail
KMail::MaildirCompactionJob Class Reference
A job that runs in the background and compacts maildir folders. More...
#include <compactionjob.h>
Public Member Functions | |
virtual void | execute () |
int | executeNow (bool silent) |
virtual void | kill () |
MaildirCompactionJob (KMFolder *folder, bool immediate) | |
virtual | ~MaildirCompactionJob () |
Detailed Description
A job that runs in the background and compacts maildir folders.Definition at line 72 of file compactionjob.h.
Constructor & Destructor Documentation
MaildirCompactionJob::MaildirCompactionJob | ( | KMFolder * | folder, | |
bool | immediate | |||
) |
folder
should be a folder with a KMFolderMaildir storage.
Definition at line 196 of file compactionjob.cpp.
MaildirCompactionJob::~MaildirCompactionJob | ( | ) | [virtual] |
Definition at line 202 of file compactionjob.cpp.
Member Function Documentation
virtual void KMail::MaildirCompactionJob::execute | ( | ) | [inline, virtual] |
Has to be reimplemented.
It's called by the start() method. Should start the processing of the specified job function.
Implements KMail::FolderJob.
Definition at line 81 of file compactionjob.h.
int MaildirCompactionJob::executeNow | ( | bool | silent | ) |
Definition at line 216 of file compactionjob.cpp.
void MaildirCompactionJob::kill | ( | ) | [virtual] |
Interrupt the job.
Note that the finished() and result() signal will be emitted, unless you called setPassiveDestructor(true) before. This kills the job, don't use it afterwards.
Reimplemented from KMail::FolderJob.
Definition at line 206 of file compactionjob.cpp.
The documentation for this class was generated from the following files: