Messagelib

vcardviewer.h
1 /* This file is part of the KDE project
2  SPDX-FileCopyrightText: 2002 Daniel Molkentin <[email protected]>
3  SPDX-FileCopyrightText: 2013-2021 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 }
40 
void readConfig()
AddresseeList List
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:05:48 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.