MessageViewer::AttachmentStrategy

Search for usage in LXR

MessageViewer::AttachmentStrategy Class Referenceabstract

#include <attachmentstrategy.h>

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 AttachmentStrategy * create (const QString &type)
 
static const AttachmentStrategy * create (Type type)
 
static const AttachmentStrategy * headerOnly ()
 
static const AttachmentStrategy * hidden ()
 
static const AttachmentStrategy * iconic ()
 
static const AttachmentStrategy * inlined ()
 
static const AttachmentStrategy * smart ()
 

Detailed Description

The AttachmentStrategy class.

Definition at line 27 of file attachmentstrategy.h.

Member Enumeration Documentation

◆ Display

enum MessageViewer::AttachmentStrategy::Display

Definition at line 64 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-2025 The KDE developers.
Generated on Fri May 2 2025 11:51:55 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.