messageviewer
messageheaderfilter.cpp
Go to the documentation of this file.
24 QVariant MessageHeaderEmailShowLink::doFilter(const QVariant &input, const QVariant &argument, bool autoescape) const
28 const KMime::Types::Mailbox::List mailboxes = MessageCore::StringUtil::mailboxListFromUnicodeString( Grantlee::getSafeString(input) );
29 return MessageCore::StringUtil::emailAddrAsAnchor( mailboxes, MessageCore::StringUtil::DisplayFullAddress, QString(), MessageCore::StringUtil::ShowLink );
37 QVariant MessageHeaderEmailNameOnly::doFilter(const QVariant &input, const QVariant &argument, bool autoescape) const
41 const KMime::Types::Mailbox::List mailboxes = MessageCore::StringUtil::mailboxListFromUnicodeString( Grantlee::getSafeString(input) );
42 return MessageCore::StringUtil::emailAddrAsAnchor( mailboxes, MessageCore::StringUtil::DisplayNameOnly );
50 QVariant MessageHeaderEmailExpandable::doFilter(const QVariant &input, const QVariant &argument, bool autoescape) const
55 const QVariant val = MessageCore::StringUtil::emailAddrAsAnchor( input.value<KMime::Headers::Cc *>(), MessageCore::StringUtil::DisplayFullAddress, QString(), MessageCore::StringUtil::ShowLink,
60 const QVariant val = MessageCore::StringUtil::emailAddrAsAnchor( input.value<KMime::Headers::To *>(), MessageCore::StringUtil::DisplayFullAddress, QString(), MessageCore::StringUtil::ShowLink,
65 const QVariant val = MessageCore::StringUtil::emailAddrAsAnchor( input.value<KMime::Headers::Bcc *>(), MessageCore::StringUtil::DisplayFullAddress, QString(), MessageCore::StringUtil::ShowLink,
QVariant doFilter(const QVariant &input, const QVariant &argument=QVariant(), bool autoescape=false) const
Definition: messageheaderfilter.cpp:37
T value() const
QVariant doFilter(const QVariant &input, const QVariant &argument=QVariant(), bool autoescape=false) const
Definition: messageheaderfilter.cpp:50
QVariant doFilter(const QVariant &input, const QVariant &argument=QVariant(), bool autoescape=false) const
Definition: messageheaderfilter.cpp:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 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:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.