diff options
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/objecttreeparser.h')
-rw-r--r-- | framework/src/domain/mime/mimetreeparser/objecttreeparser.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/objecttreeparser.h b/framework/src/domain/mime/mimetreeparser/objecttreeparser.h index ad67205b..02f94700 100644 --- a/framework/src/domain/mime/mimetreeparser/objecttreeparser.h +++ b/framework/src/domain/mime/mimetreeparser/objecttreeparser.h | |||
@@ -236,9 +236,7 @@ class ObjectTreeParser | |||
236 | public: | 236 | public: |
237 | explicit ObjectTreeParser(); | 237 | explicit ObjectTreeParser(); |
238 | 238 | ||
239 | explicit ObjectTreeParser(NodeHelper *nodeHelper, | 239 | explicit ObjectTreeParser(NodeHelper *nodeHelper); |
240 | bool showOneMimePart = false | ||
241 | ); | ||
242 | 240 | ||
243 | virtual ~ObjectTreeParser(); | 241 | virtual ~ObjectTreeParser(); |
244 | 242 | ||
@@ -256,9 +254,6 @@ public: | |||
256 | */ | 254 | */ |
257 | QString htmlContent(); | 255 | QString htmlContent(); |
258 | 256 | ||
259 | bool showOnlyOneMimePart() const; | ||
260 | void setShowOnlyOneMimePart(bool show); | ||
261 | |||
262 | NodeHelper *nodeHelper() const; | 257 | NodeHelper *nodeHelper() const; |
263 | 258 | ||
264 | /** Parse beginning at a given node and recursively parsing | 259 | /** Parse beginning at a given node and recursively parsing |
@@ -305,18 +300,6 @@ private: | |||
305 | KMime::Content *mTopLevelContent; | 300 | KMime::Content *mTopLevelContent; |
306 | MessagePartPtr mParsedPart; | 301 | MessagePartPtr mParsedPart; |
307 | 302 | ||
308 | /// Show only one mime part means that the user has selected some node in the message structure | ||
309 | /// viewer that is not the root, which means the user wants to only see the selected node and its | ||
310 | /// children. If that is the case, this variable is set to true. | ||
311 | /// The code needs to behave differently if this is set. For example, it should not process the | ||
312 | /// siblings. Also, consider inline images: Normally, those nodes are completely hidden, as the | ||
313 | /// HTML node embedds them. However, when showing only the node of the image, one has to show them, | ||
314 | /// as their is no HTML node in which they are displayed. There are many more cases where this | ||
315 | /// variable needs to be obeyed. | ||
316 | /// This variable is set to false again when processing the children in stdChildHandling(), as | ||
317 | /// the children can be completely displayed again. | ||
318 | bool mShowOnlyOneMimePart; | ||
319 | |||
320 | bool mDeleteNodeHelper; | 303 | bool mDeleteNodeHelper; |
321 | KMime::Message::Ptr mMsg; | 304 | KMime::Message::Ptr mMsg; |
322 | 305 | ||