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
◆ Mode
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
◆ ContactGroupEditorDialog()
|
explicit |
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::~ContactGroupEditorDialog | ( | ) |
Destroys the contact group editor dialog.
Definition at line 123 of file contactgroupeditordialog.cpp.
Member Function Documentation
◆ contactGroupStored
|
signal |
This signal is emitted whenever a contact group was updated or stored.
- Parameters
-
group The contact group.
◆ editor()
ContactGroupEditor * ContactGroupEditorDialog::editor | ( | ) | const |
Returns the ContactGroupEditor that is used by the dialog.
Definition at line 143 of file contactgroupeditordialog.cpp.
◆ setContactGroup()
void ContactGroupEditorDialog::setContactGroup | ( | const Akonadi::Item & | group | ) |
Sets the contact group
to edit when in EditMode.
Definition at line 129 of file contactgroupeditordialog.cpp.
◆ setDefaultAddressBook()
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.
◆ slotButtonClicked
|
protectedvirtualslot |
Definition at line 148 of file contactgroupeditordialog.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.