• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • AddressAttribute
Public Member Functions
Akonadi::AddressAttribute Class Reference

#include <addressattribute.h>

Inheritance diagram for Akonadi::AddressAttribute:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AddressAttribute (const QString &from=QString(), const QStringList &to=QStringList(), const QStringList &cc=QStringList(), const QStringList &bcc=QStringList())
virtual ~AddressAttribute ()
QStringList bcc () const
QStringList cc () const
virtual AddressAttribute * clone () const
virtual void deserialize (const QByteArray &data)
QString from () const
virtual QByteArray serialized () const
void setBcc (const QStringList &bcc)
void setCc (const QStringList &cc)
void setFrom (const QString &from)
void setTo (const QStringList &to)
QStringList to () const
virtual QByteArray type () const

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 42 of file addressattribute.h.


Constructor & Destructor Documentation

Akonadi::AddressAttribute::AddressAttribute ( const QString &  from = QString(),
const QStringList &  to = QStringList(),
const QStringList &  cc = QStringList(),
const QStringList &  bcc = QStringList() 
) [explicit]

Creates a new AddressAttribute.

virtual Akonadi::AddressAttribute::~AddressAttribute ( ) [virtual]

Destroys the AddressAttribute.


Member Function Documentation

QStringList Akonadi::AddressAttribute::bcc ( ) const

Returns the addresses of the "Bcc:" receivers.

QStringList Akonadi::AddressAttribute::cc ( ) const

Returns the addresses of the "Cc:" receivers.

virtual AddressAttribute* Akonadi::AddressAttribute::clone ( ) const [virtual]

Creates a copy of this attribute.

Implements Akonadi::Attribute.

virtual void Akonadi::AddressAttribute::deserialize ( const QByteArray &  data) [virtual]

Sets the data of this attribute, using the same encoding as returned by toByteArray().

Parameters:
dataThe encoded attribute data.

Implements Akonadi::Attribute.

QString Akonadi::AddressAttribute::from ( ) const

Returns the address of the sender.

virtual QByteArray Akonadi::AddressAttribute::serialized ( ) const [virtual]

Returns a QByteArray representation of the attribute which will be storaged.

This can be raw binary data, no encoding needs to be applied.

Implements Akonadi::Attribute.

void Akonadi::AddressAttribute::setBcc ( const QStringList &  bcc)

Sets the addresses of the "Bcc:" receivers.

"

void Akonadi::AddressAttribute::setCc ( const QStringList &  cc)

Sets the addresses of the "Cc:" receivers.

"

void Akonadi::AddressAttribute::setFrom ( const QString &  from)

Sets the address of the sender.

void Akonadi::AddressAttribute::setTo ( const QStringList &  to)

Sets the addresses of the "To:" receivers.

"

QStringList Akonadi::AddressAttribute::to ( ) const

Returns the addresses of the "To:" receivers.

virtual QByteArray Akonadi::AddressAttribute::type ( ) const [virtual]

Returns the type of the attribute.

Implements Akonadi::Attribute.


The documentation for this class was generated from the following file:
  • addressattribute.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:18:38 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal