Akonadi Contacts

grantleeprint.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "akonadi-contact-core_export.h"
10
11#include <GrantleeTheme/GenericFormatter>
12#include <KContacts/Addressee>
13
14namespace KAddressBookGrantlee
15{
16/** Grantlee-based contact printing. */
17class AKONADI_CONTACT_CORE_EXPORT GrantleePrint : public GrantleeTheme::GenericFormatter
18{
19public:
21 explicit GrantleePrint(const QString &themePath);
23
24 [[nodiscard]] QString contactsToHtml(const KContacts::Addressee::List &contacts);
25
26private:
27 AKONADI_CONTACT_CORE_NO_EXPORT void init();
28};
29}
Grantlee-based contact printing.
AddresseeList List
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:53:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.