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

kabc

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

#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.


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:
otherThe 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:
addresseeThe addressee of the list entry.
emailThe 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:
otherThe 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:10:24 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kabc

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

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 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