summaryrefslogtreecommitdiffstats
path: root/kmail/templateparser.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/templateparser.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/templateparser.h')
-rw-r--r--kmail/templateparser.h30
1 files changed, 15 insertions, 15 deletions
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 <qobject.h>
+#include <tqobject.h>
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 &quote ) const;
+ int parseQuotes( const TQString &prefix, const TQString &str,
+ TQString &quote ) const;
protected slots:
void onProcessExited( KProcess *proc );