kaddressbook

ImageWidget Class Reference

Inheritance diagram for ImageWidget:

KAB::ContactEditorWidget List of all members.

Detailed Description

Definition at line 148 of file imagewidget.h.


Public Member Functions

 ImageWidget (KABC::AddressBook *ab, QWidget *parent, const char *name=0)
void loadContact (KABC::Addressee *addr)
void storeContact (KABC::Addressee *addr)
void setReadOnly (bool readOnly)
int logicalWidth () const

Member Function Documentation

void ImageWidget::loadContact ( KABC::Addressee *  addr  )  [virtual]

Load the contacts data into the GUI.

Implements KAB::ContactEditorWidget.

Definition at line 381 of file imagewidget.cpp.

void ImageWidget::storeContact ( KABC::Addressee *  addr  )  [virtual]

Save the data from the GUI into the passed contact object.

Implements KAB::ContactEditorWidget.

Definition at line 388 of file imagewidget.cpp.

void ImageWidget::setReadOnly ( bool  readOnly  )  [virtual]

Sets whether the contact should be presented as read-only.

You should update your GUI in the reimplemented method.

Implements KAB::ContactEditorWidget.

Definition at line 394 of file imagewidget.cpp.

int ImageWidget::logicalWidth (  )  const [inline, virtual]

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 from KAB::ContactEditorWidget.

Definition at line 157 of file imagewidget.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys