messageviewer
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
- 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
|
inlinevirtual |
Definition at line 50 of file interfaces/bodypartformatter.h.
Member Function Documentation
|
pure virtual |
Format body part part by generating some HTML and writing that to writer.
- Returns
- the result code (see above)
|
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:
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
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.