MimeTreeParser::Interface::ObjectTreeSource

MimeTreeParser::Interface::ObjectTreeSource Class Referenceabstract

#include <objecttreesource.h>

Inheritance diagram for MimeTreeParser::Interface::ObjectTreeSource:

Public Member Functions

virtual bool autoImportKeys () const =0
 
virtual const BodyPartFormatterFactorybodyPartFormatterFactory ()=0
 
virtual bool decryptMessage () const =0
 
virtual const QTextCodecoverrideCodec ()=0
 
virtual MimeTreeParser::Util::HtmlMode preferredMode () const =0
 
virtual void setHtmlMode (MimeTreeParser::Util::HtmlMode mode, const QList< MimeTreeParser::Util::HtmlMode > &availableModes)=0
 

Detailed Description

Interface for object tree sources.

Author
Andras Mantia amant[email protected][email protected][email protected]dab.n[email protected]et

Definition at line 31 of file objecttreesource.h.

Member Function Documentation

virtual bool MimeTreeParser::Interface::ObjectTreeSource::autoImportKeys ( ) const
pure virtual

should keys be imported automatically

Implemented in MessageViewer::EmptySource, MessageViewer::MailViewerSource, and MimeTreeParser::SimpleObjectTreeSource.

virtual bool MimeTreeParser::Interface::ObjectTreeSource::decryptMessage ( ) const
pure virtual

Return true if an encrypted mail should be decrypted.

Implemented in MessageViewer::EmptySource, MimeTreeParser::SimpleObjectTreeSource, and MessageViewer::MailViewerSource.

virtual const QTextCodec* MimeTreeParser::Interface::ObjectTreeSource::overrideCodec ( )
pure virtual

The override codec that should be used for the mail.

Implemented in MimeTreeParser::SimpleObjectTreeSource, MessageViewer::EmptySource, and MessageViewer::MailViewerSource.

virtual MimeTreeParser::Util::HtmlMode MimeTreeParser::Interface::ObjectTreeSource::preferredMode ( ) const
pure virtual

Return the mode that is the preferred to display.

Implemented in MimeTreeParser::SimpleObjectTreeSource, MessageViewer::EmptySource, and MessageViewer::MailViewerSource.

virtual void MimeTreeParser::Interface::ObjectTreeSource::setHtmlMode ( MimeTreeParser::Util::HtmlMode  mode,
const QList< MimeTreeParser::Util::HtmlMode > &  availableModes 
)
pure virtual

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".

Implemented in MimeTreeParser::SimpleObjectTreeSource, MessageViewer::EmptySource, and MessageViewer::MailViewerSource.


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 Fri Aug 7 2020 23:11:04 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.