• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

mailcommon

  • MailCommon
  • ExpireJob
Public Member Functions | List of all members
MailCommon::ExpireJob Class Reference

#include <expirejob.h>

Inheritance diagram for MailCommon::ExpireJob:
Inheritance graph
[legend]

Public Member Functions

 ExpireJob (const Akonadi::Collection &folder, bool immediate)
 
virtual ~ExpireJob ()
 
virtual void execute ()
 
virtual void kill ()
 
- Public Member Functions inherited from MailCommon::ScheduledJob
 ScheduledJob (const Akonadi::Collection &folder, bool immediate)
 
 ~ScheduledJob ()
 
- Public Member Functions inherited from MailCommon::FolderJob
 FolderJob ()
 
virtual ~FolderJob ()
 
int error () const
 
bool isCancellable () const
 
void setCancellable (bool b)
 
void start ()
 

Additional Inherited Members

- Signals inherited from MailCommon::FolderJob
void finished ()
 
void result (FolderJob *job)
 
- Protected Attributes inherited from MailCommon::ScheduledJob
bool mImmediate
 
- Protected Attributes inherited from MailCommon::FolderJob
bool mCancellable
 
int mErrorCode
 
Akonadi::Collection mSrcFolder
 
bool mStarted
 

Detailed Description

Definition at line 43 of file expirejob.h.

Constructor & Destructor Documentation

MailCommon::ExpireJob::ExpireJob ( const Akonadi::Collection &  folder,
bool  immediate 
)
explicit

Definition at line 63 of file expirejob.cpp.

MailCommon::ExpireJob::~ExpireJob ( )
virtual

Definition at line 68 of file expirejob.cpp.

Member Function Documentation

void MailCommon::ExpireJob::execute ( )
virtual

Has to be reimplemented.

It's called by the start() method. Should start the processing of the specified job function.

Implements MailCommon::FolderJob.

Definition at line 78 of file expirejob.cpp.

void MailCommon::ExpireJob::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 MailCommon::FolderJob.

Definition at line 73 of file expirejob.cpp.


The documentation for this class was generated from the following files:
  • expirejob.h
  • expirejob.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

Skip menu "mailcommon"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal