Akonadi Contacts
standardcontactgroupformatter.cpp
44 // this shouldn't be the normal case, actually the calling code should pass in an already resolved
74 strGroup.append(QStringLiteral("<tr><td align=\"right\" width=\"50%\"><b><font color=\"grey\">%1</font></b></td>"
82 const QString fullEmail = QLatin1StringView("<a href=\"mailto:") + QString::fromLatin1(QUrl::toPercentEncoding(contact.fullEmail()))
85 strGroup.append(QStringLiteral("<tr><td align=\"right\" width=\"50%\"><b><font color=\"grey\">%1</font></b></td>"
93 strGroup.append(QStringLiteral("<tr><td colspan=\"2\"> </td></tr><tr><td align=\"right\" width=\"30%\"><b><font color=\"grey\">%1</font></b></td>"
QList< QVariantMap > additionalFields() const
Returns the additional fields that will be shown.
Definition abstractcontactgroupformatter.cpp:56
Akonadi::Item item() const
Returns the item who's payload will be formatted.
Definition abstractcontactgroupformatter.cpp:46
KContacts::ContactGroup contactGroup() const
Returns the contact group that will be formatted.
Definition abstractcontactgroupformatter.cpp:36
HtmlForm
Describes the form of the HTML that is created.
Definition abstractcontactgroupformatter.h:43
@ EmbeddableForm
Creates a div HTML element that can be embedded.
Definition abstractcontactgroupformatter.h:45
Job that expands a ContactGroup to a list of contacts.
Definition contactgroupexpandjob.h:55
bool hasPayload() const
T payload() const
bool isValid() const
QString toHtml(HtmlForm form=SelfcontainedForm) const override
Returns the contact group formatted as HTML.
Definition standardcontactgroupformatter.cpp:28
StandardContactGroupFormatter()
Creates a new standard contact group formatter.
Definition standardcontactgroupformatter.cpp:21
~StandardContactGroupFormatter() override
Destroys the standard contact group formatter.
void addEmail(const Email &email)
AddresseeList List
QString preferredEmail() const
QString realName() const
QString fullEmail(const QString &email=QString()) const
void setFormattedName(const QString &formattedName)
QString name() const
QString email() const
int contactReferenceCount() const
Data & data(int index)
void append(const ContactGroupReference &reference)
int count() const
void removeAllContactData()
QString name() const
int dataCount() const
A widget for editing the display name of a contact.
Active
QString & append(QChar ch)
QString arg(Args &&... args) const const
QString fromLatin1(QByteArrayView str)
bool isEmpty() const const
QByteArray toPercentEncoding(const QString &input, const QByteArray &exclude, const QByteArray &include)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.