Akonadi Contacts

grantleeprint.h
1 /*
2  SPDX-FileCopyrightText: 2015-2023 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "akonadi-contact_export.h"
10 
11 #include <GrantleeTheme/GenericFormatter>
12 #include <KContacts/Addressee>
13 
14 namespace KAddressBookGrantlee
15 {
16 /** Grantlee-based contact printing. */
17 class AKONADI_CONTACT_EXPORT GrantleePrint : public GrantleeTheme::GenericFormatter
18 {
19 public:
20  GrantleePrint();
21  explicit GrantleePrint(const QString &themePath);
22  ~GrantleePrint();
23 
24  Q_REQUIRED_RESULT QString contactsToHtml(const KContacts::Addressee::List &contacts);
25 
26 private:
27  AKONADI_CONTACT_NO_EXPORT void init();
28 };
29 }
Grantlee-based contact printing.
Definition: grantleeprint.h:17
AddresseeList List
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:09:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.