akonadi/contact
#include <contacteditorwidget.h>
Inherits Akonadi::AbstractContactEditorWidget.
Public Member Functions | |
ContactEditorWidget (QWidget *parent=0) | |
~ContactEditorWidget () | |
void | loadContact (const KABC::Addressee &contact, const Akonadi::ContactMetaData &) |
void | setReadOnly (bool readOnly) |
void | storeContact (KABC::Addressee &contact, Akonadi::ContactMetaData &) const |
![]() | |
virtual void | loadContact (const KABC::Addressee &contact, const Akonadi::ContactMetaData &)=0 |
virtual void | setReadOnly (bool readOnly)=0 |
virtual void | storeContact (KABC::Addressee &contact, Akonadi::ContactMetaData &) const =0 |
Detailed Description
A widget for editing a contact.
Definition at line 37 of file contacteditorwidget.h.
Constructor & Destructor Documentation
ContactEditorWidget::ContactEditorWidget | ( | QWidget * | parent = 0 | ) |
Creates a new contact editor widget.
- Parameters:
-
parent The parent widget.
Definition at line 517 of file contacteditorwidget.cpp.
ContactEditorWidget::~ContactEditorWidget | ( | ) |
Destroys the contact editor widget.
Definition at line 528 of file contacteditorwidget.cpp.
Member Function Documentation
void ContactEditorWidget::loadContact | ( | const KABC::Addressee & | contact, |
const Akonadi::ContactMetaData & | metaData | ||
) |
Initializes the fields of the contact editor with the values from a contact
.
Definition at line 533 of file contacteditorwidget.cpp.
void ContactEditorWidget::setReadOnly | ( | bool | readOnly | ) |
Sets whether the contact in the editor allows the user to edit the contact or not.
Definition at line 693 of file contacteditorwidget.cpp.
void ContactEditorWidget::storeContact | ( | KABC::Addressee & | contact, |
Akonadi::ContactMetaData & | metaData | ||
) | const |
Stores back the fields of the contact editor into the given contact
.
Definition at line 609 of file contacteditorwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:08:07 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.