kmail

KMail::Interface::BodyPartFormatter Class Reference

List of all members.

Detailed Description

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


Public Types

enum  Result { Ok, NeedContent, AsIcon, Failed }

Public Member Functions

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

Member Enumeration Documentation

enum KMail::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

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


Member Function Documentation

virtual Result KMail::Interface::BodyPartFormatter::format BodyPart part,
KMail::HtmlWriter writer
const [pure virtual]
 

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

Returns:
the result code (see above)

The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys