summaryrefslogtreecommitdiffstats
path: root/kmail/antispamconfig.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/antispamconfig.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/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 64394fe9..b4e73041 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.