akonadi/contact
Akonadi::StandardContactGroupFormatter Class Reference
#include <standardcontactgroupformatter.h>
Inheritance diagram for Akonadi::StandardContactGroupFormatter:
Public Member Functions | |
StandardContactGroupFormatter () | |
virtual | ~StandardContactGroupFormatter () |
virtual QString | toHtml (HtmlForm form=SelfcontainedForm) const |
Public Member Functions inherited from Akonadi::AbstractContactGroupFormatter | |
AbstractContactGroupFormatter () | |
virtual | ~AbstractContactGroupFormatter () |
QList< QVariantMap > | additionalFields () const |
KABC::ContactGroup | contactGroup () const |
Akonadi::Item | item () const |
void | setAdditionalFields (const QList< QVariantMap > &fields) |
void | setContactGroup (const KABC::ContactGroup &group) |
void | setItem (const Akonadi::Item &item) |
Additional Inherited Members | |
Public Types inherited from Akonadi::AbstractContactGroupFormatter | |
enum | HtmlForm { SelfcontainedForm, EmbeddableForm, UserForm = SelfcontainedForm + 42 } |
Detailed Description
A class that formats a contact group as HTML code.
Examples:
using namespace Akonadi;
const KABC::ContactGroup group = ...
StandardContactGroupFormatter formatter;
formatter.setContactGroup( group );
view->setHtml( formatter.toHtml() );
- Since
- 4.6
Definition at line 53 of file standardcontactgroupformatter.h.
Constructor & Destructor Documentation
StandardContactGroupFormatter::StandardContactGroupFormatter | ( | ) |
Creates a new standard contact group formatter.
Definition at line 34 of file standardcontactgroupformatter.cpp.
|
virtual |
Destroys the standard contact group formatter.
Definition at line 39 of file standardcontactgroupformatter.cpp.
Member Function Documentation
|
virtual |
Returns the contact group formatted as HTML.
Implements Akonadi::AbstractContactGroupFormatter.
Definition at line 43 of file standardcontactgroupformatter.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.