kmail

KMail::ObjectTreeParser Class Reference

#include <objecttreeparser.h>

List of all members.


Public Member Functions

const KMail::AttachmentStrategyattachmentStrategy () const
const
Kleo::CryptoBackend::Protocol * 
cryptoProtocol () const
KMail::CSSHelpercssHelper () const
KMail::HtmlWriterhtmlWriter () const
bool includeSignatures () const
bool keepEncryptions () const
 ObjectTreeParser (KMReaderWin *reader=0, const Kleo::CryptoBackend::Protocol *protocol=0, bool showOneMimePart=false, bool keepEncryptions=false, bool includeSignatures=true, const KMail::AttachmentStrategy *attachmentStrategy=0, KMail::HtmlWriter *htmlWriter=0, KMail::CSSHelper *cssHelper=0)
void parseObjectTree (partNode *node)
bool processApplicationChiasmusTextSubtype (partNode *node, ProcessResult &result)
bool processApplicationMsTnefSubtype (partNode *node, ProcessResult &result)
bool processApplicationOctetStreamSubtype (partNode *node, ProcessResult &result)
bool processApplicationPkcs7MimeSubtype (partNode *node, ProcessResult &result)
bool processMessageRfc822Subtype (partNode *node, ProcessResult &result)
bool processMultiPartAlternativeSubtype (partNode *node, ProcessResult &result)
bool processMultiPartDigestSubtype (partNode *node, ProcessResult &result)
bool processMultiPartEncryptedSubtype (partNode *node, ProcessResult &result)
bool processMultiPartMixedSubtype (partNode *node, ProcessResult &result)
bool processMultiPartParallelSubtype (partNode *node, ProcessResult &result)
bool processMultiPartSignedSubtype (partNode *node, ProcessResult &result)
bool processTextHtmlSubtype (partNode *node, ProcessResult &result)
bool processTextPlainSubtype (partNode *node, ProcessResult &result)
QCString rawReplyString () const
void setCryptoProtocol (const Kleo::CryptoBackend::Protocol *protocol)
void setIncludeSignatures (bool include)
void setKeepEncryptions (bool keep)
void setShowOnlyOneMimePart (bool show)
bool showOnlyOneMimePart () const
QString textualContent () const
QCString textualContentCharset () const
void writeBodyStr (const QCString &bodyString, const QTextCodec *aCodec, const QString &fromAddress)
virtual ~ObjectTreeParser ()

Detailed Description

Definition at line 100 of file objecttreeparser.h.


Constructor & Destructor Documentation

KMail::ObjectTreeParser::ObjectTreeParser ( KMReaderWin reader = 0,
const Kleo::CryptoBackend::Protocol *  protocol = 0,
bool  showOneMimePart = false,
bool  keepEncryptions = false,
bool  includeSignatures = true,
const KMail::AttachmentStrategy attachmentStrategy = 0,
KMail::HtmlWriter htmlWriter = 0,
KMail::CSSHelper cssHelper = 0 
)

Definition at line 137 of file objecttreeparser.cpp.

KMail::ObjectTreeParser::~ObjectTreeParser (  )  [virtual]

Definition at line 174 of file objecttreeparser.cpp.


Member Function Documentation

const KMail::AttachmentStrategy* KMail::ObjectTreeParser::attachmentStrategy (  )  const [inline]

Definition at line 143 of file objecttreeparser.h.

const Kleo::CryptoBackend::Protocol* KMail::ObjectTreeParser::cryptoProtocol (  )  const [inline]

Definition at line 124 of file objecttreeparser.h.

KMail::CSSHelper* KMail::ObjectTreeParser::cssHelper (  )  const [inline]

Definition at line 149 of file objecttreeparser.h.

KMail::HtmlWriter* KMail::ObjectTreeParser::htmlWriter (  )  const [inline]

Definition at line 147 of file objecttreeparser.h.

bool KMail::ObjectTreeParser::includeSignatures (  )  const [inline]

Definition at line 138 of file objecttreeparser.h.

bool KMail::ObjectTreeParser::keepEncryptions (  )  const [inline]

Definition at line 133 of file objecttreeparser.h.

void KMail::ObjectTreeParser::parseObjectTree ( partNode node  ) 

Parse beginning at a given node and recursively parsing the children of that node and it's next sibling.

Definition at line 237 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processApplicationChiasmusTextSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1700 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processApplicationMsTnefSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1734 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processApplicationOctetStreamSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1336 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processApplicationPkcs7MimeSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1416 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processMessageRfc822Subtype ( partNode node,
ProcessResult result 
)

Definition at line 1283 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processMultiPartAlternativeSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1078 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processMultiPartDigestSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1107 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processMultiPartEncryptedSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1162 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processMultiPartMixedSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1068 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processMultiPartParallelSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1111 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processMultiPartSignedSubtype ( partNode node,
ProcessResult result 
)

Definition at line 1115 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processTextHtmlSubtype ( partNode node,
ProcessResult result 
)

Definition at line 805 of file objecttreeparser.cpp.

bool KMail::ObjectTreeParser::processTextPlainSubtype ( partNode node,
ProcessResult result 
)

Definition at line 989 of file objecttreeparser.cpp.

QCString KMail::ObjectTreeParser::rawReplyString (  )  const [inline]

Definition at line 113 of file objecttreeparser.h.

void KMail::ObjectTreeParser::setCryptoProtocol ( const Kleo::CryptoBackend::Protocol *  protocol  )  [inline]

Definition at line 121 of file objecttreeparser.h.

void KMail::ObjectTreeParser::setIncludeSignatures ( bool  include  )  [inline]

Definition at line 139 of file objecttreeparser.h.

void KMail::ObjectTreeParser::setKeepEncryptions ( bool  keep  )  [inline]

Definition at line 134 of file objecttreeparser.h.

void KMail::ObjectTreeParser::setShowOnlyOneMimePart ( bool  show  )  [inline]

Definition at line 129 of file objecttreeparser.h.

bool KMail::ObjectTreeParser::showOnlyOneMimePart (  )  const [inline]

Definition at line 128 of file objecttreeparser.h.

QString KMail::ObjectTreeParser::textualContent (  )  const [inline]

Returns:
the text of the message, ie. what would appear in the composer's text editor if this was edited.

Definition at line 117 of file objecttreeparser.h.

QCString KMail::ObjectTreeParser::textualContentCharset (  )  const [inline]

Definition at line 119 of file objecttreeparser.h.

void KMail::ObjectTreeParser::writeBodyStr ( const QCString bodyString,
const QTextCodec aCodec,
const QString fromAddress 
)

Definition at line 2516 of file objecttreeparser.cpp.


The documentation for this class was generated from the following files: