kmail
KMail::MboxCompactionJob Class Reference
A job that runs in the background and compacts mbox folders. More...
#include <compactionjob.h>
Inheritance diagram for KMail::MboxCompactionJob:
Public Member Functions | |
virtual void | execute () |
int | executeNow (bool silent) |
virtual void | kill () |
MboxCompactionJob (KMFolder *folder, bool immediate) | |
virtual | ~MboxCompactionJob () |
Detailed Description
A job that runs in the background and compacts mbox folders.Definition at line 39 of file compactionjob.h.
Constructor & Destructor Documentation
MboxCompactionJob::MboxCompactionJob | ( | KMFolder * | folder, | |
bool | immediate | |||
) |
folder
should be a folder with a KMFolderMbox storage.
Definition at line 53 of file compactionjob.cpp.
MboxCompactionJob::~MboxCompactionJob | ( | ) | [virtual] |
Definition at line 59 of file compactionjob.cpp.
Member Function Documentation
virtual void KMail::MboxCompactionJob::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 48 of file compactionjob.h.
int MboxCompactionJob::executeNow | ( | bool | silent | ) |
Definition at line 91 of file compactionjob.cpp.
void MboxCompactionJob::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 63 of file compactionjob.cpp.
The documentation for this class was generated from the following files: