Akonadi Contacts
abstractcontactgroupformatter.h
The interface for all contact group formatters.
Definition abstractcontactgroupformatter.h:38
QList< QVariantMap > additionalFields() const
Returns the additional fields that will be shown.
Definition abstractcontactgroupformatter.cpp:56
Akonadi::Item item() const
Returns the item who's payload will be formatted.
Definition abstractcontactgroupformatter.cpp:46
void setItem(const Akonadi::Item &item)
Sets the item who's payload will be formatted.
Definition abstractcontactgroupformatter.cpp:41
virtual QString toHtml(HtmlForm form=SelfcontainedForm) const =0
This method must be reimplemented to return the contact group formatted as HTML according to the requ...
KContacts::ContactGroup contactGroup() const
Returns the contact group that will be formatted.
Definition abstractcontactgroupformatter.cpp:36
void setContactGroup(const KContacts::ContactGroup &group)
Sets the contact group that will be formatted.
Definition abstractcontactgroupformatter.cpp:31
void setAdditionalFields(const QList< QVariantMap > &fields)
Sets the additional fields that will be shown.
Definition abstractcontactgroupformatter.cpp:51
AbstractContactGroupFormatter()
Creates a new abstract contact group formatter.
Definition abstractcontactgroupformatter.cpp:24
HtmlForm
Describes the form of the HTML that is created.
Definition abstractcontactgroupformatter.h:43
@ EmbeddableForm
Creates a div HTML element that can be embedded.
Definition abstractcontactgroupformatter.h:45
virtual ~AbstractContactGroupFormatter()
Destroys the abstract contact group formatter.
A widget for editing the display name of a contact.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.