jobscheduler.h
39// If this define is set, JobScheduler will show debug output, and related kmkernel timers will be shortened
The unique JobScheduler instance (owned by kmkernel) implements "background processing" of folder ope...
Definition jobscheduler.h:97
void notifyOpeningFolder(KMFolder *folder)
Called by [implementations of] FolderStorage::open() Interrupt any running job for this folder and re...
Definition jobscheduler.cpp:102
void registerTask(ScheduledTask *task)
Register a task to be done for a given folder The ownership of the task is transferred to the JobSche...
Definition jobscheduler.cpp:57
A scheduled task is some information about a folder job that should be run later.
Definition jobscheduler.h:54
ScheduledTask(KMFolder *folder, bool immediate)
Create a scheduled task for a given folder If immediate is true, the scheduler will run this task as ...
Definition jobscheduler.h:59
KMFolder * folder() const
The folder which this task is about, 0 if it was deleted meanwhile.
Definition jobscheduler.h:79
virtual int taskTypeId() const =0
An identifier for the type of task (a bit like TQListViewItem::rtti) This allows to automatically pre...