Akonadi::RecipientsPickerWidget Class
A widget for picking email recipients from contacts. More...
| Header: | #include <Akonadi/RecipientsPickerWidget> |
| CMake: | find_package(KPim6AkonadiContactWidgets REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::AkonadiContactWidgets) |
Public Functions
| RecipientsPickerWidget(bool onlyShowEmailWithAddress, QAbstractItemModel *model, QWidget *parent = nullptr) | |
| virtual | ~RecipientsPickerWidget() override |
| Akonadi::EmailAddressSelectionWidget * | emailAddressSelectionWidget() const |
| QTreeView * | view() const |
Detailed Description
Member Function Documentation
[explicit] RecipientsPickerWidget::RecipientsPickerWidget(bool onlyShowEmailWithAddress, QAbstractItemModel *model, QWidget *parent = nullptr)
Creates a new recipients picker widget.
onlyShowEmailWithAddress Whether to show only contacts with email addresses. model A custom model for the widget, or nullptr to use the default. parent The parent widget.
[override virtual noexcept] RecipientsPickerWidget::~RecipientsPickerWidget()
Destroys the recipients picker widget.
Akonadi::EmailAddressSelectionWidget *RecipientsPickerWidget::emailAddressSelectionWidget() const
Returns the email address selection widget used by this widget.
QTreeView *RecipientsPickerWidget::view() const
Returns the tree view used by this widget.