• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

kabc

  • KABC
  • KABC::DistributionList
  • KABC::DistributionList::Entry
Public Types | Public Member Functions

KABC::DistributionList::Entry Class Reference

Distribution List Entry. More...

#include <distributionlist.h>

List of all members.

Public Types

typedef QList< Entry > List

Public Member Functions

 Entry ()
 Entry (const Entry &other)
 Entry (const Addressee &addressee, const QString &email)
 ~Entry ()
Addressee addressee () const
QString email () const
Entry & operator= (const Entry &other)

Detailed Description

Distribution List Entry.

This class represents an entry of a distribution list. It consists of an addressee and an email address. If the email address is null, the preferred email address of the addressee is used.

Definition at line 55 of file distributionlist.h.


Member Typedef Documentation

typedef QList<Entry> KABC::DistributionList::Entry::List

A list of Entry instances.

Definition at line 61 of file distributionlist.h.


Constructor & Destructor Documentation

DistributionList::Entry::Entry (  ) 

Creates an empty Entry instance.

Definition at line 46 of file distributionlist.cpp.

DistributionList::Entry::Entry ( const Entry &  other  ) 

Copy constructor.

Parameters:
other The Entry to copy from

Definition at line 51 of file distributionlist.cpp.

DistributionList::Entry::Entry ( const Addressee &  addressee,
const QString &  email 
)

Creates an Entry instance.

Parameters:
addressee The addressee of the list entry.
email The email address. If QString() the preferred email of the addressee will be used instead

Definition at line 56 of file distributionlist.cpp.

DistributionList::Entry::~Entry (  ) 

Destroys the Entry instance.

Definition at line 61 of file distributionlist.cpp.


Member Function Documentation

Addressee DistributionList::Entry::addressee (  )  const

Returns the addressee of the list entry.

Definition at line 74 of file distributionlist.cpp.

QString DistributionList::Entry::email (  )  const

Returns the email address of the list entry.

Returns:
QString() if no specific email address has been set

Definition at line 79 of file distributionlist.cpp.

DistributionList::Entry & DistributionList::Entry::operator= ( const Entry &  other  ) 

Assignment operator.

Parameters:
other The Entry to assign to this

Definition at line 66 of file distributionlist.cpp.


The documentation for this class was generated from the following files:
  • distributionlist.h
  • distributionlist.cpp

kabc

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal