kaddressbook
KAB::ContactEditorWidget Class Reference
Inheritance diagram for KAB::ContactEditorWidget:

Detailed Description
Definition at line 37 of file contacteditorwidget.h.
Public Types | |
typedef QValueList< ContactEditorWidget * > | List |
Public Slots | |
void | setModified (bool modified) |
void | setModified () |
Signals | |
void | changed () |
Public Member Functions | |
ContactEditorWidget (KABC::AddressBook *ab, QWidget *parent, const char *name=0) | |
~ContactEditorWidget () | |
virtual int | logicalHeight () const |
virtual int | logicalWidth () const |
virtual void | loadContact (KABC::Addressee *addr)=0 |
virtual void | storeContact (KABC::Addressee *addr)=0 |
virtual void | setReadOnly (bool readOnly)=0 |
bool | modified () const |
Protected Member Functions | |
KABC::AddressBook * | addressBook () const |
Member Function Documentation
|
Returns a pointer to the address book object.
Definition at line 38 of file contacteditorwidget.cpp. |
|
Emitted whenever the page has changed, do not emit it directly, use setModified() instead.
|
|
Load the contacts data into the GUI.
Implemented in AdvancedCustomFields, CustomFieldsWidget, CryptoWidget, FreeBusyWidget, GeoWidget, ImageWidget, and SoundWidget. |
|
Return logical height of the widget. This is used to calculate how much vertical space relative to other widgets this widget will use in the summary view. Definition at line 52 of file contacteditorwidget.h. |
|
Return logical wide of the widget. This is used to calculate how much horizontal space relative to other widgets this widget will use in the summary view. Reimplemented in ImageWidget. Definition at line 59 of file contacteditorwidget.h. |
|
Returns whether this widget was modified.
Definition at line 43 of file contacteditorwidget.cpp. |
|
Call this slot whenever the data were changed by the user. It will emit the changed() signal and set the modified property.
Definition at line 53 of file contacteditorwidget.cpp. |
|
Sets whether the contact should be presented as read-only. You should update your GUI in the reimplemented method. Implemented in AdvancedCustomFields, CustomFieldsWidget, CryptoWidget, FreeBusyWidget, GeoWidget, ImageWidget, and SoundWidget. |
|
Save the data from the GUI into the passed contact object.
Implemented in AdvancedCustomFields, CustomFieldsWidget, CryptoWidget, FreeBusyWidget, GeoWidget, ImageWidget, and SoundWidget. |
The documentation for this class was generated from the following files: