MessageViewer::HeaderStyleUtil
#include <headerstyle_util.h>
Public Types | |
enum | HeaderStyleUtilDateFormat : uint8_t { ShortDate , LongDate , FancyShortDate , FancyLongDate , CustomDate } |
Public Member Functions | |
QString | directionOf (const QString &str) const |
QString | spamStatus (KMime::Message *message) const |
QString | subjectDirectionString (KMime::Message *message) const |
QString | subjectString (KMime::Message *message, KTextToHTML::Options flags=KTextToHTML::PreserveSpaces) const |
xfaceSettings | xface (const HeaderStyle *style, KMime::Message *message) const |
Static Public Member Functions | |
static QString | dateShortStr (const QDateTime &dateTime) |
static QString | dateStr (const QDateTime &dateTime) |
static QString | dateString (const QDateTime &date, HeaderStyleUtilDateFormat dateFormat) |
static QString | dateString (KMime::Message *message, HeaderStyleUtilDateFormat dateFormat) |
static MESSAGEVIEWER_DEPRECATED QSharedPointer< KMime::Headers::Generics::MailboxList > | resentFromList (KMime::Message *message) |
static MESSAGEVIEWER_DEPRECATED QSharedPointer< KMime::Headers::Generics::MailboxList > | resentToList (KMime::Message *message) |
static QString | strToHtml (const QString &str, KTextToHTML::Options flags=KTextToHTML::PreserveSpaces) |
Detailed Description
The HeaderStyleUtil class.
Definition at line 26 of file headerstyle_util.h.
Member Enumeration Documentation
◆ HeaderStyleUtilDateFormat
enum MessageViewer::HeaderStyleUtil::HeaderStyleUtilDateFormat : uint8_t |
Definition at line 41 of file headerstyle_util.h.
Member Function Documentation
◆ dateShortStr()
Definition at line 209 of file headerstyle_util.cpp.
◆ dateStr()
Definition at line 202 of file headerstyle_util.cpp.
◆ dateString() [1/2]
|
staticnodiscard |
Definition at line 51 of file headerstyle_util.cpp.
◆ dateString() [2/2]
|
staticnodiscard |
Definition at line 46 of file headerstyle_util.cpp.
◆ directionOf()
Definition at line 35 of file headerstyle_util.cpp.
◆ resentFromList()
|
staticnodiscard |
Definition at line 223 of file headerstyle_util.cpp.
◆ resentToList()
|
staticnodiscard |
Definition at line 231 of file headerstyle_util.cpp.
◆ spamStatus()
|
nodiscard |
Definition at line 101 of file headerstyle_util.cpp.
◆ strToHtml()
|
staticnodiscard |
Definition at line 40 of file headerstyle_util.cpp.
◆ subjectDirectionString()
|
nodiscard |
Definition at line 90 of file headerstyle_util.cpp.
◆ subjectString()
|
nodiscard |
Definition at line 73 of file headerstyle_util.cpp.
◆ xface()
|
nodiscard |
Definition at line 255 of file headerstyle_util.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.