akonadi/contact
contacteditordialog.cpp
43 Private( ContactEditorDialog::Mode mode, ContactEditorDialog::DisplayMode displaymode, AbstractContactEditorWidget *editorWidget,
48 q->setCaption( mode == ContactEditorDialog::CreateMode ? i18n( "New Contact" ) : i18n( "Edit Contact" ) );
57 mEditor = new ContactEditor( mode == ContactEditorDialog::CreateMode ? ContactEditor::CreateMode : ContactEditor::EditMode, editorWidget, q );
59 mEditor = new ContactEditor( mode == ContactEditorDialog::CreateMode ? ContactEditor::CreateMode : ContactEditor::EditMode, displaymode == ContactEditorDialog::FullMode ? ContactEditor::FullMode : ContactEditor::VCardMode, q );
136ContactEditorDialog::ContactEditorDialog( Mode mode, AbstractContactEditorWidget *editorWidget, QWidget *parent )
A dialog for creating or editing a contact in Akonadi.
Definition contacteditordialog.h:78
void setContact(const Akonadi::Item &contact)
Sets the contact to edit when in EditMode.
Definition contacteditordialog.cpp:152
ContactEditorDialog(Mode mode, QWidget *parent=0)
Creates a new contact editor dialog with the standard editor widget.
Definition contacteditordialog.cpp:131
ContactEditor * editor() const
Returns the ContactEditor that is used by this dialog.
Definition contacteditordialog.cpp:166
void error(const QString &errMsg)
This signal is emitted whenever a contact is not updated or stored.
void setDefaultAddressBook(const Akonadi::Collection &addressbook)
Sets the addressbook that shall be selected as default in create mode.
Definition contacteditordialog.cpp:157
void contactStored(const Akonadi::Item &contact)
This signal is emitted whenever a contact was updated or stored.
void setDefaultAddressBook(const Akonadi::Collection &addressbook)
Sets the addressbook which shall be used to store new contacts.
Definition contacteditor.cpp:354
void saveContactInAddressBook()
Save the contact from the editor back to the storage.
Definition contacteditor.cpp:248
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.