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:185
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:175
QString displayName() const
Returns the display name (EntityDisplayAttribute::displayName()) if set, and Collection::name() other...
Definition: collection.cpp:86
ContactGroupViewer(QWidget *parent=0)
Creates a new contact group viewer.
Definition: contactgroupviewer.cpp:152
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:162
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
The interface for all contact group formatters.
Definition: abstractcontactgroupformatter.h:46
Only retrieve the immediate parent collection.
Definition: itemfetchscope.h:77
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:128
Akonadi::Item contactGroup() const
Returns the contact group that is currently displayed.
Definition: contactgroupviewer.cpp:175
Job that expands a ContactGroup to a list of contacts.
Definition: contactgroupexpandjob.h:64
void setContactGroup(const Akonadi::Item &group)
Sets the contact group that shall be displayed in the viewer.
Definition: contactgroupviewer.cpp:180
A viewer component for contact groups in Akonadi.
Definition: contactgroupviewer.h:57
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.