akonadi
#include <emailaddressselectionwidget.h>
Inherits QWidget.
Signals | |
void | doubleClicked () |
Public Member Functions | |
EmailAddressSelectionWidget (bool showOnlyContactWithEmail, QAbstractItemModel *model=0, QWidget *parent=0) | |
EmailAddressSelectionWidget (QAbstractItemModel *model, QWidget *parent=0) | |
EmailAddressSelectionWidget (QWidget *parent=0) | |
~EmailAddressSelectionWidget () | |
KLineEdit * | searchLineEdit () const |
EmailAddressSelection::List | selectedAddresses () const |
QTreeView * | view () const |
Detailed Description
A widget to select email addresses from Akonadi.
This widget 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 66 of file emailaddressselectionwidget.h.
Constructor & Destructor Documentation
◆ EmailAddressSelectionWidget() [1/3]
|
explicit |
Creates a new email address selection widget.
- Parameters
-
parent The parent widget.
Definition at line 173 of file emailaddressselectionwidget.cpp.
◆ EmailAddressSelectionWidget() [2/3]
|
explicit |
Creates a new email address selection widget.
- Parameters
-
model A custom, ContactsTreeModel based model to use. parent The parent widget.
Definition at line 179 of file emailaddressselectionwidget.cpp.
◆ EmailAddressSelectionWidget() [3/3]
|
explicit |
Creates a new email address selection widget.
- Parameters
-
showOnlyContactWithEmail Allow to specify if you want to see only contact with email (by default yes in other constructor) model A custom ContactsTreeModel based model to use. parent The parent widget.
Definition at line 185 of file emailaddressselectionwidget.cpp.
◆ ~EmailAddressSelectionWidget()
EmailAddressSelectionWidget::~EmailAddressSelectionWidget | ( | ) |
Destroys the email address selection widget.
Definition at line 191 of file emailaddressselectionwidget.cpp.
Member Function Documentation
◆ doubleClicked
|
signal |
- Since
- 4.10.1
◆ searchLineEdit()
KLineEdit * EmailAddressSelectionWidget::searchLineEdit | ( | ) | const |
Returns the line edit that is used for the search line.
Definition at line 223 of file emailaddressselectionwidget.cpp.
◆ selectedAddresses()
EmailAddressSelection::List EmailAddressSelectionWidget::selectedAddresses | ( | ) | const |
Returns the list of selected email addresses.
Definition at line 196 of file emailaddressselectionwidget.cpp.
◆ view()
QTreeView * EmailAddressSelectionWidget::view | ( | ) | const |
Returns the tree view that is used to list the items.
Definition at line 228 of file emailaddressselectionwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.