kmail
KMail::HeaderStyle Class Reference
This class encapsulates the visual appearance of message headers. More...
#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 QString | format (const KMMessage *message, const KMail::HeaderStrategy *strategy, const QString &vCardName, bool printing=false, bool topLevel=false) const =0 |
virtual const char * | name () const =0 |
virtual const HeaderStyle * | next () const =0 |
virtual const HeaderStyle * | prev () const =0 |
Static Public Member Functions | |
static const HeaderStyle * | brief () |
static const HeaderStyle * | create (const QString &type) |
static const HeaderStyle * | create (Type type) |
static const HeaderStyle * | enterprise () |
static const HeaderStyle * | fancy () |
static const 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 51 of file headerstyle.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
KMail::HeaderStyle::HeaderStyle | ( | ) | [protected] |
Definition at line 923 of file headerstyle.cpp.
KMail::HeaderStyle::~HeaderStyle | ( | ) | [protected, virtual] |
Definition at line 927 of file headerstyle.cpp.
Member Function Documentation
const HeaderStyle * KMail::HeaderStyle::brief | ( | ) | [static] |
Definition at line 959 of file headerstyle.cpp.
const HeaderStyle * KMail::HeaderStyle::create | ( | const QString & | type | ) | [static] |
Definition at line 943 of file headerstyle.cpp.
const HeaderStyle * KMail::HeaderStyle::create | ( | Type | type | ) | [static] |
Definition at line 931 of file headerstyle.cpp.
const HeaderStyle * KMail::HeaderStyle::enterprise | ( | ) | [static] |
Definition at line 977 of file headerstyle.cpp.
const HeaderStyle * KMail::HeaderStyle::fancy | ( | ) | [static] |
Definition at line 971 of file headerstyle.cpp.
virtual QString KMail::HeaderStyle::format | ( | const KMMessage * | message, | |
const KMail::HeaderStrategy * | strategy, | |||
const QString & | vCardName, | |||
bool | printing = false , |
|||
bool | topLevel = false | |||
) | const [pure virtual] |
virtual const char* KMail::HeaderStyle::name | ( | ) | const [pure virtual] |
virtual const HeaderStyle* KMail::HeaderStyle::next | ( | ) | const [pure virtual] |
const HeaderStyle * KMail::HeaderStyle::plain | ( | ) | [static] |
Definition at line 965 of file headerstyle.cpp.
virtual const HeaderStyle* KMail::HeaderStyle::prev | ( | ) | const [pure virtual] |
The documentation for this class was generated from the following files: