Messagelib

partnodebodypart.h
1 /*
2  partnodebodypart.h
3 
4  This file is part of KMail, the KDE mail client.
5  SPDX-FileCopyrightText: 2004 Marc Mutz <[email protected]>
6  SPDX-FileCopyrightText: 2004 Ingo Kloecker <[email protected]>
7 
8  SPDX-License-Identifier: GPL-2.0-or-later
9 */
10 
11 #pragma once
12 
13 #include "mimetreeparser/bodypart.h"
14 #include "mimetreeparser_export.h"
15 
16 namespace KMime
17 {
18 class Content;
19 }
20 
21 namespace MimeTreeParser
22 {
23 class NodeHelper;
24 }
25 
26 namespace MimeTreeParser
27 {
28 /**
29  @short an implementation of the BodyPart interface using KMime::Content's
30 */
31 class MIMETREEPARSER_EXPORT PartNodeBodyPart : public Interface::BodyPart
32 {
33 public:
34  explicit PartNodeBodyPart(ObjectTreeParser *otp, ProcessResult *result, KMime::Content *topLevelContent, KMime::Content *content, NodeHelper *nodeHelper);
35 
36  Interface::BodyPartMemento *memento() const override;
37  KMime::Content *content() const override;
38  KMime::Content *topLevelContent() const override;
39  ProcessResult *processResult() const override;
40 
41  NodeHelper *nodeHelper() const override;
42  ObjectTreeParser *objectTreeParser() const override;
43  Interface::ObjectTreeSource *source() const override;
44 
45 private:
46  KMime::Content *const mTopLevelContent;
47  KMime::Content *const mContent;
48  NodeHelper *const mNodeHelper;
49  ObjectTreeParser *const mObjectTreeParser;
50  ProcessResult *const mProcessResult;
51 };
52 }
53 
an implementation of the BodyPart interface using KMime::Content&#39;s
Interface for object tree sources.
interface of classes that implement status for BodyPartFormatters.
Definition: bodypart.h:33
interface of message body parts.
Definition: bodypart.h:44
Parses messages and generates HTML display code out of them.
The ProcessResult class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:16:43 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.