MimeTreeParser::PartNodeBodyPart
#include <partnodebodypart.h>
Public Member Functions | |
PartNodeBodyPart (ObjectTreeParser *otp, ProcessResult *result, KMime::Content *topLevelContent, KMime::Content *content, NodeHelper *nodeHelper) | |
KMime::Content * | content () const override |
Interface::BodyPartMemento * | memento () const override |
NodeHelper * | nodeHelper () const override |
ObjectTreeParser * | objectTreeParser () const override |
ProcessResult * | processResult () const override |
Interface::ObjectTreeSource * | source () const override |
KMime::Content * | topLevelContent () const override |
Public Member Functions inherited from MimeTreeParser::Interface::BodyPart |
Detailed Description
an implementation of the BodyPart interface using KMime::Content's
Definition at line 31 of file partnodebodypart.h.
Constructor & Destructor Documentation
◆ PartNodeBodyPart()
|
explicit |
Definition at line 18 of file partnodebodypart.cpp.
Member Function Documentation
◆ content()
|
overridevirtual |
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.
Implements MimeTreeParser::Interface::BodyPart.
Definition at line 45 of file partnodebodypart.cpp.
◆ memento()
|
overridevirtual |
- Returns
- the BodyPartMemento set for this part, or null, if none is set.
Implements MimeTreeParser::Interface::BodyPart.
Definition at line 32 of file partnodebodypart.cpp.
◆ nodeHelper()
|
overridevirtual |
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.
Implements MimeTreeParser::Interface::BodyPart.
Definition at line 55 of file partnodebodypart.cpp.
◆ objectTreeParser()
|
overridevirtual |
For making it easier to refactor, add objectTreeParser.
Implements MimeTreeParser::Interface::BodyPart.
Definition at line 60 of file partnodebodypart.cpp.
◆ processResult()
|
overridevirtual |
Implements MimeTreeParser::Interface::BodyPart.
Definition at line 65 of file partnodebodypart.cpp.
◆ source()
|
overridevirtual |
Implements MimeTreeParser::Interface::BodyPart.
Definition at line 40 of file partnodebodypart.cpp.
◆ topLevelContent()
|
overridevirtual |
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()
Implements MimeTreeParser::Interface::BodyPart.
Definition at line 50 of file partnodebodypart.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 11:58:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.