KAddressBookGrantlee::GrantleeContactFormatter
#include <grantleecontactformatter.h>
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.
Definition at line 30 of file grantleecontactformatter.h.
Constructor & Destructor Documentation
◆ GrantleeContactFormatter()
|
explicit |
Creates a new grantlee contact formatter.
Definition at line 86 of file grantleecontactformatter.cpp.
◆ ~GrantleeContactFormatter()
|
overridedefault |
Destroys the grantlee contact formatter.
Member Function Documentation
◆ forceDisableQRCode()
|
nodiscard |
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()
|
nodiscardoverridevirtual |
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:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.