akonadi
contactviewer.cpp
76 void updateView( const QVariantList &localCustomFieldDescriptions = QVariantList(), const QString &addressBookName = QString() )
78 static QPixmap defaultPixmap = KIcon( QLatin1String( "user-identity" ) ).pixmap( QSize( 100, 100 ) );
122 const CustomField::List globalCustomFields = CustomFieldManager::globalCustomFieldDescriptions();
133 contact.insertCustom( QLatin1String( "KADDRESSBOOK" ), QLatin1String( "AddressBook" ), addressBookName );
290 disconnect( d->mParentCollectionFetchJob, SIGNAL(result(KJob*)), this, SLOT(slotParentCollectionFetched(KJob*)) );
295 d->mParentCollectionFetchJob = new CollectionFetchJob( contactItem.parentCollection(), CollectionFetchJob::Base, this );
296 connect( d->mParentCollectionFetchJob, SIGNAL(result(KJob*)), SLOT(slotParentCollectionFetched(KJob*)) );
void load(const Akonadi::Item &contact)
Loads the meta data for the given contact.
Definition: contactmetadata.cpp:52
void fetchAttribute(const QByteArray &type, bool fetch=true)
Sets whether the attribute of the given type should be fetched.
Definition: itemfetchscope.cpp:78
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:164
Attribute to store contact specific meta data.
Definition: contactmetadataattribute_p.h:38
Akonadi::Item contact() const
Returns the contact that is currently displayed.
Definition: contactviewer.cpp:248
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:53
A convenience class to remove the 'Copy Link Location' action from the context menu of KTextBrowser...
Definition: textbrowser_p.h:34
QVariantList customFieldDescriptions() const
Returns the descriptions of the custom fields of the contact.
Definition: contactmetadata.cpp:101
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:68
Only fetch the base collection.
Definition: collectionfetchjob.h:62
Attribute * attribute(const QByteArray &name) const
Returns the attribute of the given type name if available, 0 otherwise.
Definition: entity.cpp:166
A helper class for storing contact specific settings.
Definition: contactmetadata_p.h:36
Only retrieve the immediate parent collection.
Definition: itemfetchscope.h:76
void setContact(const Akonadi::Item &contact)
Sets the contact that shall be displayed in the viewer.
Definition: contactviewer.cpp:267
void setContactFormatter(AbstractContactFormatter *formatter)
Sets the contact formatter that should be used for formatting the contact.
Definition: contactviewer.cpp:258
A class that formats a contact as HTML code.
Definition: standardcontactformatter.h:53
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval. ...
Definition: itemfetchscope.cpp:116
bool hasAttribute(const QByteArray &name) const
Returns true if the entity has an attribute of the given type name, false otherwise.
Definition: entity.cpp:147
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:39
The interface for all contact formatters.
Definition: abstractcontactformatter.h:46
KABC::Addressee rawContact() const
Returns the raw contact that is currently displayed.
Definition: contactviewer.cpp:253
void setRawContact(const KABC::Addressee &contact)
Sets the raw contact object that shall be displayed in the viewer.
Definition: contactviewer.cpp:272
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Wed Nov 25 2015 21:42:12 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2015 The KDE developers.
Generated on Wed Nov 25 2015 21:42:12 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.