Akonadi::SentActionAttribute

Search for usage in LXR

Akonadi::SentActionAttribute Class Reference

#include <sentactionattribute.h>

Inheritance diagram for Akonadi::SentActionAttribute:

Classes

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
 
- Public Member Functions inherited from Akonadi::Attribute

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.

Author
Tobias Koenig tokoe.nosp@m.@kda.nosp@m.b.com
Since
4.6

Definition at line 33 of file sentactionattribute.h.

Constructor & Destructor Documentation

◆ SentActionAttribute()

SentActionAttribute::SentActionAttribute ( )
explicit

Creates a new sent action attribute.

Definition at line 77 of file sentactionattribute.cpp.

◆ ~SentActionAttribute()

SentActionAttribute::~SentActionAttribute ( )
overridedefault

Destroys the sent action attribute.

Member Function Documentation

◆ actions()

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

Returns the list of actions.

Definition at line 89 of file sentactionattribute.cpp.

◆ addAction()

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

Adds a new action to the attribute.

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

Definition at line 84 of file sentactionattribute.cpp.

◆ clone()

SentActionAttribute * SentActionAttribute::clone ( ) const
overridevirtual

Implements Akonadi::Attribute.

Definition at line 94 of file sentactionattribute.cpp.

◆ deserialize()

void SentActionAttribute::deserialize ( const QByteArray & data)
overridevirtual

Implements Akonadi::Attribute.

Definition at line 127 of file sentactionattribute.cpp.

◆ serialized()

QByteArray SentActionAttribute::serialized ( ) const
nodiscardoverridevirtual

Implements Akonadi::Attribute.

Definition at line 108 of file sentactionattribute.cpp.

◆ type()

QByteArray SentActionAttribute::type ( ) const
nodiscardoverridevirtual

Implements Akonadi::Attribute.

Definition at line 102 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-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:32:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.