akonadi/contact
standardcontactgroupformatter.cpp
59 // this shouldn't be the normal case, actually the calling code should pass in an already resolved
89 strGroup.append( QString::fromLatin1( "<tr><td align=\"right\" width=\"50%\"><b><font color=\"grey\">%1</font></b></td>"
97 const QString fullEmail = QLatin1String( "<a href=\"mailto:" ) + QString::fromLatin1( KUrl::toPercentEncoding( contact.fullEmail() ) ) + QString::fromLatin1( "\">%1</a>" ).arg( contact.preferredEmail() );
99 strGroup.append( QString::fromLatin1( "<tr><td align=\"right\" width=\"50%\"><b><font color=\"grey\">%1</font></b></td>"
107 strGroup.append( QString::fromLatin1( "<tr><td colspan=\"2\"> </td></tr><tr><td align=\"right\" width=\"30%\"><b><font color=\"grey\">%1</font></b></td>"
QString & append(QChar ch)
KABC::ContactGroup contactGroup() const
Returns the contact group that will be formatted.
Definition: abstractcontactgroupformatter.cpp:52
KABC::Addressee::List contacts() const
Returns the list of contacts.
Definition: contactgroupexpandjob.cpp:162
Akonadi::Item item() const
Returns the item who's payload will be formatted.
Definition: abstractcontactgroupformatter.cpp:62
QList< QVariantMap > additionalFields() const
Returns the additional fields that will be shown.
Definition: abstractcontactgroupformatter.cpp:72
virtual ~StandardContactGroupFormatter()
Destroys the standard contact group formatter.
Definition: standardcontactgroupformatter.cpp:39
StandardContactGroupFormatter()
Creates a new standard contact group formatter.
Definition: standardcontactgroupformatter.cpp:34
virtual QString toHtml(HtmlForm form=SelfcontainedForm) const
Returns the contact group formatted as HTML.
Definition: standardcontactgroupformatter.cpp:43
Creates a div HTML element that can be embedded.
Definition: abstractcontactgroupformatter.h:54
Job that expands a ContactGroup to a list of contacts.
Definition: contactgroupexpandjob.h:64
HtmlForm
Describes the form of the HTML that is created.
Definition: abstractcontactgroupformatter.h:52
QString fromLatin1(const char *str, int size)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) 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.