Akonadi Contacts

abstractemailaddressselectiondialog.h
1 /*
2  SPDX-FileCopyrightText: 2019-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "akonadi-contact_export.h"
10 
11 #include "emailaddressselectionwidget.h"
12 
13 #include <KContacts/Addressee>
14 #include <QDialog>
15 namespace Akonadi
16 {
17 class AKONADI_CONTACT_EXPORT AbstractEmailAddressSelectionDialog : public QDialog
18 {
19  Q_OBJECT
20 public:
21  explicit AbstractEmailAddressSelectionDialog(QWidget *parent = nullptr);
22  virtual ~AbstractEmailAddressSelectionDialog();
23 
24  /**
25  * Returns the list of selected email addresses.
26  */
27  Q_REQUIRED_RESULT virtual EmailAddressSelection::List selectedAddresses() const = 0;
28 
29  /**
30  * Returns the email address selection view that is used.
31  */
32  Q_REQUIRED_RESULT virtual EmailAddressSelectionWidget *view() const = 0;
33 Q_SIGNALS:
34  void insertAddresses(const KContacts::Addressee::List &list);
35 };
36 }
37 
AddresseeList List
QVector< EmailAddressSelection > List
A list of email address selection objects.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jun 22 2021 23:08:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.