• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kmail

KMail::HeaderStyle

KMail::HeaderStyle Class Reference

#include <headerstyle.h>

Inherited by KMail::BriefHeaderStyle, KMail::EnterpriseHeaderStyle, KMail::FancyHeaderStyle, and KMail::PlainHeaderStyle.

List of all members.


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.

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

Definition at line 51 of file headerstyle.h.


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 ()

Member Enumeration Documentation

enum KMail::HeaderStyle::Type

Enumerator:
Brief 
Plain 
Fancy 
Enterprise 

Definition at line 60 of file headerstyle.h.


Constructor & Destructor Documentation

KMail::HeaderStyle::HeaderStyle (  )  [protected]

Definition at line 854 of file headerstyle.cpp.

KMail::HeaderStyle::~HeaderStyle (  )  [protected, virtual]

Definition at line 858 of file headerstyle.cpp.


Member Function Documentation

const HeaderStyle * KMail::HeaderStyle::brief (  )  [static]

Definition at line 890 of file headerstyle.cpp.

const HeaderStyle * KMail::HeaderStyle::create ( const QString &  type  )  [static]

Definition at line 874 of file headerstyle.cpp.

const HeaderStyle * KMail::HeaderStyle::create ( Type  type  )  [static]

Definition at line 862 of file headerstyle.cpp.

const HeaderStyle * KMail::HeaderStyle::enterprise (  )  [static]

Definition at line 908 of file headerstyle.cpp.

const HeaderStyle * KMail::HeaderStyle::fancy (  )  [static]

Definition at line 902 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 896 of file headerstyle.cpp.

virtual const HeaderStyle* KMail::HeaderStyle::prev (  )  const [pure virtual]


The documentation for this class was generated from the following files:
  • headerstyle.h
  • headerstyle.cpp

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal