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

messageviewer

  • MessageViewer
  • Interface
  • BodyPartFormatter
Public Types | Public Member Functions | List of all members
MessageViewer::Interface::BodyPartFormatter Class Referenceabstract

#include <bodypartformatter.h>

Public Types

enum  Result { Ok, NeedContent, AsIcon, Failed }
 

Public Member Functions

virtual ~BodyPartFormatter ()
 
virtual Result format (BodyPart *part, HtmlWriter *writer) const =0
 
virtual Result format (BodyPart *part, HtmlWriter *writer, QObject *asyncResultObserver) const
 

Detailed Description

Definition at line 48 of file interfaces/bodypartformatter.h.

Member Enumeration Documentation

enum MessageViewer::Interface::BodyPartFormatter::Result
  • Ok returned when format() generated some HTML
  • NeedContent returned when format() needs the body of the part
  • AsIcon returned when the part should be shown iconified
  • Failed returned when formatting failed. Currently equivalent to Ok
Enumerator
Ok 
NeedContent 
AsIcon 
Failed 

Definition at line 58 of file interfaces/bodypartformatter.h.

Constructor & Destructor Documentation

virtual MessageViewer::Interface::BodyPartFormatter::~BodyPartFormatter ( )
inlinevirtual

Definition at line 50 of file interfaces/bodypartformatter.h.

Member Function Documentation

virtual Result MessageViewer::Interface::BodyPartFormatter::format ( BodyPart *  part,
HtmlWriter *  writer 
) const
pure virtual

Format body part part by generating some HTML and writing that to writer.

Returns
the result code (see above)
virtual Result MessageViewer::Interface::BodyPartFormatter::format ( BodyPart *  part,
HtmlWriter *  writer,
QObject *  asyncResultObserver 
) const
inlinevirtual

Variant of format that allows implementors to hook notifications up to a listener interested in the result, for async operations.

Returns
the result code (see above)

Definition at line 74 of file interfaces/bodypartformatter.h.


The documentation for this class was generated from the following file:
  • interfaces/bodypartformatter.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:46 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
  • pimprint

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