Akonadi Contacts
contactgroupeditor.h
40 * ContactGroupEditor *editor = new ContactGroupEditor( Akonadi::ContactGroupEditor::CreateMode, this );
57 * ContactGroupEditor *editor = new ContactGroupEditor( Akonadi::ContactGroupEditor::EditMode, this );
A dialog for creating or editing a contact group in Akonadi.
Definition contactgroupeditordialog.h:63
An widget to edit contact groups in Akonadi.
Definition contactgroupeditor.h:73
void contactGroupStored(const Akonadi::Item &group)
This signal is emitted when the contact group has been saved back to the storage.
void setContactGroupTemplate(const KContacts::ContactGroup &group)
Sets a contact group that is used as template in create mode.
Definition contactgroupeditor.cpp:321
bool saveContactGroup()
Saves the contact group from the editor back to the storage.
Definition contactgroupeditor.cpp:261
void error(const QString &errorMsg)
This signal is emitted when an error occurred during the save.
void setDefaultAddressBook(const Akonadi::Collection &addressbook)
Sets the addressbook which shall be used to store new contact groups.
Definition contactgroupeditor.cpp:328
ContactGroupEditor(Mode mode, QWidget *parent=nullptr)
Creates a new contact group editor.
Definition contactgroupeditor.cpp:208
void loadContactGroup(const Akonadi::Item &group)
Loads the contact group into the editor.
Definition contactgroupeditor.cpp:241
~ContactGroupEditor() override
Destroys the contact group editor.
A widget for editing the display name of a contact.
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.