akonadi
contactmetadata.cpp
67 d->mCustomFieldDescriptions = metaData.value( QLatin1String( "CustomFieldDescriptions" ) ).toList();
72 ContactMetaDataAttribute *attribute = contact.attribute<ContactMetaDataAttribute>( Item::AddIfMissing );
void load(const Akonadi::Item &contact)
Loads the meta data for the given contact.
Definition: contactmetadata.cpp:52
Attribute to store contact specific meta data.
Definition: contactmetadataattribute_p.h:38
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 setCustomFieldDescriptions(const QVariantList &descriptions)
Sets the descriptions of the custom fields of that contact.
Definition: contactmetadata.cpp:96
void setMetaData(const QVariantMap &data)
Sets the meta data.
Definition: contactmetadataattribute.cpp:44
void setDisplayNameMode(int mode)
Sets the mode that is used for the display name of that contact.
Definition: contactmetadata.cpp:86
int displayNameMode() const
Returns the mode that is used for the display name of that contact.
Definition: contactmetadata.cpp:91
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.