MessageViewer::MailViewerSource

Search for usage in LXR

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
 
QByteArray overrideCodecName () const 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)
 
- Public Member Functions inherited from MimeTreeParser::Interface::ObjectTreeSource

Detailed Description

An ObjectTreeParser source working on a MailViewer object.

Definition at line 21 of file objecttreeviewersource.h.

Constructor & Destructor Documentation

◆ MailViewerSource()

MailViewerSource::MailViewerSource ( ViewerPrivate * viewer)
explicit

Definition at line 21 of file objecttreeviewersource.cpp.

Member Function Documentation

◆ attachmentStrategy()

const AttachmentStrategy * MailViewerSource::attachmentStrategy ( ) const
overridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 93 of file objecttreeviewersource.cpp.

◆ autoImportKeys()

bool MailViewerSource::autoImportKeys ( ) const
nodiscardoverridevirtual

should keys be imported automatically

Reimplemented from MessageViewer::EmptySource.

Definition at line 108 of file objecttreeviewersource.cpp.

◆ createMessageHeader()

QString MailViewerSource::createMessageHeader ( KMime::Message * message)
nodiscardoverridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 88 of file objecttreeviewersource.cpp.

◆ cssHelper()

CSSHelperBase * MailViewerSource::cssHelper ( ) const
overridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 98 of file objecttreeviewersource.cpp.

◆ decryptMessage()

bool MailViewerSource::decryptMessage ( ) const
nodiscardoverridevirtual

Return true if an encrypted mail should be decrypted.

Reimplemented from MessageViewer::EmptySource.

Definition at line 29 of file objecttreeviewersource.cpp.

◆ htmlLoadExternal()

bool MailViewerSource::htmlLoadExternal ( ) const
nodiscardoverridevirtual

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

Reimplemented from MessageViewer::EmptySource.

Definition at line 34 of file objecttreeviewersource.cpp.

◆ htmlWriter()

HtmlWriter * MailViewerSource::htmlWriter ( ) const
overridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 103 of file objecttreeviewersource.cpp.

◆ isPrinting()

bool MailViewerSource::isPrinting ( ) const
nodiscardoverridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 123 of file objecttreeviewersource.cpp.

◆ levelQuote()

int MailViewerSource::levelQuote ( ) const
nodiscardoverridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 78 of file objecttreeviewersource.cpp.

◆ overrideCodecName()

QByteArray MailViewerSource::overrideCodecName ( ) const
overridevirtual

The override codec that should be used for the mail.

Reimplemented from MessageViewer::EmptySource.

Definition at line 83 of file objecttreeviewersource.cpp.

◆ preferredMode()

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

Return the mode that is the preferred to display.

Reimplemented from MessageViewer::EmptySource.

Definition at line 61 of file objecttreeviewersource.cpp.

◆ setHtmlMode()

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 49 of file objecttreeviewersource.cpp.

◆ showEmoticons()

bool MailViewerSource::showEmoticons ( ) const
nodiscardoverridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 113 of file objecttreeviewersource.cpp.

◆ showEncryptionDetails()

bool MailViewerSource::showEncryptionDetails ( ) const
nodiscardoverridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 44 of file objecttreeviewersource.cpp.

◆ showExpandQuotesMark()

bool MailViewerSource::showExpandQuotesMark ( ) const
nodiscardoverridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 118 of file objecttreeviewersource.cpp.

◆ showSignatureDetails()

bool MailViewerSource::showSignatureDetails ( ) const
nodiscardoverridevirtual

Reimplemented from MessageViewer::EmptySource.

Definition at line 39 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-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.