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*)) );
QLayout * layout() const
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:169
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
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:70
Only fetch the base collection.
Definition: collectionfetchjob.h:62
const char * name() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
The interface for all contact group formatters.
Definition: abstractcontactgroupformatter.h:46
Only retrieve the immediate parent collection.
Definition: itemfetchscope.h:78
bool isEmpty() const
T & first()
void setMargin(int margin)
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:132
Akonadi::Item contactGroup() const
Returns the contact group that is currently displayed.
Definition: contactgroupviewer.cpp:175
QString mid(int position, int n) const
Job that expands a ContactGroup to a list of contacts.
Definition: contactgroupexpandjob.h:64
iterator insert(const Key &key, const T &value)
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
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.