akonadi
contacteditor.cpp
50 Private( ContactEditor::Mode mode, ContactEditor::DisplayMode displayMode, AbstractContactEditorWidget *editorWidget, ContactEditor *parent )
57 mEditorWidget = new ContactEditorWidget(displayMode == FullMode ? ContactEditorWidget::FullMode : ContactEditorWidget::VCardMode, 0);
113 Akonadi::CollectionFetchJob *collectionFetchJob = new Akonadi::CollectionFetchJob( mItem.parentCollection(),
168 dlg->setInformativeText( i18n( "The contact has been changed by someone else.\nWhat should be done?" ) );
184void ContactEditor::Private::loadContact( const KABC::Addressee &addr, const ContactMetaData &metaData )
209ContactEditor::ContactEditor( Mode mode, AbstractContactEditorWidget *editorWidget, QWidget *parent )
227 Q_ASSERT_X( false, "ContactEditor::loadContact", "You are calling loadContact in CreateMode!" );
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:54
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:169
Rights rights() const
Returns the rights the user has on the collection.
Definition: collection.cpp:99
void setContactTemplate(const KABC::Addressee &contact)
Sets a contact that is used as template in create mode.
Definition: contacteditor.cpp:349
AKONADI_CONTACT_DEPRECATED bool saveContact()
Saves the contact from the editor back to the storage.
Definition: contacteditor.cpp:296
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
ContactEditor(Mode mode, QWidget *parent=0)
Creates a new contact editor with the standard editor widget.
Definition: contacteditor.cpp:204
void loadContact(const Akonadi::Item &contact)
Loads the contact into the editor.
Definition: contacteditor.cpp:224
Attribute to store contact specific meta data.
Definition: contactmetadataattribute_p.h:39
A helper class for storing contact specific settings.
Definition: contactmetadata_p.h:37
Job that creates a new item in the Akonadi storage.
Definition: itemcreatejob.h:74
void fetchAttribute(const QByteArray &type, bool fetch=true)
Sets whether the attribute of the given type should be fetched.
Definition: itemfetchscope.cpp:80
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval.
Definition: itemfetchscope.cpp:132
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:70
Job that modifies an existing item in the Akonadi storage.
Definition: itemmodifyjob.h:98
void ignoreSession(Session *session)
Ignores all change notifications caused by the given session.
Definition: monitor.cpp:206
static Session * defaultSession()
Returns the default session for this thread.
Definition: session.cpp:496
A QPointer which when destructed, deletes the object it points to.
Definition: autoqpointer_p.h:35
This file is part of the KDE documentation.
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
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.