kmail
TemplateParser Class Reference
#include <templateparser.h>

Public Types | |
| enum | Mode { NewMessage, Reply, ReplyAll, Forward } |
Public Member Functions | |
| virtual QString | findCustomTemplate (const QString &tmpl) |
| virtual QString | findTemplate () |
| virtual QString | getFName (const QString &str) |
| virtual QString | getLName (const QString &str) |
| virtual QString | pipe (const QString &cmd, const QString &buf) |
| virtual void | process (const QString &tmplName, KMMessage *aorig_msg, KMFolder *afolder=NULL, bool append=false) |
| virtual void | process (KMMessage *aorig_msg, KMFolder *afolder=NULL, bool append=false) |
| virtual void | processWithTemplate (const QString &tmpl) |
| TemplateParser (KMMessage *amsg, const Mode amode, const QString aselection, bool aSmartQuote, bool anoQuote, bool aallowDecryption, bool aselectionIsBody) | |
Static Public Attributes | |
| static const int | PipeTimeout = 15 |
Protected Slots | |
| void | onProcessExited (KProcess *proc) |
| void | onReceivedStderr (KProcess *proc, char *buffer, int buflen) |
| void | onReceivedStdout (KProcess *proc, char *buffer, int buflen) |
| void | onWroteStdin (KProcess *proc) |
Protected Member Functions | |
| int | parseQuotes (const QString &prefix, const QString &str, QString "e) const |
Protected Attributes | |
| bool | mAllowDecryption |
| bool | mAppend |
| bool | mDebug |
| KMFolder * | mFolder |
| uint | mIdentity |
| Mode | mMode |
| KMMessage * | mMsg |
| bool | mNoQuote |
| KMMessage * | mOrigMsg |
| QString | mPipeErr |
| QString | mPipeOut |
| int | mPipeRc |
| QString | mQuoteString |
| QString | mSelection |
| bool | mSelectionIsBody |
| bool | mSmartQuote |
Detailed Description
Definition at line 32 of file templateparser.h.
Member Enumeration Documentation
| enum TemplateParser::Mode |
Constructor & Destructor Documentation
| TemplateParser::TemplateParser | ( | KMMessage * | amsg, | |
| const Mode | amode, | |||
| const QString | aselection, | |||
| bool | aSmartQuote, | |||
| bool | anoQuote, | |||
| bool | aallowDecryption, | |||
| bool | aselectionIsBody | |||
| ) |
Definition at line 49 of file templateparser.cpp.
Member Function Documentation
Definition at line 843 of file templateparser.cpp.
| QString TemplateParser::findTemplate | ( | ) | [virtual] |
Definition at line 854 of file templateparser.cpp.
Definition at line 96 of file templateparser.cpp.
Definition at line 140 of file templateparser.cpp.
| void TemplateParser::onProcessExited | ( | KProcess * | proc | ) | [protected, slot] |
Definition at line 1070 of file templateparser.cpp.
| void TemplateParser::onReceivedStderr | ( | KProcess * | proc, | |
| char * | buffer, | |||
| int | buflen | |||
| ) | [protected, slot] |
Definition at line 1082 of file templateparser.cpp.
| void TemplateParser::onReceivedStdout | ( | KProcess * | proc, | |
| char * | buffer, | |||
| int | buflen | |||
| ) | [protected, slot] |
Definition at line 1076 of file templateparser.cpp.
| void TemplateParser::onWroteStdin | ( | KProcess * | proc | ) | [protected, slot] |
Definition at line 1088 of file templateparser.cpp.
| int TemplateParser::parseQuotes | ( | const QString & | prefix, | |
| const QString & | str, | |||
| QString & | quote | |||
| ) | const [protected] |
Definition at line 61 of file templateparser.cpp.
Definition at line 974 of file templateparser.cpp.
| void TemplateParser::process | ( | const QString & | tmplName, | |
| KMMessage * | aorig_msg, | |||
| KMFolder * | afolder = NULL, |
|||
| bool | append = false | |||
| ) | [virtual] |
Definition at line 184 of file templateparser.cpp.
| void TemplateParser::process | ( | KMMessage * | aorig_msg, | |
| KMFolder * | afolder = NULL, |
|||
| bool | append = false | |||
| ) | [virtual] |
Definition at line 175 of file templateparser.cpp.
| void TemplateParser::processWithTemplate | ( | const QString & | tmpl | ) | [virtual] |
Definition at line 194 of file templateparser.cpp.
Member Data Documentation
bool TemplateParser::mAllowDecryption [protected] |
Definition at line 71 of file templateparser.h.
bool TemplateParser::mAppend [protected] |
Definition at line 78 of file templateparser.h.
bool TemplateParser::mDebug [protected] |
Definition at line 76 of file templateparser.h.
KMFolder* TemplateParser::mFolder [protected] |
Definition at line 64 of file templateparser.h.
uint TemplateParser::mIdentity [protected] |
Definition at line 65 of file templateparser.h.
Mode TemplateParser::mMode [protected] |
Definition at line 63 of file templateparser.h.
KMMessage* TemplateParser::mMsg [protected] |
Definition at line 66 of file templateparser.h.
bool TemplateParser::mNoQuote [protected] |
Definition at line 70 of file templateparser.h.
KMMessage* TemplateParser::mOrigMsg [protected] |
Definition at line 67 of file templateparser.h.
QString TemplateParser::mPipeErr [protected] |
Definition at line 75 of file templateparser.h.
QString TemplateParser::mPipeOut [protected] |
Definition at line 74 of file templateparser.h.
int TemplateParser::mPipeRc [protected] |
Definition at line 73 of file templateparser.h.
QString TemplateParser::mQuoteString [protected] |
Definition at line 77 of file templateparser.h.
QString TemplateParser::mSelection [protected] |
Definition at line 68 of file templateparser.h.
bool TemplateParser::mSelectionIsBody [protected] |
Definition at line 72 of file templateparser.h.
bool TemplateParser::mSmartQuote [protected] |
Definition at line 69 of file templateparser.h.
const int TemplateParser::PipeTimeout = 15 [static] |
Definition at line 44 of file templateparser.h.
The documentation for this class was generated from the following files:
