summaryrefslogtreecommitdiffstats
path: root/kmail/spamheaderanalyzer.cpp
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/spamheaderanalyzer.cpp
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/spamheaderanalyzer.cpp')
-rw-r--r--kmail/spamheaderanalyzer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/spamheaderanalyzer.cpp b/kmail/spamheaderanalyzer.cpp
index b64303631..ad77605ea 100644
--- a/kmail/spamheaderanalyzer.cpp
+++ b/kmail/spamheaderanalyzer.cpp
@@ -54,16 +54,16 @@ SpamScores SpamHeaderAnalyzer::getSpamScores( const KMMessage* message ) {
continue;
// Do we have the needed field for this agent?
- QString mField = message->headerField( (*it).header() );
+ TQString mField = message->headerField( (*it).header() );
if ( mField.isEmpty() )
continue;
- QString scoreString;
+ TQString scoreString;
bool scoreValid = false;
if ( (*it).scoreType() != SpamAgentBool ) {
// Can we extract the score?
- QRegExp scorePattern = (*it).scorePattern();
+ TQRegExp scorePattern = (*it).scorePattern();
if ( scorePattern.search( mField ) != -1 ) {
scoreString = scorePattern.cap( 1 );
scoreValid = true;
@@ -119,8 +119,8 @@ SpamScores SpamHeaderAnalyzer::getSpamScores( const KMMessage* message ) {
}
// Find the threshold value.
- QString thresholdString;
- QRegExp thresholdPattern = (*it).thresholdPattern();
+ TQString thresholdString;
+ TQRegExp thresholdPattern = (*it).thresholdPattern();
if ( thresholdPattern.search( mField ) != -1 ) {
thresholdString = thresholdPattern.cap( 1 );
}