MessageViewer::AttachmentStrategy

MessageViewer::AttachmentStrategy Class Referenceabstract

#include <attachmentstrategy.h>

Inherited by HeaderOnlyAttachmentStrategy, HiddenAttachmentStrategy, IconicAttachmentStrategy, InlinedAttachmentStrategy, and SmartAttachmentStrategy.

Public Types

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

Public Member Functions

virtual Display defaultDisplay (KMime::Content *node) const =0
 
virtual bool inlineNestedMessages () const =0
 
virtual const char * name () const =0
 
virtual bool requiresAttachmentListInHeader () const
 

Static Public Member Functions

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

Detailed Description

The AttachmentStrategy class.

Definition at line 26 of file attachmentstrategy.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Sep 19 2020 23:12:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.