akonadi/contact
contactmetadata.cpp
72 ContactMetaDataAttribute *attribute = contact.attribute<ContactMetaDataAttribute>( Item::AddIfMissing );
Attribute to store contact specific meta data.
Definition contactmetadataattribute_p.h:39
void setMetaData(const QVariantMap &data)
Sets the meta data.
Definition contactmetadataattribute.cpp:44
int displayNameMode() const
Returns the mode that is used for the display name of that contact.
Definition contactmetadata.cpp:91
void setCustomFieldDescriptions(const QVariantList &descriptions)
Sets the descriptions of the custom fields of that contact.
Definition contactmetadata.cpp:96
void store(Akonadi::Item &contact)
Stores the meta data to the given contact.
Definition contactmetadata.cpp:70
QVariantList customFieldDescriptions() const
Returns the descriptions of the custom fields of the contact.
Definition contactmetadata.cpp:101
void setDisplayNameMode(int mode)
Sets the mode that is used for the display name of that contact.
Definition contactmetadata.cpp:86
void load(const Akonadi::Item &contact)
Loads the meta data for the given contact.
Definition contactmetadata.cpp:52
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Sep 2 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Sep 2 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.