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

messageviewer

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

#include <attachmentstrategy.h>

Inherited by MessageViewer::HeaderOnlyAttachmentStrategy, MessageViewer::HiddenAttachmentStrategy, MessageViewer::IconicAttachmentStrategy, MessageViewer::InlinedAttachmentStrategy, and MessageViewer::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 const AttachmentStrategy * next () const =0
 
virtual const AttachmentStrategy * prev () const =0
 
virtual bool requiresAttachmentListInHeader () const
 

Static Public Member Functions

static const AttachmentStrategy * create (Type type)
 
static const AttachmentStrategy * create (const QString &type)
 
static const AttachmentStrategy * headerOnly ()
 
static const AttachmentStrategy * hidden ()
 
static const AttachmentStrategy * iconic ()
 
static const AttachmentStrategy * inlined ()
 
static const AttachmentStrategy * smart ()
 

Protected Member Functions

 AttachmentStrategy ()
 
virtual ~AttachmentStrategy ()
 

Detailed Description

Definition at line 46 of file attachmentstrategy.h.

Member Enumeration Documentation

enum MessageViewer::AttachmentStrategy::Display
Enumerator
None 
AsIcon 
Inline 

Definition at line 79 of file attachmentstrategy.h.

enum MessageViewer::AttachmentStrategy::Type
Enumerator
Iconic 
Smart 
Inlined 
Hidden 
HeaderOnly 

Definition at line 56 of file attachmentstrategy.h.

Constructor & Destructor Documentation

MessageViewer::AttachmentStrategy::AttachmentStrategy ( )
protected

Definition at line 207 of file attachmentstrategy.cpp.

MessageViewer::AttachmentStrategy::~AttachmentStrategy ( )
protectedvirtual

Definition at line 211 of file attachmentstrategy.cpp.

Member Function Documentation

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

Definition at line 215 of file attachmentstrategy.cpp.

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

Definition at line 228 of file attachmentstrategy.cpp.

virtual Display MessageViewer::AttachmentStrategy::defaultDisplay ( KMime::Content *  node) const
pure virtual
const AttachmentStrategy * MessageViewer::AttachmentStrategy::headerOnly ( )
static

Definition at line 270 of file attachmentstrategy.cpp.

const AttachmentStrategy * MessageViewer::AttachmentStrategy::hidden ( )
static

Definition at line 264 of file attachmentstrategy.cpp.

const AttachmentStrategy * MessageViewer::AttachmentStrategy::iconic ( )
static

Definition at line 246 of file attachmentstrategy.cpp.

const AttachmentStrategy * MessageViewer::AttachmentStrategy::inlined ( )
static

Definition at line 258 of file attachmentstrategy.cpp.

virtual bool MessageViewer::AttachmentStrategy::inlineNestedMessages ( ) const
pure virtual
virtual const char* MessageViewer::AttachmentStrategy::name ( ) const
pure virtual
virtual const AttachmentStrategy* MessageViewer::AttachmentStrategy::next ( ) const
pure virtual
virtual const AttachmentStrategy* MessageViewer::AttachmentStrategy::prev ( ) const
pure virtual
virtual bool MessageViewer::AttachmentStrategy::requiresAttachmentListInHeader ( ) const
inlinevirtual

Definition at line 83 of file attachmentstrategy.h.

const AttachmentStrategy * MessageViewer::AttachmentStrategy::smart ( )
static

Definition at line 252 of file attachmentstrategy.cpp.


The documentation for this class was generated from the following files:
  • attachmentstrategy.h
  • attachmentstrategy.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