akonadi
contactgroupviewer.cpp
53 static QPixmap groupPixmap = KIcon( QLatin1String( "x-mail-distribution-list" ) ).pixmap( QSize( 100, 100 ) );
115 mParent->disconnect( mParentCollectionFetchJob, SIGNAL(result(KJob*)), mParent, SLOT(slotParentCollectionFetched(KJob*)) );
120 mParentCollectionFetchJob = new CollectionFetchJob( mCurrentItem.parentCollection(), CollectionFetchJob::Base, mParent );
121 mParent->connect( mParentCollectionFetchJob, SIGNAL(result(KJob*)), SLOT(slotParentCollectionFetched(KJob*)) );
void setContactGroupFormatter(AbstractContactGroupFormatter *formatter)
Sets the contact group formatter that should be used for formatting the contact group.
Definition: contactgroupviewer.cpp:189
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:164
ContactGroupViewer(QWidget *parent=0)
Creates a new contact group viewer.
Definition: contactgroupviewer.cpp:156
A class that formats a contact group as HTML code.
Definition: standardcontactgroupformatter.h:53
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:53
KABC::Addressee::List contacts() const
Returns the list of contacts.
Definition: contactgroupexpandjob.cpp:156
A convenience class to remove the 'Copy Link Location' action from the context menu of KTextBrowser...
Definition: textbrowser_p.h:34
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
The interface for all contact group formatters.
Definition: abstractcontactgroupformatter.h:46
Only retrieve the immediate parent collection.
Definition: itemfetchscope.h:76
void setContactGroup(const KABC::ContactGroup &group)
Sets the contact group that will be formatted.
Definition: abstractcontactgroupformatter.cpp:47
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval. ...
Definition: itemfetchscope.cpp:116
Akonadi::Item contactGroup() const
Returns the contact group that is currently displayed.
Definition: contactgroupviewer.cpp:179
Job that expands a ContactGroup to a list of contacts.
Definition: contactgroupexpandjob.h:64
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
void setContactGroup(const Akonadi::Item &group)
Sets the contact group that shall be displayed in the viewer.
Definition: contactgroupviewer.cpp:184
A viewer component for contact groups in Akonadi.
Definition: contactgroupviewer.h:57
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Sep 8 2021 11:22:51 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Sep 8 2021 11:22:51 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.