templateparser.h
The TemplateParser transforms a message with a given template.
Definition: templateparser.h:55
void setAllowDecryption(const bool allowDecryption)
Sets whether the template parser is allowed to decrypt the original message when needing its message ...
Definition: templateparser.cpp:69
virtual TQString findCustomTemplate(const TQString &tmpl)
Finds the template with the given name.
Definition: templateparser.cpp:982
bool shouldStripSignature() const
Determines whether the signature should be stripped when getting the text of the original message,...
Definition: templateparser.cpp:74
partNode * parsedObjectTree()
Returns the parsed object tree of the original message.
Definition: templateparser.cpp:882
TQString messageText(bool allowSelectionOnly)
If there was a text selection set in the constructor, that will be returned.
Definition: templateparser.cpp:872
void addProcessedBodyToMessage(const TQString &body)
Called by processWithTemplate().
Definition: templateparser.cpp:893