akonadi/contact
PhoneEditWidget Class Reference
A widget for editing phone numbers of a contact. More...
#include <phoneeditwidget.h>
Inherits QWidget.
Public Member Functions | |
PhoneEditWidget (QWidget *parent=0) | |
~PhoneEditWidget () | |
void | loadContact (const KABC::Addressee &contact) |
void | setReadOnly (bool readOnly) |
void | storeContact (KABC::Addressee &contact) const |
Detailed Description
A widget for editing phone numbers of a contact.
Definition at line 191 of file phoneeditwidget.h.
Constructor & Destructor Documentation
PhoneEditWidget::PhoneEditWidget | ( | QWidget * | parent = 0 |
) | [explicit] |
Creates a new phone edit widget.
- Parameters:
-
parent The parent widget.
Definition at line 257 of file phoneeditwidget.cpp.
PhoneEditWidget::~PhoneEditWidget | ( | ) |
Destroys the phone edit widget.
Definition at line 288 of file phoneeditwidget.cpp.
Member Function Documentation
void PhoneEditWidget::loadContact | ( | const KABC::Addressee & | contact | ) |
Loads the data from contact
to the widget.
Definition at line 306 of file phoneeditwidget.cpp.
void PhoneEditWidget::setReadOnly | ( | bool | readOnly | ) |
Sets the widget to readOnly
mode.
Definition at line 292 of file phoneeditwidget.cpp.
void PhoneEditWidget::storeContact | ( | KABC::Addressee & | contact | ) | const |
Stores the data from the widget to the contact
.
Definition at line 312 of file phoneeditwidget.cpp.
The documentation for this class was generated from the following files: