summaryrefslogtreecommitdiffstats
path: root/kmail/templateparser.h
diff options
context:
space:
mode:
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 );