Akonadi Contacts

recipientspickerwidget.h
1/*
2 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "akonadi-contact-widgets_export.h"
10#include <QWidget>
12class QTreeView;
13namespace Akonadi
14{
15class EmailAddressSelectionWidget;
16class AKONADI_CONTACT_WIDGETS_EXPORT RecipientsPickerWidget : public QWidget
17{
18 Q_OBJECT
19public:
20 explicit RecipientsPickerWidget(bool onlyShowEmailWithAddress, QAbstractItemModel *model, QWidget *parent = nullptr);
21 ~RecipientsPickerWidget() override;
22 [[nodiscard]] QTreeView *view() const;
23
24 [[nodiscard]] Akonadi::EmailAddressSelectionWidget *emailAddressSelectionWidget() const;
25
26private:
28};
29}
A widget to select email addresses from Akonadi.
A widget for editing the display name of a contact.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:20 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.