Search for usage in LXR

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
 AbstractContactFormatter ()
virtual ~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 { SelfcontainedForm, EmbeddableForm, UserForm = SelfcontainedForm + 42 }

Detailed Description

A class that formats a contact as HTML code.

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

Definition at line 30 of file grantleecontactformatter.h.

Constructor & Destructor Documentation

◆ GrantleeContactFormatter()

GrantleeContactFormatter::GrantleeContactFormatter ( )

Creates a new grantlee contact formatter.

Definition at line 111 of file grantleecontactformatter.cpp.

◆ ~GrantleeContactFormatter()

GrantleeContactFormatter::~GrantleeContactFormatter ( )

Destroys the grantlee contact formatter.

Member Function Documentation

◆ setApplicationDomain()

void GrantleeContactFormatter::setApplicationDomain ( const QByteArray domain)

Translation domain for the Grantlee localizer.

Definition at line 273 of file grantleecontactformatter.cpp.

◆ toHtml()

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

Returns the contact formatted as HTML.

Implements Akonadi::AbstractContactFormatter.

Definition at line 148 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-2023 The KDE developers.
Generated on Sun Mar 26 2023 03:56:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.