mailtransport
#include <outboxactions_p.h>

Public Member Functions | |
DispatchManualTransportAction (int transportId) | |
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 changes the transport for all messages and sets the "$QUEUED" flag.
This is used to send queued messages using an alternative transport.
- See also:
- FilterActionJob
- Since:
- 4.5
Member Function Documentation
ItemFetchScope DispatchManualTransportAction::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 127 of file outboxactions.cpp.
bool DispatchManualTransportAction::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.
Definition at line 55 of file outboxactions.cpp.
Job * DispatchManualTransportAction::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.
Definition at line 65 of file outboxactions.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:04 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.