KMail::MboxCompactionJob Class Reference

#include <compactionjob.h>

Inheritance diagram for KMail::MboxCompactionJob:
KMail::ScheduledJob

Public Member Functions

 MboxCompactionJob (KMFolder *folder, bool immediate)
 
int executeNow (bool silent)
 
virtual void execute ()
 
virtual void kill ()
 
- Public Member Functions inherited from KMail::ScheduledJob
 ScheduledJob (KMFolder *folder, bool immediate)
 
bool isOpeningFolder () const
 

Additional Inherited Members

- Protected Attributes inherited from KMail::ScheduledJob
bool mImmediate
 
bool mOpeningFolder
 

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::MboxCompactionJob ( KMFolder folder,
bool  immediate 
)

folder should be a folder with a KMFolderMbox storage.

Definition at line 53 of file compactionjob.cpp.

◆ ~MboxCompactionJob()

MboxCompactionJob::~MboxCompactionJob ( )
virtual

Definition at line 59 of file compactionjob.cpp.

Member Function Documentation

◆ execute()

virtual void KMail::MboxCompactionJob::execute ( )
inlinevirtual

Definition at line 49 of file compactionjob.h.

◆ executeNow()

int MboxCompactionJob::executeNow ( bool  silent)

Definition at line 91 of file compactionjob.cpp.

◆ kill()

void MboxCompactionJob::kill ( )
virtual

Definition at line 63 of file compactionjob.cpp.


The documentation for this class was generated from the following files: