KAddressBookGrantlee::GrantleeContactGroupFormatter

Search for usage in LXR

KAddressBookGrantlee::GrantleeContactGroupFormatter Class Reference

#include <grantleecontactgroupformatter.h>

Inheritance diagram for KAddressBookGrantlee::GrantleeContactGroupFormatter:

Public Member Functions

 GrantleeContactGroupFormatter ()
 
 ~GrantleeContactGroupFormatter () override
 
void setAbsoluteThemePath (const QString &path)
 
void setGrantleeTheme (const GrantleeTheme::Theme &theme)
 
QString toHtml (HtmlForm form=SelfcontainedForm) const override
 
- Public Member Functions inherited from Akonadi::AbstractContactGroupFormatter
 AbstractContactGroupFormatter ()
 
virtual ~AbstractContactGroupFormatter ()
 
QList< QVariantMap > additionalFields () const
 
KContacts::ContactGroup contactGroup () const
 
Akonadi::Item item () const
 
void setAdditionalFields (const QList< QVariantMap > &fields)
 
void setContactGroup (const KContacts::ContactGroup &group)
 
void setItem (const Akonadi::Item &item)
 

Additional Inherited Members

- Public Types inherited from Akonadi::AbstractContactGroupFormatter
enum  HtmlForm { SelfcontainedForm , EmbeddableForm , UserForm = SelfcontainedForm + 42 }
 

Detailed Description

A class that formats a contact group as HTML code.

Author
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org

Definition at line 30 of file grantleecontactgroupformatter.h.

Constructor & Destructor Documentation

◆ GrantleeContactGroupFormatter()

GrantleeContactGroupFormatter::GrantleeContactGroupFormatter ( )
explicit

Creates a new grantlee contact group formatter.

Definition at line 63 of file grantleecontactgroupformatter.cpp.

◆ ~GrantleeContactGroupFormatter()

GrantleeContactGroupFormatter::~GrantleeContactGroupFormatter ( )
overridedefault

Destroys the grantlee contact group formatter.

Member Function Documentation

◆ setAbsoluteThemePath()

void GrantleeContactGroupFormatter::setAbsoluteThemePath ( const QString & path)

Definition at line 70 of file grantleecontactgroupformatter.cpp.

◆ setGrantleeTheme()

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

Definition at line 75 of file grantleecontactgroupformatter.cpp.

◆ toHtml()

QString GrantleeContactGroupFormatter::toHtml ( HtmlForm form = SelfcontainedForm) const
nodiscardoverridevirtual

Returns the contact group formatted as HTML.

Implements Akonadi::AbstractContactGroupFormatter.

Definition at line 106 of file grantleecontactgroupformatter.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 Nov 1 2024 18:55:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.