kmail
TemplateParser Class Reference
List of all members.Detailed Description
Definition at line 32 of file templateparser.h.
Public Types | |
enum | Mode { NewMessage, Reply, ReplyAll, Forward } |
Public Member Functions | |
TemplateParser (KMMessage *amsg, const Mode amode, const QString aselection, bool aSmartQuote, bool anoQuote, bool aallowDecryption, bool aselectionIsBody) | |
virtual void | process (KMMessage *aorig_msg, KMFolder *afolder=NULL, bool append=false) |
virtual void | process (const QString &tmplName, KMMessage *aorig_msg, KMFolder *afolder=NULL, bool append=false) |
virtual void | processWithTemplate (const QString &tmpl) |
virtual QString | findTemplate () |
virtual QString | findCustomTemplate (const QString &tmpl) |
virtual QString | pipe (const QString &cmd, const QString &buf) |
virtual QString | getFName (const QString &str) |
virtual QString | getLName (const QString &str) |
Static Public Attributes | |
static const int | PipeTimeout = 15 |
Protected Slots | |
void | onProcessExited (KProcess *proc) |
void | onReceivedStdout (KProcess *proc, char *buffer, int buflen) |
void | onReceivedStderr (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 | |
Mode | mMode |
KMFolder * | mFolder |
uint | mIdentity |
KMMessage * | mMsg |
KMMessage * | mOrigMsg |
QString | mSelection |
bool | mSmartQuote |
bool | mNoQuote |
bool | mAllowDecryption |
bool | mSelectionIsBody |
int | mPipeRc |
QString | mPipeOut |
QString | mPipeErr |
bool | mDebug |
QString | mQuoteString |
bool | mAppend |
The documentation for this class was generated from the following files: