MimeTreeParser::Interface::ObjectTreeSource

Search for usage in LXR

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 QByteArray overrideCodecName () const =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.nosp@m.ia@k.nosp@m.dab.n.nosp@m.et

Definition at line 32 of file objecttreesource.h.

Member Function Documentation

◆ autoImportKeys()

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

should keys be imported automatically

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

◆ decryptMessage()

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

Return true if an encrypted mail should be decrypted.

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

◆ overrideCodecName()

virtual QByteArray MimeTreeParser::Interface::ObjectTreeSource::overrideCodecName ( ) const
nodiscardpure virtual

The override codec that should be used for the mail.

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

◆ preferredMode()

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

Return the mode that is the preferred to display.

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

◆ setHtmlMode()

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 MessageViewer::EmptySource, MessageViewer::MailViewerSource, and MimeTreeParser::SimpleObjectTreeSource.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.