Akonadi Contacts
12#include "akonadi_contact_widgets_private_export.h"
21class PreferredLineEditWidget;
23class AKONADI_CONTACT_WIDGETS_TESTS_EXPORT PhoneWidget :
public QWidget
27 explicit PhoneWidget(QWidget *parent =
nullptr);
28 ~PhoneWidget()
override;
30 void updateAddRemoveButton(
bool addButtonEnabled);
31 void loadPhone(
const KContacts::PhoneNumber &number);
32 [[nodiscard]] KContacts::PhoneNumber storePhone();
34 void setPreferred(
bool b);
35 void setReadOnly(
bool readOnly);
37 void addWidget(Akonadi::PhoneWidget *);
38 void removeWidget(Akonadi::PhoneWidget *);
39 void preferredChanged(Akonadi::PhoneWidget *);
43 void slotRemovePhone();
44 void slotPreferredChanged();
45 PreferredLineEditWidget *mPhoneNumberEdit =
nullptr;
46 QToolButton *mAddButton =
nullptr;
47 QToolButton *mRemoveButton =
nullptr;
48 PhoneComboBoxType *mPhoneType =
nullptr;
A combobox to select a phone number type.
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.