Akonadi Contacts
contacteditorwidget.h
28class AKONADI_CONTACT_WIDGETS_EXPORT ContactEditorWidget : public Akonadi::AbstractContactEditorWidget
55 void loadContact(const KContacts::Addressee &contact, const Akonadi::ContactMetaDataBase &metaData) override;
61 void storeContact(KContacts::Addressee &contact, Akonadi::ContactMetaDataBase &metaData) const override;
~ContactEditorWidget() override
Destroys the contact editor widget.
void setReadOnly(bool readOnly) override
Sets whether the contact in the editor allows the user to edit the contact or not.
Definition contacteditorwidget.cpp:248
void storeContact(KContacts::Addressee &contact, Akonadi::ContactMetaDataBase &metaData) const override
Stores back the fields of the contact editor into the given contact.
Definition contacteditorwidget.cpp:220
void loadContact(const KContacts::Addressee &contact, const Akonadi::ContactMetaDataBase &metaData) override
Initializes the fields of the contact editor with the values from a contact.
Definition contacteditorwidget.cpp:194
ContactEditorWidget(QWidget *parent=nullptr)
Creates a new contact editor widget.
Definition contacteditorwidget.cpp:178
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
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.