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
QList< QVariantMap > customFieldDescriptions () const
Akonadi::Item item () const
void setContact (const KContacts::Addressee &contact)
void setCustomFieldDescriptions (const QList< 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.nosp@m.@kde.nosp@m..org

Definition at line 30 of file grantleecontactformatter.h.

Constructor & Destructor Documentation

◆ GrantleeContactFormatter()

GrantleeContactFormatter::GrantleeContactFormatter ( )

Creates a new grantlee contact formatter.

Definition at line 86 of file grantleecontactformatter.cpp.

◆ ~GrantleeContactFormatter()

GrantleeContactFormatter::~GrantleeContactFormatter ( )

Destroys the grantlee contact formatter.

Member Function Documentation

◆ forceDisableQRCode()

bool GrantleeContactFormatter::forceDisableQRCode ( ) const

Definition at line 109 of file grantleecontactformatter.cpp.

◆ setAbsoluteThemePath()

void GrantleeContactFormatter::setAbsoluteThemePath ( const QString & path)

Definition at line 94 of file grantleecontactformatter.cpp.

◆ setApplicationDomain()

void GrantleeContactFormatter::setApplicationDomain ( const QByteArray & domain)

Translation domain for the Grantlee localizer.

Definition at line 240 of file grantleecontactformatter.cpp.

◆ setForceDisableQRCode()

void GrantleeContactFormatter::setForceDisableQRCode ( bool b)

Definition at line 104 of file grantleecontactformatter.cpp.

◆ setGrantleeTheme()

void GrantleeContactFormatter::setGrantleeTheme ( const GrantleeTheme::Theme & theme)

Definition at line 99 of file grantleecontactformatter.cpp.

◆ setShowQRCode()

void GrantleeContactFormatter::setShowQRCode ( bool b)

Definition at line 114 of file grantleecontactformatter.cpp.

◆ toHtml()

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

Returns the contact formatted as HTML.

Implements Akonadi::AbstractContactFormatter.

Definition at line 119 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-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:57:57 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.