KPeople

persondetailsdialog.h
1 /*
2  Convenience dialog for displaying PersonDetailsView widgets
3  SPDX-FileCopyrightText: 2013 David Edmundson <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7 
8 #ifndef PERSONDETAILSDIALOG_H
9 #define PERSONDETAILSDIALOG_H
10 
11 #include <QDialog>
12 
13 #include "../persondata.h"
14 #include <kpeople/widgets/kpeoplewidgets_export.h>
15 
16 namespace KPeople
17 {
18 class PersonDetailsDialogPrivate;
19 
20 class KPEOPLEWIDGETS_EXPORT PersonDetailsDialog : public QDialog
21 {
22  Q_OBJECT
23 
24 public:
25  explicit PersonDetailsDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
26  ~PersonDetailsDialog() override;
27 
28  void setPerson(PersonData *person);
29 
30 private:
31  Q_DECLARE_PRIVATE(PersonDetailsDialog)
32  PersonDetailsDialogPrivate *d_ptr;
33 };
34 
35 }
36 #endif // PERSONDETAILSDIALOG_H
typedef WindowFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:09:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.