akonadi
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 combobox for selecting an Akonadi collection.
Definition collectioncombobox.h:63
void setMimeTypeFilter(const QStringList &mimetypes)
Sets the content mimetypes the collections shall be filtered by.
Definition collectioncombobox.cpp:183
void setAccessRightsFilter(Collection::Rights rights)
Sets the access rights the collections shall be filtered by.
Definition collectioncombobox.cpp:200
Akonadi::Collection currentCollection() const
Returns the current selection.
Definition collectioncombobox.cpp:215
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.