Akonadi Contacts

grantleeprint.h
1 /*
2  SPDX-FileCopyrightText: 2015-2021 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  void init();
28 };
29 }
Grantlee-based contact printing.
Definition: grantleeprint.h:17
QCA_EXPORT void init()
AddresseeList List
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Jun 18 2021 23:08:56 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.