kabc
KABC::ContactGroup::ContactReference Class Reference
This class represents a contact reference. More...
#include <contactgroup.h>
Public Types | |
| typedef QList< ContactReference > | List |
Public Member Functions | |
| ContactReference (const QString &uid) | |
| ContactReference (const ContactReference &other) | |
| ContactReference () | |
| QString | custom (const QString &key) const |
| void | insertCustom (const QString &key, const QString &value) |
| ContactReference & | operator= (const ContactReference &) |
| bool | operator== (const ContactReference &) const |
| QString | preferredEmail () const |
| void | removeCustom (const QString &key) |
| void | setPreferredEmail (const QString &email) |
| void | setUid (const QString &uid) |
| QString | uid () const |
| ~ContactReference () | |
Detailed Description
This class represents a contact reference.Definition at line 52 of file contactgroup.h.
Member Typedef Documentation
Constructor & Destructor Documentation
| ContactGroup::ContactReference::ContactReference | ( | ) |
| ContactGroup::ContactReference::ContactReference | ( | const ContactReference & | other | ) |
Creates a contact reference from an other reference.
Definition at line 57 of file contactgroup.cpp.
| ContactGroup::ContactReference::ContactReference | ( | const QString & | uid | ) |
Creates a contact reference for the given contact uid.
Definition at line 62 of file contactgroup.cpp.
| ContactGroup::ContactReference::~ContactReference | ( | ) |
Member Function Documentation
Returns the value for the given key, or an empty string if the entry for that key does not exists.
Definition at line 102 of file contactgroup.cpp.
Inserts a custom entry.
If an entry with the same key already exists, it is overwritten.
- Parameters:
-
key The unique key. value The value.
Definition at line 92 of file contactgroup.cpp.
| ContactGroup::ContactReference & ContactGroup::ContactReference::operator= | ( | const ContactReference & | other | ) |
| bool ContactGroup::ContactReference::operator== | ( | const ContactReference & | other | ) | const |
| QString ContactGroup::ContactReference::preferredEmail | ( | ) | const |
Returns the preferred email address, or an empty string if no preferred email address is set.
Definition at line 87 of file contactgroup.cpp.
| void ContactGroup::ContactReference::removeCustom | ( | const QString & | key | ) |
| void ContactGroup::ContactReference::setPreferredEmail | ( | const QString & | ) |
| void ContactGroup::ContactReference::setUid | ( | const QString & | uid | ) |
| QString ContactGroup::ContactReference::uid | ( | ) | const |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference