mailtransport
#include <outboxactions_p.h>

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, Akonadi::FilterActionJob *parent) 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
- Since:
- 4.4
Constructor & Destructor Documentation
SendQueuedAction::SendQueuedAction | ( | ) |
Creates a SendQueuedAction.
Definition at line 35 of file outboxactions.cpp.
SendQueuedAction::~SendQueuedAction | ( | ) | [virtual] |
Destroys this object.
Definition at line 40 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 45 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, |
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:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:25:03 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.