From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/templateparser.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kmail/templateparser.h') diff --git a/kmail/templateparser.h b/kmail/templateparser.h index dac78e5f7..77db0e76f 100644 --- a/kmail/templateparser.h +++ b/kmail/templateparser.h @@ -21,7 +21,7 @@ #ifndef __KMAIL_TEMPLATEPARSER_H__ #define __KMAIL_TEMPLATEPARSER_H__ -#include +#include class KMMessage; class QString; @@ -44,20 +44,20 @@ class TemplateParser : public QObject static const int PipeTimeout = 15; public: - TemplateParser( KMMessage *amsg, const Mode amode, const QString aselection, + TemplateParser( KMMessage *amsg, const Mode amode, const TQString 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, + virtual void process( const TQString &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 void processWithTemplate( const TQString &tmpl ); + virtual TQString findTemplate(); + virtual TQString findCustomTemplate( const TQString &tmpl ); + virtual TQString pipe( const TQString &cmd, const TQString &buf ); - virtual QString getFName( const QString &str ); - virtual QString getLName( const QString &str ); + virtual TQString getFName( const TQString &str ); + virtual TQString getLName( const TQString &str ); protected: Mode mMode; @@ -65,20 +65,20 @@ class TemplateParser : public QObject uint mIdentity; KMMessage *mMsg; KMMessage *mOrigMsg; - QString mSelection; + TQString mSelection; bool mSmartQuote; bool mNoQuote; bool mAllowDecryption; bool mSelectionIsBody; int mPipeRc; - QString mPipeOut; - QString mPipeErr; + TQString mPipeOut; + TQString mPipeErr; bool mDebug; - QString mQuoteString; + TQString mQuoteString; bool mAppend; - int parseQuotes( const QString &prefix, const QString &str, - QString "e ) const; + int parseQuotes( const TQString &prefix, const TQString &str, + TQString "e ) const; protected slots: void onProcessExited( KProcess *proc ); -- cgit v1.2.1