akonadi
#include <emailaddressselectionwidget.h>
Inherits QWidget.
Signals | |
void | doubleClicked () |
Public Member Functions | |
EmailAddressSelectionWidget (QWidget *parent=0) | |
EmailAddressSelectionWidget (QAbstractItemModel *model, 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
|
explicit |
Creates a new email address selection widget.
- Parameters
-
parent The parent widget.
Definition at line 184 of file emailaddressselectionwidget.cpp.
|
explicit |
Creates a new email address selection widget.
- Parameters
-
model A custom, ContactsTreeModel based model to use. parent The parent widget.
Definition at line 190 of file emailaddressselectionwidget.cpp.
EmailAddressSelectionWidget::~EmailAddressSelectionWidget | ( | ) |
Destroys the email address selection widget.
Definition at line 196 of file emailaddressselectionwidget.cpp.
Member Function Documentation
|
signal |
- Since
- 4.10.1
KLineEdit * EmailAddressSelectionWidget::searchLineEdit | ( | ) | const |
Returns the line edit that is used for the search line.
Definition at line 224 of file emailaddressselectionwidget.cpp.
EmailAddressSelection::List EmailAddressSelectionWidget::selectedAddresses | ( | ) | const |
Returns the list of selected email addresses.
Definition at line 201 of file emailaddressselectionwidget.cpp.
QTreeView * EmailAddressSelectionWidget::view | ( | ) | const |
Returns the tree view that is used to list the items.
Definition at line 229 of file emailaddressselectionwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.