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

messageviewer

  • MessageViewer
  • HeaderStyle
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
MessageViewer::HeaderStyle Class Referenceabstract

#include <headerstyle.h>

Inheritance diagram for MessageViewer::HeaderStyle:
Inheritance graph
[legend]

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.

Author
Marc Mutz mutz@.nosp@m.kde..nosp@m.org
See also
HeaderStrategy

Definition at line 60 of file headerstyle.h.

Member Enumeration Documentation

enum MessageViewer::HeaderStyle::Type
Enumerator
Brief 
Plain 
Fancy 
Enterprise 
Mobile 
MobileExtended 
Custom 
Grantlee 

Definition at line 69 of file headerstyle.h.

Constructor & Destructor Documentation

MessageViewer::HeaderStyle::HeaderStyle ( )
protected

Definition at line 59 of file headerstyle.cpp.

MessageViewer::HeaderStyle::~HeaderStyle ( )
protectedvirtual

Definition at line 69 of file headerstyle.cpp.

Member Function Documentation

bool MessageViewer::HeaderStyle::allowAsync ( ) const
inline

Definition at line 124 of file headerstyle.h.

HeaderStyle * MessageViewer::HeaderStyle::brief ( )
static

Definition at line 117 of file headerstyle.cpp.

HeaderStyle * MessageViewer::HeaderStyle::create ( Type  type)
static

Definition at line 78 of file headerstyle.cpp.

HeaderStyle * MessageViewer::HeaderStyle::create ( const QString &  type)
static

Definition at line 93 of file headerstyle.cpp.

HeaderStyle * MessageViewer::HeaderStyle::custom ( )
static

Definition at line 153 of file headerstyle.cpp.

HeaderStyle * MessageViewer::HeaderStyle::enterprise ( )
static

Definition at line 135 of file headerstyle.cpp.

HeaderStyle * MessageViewer::HeaderStyle::fancy ( )
static

Definition at line 129 of file headerstyle.cpp.

virtual QString MessageViewer::HeaderStyle::format ( KMime::Message *  message) const
pure virtual

Implemented in MessageViewer::MobileExtendedHeaderStyle, MessageViewer::GrantleeHeaderStyle, MessageViewer::GrantleeHeaderTestStyle, MessageViewer::EnterpriseHeaderStyle, MessageViewer::FancyHeaderStyle, MessageViewer::PlainHeaderStyle, and MessageViewer::MobileHeaderStyle.

HeaderStyle * MessageViewer::HeaderStyle::grantlee ( )
static

Definition at line 159 of file headerstyle.cpp.

bool MessageViewer::HeaderStyle::hasAttachmentQuickList ( ) const
virtual

Reimplemented in MessageViewer::GrantleeHeaderTestStyle, MessageViewer::GrantleeHeaderStyle, MessageViewer::EnterpriseHeaderStyle, and MessageViewer::FancyHeaderStyle.

Definition at line 73 of file headerstyle.cpp.

const HeaderStrategy* MessageViewer::HeaderStyle::headerStrategy ( ) const
inline

Definition at line 109 of file headerstyle.h.

bool MessageViewer::HeaderStyle::isPrinting ( ) const
inline

Definition at line 115 of file headerstyle.h.

bool MessageViewer::HeaderStyle::isTopLevel ( ) const
inline

Definition at line 118 of file headerstyle.h.

QString MessageViewer::HeaderStyle::messagePath ( ) const
inline

Definition at line 106 of file headerstyle.h.

Akonadi::MessageStatus MessageViewer::HeaderStyle::messageStatus ( ) const
inline

Definition at line 130 of file headerstyle.h.

HeaderStyle * MessageViewer::HeaderStyle::mobile ( )
static

Definition at line 141 of file headerstyle.cpp.

HeaderStyle * MessageViewer::HeaderStyle::mobileExtended ( )
static

Definition at line 147 of file headerstyle.cpp.

virtual const char* MessageViewer::HeaderStyle::name ( ) const
pure virtual

Implemented in MessageViewer::BriefHeaderStyle, MessageViewer::MobileExtendedHeaderStyle, MessageViewer::GrantleeHeaderStyle, MessageViewer::GrantleeHeaderTestStyle, MessageViewer::CustomHeaderStyle, MessageViewer::EnterpriseHeaderStyle, MessageViewer::FancyHeaderStyle, MessageViewer::PlainHeaderStyle, and MessageViewer::MobileHeaderStyle.

NodeHelper* MessageViewer::HeaderStyle::nodeHelper ( ) const
inline

Definition at line 121 of file headerstyle.h.

HeaderStyle * MessageViewer::HeaderStyle::plain ( )
static

Definition at line 123 of file headerstyle.cpp.

void MessageViewer::HeaderStyle::setAllowAsync ( bool  allowAsync)
inline

Definition at line 123 of file headerstyle.h.

void MessageViewer::HeaderStyle::setHeaderStrategy ( const HeaderStrategy *  strategy)
inline

Definition at line 108 of file headerstyle.h.

void MessageViewer::HeaderStyle::setMessagePath ( const QString &  path)
inline

Definition at line 105 of file headerstyle.h.

void MessageViewer::HeaderStyle::setMessageStatus ( const Akonadi::MessageStatus &  status)
inline

Definition at line 129 of file headerstyle.h.

void MessageViewer::HeaderStyle::setNodeHelper ( NodeHelper *  nodeHelper)
inline

Definition at line 120 of file headerstyle.h.

void MessageViewer::HeaderStyle::setPrinting ( bool  printing)
inline

Definition at line 114 of file headerstyle.h.

void MessageViewer::HeaderStyle::setSourceObject ( QObject *  sourceObject)
inline

Definition at line 126 of file headerstyle.h.

void MessageViewer::HeaderStyle::setTheme ( const GrantleeTheme::Theme &  theme)
inline

Definition at line 132 of file headerstyle.h.

void MessageViewer::HeaderStyle::setTopLevel ( bool  topLevel)
inline

Definition at line 117 of file headerstyle.h.

void MessageViewer::HeaderStyle::setVCardName ( const QString &  vCardName)
inline

Definition at line 111 of file headerstyle.h.

QObject* MessageViewer::HeaderStyle::sourceObject ( ) const
inline

Definition at line 127 of file headerstyle.h.

GrantleeTheme::Theme MessageViewer::HeaderStyle::theme ( ) const
inline

Definition at line 133 of file headerstyle.h.

QString MessageViewer::HeaderStyle::vCardName ( ) const
inline

Definition at line 112 of file headerstyle.h.


The documentation for this class was generated from the following files:
  • headerstyle.h
  • headerstyle.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messageviewer

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal