akonadi/contact
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*)) );
The interface for all contact group formatters.
Definition abstractcontactgroupformatter.h:47
void setContactGroup(const KABC::ContactGroup &group)
Sets the contact group that will be formatted.
Definition abstractcontactgroupformatter.cpp:47
virtual QString toHtml(HtmlForm form=SelfcontainedForm) const =0
This method must be reimplemented to return the contact group formatted as HTML according to the requ...
void setAdditionalFields(const QList< QVariantMap > &fields)
Sets the additional fields that will be shown.
Definition abstractcontactgroupformatter.cpp:67
Job that expands a ContactGroup to a list of contacts.
Definition contactgroupexpandjob.h:65
A viewer component for contact groups in Akonadi.
Definition contactgroupviewer.h:58
void emailClicked(const QString &name, const QString &email)
This signal is emitted whenever the user has clicked on an email address in the viewer.
void setContactGroup(const Akonadi::Item &group)
Sets the contact group that shall be displayed in the viewer.
Definition contactgroupviewer.cpp:180
void setContactGroupFormatter(AbstractContactGroupFormatter *formatter)
Sets the contact group formatter that should be used for formatting the contact group.
Definition contactgroupviewer.cpp:185
Akonadi::Item contactGroup() const
Returns the contact group that is currently displayed.
Definition contactgroupviewer.cpp:175
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:54
A convenience class to remove the 'Copy Link Location' action from the context menu of KTextBrowser.
Definition textbrowser_p.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.