Search for usage in LXR

MimeTreeParser::Interface::BodyPart Class Referenceabstract

#include <bodypart.h>

Inheritance diagram for MimeTreeParser::Interface::BodyPart:

Public Member Functions

virtual KMime::Contentcontent () const =0
virtual BodyPartMementomemento () const =0
virtual MimeTreeParser::NodeHelpernodeHelper () const =0
virtual MimeTreeParser::ObjectTreeParserobjectTreeParser () const =0
virtual MimeTreeParser::ProcessResultprocessResult () const =0
virtual MimeTreeParser::Interface::ObjectTreeSourcesource () const =0
virtual KMime::ContenttopLevelContent () const =0

Detailed Description

interface of message body parts.

Definition at line 44 of file bodypart.h.

Member Function Documentation

◆ content()

virtual KMime::Content * MimeTreeParser::Interface::BodyPart::content ( ) const
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()

virtual BodyPartMemento * MimeTreeParser::Interface::BodyPart::memento ( ) const
pure virtual
the BodyPartMemento set for this part, or null, if none is set.

Implemented in MimeTreeParser::PartNodeBodyPart.

◆ nodeHelper()

virtual MimeTreeParser::NodeHelper * MimeTreeParser::Interface::BodyPart::nodeHelper ( ) const
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()

virtual MimeTreeParser::ObjectTreeParser * MimeTreeParser::Interface::BodyPart::objectTreeParser ( ) const
pure virtual

For making it easier to refactor, add objectTreeParser.

Implemented in MimeTreeParser::PartNodeBodyPart.

◆ topLevelContent()

virtual KMime::Content * MimeTreeParser::Interface::BodyPart::topLevelContent ( ) const
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:49:08 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.