kmail

KMail::AttachmentStrategy Class Reference

#include <attachmentstrategy.h>

Inherited by KMail::HiddenAttachmentStrategy, KMail::IconicAttachmentStrategy, KMail::InlinedAttachmentStrategy, and KMail::SmartAttachmentStrategy.

List of all members.


Public Types

enum  Display { None, AsIcon, Inline }
enum  Type { Iconic, Smart, Inlined, Hidden }

Public Member Functions

virtual Display defaultDisplay (const partNode *node) const =0
virtual bool inlineNestedMessages () const =0
virtual const char * name () const =0
virtual const AttachmentStrategynext () const =0
virtual const AttachmentStrategyprev () const =0

Static Public Member Functions

static const AttachmentStrategycreate (const QString &type)
static const AttachmentStrategycreate (Type type)
static const AttachmentStrategyhidden ()
static const AttachmentStrategyiconic ()
static const AttachmentStrategyinlined ()
static const AttachmentStrategysmart ()

Protected Member Functions

 AttachmentStrategy ()
virtual ~AttachmentStrategy ()

Detailed Description

Definition at line 40 of file attachmentstrategy.h.


Member Enumeration Documentation

Enumerator:
None 
AsIcon 
Inline 

Definition at line 71 of file attachmentstrategy.h.

Enumerator:
Iconic 
Smart 
Inlined 
Hidden 

Definition at line 49 of file attachmentstrategy.h.


Constructor & Destructor Documentation

KMail::AttachmentStrategy::AttachmentStrategy (  )  [protected]

Definition at line 149 of file attachmentstrategy.cpp.

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

Definition at line 153 of file attachmentstrategy.cpp.


Member Function Documentation

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

Definition at line 169 of file attachmentstrategy.cpp.

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

Definition at line 157 of file attachmentstrategy.cpp.

virtual Display KMail::AttachmentStrategy::defaultDisplay ( const partNode node  )  const [pure virtual]

const AttachmentStrategy * KMail::AttachmentStrategy::hidden (  )  [static]

Definition at line 203 of file attachmentstrategy.cpp.

const AttachmentStrategy * KMail::AttachmentStrategy::iconic (  )  [static]

Definition at line 185 of file attachmentstrategy.cpp.

const AttachmentStrategy * KMail::AttachmentStrategy::inlined (  )  [static]

Definition at line 197 of file attachmentstrategy.cpp.

virtual bool KMail::AttachmentStrategy::inlineNestedMessages (  )  const [pure virtual]

virtual const char* KMail::AttachmentStrategy::name (  )  const [pure virtual]

virtual const AttachmentStrategy* KMail::AttachmentStrategy::next (  )  const [pure virtual]

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

const AttachmentStrategy * KMail::AttachmentStrategy::smart (  )  [static]

Definition at line 191 of file attachmentstrategy.cpp.


The documentation for this class was generated from the following files: