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