akonadi
#include <displaynameeditwidget.h>
Inherits QWidget.
Public Types | |
enum | DisplayType { SimpleName , FullName , ReverseNameWithComma , ReverseName , Organization , CustomName } |
Public Slots | |
void | changeName (const KABC::Addressee &contact) |
void | changeOrganization (const QString &organization) |
Public Member Functions | |
DisplayNameEditWidget (QWidget *parent=0) | |
DisplayType | displayType () const |
void | loadContact (const KABC::Addressee &contact) |
void | setDisplayType (DisplayType type) |
void | setReadOnly (bool readOnly) |
void | storeContact (KABC::Addressee &contact) const |
Protected Member Functions | |
virtual bool | eventFilter (QObject *object, QEvent *event) |
Detailed Description
A widget for editing the display name of a contact.
The widget will either use a predefined schema for formatting the name or a custom one.
Definition at line 37 of file displaynameeditwidget.h.
Member Enumeration Documentation
◆ DisplayType
Describes what the display name should look like.
Definition at line 45 of file displaynameeditwidget.h.
Constructor & Destructor Documentation
◆ DisplayNameEditWidget()
|
explicit |
Definition at line 112 of file displaynameeditwidget.cpp.
◆ ~DisplayNameEditWidget()
DisplayNameEditWidget::~DisplayNameEditWidget | ( | ) |
Definition at line 138 of file displaynameeditwidget.cpp.
Member Function Documentation
◆ changeName
|
slot |
Definition at line 178 of file displaynameeditwidget.cpp.
◆ changeOrganization
|
slot |
Definition at line 190 of file displaynameeditwidget.cpp.
◆ displayType()
DisplayNameEditWidget::DisplayType DisplayNameEditWidget::displayType | ( | ) | const |
Definition at line 159 of file displaynameeditwidget.cpp.
◆ eventFilter()
|
protectedvirtual |
Definition at line 204 of file displaynameeditwidget.cpp.
◆ loadContact()
void DisplayNameEditWidget::loadContact | ( | const KABC::Addressee & | contact | ) |
Definition at line 164 of file displaynameeditwidget.cpp.
◆ setDisplayType()
void DisplayNameEditWidget::setDisplayType | ( | DisplayType | type | ) |
Definition at line 147 of file displaynameeditwidget.cpp.
◆ setReadOnly()
void DisplayNameEditWidget::setReadOnly | ( | bool | readOnly | ) |
Definition at line 142 of file displaynameeditwidget.cpp.
◆ storeContact()
void DisplayNameEditWidget::storeContact | ( | KABC::Addressee & | contact | ) | const |
Definition at line 173 of file displaynameeditwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.