kabc
KABC::DistributionList::Entry Class Reference
#include <distributionlist.h>
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 49 of file distributionlist.h.
Public Types | |
typedef QList< Entry > | List |
Public Member Functions | |
Entry () | |
Entry (const Entry &other) | |
Entry (const Addressee &addressee, const QString &email) | |
~Entry () | |
Entry & | operator= (const Entry &other) |
Addressee | addressee () const |
QString | email () const |
Member Typedef Documentation
typedef QList<Entry> KABC::DistributionList::Entry::List |
Constructor & Destructor Documentation
DistributionList::Entry::Entry | ( | ) |
DistributionList::Entry::Entry | ( | const Entry & | other | ) |
Copy constructor.
- Parameters:
-
other The Entry to copy from
Definition at line 49 of file distributionlist.cpp.
DistributionList::Entry::Entry | ( | const Addressee & | addressee, | |
const QString & | ||||
) |
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 54 of file distributionlist.cpp.
DistributionList::Entry::~Entry | ( | ) |
Member Function Documentation
DistributionList::Entry & DistributionList::Entry::operator= | ( | const Entry & | other | ) |
Assignment operator.
- Parameters:
-
other The Entry to assign to this
Definition at line 64 of file distributionlist.cpp.
Addressee DistributionList::Entry::addressee | ( | ) | const |
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 77 of file distributionlist.cpp.
The documentation for this class was generated from the following files: