akonadi/contact
#include <standardcontactformatter.h>

Public Member Functions | |
StandardContactFormatter () | |
virtual | ~StandardContactFormatter () |
bool | displayQRCode () const |
void | setDisplayQRCode (bool show) |
virtual QString | toHtml (HtmlForm form=SelfcontainedForm) const |
![]() | |
AbstractContactFormatter () | |
virtual | ~AbstractContactFormatter () |
KABC::Addressee | contact () const |
QList< QVariantMap > | customFieldDescriptions () const |
Akonadi::Item | item () const |
void | setContact (const KABC::Addressee &contact) |
void | setCustomFieldDescriptions (const QList< QVariantMap > &descriptions) |
void | setItem (const Akonadi::Item &item) |
Additional Inherited Members | |
![]() | |
enum | HtmlForm { SelfcontainedForm , EmbeddableForm , UserForm = SelfcontainedForm + 42 } |
Detailed Description
A class that formats a contact as HTML code.
Examples:
- Since
- 4.5
Definition at line 53 of file standardcontactformatter.h.
Constructor & Destructor Documentation
◆ StandardContactFormatter()
StandardContactFormatter::StandardContactFormatter | ( | ) |
Creates a new standard contact formatter.
Definition at line 50 of file standardcontactformatter.cpp.
◆ ~StandardContactFormatter()
|
virtual |
Destroys the standard contact formatter.
Definition at line 55 of file standardcontactformatter.cpp.
Member Function Documentation
◆ displayQRCode()
bool StandardContactFormatter::displayQRCode | ( | ) | const |
Definition at line 373 of file standardcontactformatter.cpp.
◆ setDisplayQRCode()
void StandardContactFormatter::setDisplayQRCode | ( | bool | show | ) |
Definition at line 368 of file standardcontactformatter.cpp.
◆ toHtml()
|
virtual |
Returns the contact formatted as HTML.
Implements Akonadi::AbstractContactFormatter.
Definition at line 70 of file standardcontactformatter.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.