Akonadi Contacts

grantleecontactviewer.h
1/*
2 SPDX-FileCopyrightText: 2013-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-widgets_export.h"
10#include "contactviewer.h"
11
12namespace KAddressBookGrantlee
13{
14class GrantleeContactFormatter;
15
16/** Grantlee-based contact viewer. */
17class AKONADI_CONTACT_WIDGETS_EXPORT GrantleeContactViewer : public Akonadi::ContactViewer
18{
19 Q_OBJECT
20public:
21 explicit GrantleeContactViewer(QWidget *parent = nullptr);
22 ~GrantleeContactViewer() override;
23
24 void setForceDisableQRCode(bool b);
25
26private:
27 [[nodiscard]] AKONADI_CONTACT_WIDGETS_NO_EXPORT QString kaddressBookAbsoluteThemePath() const;
29};
30}
A viewer component for contacts in Akonadi.
A class that formats a contact as HTML code.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.