MimeTreeParser::SimpleObjectTreeSource

MimeTreeParser::SimpleObjectTreeSource Class Reference

#include <simpleobjecttreesource.h>

Inheritance diagram for MimeTreeParser::SimpleObjectTreeSource:

Public Member Functions

bool autoImportKeys () const override
 
const BodyPartFormatterFactorybodyPartFormatterFactory () override
 
bool decryptMessage () const override
 
const QTextCodecoverrideCodec () override
 
MimeTreeParser::Util::HtmlMode preferredMode () const override
 
void setDecryptMessage (bool decryptMessage)
 
void setHtmlMode (MimeTreeParser::Util::HtmlMode mode, const QList< MimeTreeParser::Util::HtmlMode > &availableModes) override
 
void setPreferredMode (MimeTreeParser::Util::HtmlMode mode)
 

Detailed Description

A very simple ObjectTreeSource.

mostly used in tests and outside the read redering

Definition at line 21 of file simpleobjecttreesource.h.

Member Function Documentation

bool SimpleObjectTreeSource::autoImportKeys ( ) const
overridevirtual

should keys be imported automatically

Implements MimeTreeParser::Interface::ObjectTreeSource.

Definition at line 31 of file simpleobjecttreesource.cpp.

bool SimpleObjectTreeSource::decryptMessage ( ) const
overridevirtual

Return true if an encrypted mail should be decrypted.

Implements MimeTreeParser::Interface::ObjectTreeSource.

Definition at line 41 of file simpleobjecttreesource.cpp.

const QTextCodec * SimpleObjectTreeSource::overrideCodec ( )
overridevirtual

The override codec that should be used for the mail.

Implements MimeTreeParser::Interface::ObjectTreeSource.

Definition at line 61 of file simpleobjecttreesource.cpp.

MimeTreeParser::Util::HtmlMode SimpleObjectTreeSource::preferredMode ( ) const
overridevirtual

Return the mode that is the preferred to display.

Implements MimeTreeParser::Interface::ObjectTreeSource.

Definition at line 56 of file simpleobjecttreesource.cpp.

void SimpleObjectTreeSource::setHtmlMode ( MimeTreeParser::Util::HtmlMode  mode,
const QList< MimeTreeParser::Util::HtmlMode > &  availableModes 
)
overridevirtual

Sets the type of mail that is currently displayed.

Applications can display this information to the user, for example KMail displays a HTML status bar. Note: This is not called when the mode is "Normal".

Implements MimeTreeParser::Interface::ObjectTreeSource.

Definition at line 66 of file simpleobjecttreesource.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jul 6 2020 23:12:28 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.