Akonadi Contacts

grantleecontactviewer.h
1 /*
2  SPDX-FileCopyrightText: 2013-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 #include "contactviewer.h"
11 
12 namespace KAddressBookGrantlee
13 {
14 class GrantleeContactFormatter;
15 
16 /** Grantlee-based contact viewer. */
17 class AKONADI_CONTACT_EXPORT GrantleeContactViewer : public Akonadi::ContactViewer
18 {
19  Q_OBJECT
20 public:
21  explicit GrantleeContactViewer(QWidget *parent = nullptr);
22  ~GrantleeContactViewer() override;
23 
24  void setForceDisableQRCode(bool b);
25 
26 private:
27  Q_REQUIRED_RESULT QString kaddressBookAbsoluteThemePath();
29 };
30 }
31 
A viewer component for contacts in Akonadi.
Definition: contactviewer.h:61
A class that formats a contact as HTML code.
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.