MimeTreeParser::SimpleObjectTreeSource
#include <simpleobjecttreesource.h>
Public Member Functions | |
bool | autoImportKeys () const override |
const BodyPartFormatterFactory * | bodyPartFormatterFactory () override |
bool | decryptMessage () const override |
QByteArray | overrideCodecName () const 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 | setOverrideCodecName (const QByteArray &codec) |
void | setPreferredMode (MimeTreeParser::Util::HtmlMode mode) |
Public Member Functions inherited from MimeTreeParser::Interface::ObjectTreeSource |
Detailed Description
A very simple ObjectTreeSource.
mostly used in tests and outside the read redering
Definition at line 20 of file simpleobjecttreesource.h.
Constructor & Destructor Documentation
◆ SimpleObjectTreeSource()
SimpleObjectTreeSource::SimpleObjectTreeSource | ( | ) |
Definition at line 26 of file simpleobjecttreesource.cpp.
Member Function Documentation
◆ autoImportKeys()
|
nodiscardoverridevirtual |
should keys be imported automatically
Implements MimeTreeParser::Interface::ObjectTreeSource.
Definition at line 33 of file simpleobjecttreesource.cpp.
◆ bodyPartFormatterFactory()
|
overridevirtual |
Implements MimeTreeParser::Interface::ObjectTreeSource.
Definition at line 38 of file simpleobjecttreesource.cpp.
◆ decryptMessage()
|
nodiscardoverridevirtual |
Return true if an encrypted mail should be decrypted.
Implements MimeTreeParser::Interface::ObjectTreeSource.
Definition at line 43 of file simpleobjecttreesource.cpp.
◆ overrideCodecName()
|
nodiscardoverridevirtual |
The override codec that should be used for the mail.
Implements MimeTreeParser::Interface::ObjectTreeSource.
Definition at line 68 of file simpleobjecttreesource.cpp.
◆ preferredMode()
|
nodiscardoverridevirtual |
Return the mode that is the preferred to display.
Implements MimeTreeParser::Interface::ObjectTreeSource.
Definition at line 58 of file simpleobjecttreesource.cpp.
◆ setDecryptMessage()
void SimpleObjectTreeSource::setDecryptMessage | ( | bool | decryptMessage | ) |
Definition at line 48 of file simpleobjecttreesource.cpp.
◆ setHtmlMode()
|
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 73 of file simpleobjecttreesource.cpp.
◆ setOverrideCodecName()
void SimpleObjectTreeSource::setOverrideCodecName | ( | const QByteArray & | codec | ) |
Definition at line 63 of file simpleobjecttreesource.cpp.
◆ setPreferredMode()
void SimpleObjectTreeSource::setPreferredMode | ( | MimeTreeParser::Util::HtmlMode | mode | ) |
Definition at line 53 of file simpleobjecttreesource.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.