MailTransport::SendQueuedAction Class Reference

FilterAction that finds all messages with a DispatchMode of Manual and assigns them a DispatchMode of Immediately. More...

#include <outboxactions_p.h>

Inheritance diagram for MailTransport::SendQueuedAction:

List of all members.

Public Member Functions

 SendQueuedAction ()
virtual ~SendQueuedAction ()
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 a DispatchMode of Manual and assigns them a DispatchMode of Immediately.

This is used to send "queued" messages on demand.

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

Definition at line 42 of file outboxactions_p.h.


Constructor & Destructor Documentation

SendQueuedAction::SendQueuedAction (  ) 

Creates a SendQueuedAction.

Definition at line 34 of file outboxactions.cpp.

SendQueuedAction::~SendQueuedAction (  )  [virtual]

Destroys this object.

Definition at line 39 of file outboxactions.cpp.


Member Function Documentation

ItemFetchScope SendQueuedAction::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 44 of file outboxactions.cpp.

virtual bool MailTransport::SendQueuedAction::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::SendQueuedAction::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