KAddressBookGrantlee::GrantleeContactFormatter Class Reference

#include <grantleecontactformatter.h>

Inheritance diagram for KAddressBookGrantlee::GrantleeContactFormatter:

Public Member Functions

 GrantleeContactFormatter ()
 ~GrantleeContactFormatter () override
bool forceDisableQRCode () const
void setAbsoluteThemePath (const QString &path)
void setApplicationDomain (const QByteArray &domain)
void setForceDisableQRCode (bool b)
void setGrantleeTheme (const GrantleeTheme::Theme &theme)
void setShowQRCode (bool b)
QString toHtml (HtmlForm form=SelfcontainedForm) const override
- Public Member Functions inherited from Akonadi::AbstractContactFormatter
KContacts::Addressee contact () const
QVector< QVariantMap > customFieldDescriptions () const
Akonadi::Item item () const
void setContact (const KContacts::Addressee &contact)
void setCustomFieldDescriptions (const QVector< QVariantMap > &descriptions)
void setItem (const Akonadi::Item &item)

Additional Inherited Members

- Public Types inherited from Akonadi::AbstractContactFormatter
enum  HtmlForm
- Public Attributes inherited from Akonadi::AbstractContactFormatter

Detailed Description

A class that formats a contact as HTML code.

Tobias Koenig tokoe[email protected]@kde[email protected].org

Definition at line 38 of file grantleecontactformatter.h.

Constructor & Destructor Documentation

GrantleeContactFormatter::GrantleeContactFormatter ( )

Creates a new grantlee contact formatter.

Definition at line 122 of file grantleecontactformatter.cpp.

GrantleeContactFormatter::~GrantleeContactFormatter ( )

Destroys the grantlee contact formatter.

Definition at line 134 of file grantleecontactformatter.cpp.

Member Function Documentation

void GrantleeContactFormatter::setApplicationDomain ( const QByteArray domain)

Translation domain for the Grantlee localizer.

Definition at line 294 of file grantleecontactformatter.cpp.

QString GrantleeContactFormatter::toHtml ( HtmlForm  form = SelfcontainedForm) const

Returns the contact formatted as HTML.

Implements Akonadi::AbstractContactFormatter.

Definition at line 164 of file grantleecontactformatter.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 Fri Jul 10 2020 23:16:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.