Akonadi::EmailAddressSelectionDialog
#include <emailaddressselectiondialog.h>
Public Member Functions | |
EmailAddressSelectionDialog (QAbstractItemModel *model, QWidget *parent=nullptr) | |
EmailAddressSelectionDialog (QWidget *parent=nullptr) | |
~EmailAddressSelectionDialog () override | |
Akonadi::EmailAddressSelection::List | selectedAddresses () const override |
Akonadi::EmailAddressSelectionWidget * | view () const override |
Detailed Description
A dialog to select email addresses from Akonadi.
This dialog allows the user to select an name and email address from the Akonadi storage. The selected addresses are returned as EmailAddressSelectionWidget::Selection objects which encapsulate the name, email address and the Akonadi item that has been selected.
Example:
- Since
- 4.5
Definition at line 48 of file emailaddressselectiondialog.h.
Constructor & Destructor Documentation
◆ EmailAddressSelectionDialog() [1/2]
|
explicit |
Creates a new email address selection dialog.
- Parameters
-
parent The parent widget.
Definition at line 69 of file emailaddressselectiondialog.cpp.
◆ EmailAddressSelectionDialog() [2/2]
|
explicit |
Creates a new email address selection dialog.
- Parameters
-
model A custom, ContactsTreeModel based model to use. parent The parent widget.
Definition at line 75 of file emailaddressselectiondialog.cpp.
◆ ~EmailAddressSelectionDialog()
|
override |
Destroys the email address selection dialog.
Definition at line 81 of file emailaddressselectiondialog.cpp.
Member Function Documentation
◆ selectedAddresses()
|
nodiscardoverride |
Returns the list of selected email addresses.
Definition at line 86 of file emailaddressselectiondialog.cpp.
◆ view()
|
nodiscardoverride |
Returns the email address selection view that is used.
Definition at line 91 of file emailaddressselectiondialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.