• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

mailtransport

  • MailTransport
  • ClearErrorAction
Public Member Functions

MailTransport::ClearErrorAction Class Reference

FilterAction that finds all messages with an ErrorAttribute, removes the attribute, and sets the "$QUEUED" flag. More...

#include <outboxactions_p.h>

Inheritance diagram for MailTransport::ClearErrorAction:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ClearErrorAction ()
virtual ~ClearErrorAction ()
virtual Akonadi::ItemFetchScope fetchScope () const
virtual bool itemAccepted (const Akonadi::Item &item) const
virtual Akonadi::Job * itemAction (const Akonadi::Item &item, Akonadi::FilterActionJob *parent) const

Detailed Description

FilterAction that finds all messages with an ErrorAttribute, removes the attribute, and sets the "$QUEUED" flag.

This is used to retry sending messages that failed.

See also:
FilterActionJob
Author:
Constantin Berzan <exit3219@gmail.com>
Since:
4.4

Definition at line 78 of file outboxactions_p.h.


Constructor & Destructor Documentation

ClearErrorAction::ClearErrorAction ( )

Creates a ClearErrorAction.

Definition at line 75 of file outboxactions.cpp.

ClearErrorAction::~ClearErrorAction ( ) [virtual]

Destroys this object.

Definition at line 80 of file outboxactions.cpp.


Member Function Documentation

ItemFetchScope ClearErrorAction::fetchScope ( ) const [virtual]

Returns an ItemFetchScope to use if the FilterActionJob needs to fetch the items from a collection.

Note:
The items are not fetched unless FilterActionJob is constructed with a Collection parameter.

Implements Akonadi::FilterAction.

Definition at line 85 of file outboxactions.cpp.

virtual bool MailTransport::ClearErrorAction::itemAccepted ( const Akonadi::Item &  item) const [virtual]

Returns true if the item is accepted by the filter and should be acted upon by the FilterActionJob.

Implements Akonadi::FilterAction.

virtual Akonadi::Job* MailTransport::ClearErrorAction::itemAction ( const Akonadi::Item &  item,
Akonadi::FilterActionJob *  parent 
) const [virtual]

Returns a job to act on the item.

The FilterActionJob will finish when all such jobs are finished.

Implements Akonadi::FilterAction.


The documentation for this class was generated from the following files:
  • outboxactions_p.h
  • outboxactions.cpp

mailtransport

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal