#include <headerstyle.h>
Inherited by KMail::BriefHeaderStyle, KMail::EnterpriseHeaderStyle, KMail::FancyHeaderStyle, and KMail::PlainHeaderStyle.
Public Types | |
enum | Type { Brief , Plain , Fancy , Enterprise } |
Public Member Functions | |
virtual const char * | name () const =0 |
virtual const HeaderStyle * | next () const =0 |
virtual const HeaderStyle * | prev () const =0 |
virtual TQString | format (const KMMessage *message, const KMail::HeaderStrategy *strategy, const TQString &vCardName, bool printing=false, bool topLevel=false) const =0 |
Static Public Member Functions | |
static const HeaderStyle * | create (Type type) |
static const HeaderStyle * | create (const TQString &type) |
static const HeaderStyle * | brief () |
static const HeaderStyle * | plain () |
static const HeaderStyle * | fancy () |
static const HeaderStyle * | enterprise () |
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 51 of file headerstyle.h.
Member Enumeration Documentation
◆ Type
enum KMail::HeaderStyle::Type |
Definition at line 60 of file headerstyle.h.
Constructor & Destructor Documentation
◆ HeaderStyle()
|
protected |
Definition at line 1060 of file headerstyle.cpp.
◆ ~HeaderStyle()
|
protectedvirtual |
Definition at line 1064 of file headerstyle.cpp.
Member Function Documentation
◆ brief()
|
static |
Definition at line 1096 of file headerstyle.cpp.
◆ create() [1/2]
|
static |
Definition at line 1080 of file headerstyle.cpp.
◆ create() [2/2]
|
static |
Definition at line 1068 of file headerstyle.cpp.
◆ enterprise()
|
static |
Definition at line 1114 of file headerstyle.cpp.
◆ fancy()
|
static |
Definition at line 1108 of file headerstyle.cpp.
◆ plain()
|
static |
Definition at line 1102 of file headerstyle.cpp.
The documentation for this class was generated from the following files: