kmail

KMail::HeaderStyle Class Reference

#include <headerstyle.h>

List of all members.


Detailed Description

This class encapsulates the visual appearance of message headers.Encapsulates 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.

Author:
Marc Mutz <mutz@kde.org>
See also:
HeaderStrategy

Definition at line 51 of file headerstyle.h.


Public Types

enum  Type { Brief, Plain, Fancy }

Public Member Functions

virtual const char * name () const=0
virtual const HeaderStyle * next () const=0
virtual const HeaderStyle * prev () const=0
virtual QString format (const KMMessage *message, const KMail::HeaderStrategy *strategy, const QString &vCardName, bool printing=false) const =0

Static Public Member Functions

static const HeaderStyle * create (Type type)
static const HeaderStyle * create (const QString &type)
static const HeaderStyle * brief ()
static const HeaderStyle * plain ()
static const HeaderStyle * fancy ()

Protected Member Functions

 HeaderStyle ()
virtual ~HeaderStyle ()

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys