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:

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) 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 76 of file outboxactions_p.h.


Constructor & Destructor Documentation

ClearErrorAction::ClearErrorAction (  ) 

Creates a ClearErrorAction.

Definition at line 73 of file outboxactions.cpp.

ClearErrorAction::~ClearErrorAction (  )  [virtual]

Destroys this object.

Definition at line 78 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 83 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  )  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:
KDE Home | KDE Accessibility Home | Description of Access Keys