MessageViewer::AttachmentStrategy

Search for usage in LXR

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 (const QString &type)
 
static const AttachmentStrategycreate (Type type)
 
static const AttachmentStrategyheaderOnly ()
 
static const AttachmentStrategyhidden ()
 
static const AttachmentStrategyiconic ()
 
static const AttachmentStrategyinlined ()
 
static const AttachmentStrategysmart ()
 

Detailed Description

The AttachmentStrategy class.

Definition at line 27 of file attachmentstrategy.h.

Member Enumeration Documentation

◆ Display

enum MessageViewer::AttachmentStrategy::Display

Definition at line 58 of file attachmentstrategy.h.

◆ Type

enum MessageViewer::AttachmentStrategy::Type

Definition at line 37 of file attachmentstrategy.h.

Member Function Documentation

◆ create() [1/2]

const AttachmentStrategy * AttachmentStrategy::create ( const QString & type)
static

Definition at line 271 of file attachmentstrategy.cpp.

◆ create() [2/2]

const AttachmentStrategy * AttachmentStrategy::create ( Type type)
static

Definition at line 253 of file attachmentstrategy.cpp.

◆ headerOnly()

const AttachmentStrategy * AttachmentStrategy::headerOnly ( )
static

Definition at line 330 of file attachmentstrategy.cpp.

◆ hidden()

const AttachmentStrategy * AttachmentStrategy::hidden ( )
static

Definition at line 322 of file attachmentstrategy.cpp.

◆ iconic()

const AttachmentStrategy * AttachmentStrategy::iconic ( )
static

Definition at line 298 of file attachmentstrategy.cpp.

◆ inlined()

const AttachmentStrategy * AttachmentStrategy::inlined ( )
static

Definition at line 314 of file attachmentstrategy.cpp.

◆ requiresAttachmentListInHeader()

bool AttachmentStrategy::requiresAttachmentListInHeader ( ) const
virtual

Definition at line 338 of file attachmentstrategy.cpp.

◆ smart()

const AttachmentStrategy * AttachmentStrategy::smart ( )
static

Definition at line 306 of file attachmentstrategy.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:49:08 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.