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);
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();
44 PreferredLineEditWidget *mMailEdit =
nullptr;
45 Akonadi::MailTypeCombobox *mMailType =
nullptr;
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 Fri Nov 22 2024 12:08:53 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.