Akonadi Contacts

grantleecontactviewer.h
1 /*
2  SPDX-FileCopyrightText: 2013-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 #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 AKONADI_CONTACT_NO_EXPORT QString kaddressBookAbsoluteThemePath() const;
29 };
30 }
A viewer component for contacts in Akonadi.
Definition: contactviewer.h:64
A class that formats a contact as HTML code.
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.