KContacts::ContactGroup::ContactGroupReference Class
class KContacts::ContactGroup::ContactGroupReferenceThis class represents a contact group reference. More...
Public Types
Public Functions
ContactGroupReference() | |
ContactGroupReference(const QString &uid) | |
ContactGroupReference(const KContacts::ContactGroup::ContactGroupReference &other) | |
~ContactGroupReference() | |
QString | custom(const QString &key) const |
void | insertCustom(const QString &key, const QString &value) |
void | removeCustom(const QString &key) |
void | setUid(const QString &uid) |
QString | uid() const |
Detailed Description
Member Type Documentation
ContactGroupReference::List
A list of contact group references.
Member Function Documentation
ContactGroupReference::ContactGroupReference()
Creates an empty contact group reference.
ContactGroupReference::ContactGroupReference(const QString &uid)
Creates a contact group reference for the given contact group uid.
ContactGroupReference::ContactGroupReference(const KContacts::ContactGroup::ContactGroupReference &other)
Creates a contact group reference from an other reference.
[noexcept]
ContactGroupReference::~ContactGroupReference()
Destroys the contact group reference.
QString ContactGroupReference::custom(const QString &key) const
Returns the value for the given key, or an empty string if the entry for that key does not exists.
void ContactGroupReference::insertCustom(const QString &key, const QString &value)
Inserts a custom entry. If an entry with the same key already exists, it is overwritten.
key The unique key.
value The value.
void ContactGroupReference::removeCustom(const QString &key)
Removes the custom entry with the given key.
void ContactGroupReference::setUid(const QString &uid)
Sets the contact group uid of the contact group reference.
See also uid().
QString ContactGroupReference::uid() const
Returns the contact group uid of the contact group reference.
See also setUid().