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*)) );
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
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
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)
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
void setMargin(int margin)
void setContactGroup(const KABC::ContactGroup &group)
Sets the contact group that will be formatted.
Definition: abstractcontactgroupformatter.cpp:47
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
void insert(int i, 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:19 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:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.