akonadi/contact
#include <contactgroupeditordialog.h>
Inherits KDialog.
Public Types | |
enum | Mode { CreateMode, EditMode } |
Signals | |
void | contactGroupStored (const Akonadi::Item &group) |
Public Member Functions | |
ContactGroupEditorDialog (Mode mode, QWidget *parent=0) | |
~ContactGroupEditorDialog () | |
ContactGroupEditor * | editor () const |
void | setContactGroup (const Akonadi::Item &group) |
void | setDefaultAddressBook (const Akonadi::Collection &addressbook) |
Protected Slots | |
virtual void | slotButtonClicked (int button) |
Detailed Description
A dialog for creating or editing a contact group in Akonadi.
This dialog provides a way to create a new contact group or edit an existing contact group in Akonadi.
Example for creating a new contact group:
Example for editing an existing contact group:
- Since
- 4.4
Definition at line 75 of file contactgroupeditordialog.h.
Member Enumeration Documentation
Describes the mode of the contact group editor.
Enumerator | |
---|---|
CreateMode |
Creates a new contact group. |
EditMode |
Edits an existing contact group. |
Definition at line 83 of file contactgroupeditordialog.h.
Constructor & Destructor Documentation
Creates a new contact group editor dialog.
- Parameters
-
mode The mode of the dialog. parent The parent widget of the dialog.
Definition at line 78 of file contactgroupeditordialog.cpp.
ContactGroupEditorDialog::~ContactGroupEditorDialog | ( | ) |
Destroys the contact group editor dialog.
Definition at line 123 of file contactgroupeditordialog.cpp.
Member Function Documentation
|
signal |
This signal is emitted whenever a contact group was updated or stored.
- Parameters
-
group The contact group.
ContactGroupEditor * ContactGroupEditorDialog::editor | ( | ) | const |
Returns the ContactGroupEditor that is used by the dialog.
Definition at line 143 of file contactgroupeditordialog.cpp.
void ContactGroupEditorDialog::setContactGroup | ( | const Akonadi::Item & | group | ) |
Sets the contact group
to edit when in EditMode.
Definition at line 129 of file contactgroupeditordialog.cpp.
void ContactGroupEditorDialog::setDefaultAddressBook | ( | const Akonadi::Collection & | addressbook | ) |
Sets the addressbook
that shall be selected as default for storage in create mode.
Definition at line 134 of file contactgroupeditordialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.