Search for usage in LXR

MailTransport::SentActionAttribute Class Reference

#include <sentactionattribute.h>

Inheritance diagram for MailTransport::SentActionAttribute:


class  Action

Public Member Functions

 SentActionAttribute ()
 ~SentActionAttribute () override
Action::List actions () const
void addAction (Action::Type type, const QVariant &value)
SentActionAttributeclone () const override
void deserialize (const QByteArray &data) override
QByteArray serialized () const override
QByteArray type () const override

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List

Detailed Description

An Attribute that stores the action to execute after sending.

This attribute stores the action that will be executed by the mail dispatcher after a mail has successfully be sent.

Tobias Koenig tokoe[email protected]@kda[email protected]

Definition at line 28 of file sentactionattribute.h.

Constructor & Destructor Documentation

SentActionAttribute::SentActionAttribute ( )

Creates a new sent action attribute.

Definition at line 85 of file sentactionattribute.cpp.

SentActionAttribute::~SentActionAttribute ( )

Destroys the sent action attribute.

Definition at line 90 of file sentactionattribute.cpp.

Member Function Documentation

SentActionAttribute::Action::List SentActionAttribute::actions ( ) const

Returns the list of actions.

Definition at line 100 of file sentactionattribute.cpp.

void SentActionAttribute::addAction ( Action::Type  type,
const QVariant value 

Adds a new action to the attribute.

typeThe type of the action that shall be executed.
valueThe action specific argument.

Definition at line 95 of file sentactionattribute.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Jun 20 2021 23:18:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.