messageviewer
#include <headerstyle.h>
Public Types | |
enum | Type { Brief, Plain, Fancy, Enterprise, Mobile, MobileExtended, Custom, Grantlee } |
Public Member Functions | |
bool | allowAsync () const |
virtual QString | format (KMime::Message *message) const =0 |
virtual bool | hasAttachmentQuickList () const |
const HeaderStrategy * | headerStrategy () const |
bool | isPrinting () const |
bool | isTopLevel () const |
QString | messagePath () const |
Akonadi::MessageStatus | messageStatus () const |
virtual const char * | name () const =0 |
NodeHelper * | nodeHelper () const |
void | setAllowAsync (bool allowAsync) |
void | setHeaderStrategy (const HeaderStrategy *strategy) |
void | setMessagePath (const QString &path) |
void | setMessageStatus (const Akonadi::MessageStatus &status) |
void | setNodeHelper (NodeHelper *nodeHelper) |
void | setPrinting (bool printing) |
void | setSourceObject (QObject *sourceObject) |
void | setTheme (const GrantleeTheme::Theme &theme) |
void | setTopLevel (bool topLevel) |
void | setVCardName (const QString &vCardName) |
QObject * | sourceObject () const |
GrantleeTheme::Theme | theme () const |
QString | vCardName () const |
Static Public Member Functions | |
static HeaderStyle * | brief () |
static HeaderStyle * | create (Type type) |
static HeaderStyle * | create (const QString &type) |
static HeaderStyle * | custom () |
static HeaderStyle * | enterprise () |
static HeaderStyle * | fancy () |
static HeaderStyle * | grantlee () |
static HeaderStyle * | mobile () |
static HeaderStyle * | mobileExtended () |
static HeaderStyle * | plain () |
Protected Member Functions | |
HeaderStyle () | |
virtual | ~HeaderStyle () |
Detailed Description
This class encapsulates the visual appearance of message headers.
Together with HeaderStrategy, which determines which of the headers present in the message be shown, it is responsible for the formatting of message headers.
Encapsulates visual appearance of message headers.
- See also
- HeaderStrategy
Definition at line 60 of file headerstyle.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Brief | |
Plain | |
Fancy | |
Enterprise | |
Mobile | |
MobileExtended | |
Custom | |
Grantlee |
Definition at line 69 of file headerstyle.h.
Constructor & Destructor Documentation
|
protected |
Definition at line 59 of file headerstyle.cpp.
|
protectedvirtual |
Definition at line 69 of file headerstyle.cpp.
Member Function Documentation
|
inline |
Definition at line 124 of file headerstyle.h.
|
static |
Definition at line 117 of file headerstyle.cpp.
|
static |
Definition at line 78 of file headerstyle.cpp.
|
static |
Definition at line 93 of file headerstyle.cpp.
|
static |
Definition at line 153 of file headerstyle.cpp.
|
static |
Definition at line 135 of file headerstyle.cpp.
|
static |
Definition at line 129 of file headerstyle.cpp.
|
pure virtual |
|
static |
Definition at line 159 of file headerstyle.cpp.
|
virtual |
Reimplemented in MessageViewer::GrantleeHeaderTestStyle, MessageViewer::GrantleeHeaderStyle, MessageViewer::EnterpriseHeaderStyle, and MessageViewer::FancyHeaderStyle.
Definition at line 73 of file headerstyle.cpp.
|
inline |
Definition at line 109 of file headerstyle.h.
|
inline |
Definition at line 115 of file headerstyle.h.
|
inline |
Definition at line 118 of file headerstyle.h.
|
inline |
Definition at line 106 of file headerstyle.h.
|
inline |
Definition at line 130 of file headerstyle.h.
|
static |
Definition at line 141 of file headerstyle.cpp.
|
static |
Definition at line 147 of file headerstyle.cpp.
|
pure virtual |
Implemented in MessageViewer::BriefHeaderStyle, MessageViewer::MobileExtendedHeaderStyle, MessageViewer::GrantleeHeaderStyle, MessageViewer::GrantleeHeaderTestStyle, MessageViewer::CustomHeaderStyle, MessageViewer::EnterpriseHeaderStyle, MessageViewer::FancyHeaderStyle, MessageViewer::PlainHeaderStyle, and MessageViewer::MobileHeaderStyle.
|
inline |
Definition at line 121 of file headerstyle.h.
|
static |
Definition at line 123 of file headerstyle.cpp.
|
inline |
Definition at line 123 of file headerstyle.h.
|
inline |
Definition at line 108 of file headerstyle.h.
|
inline |
Definition at line 105 of file headerstyle.h.
|
inline |
Definition at line 129 of file headerstyle.h.
|
inline |
Definition at line 120 of file headerstyle.h.
|
inline |
Definition at line 114 of file headerstyle.h.
|
inline |
Definition at line 126 of file headerstyle.h.
|
inline |
Definition at line 132 of file headerstyle.h.
|
inline |
Definition at line 117 of file headerstyle.h.
|
inline |
Definition at line 111 of file headerstyle.h.
|
inline |
Definition at line 127 of file headerstyle.h.
|
inline |
Definition at line 133 of file headerstyle.h.
|
inline |
Definition at line 112 of file headerstyle.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.