akonadi/contact
NameEditWidget Class Reference
#include <nameeditwidget.h>
Inherits QWidget.
Signals | |
void | nameChanged (const KABC::Addressee &contact) |
Public Member Functions | |
NameEditWidget (QWidget *parent=0) | |
void | loadContact (const KABC::Addressee &contact) |
void | setReadOnly (bool readOnly) |
void | storeContact (KABC::Addressee &contact) const |
Detailed Description
A widget for editing the name of a contact.
The widget will show the name in a lineedit and provides a button to open a dialog for editing of the single name components.
Definition at line 38 of file nameeditwidget.h.
Member Function Documentation
void NameEditWidget::loadContact | ( | const KABC::Addressee & | contact | ) |
- Parameters
-
contact KABC contact's addressee to load
Definition at line 66 of file nameeditwidget.cpp.
|
signal |
This signal is emitted whenever the name has been changed.
- Parameters
-
contact A dummy contact that contains only the name components.
void NameEditWidget::setReadOnly | ( | bool | readOnly | ) |
- Parameters
-
readOnly sets readonly mode
Definition at line 60 of file nameeditwidget.cpp.
void NameEditWidget::storeContact | ( | KABC::Addressee & | contact | ) | const |
- Parameters
-
contact KABC contact's addressee to store
Definition at line 75 of file nameeditwidget.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.