Akonadi Contacts
12#include "akonadi_contact_widgets_private_export.h"
13#include <KContacts/Email>
18class PreferredLineEditWidget;
19class MailTypeCombobox;
20class AKONADI_CONTACT_WIDGETS_TESTS_EXPORT MailWidget :
public QWidget
24 explicit MailWidget(QWidget *parent =
nullptr);
25 ~MailWidget()
override;
28 void updateAddRemoveButton(
bool addButtonEnabled);
29 void setMail(
const KContacts::Email &email);
30 [[nodiscard]] KContacts::Email email();
31 void setPreferred(
bool b);
32 void setReadOnly(
bool readOnly);
34 void addWidget(Akonadi::MailWidget *);
35 void removeWidget(Akonadi::MailWidget *);
36 void preferredChanged(Akonadi::MailWidget *);
40 void slotRemoveMail();
41 void slotPreferredChanged();
42 KContacts::Email mEmail;
44 PreferredLineEditWidget *mMailEdit =
nullptr;
45 Akonadi::MailTypeCombobox *mMailType =
nullptr;
46 QToolButton *mAddButton =
nullptr;
47 QToolButton *mRemoveButton =
nullptr;
A widget for editing the display name of a contact.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.