akonadi/contact
#include <addresseditwidget.h>
Inherits KComboBox.
Signals | |
void | selectionChanged (const KABC::Address &address) |
Public Member Functions | |
AddressSelectionWidget (QWidget *parent=0) | |
virtual | ~AddressSelectionWidget () |
KABC::Address | currentAddress () const |
void | setAddresses (const KABC::Address::List &addresses) |
void | setCurrentAddress (const KABC::Address &address) |
Detailed Description
A widget that shows a list of addresses for selection.
Definition at line 41 of file addresseditwidget.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new address selection widget.
- Parameters
-
parent The parent widget.
Definition at line 105 of file addresseditwidget.cpp.
|
virtual |
Destroys the address selection widget.
Definition at line 111 of file addresseditwidget.cpp.
Member Function Documentation
KABC::Address AddressSelectionWidget::currentAddress | ( | ) | const |
Returns the current selected address.
Definition at line 129 of file addresseditwidget.cpp.
|
signal |
This signal is emitted whenever the selection of the address has changed.
- Parameters
-
address The new selected address.
void AddressSelectionWidget::setAddresses | ( | const KABC::Address::List & | addresses | ) |
Sets the list of addresses
that can be chosen from.
- Parameters
-
addresses list of addresses that can be chosen from
Definition at line 115 of file addresseditwidget.cpp.
void AddressSelectionWidget::setCurrentAddress | ( | const KABC::Address & | address | ) |
Sets the current address
.
- Parameters
-
address new current address
Definition at line 121 of file addresseditwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.