MessageViewer::MailViewerSource

MessageViewer::MailViewerSource Class Reference

#include <objecttreeviewersource.h>

Inheritance diagram for MessageViewer::MailViewerSource:

Public Member Functions

 MailViewerSource (ViewerPrivate *viewer)
 
const AttachmentStrategyattachmentStrategy () const override
 
bool autoImportKeys () const override
 
QString createMessageHeader (KMime::Message *message) override
 
CSSHelperBasecssHelper () const override
 
bool decryptMessage () const override
 
bool htmlLoadExternal () const override
 
HtmlWriterhtmlWriter () const override
 
bool isPrinting () const override
 
int levelQuote () const override
 
const QTextCodecoverrideCodec () override
 
MimeTreeParser::Util::HtmlMode preferredMode () const override
 
void setHtmlMode (MimeTreeParser::Util::HtmlMode mode, const QList< MimeTreeParser::Util::HtmlMode > &availableModes) override
 
bool showEmoticons () const override
 
bool showEncryptionDetails () const override
 
bool showExpandQuotesMark () const override
 
bool showSignatureDetails () const override
 
- Public Member Functions inherited from MessageViewer::EmptySource
const MimeTreeParser::BodyPartFormatterFactorybodyPartFormatterFactory () override
 
void render (const MimeTreeParser::MessagePartPtr &msgPart, bool showOnlyOneMimePart)
 
void setAllowDecryption (bool allowDecryption)
 

Detailed Description

An ObjectTreeParser source working on a MailViewer object.

Definition at line 20 of file objecttreeviewersource.h.

Member Function Documentation

bool MailViewerSource::autoImportKeys ( ) const
overridevirtual

should keys be imported automatically

Reimplemented from MessageViewer::EmptySource.

Definition at line 111 of file objecttreeviewersource.cpp.

bool MailViewerSource::decryptMessage ( ) const
overridevirtual

Return true if an encrypted mail should be decrypted.

Reimplemented from MessageViewer::EmptySource.

Definition at line 31 of file objecttreeviewersource.cpp.

bool MailViewerSource::htmlLoadExternal ( ) const
overridevirtual

Return true if external sources should be loaded in a html mail.

Reimplemented from MessageViewer::EmptySource.

Definition at line 36 of file objecttreeviewersource.cpp.

const QTextCodec * MailViewerSource::overrideCodec ( )
overridevirtual

The override codec that should be used for the mail.

Reimplemented from MessageViewer::EmptySource.

Definition at line 86 of file objecttreeviewersource.cpp.

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

Return the mode that is the preferred to display.

Reimplemented from MessageViewer::EmptySource.

Definition at line 63 of file objecttreeviewersource.cpp.

void MailViewerSource::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".

Reimplemented from MessageViewer::EmptySource.

Definition at line 51 of file objecttreeviewersource.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:27 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.