MimeTreeParser::Interface::BodyPart
#include <bodypart.h>
Public Member Functions | |
virtual KMime::Content * | content () const =0 |
virtual BodyPartMemento * | memento () const =0 |
virtual MimeTreeParser::NodeHelper * | nodeHelper () const =0 |
virtual MimeTreeParser::ObjectTreeParser * | objectTreeParser () const =0 |
virtual MimeTreeParser::ProcessResult * | processResult () const =0 |
virtual MimeTreeParser::Interface::ObjectTreeSource * | source () const =0 |
virtual KMime::Content * | topLevelContent () const =0 |
Detailed Description
interface of message body parts.
Definition at line 44 of file bodypart.h.
Member Function Documentation
◆ content()
|
pure virtual |
Returns the KMime::Content node represented here.
Makes most of the above obsolete and probably should be used in the interfaces in the first place.
Implemented in MimeTreeParser::PartNodeBodyPart.
◆ memento()
|
pure virtual |
- Returns
- the BodyPartMemento set for this part, or null, if none is set.
Implemented in MimeTreeParser::PartNodeBodyPart.
◆ nodeHelper()
|
pure virtual |
Ok, this is ugly, exposing the node helper here, but there is too much useful stuff in there for real-world plugins.
Still, there should be a nicer way for this.
Implemented in MimeTreeParser::PartNodeBodyPart.
◆ objectTreeParser()
|
pure virtual |
For making it easier to refactor, add objectTreeParser.
Implemented in MimeTreeParser::PartNodeBodyPart.
◆ topLevelContent()
|
pure virtual |
Returns the top-level content.
Note that this is not necessarily the same as content()->topLevel(), for example the later will not work for "extra nodes", i.e. nodes in encrypted parts of the mail. topLevelContent() will return the correct result in this case. Also note that topLevelContent()
Implemented in MimeTreeParser::PartNodeBodyPart.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.