Akonadi Contacts

emailaddressselectiondialog.h
1 /*
2  This file is part of Akonadi Contact.
3 
4  SPDX-FileCopyrightText: 2010 KDAB
5  SPDX-FileContributor: Tobias Koenig <[email protected]>
6 
7  SPDX-License-Identifier: LGPL-2.0-or-later
8 */
9 
10 #ifndef AKONADI_EMAILADDRESSSELECTIONDIALOG_H
11 #define AKONADI_EMAILADDRESSSELECTIONDIALOG_H
12 
13 #include "akonadi-contact_export.h"
14 
15 #include "abstractemailaddressselectiondialog.h"
16 #include "emailaddressselectionwidget.h"
17 
18 #include <QDialog>
19 
20 namespace Akonadi {
46 class AKONADI_CONTACT_EXPORT EmailAddressSelectionDialog : public AbstractEmailAddressSelectionDialog
47 {
48  Q_OBJECT
49 
50 public:
56  explicit EmailAddressSelectionDialog(QWidget *parent = nullptr);
57 
64  explicit EmailAddressSelectionDialog(QAbstractItemModel *model, QWidget *parent = nullptr);
65 
69  ~EmailAddressSelectionDialog() override;
70 
74  Q_REQUIRED_RESULT EmailAddressSelection::List selectedAddresses() const override;
75 
79  Q_REQUIRED_RESULT EmailAddressSelectionWidget *view() const override;
80 
81 private:
82  //@cond PRIVATE
83  class Private;
84  Private *const d;
85  //@endcond
86 };
87 }
88 
89 #endif
A dialog to select email addresses from Akonadi.
A widget to select email addresses from Akonadi.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Oct 28 2020 23:13:06 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.