summaryrefslogtreecommitdiffstats
path: root/kmail/antispamconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/antispamconfig.h')
-rw-r--r--kmail/antispamconfig.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kmail/antispamconfig.h b/kmail/antispamconfig.h
index 64394fe97..b4e73041e 100644
--- a/kmail/antispamconfig.h
+++ b/kmail/antispamconfig.h
@@ -34,8 +34,8 @@
#ifndef __KMAIL_ANTISPAMCONFIG_H__
#define __KMAIL_ANTISPAMCONFIG_H__
-#include <qvaluelist.h>
-#include <qregexp.h>
+#include <tqvaluelist.h>
+#include <tqregexp.h>
class QString;
class QCString;
@@ -54,26 +54,26 @@ namespace KMail {
class SpamAgent {
public:
SpamAgent() : mType( SpamAgentNone ) {}
- SpamAgent( const QString & name, SpamAgentTypes type, const QCString & field,
- const QRegExp & score, const QRegExp & threshold )
+ SpamAgent( const TQString & name, SpamAgentTypes type, const TQCString & field,
+ const TQRegExp & score, const TQRegExp & threshold )
: mName( name ), mType( type ), mField( field ),
mScore( score ), mThreshold( threshold ) {}
- QString name() const { return mName; }
+ TQString name() const { return mName; }
SpamAgentTypes scoreType() const { return mType; }
- QCString header() const { return mField; }
- QRegExp scorePattern() const { return mScore; }
- QRegExp thresholdPattern() const { return mThreshold; }
+ TQCString header() const { return mField; }
+ TQRegExp scorePattern() const { return mScore; }
+ TQRegExp thresholdPattern() const { return mThreshold; }
private:
- QString mName;
+ TQString mName;
SpamAgentTypes mType;
- QCString mField;
- QRegExp mScore;
- QRegExp mThreshold;
+ TQCString mField;
+ TQRegExp mScore;
+ TQRegExp mThreshold;
};
- typedef QValueList<SpamAgent> SpamAgents;
- typedef QValueListIterator<SpamAgent> SpamAgentsIterator;
+ typedef TQValueList<SpamAgent> SpamAgents;
+ typedef TQValueListIterator<SpamAgent> SpamAgentsIterator;
/**
@short Singleton to manage loading the kmail.antispamrc file.