21 #ifndef __KMAIL_TEMPLATEPARSER_H__
22 #define __KMAIL_TEMPLATEPARSER_H__
67 static const int PipeTimeout = 15;
91 virtual void process( KMMessage *aorig_msg, KMFolder *afolder = 0, bool append = false );
92 virtual void process( const TQString &tmplName, KMMessage *aorig_msg,
93 KMFolder *afolder = 0, bool append = false );
94 virtual void processWithTemplate( const TQString &tmpl );
107 virtual TQString pipe( const TQString &cmd, const TQString &buf );
109 virtual TQString getFName( const TQString &str );
110 virtual TQString getLName( const TQString &str );
119 bool mAllowDecryption;
124 TQString mQuoteString;
162 int parseQuotes( const TQString &prefix, const TQString &str,
163 TQString "e ) const;
166 void onProcessExited( KProcess *proc );
167 void onReceivedStdout( KProcess *proc, char *buffer, int buflen );
168 void onReceivedStderr( KProcess *proc, char *buffer, int buflen );
169 void onWroteStdin( KProcess *proc );
172 #endif // __KMAIL_TEMPLATEPARSER_H__
|