Akonadi::AddressAttribute

Search for usage in LXR

Akonadi::AddressAttribute Class Reference

#include <addressattribute.h>

Inheritance diagram for Akonadi::AddressAttribute:

Public Member Functions

 AddressAttribute (const QString &from=QString(), const QStringList &to=QStringList(), const QStringList &cc=QStringList(), const QStringList &bcc=QStringList(), bool dsn=false)
 
 ~AddressAttribute () override
 
QStringList bcc () const
 
QStringList cc () const
 
AddressAttributeclone () const override
 
bool deliveryStatusNotification () const
 
void deserialize (const QByteArray &data) override
 
QString from () const
 
bool operator== (const AddressAttribute &other) const
 
QByteArray serialized () const override
 
void setBcc (const QStringList &bcc)
 
void setCc (const QStringList &cc)
 
void setDeliveryStatusNotification (bool b)
 
void setFrom (const QString &from)
 
void setTo (const QStringList &to)
 
QStringList to () const
 
QByteArray type () const override
 

Additional Inherited Members

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

Detailed Description

Attribute storing the From, To, Cc, Bcc addresses of a message.

Author
Constantin Berzan exit3.nosp@m.219@.nosp@m.gmail.nosp@m..com
Since
4.4

Definition at line 28 of file addressattribute.h.

Constructor & Destructor Documentation

◆ AddressAttribute()

AddressAttribute::AddressAttribute ( const QString & from = QString(),
const QStringList & to = QStringList(),
const QStringList & cc = QStringList(),
const QStringList & bcc = QStringList(),
bool dsn = false )
explicit

Creates a new AddressAttribute.

Definition at line 29 of file addressattribute.cpp.

◆ ~AddressAttribute()

AddressAttribute::~AddressAttribute ( )
overridedefault

Destroys the AddressAttribute.

Member Function Documentation

◆ bcc()

QStringList AddressAttribute::bcc ( ) const

Returns the addresses of the "Bcc:" receivers.

Definition at line 108 of file addressattribute.cpp.

◆ cc()

QStringList AddressAttribute::cc ( ) const

Returns the addresses of the "Cc:" receivers.

Definition at line 98 of file addressattribute.cpp.

◆ clone()

AddressAttribute * AddressAttribute::clone ( ) const
overridevirtual

Implements Akonadi::Attribute.

Definition at line 41 of file addressattribute.cpp.

◆ deliveryStatusNotification()

bool AddressAttribute::deliveryStatusNotification ( ) const

Definition at line 118 of file addressattribute.cpp.

◆ deserialize()

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

Implements Akonadi::Attribute.

Definition at line 65 of file addressattribute.cpp.

◆ from()

QString AddressAttribute::from ( ) const

Returns the address of the sender.

Definition at line 78 of file addressattribute.cpp.

◆ operator==()

bool AddressAttribute::operator== ( const AddressAttribute & other) const

Definition at line 123 of file addressattribute.cpp.

◆ serialized()

QByteArray AddressAttribute::serialized ( ) const
overridevirtual

Implements Akonadi::Attribute.

Definition at line 52 of file addressattribute.cpp.

◆ setBcc()

void AddressAttribute::setBcc ( const QStringList & bcc)

Sets the addresses of the "Bcc:" receivers.

"

Parameters
bccaddresses of the receivers (CC)

Definition at line 113 of file addressattribute.cpp.

◆ setCc()

void AddressAttribute::setCc ( const QStringList & cc)

Sets the addresses of the "Cc:" receivers.

"

Parameters
ccaddresses of the receivers (CC)

Definition at line 103 of file addressattribute.cpp.

◆ setDeliveryStatusNotification()

void AddressAttribute::setDeliveryStatusNotification ( bool b)

Definition at line 128 of file addressattribute.cpp.

◆ setFrom()

void AddressAttribute::setFrom ( const QString & from)

Sets the address of the sender.

Definition at line 83 of file addressattribute.cpp.

◆ setTo()

void AddressAttribute::setTo ( const QStringList & to)

Sets the addresses of the "To: "receivers.

"

Parameters
toaddress of the receiver.

Definition at line 93 of file addressattribute.cpp.

◆ to()

QStringList AddressAttribute::to ( ) const

Returns the addresses of the "To:" receivers.

Definition at line 88 of file addressattribute.cpp.

◆ type()

QByteArray AddressAttribute::type ( ) const
overridevirtual

Implements Akonadi::Attribute.

Definition at line 46 of file addressattribute.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 Tue Mar 26 2024 11:21:09 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.