kabc
#include <distributionlist.h>
Public Types | |
typedef QList< Entry > | List |
Public Member Functions | |
Entry () | |
Entry (const Addressee &addressee, const QString &email) | |
Entry (const Entry &other) | |
~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
◆ List
typedef QList<Entry> KABC::DistributionList::Entry::List |
A list of Entry instances.
Definition at line 61 of file distributionlist.h.
Constructor & Destructor Documentation
◆ Entry() [1/3]
DistributionList::Entry::Entry | ( | ) |
Creates an empty Entry instance.
Definition at line 46 of file distributionlist.cpp.
◆ Entry() [2/3]
DistributionList::Entry::Entry | ( | const Entry & | other | ) |
Copy constructor.
- Parameters
-
other The Entry to copy from
Definition at line 51 of file distributionlist.cpp.
◆ Entry() [3/3]
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 theaddressee
will be used instead
Definition at line 56 of file distributionlist.cpp.
◆ ~Entry()
DistributionList::Entry::~Entry | ( | ) |
Destroys the Entry instance.
Definition at line 61 of file distributionlist.cpp.
Member Function Documentation
◆ addressee()
Addressee DistributionList::Entry::addressee | ( | ) | const |
Returns the addressee of the list entry.
Definition at line 74 of file distributionlist.cpp.
◆ email()
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.
◆ operator=()
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:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.