Messagelib

vcardviewer.h
1 /* This file is part of the KDE project
2  SPDX-FileCopyrightText: 2002 Daniel Molkentin <[email protected]>
3  SPDX-FileCopyrightText: 2013-2023 Laurent Montel <[email protected]>
4 
5  SPDX-License-Identifier: GPL-2.0-or-later
6  */
7 
8 #pragma once
9 #include <KContacts/Addressee>
10 #include <QDialog>
11 
12 namespace KAddressBookGrantlee
13 {
14 class GrantleeContactViewer;
15 }
16 class QPushButton;
17 namespace MessageViewer
18 {
19 class VCardViewer : public QDialog
20 {
21  Q_OBJECT
22 public:
23  explicit VCardViewer(QWidget *parent, const QByteArray &vCard);
24  ~VCardViewer() override;
25 
26 private:
27  void slotUser1();
28  void slotUser2();
29  void slotUser3();
30  void readConfig();
31  void writeConfig();
32 
33  KContacts::Addressee::List mAddresseeList;
34  int mAddresseeListIndex = 0;
35  KAddressBookGrantlee::GrantleeContactViewer *const mContactViewer;
36  QPushButton *const mUser2Button;
37  QPushButton *const mUser3Button;
38 };
39 }
Q_OBJECTQ_OBJECT
void readConfig()
AddresseeList List
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Mar 24 2023 04:08:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.