diff options
Diffstat (limited to 'kmail/antispamconfig.cpp')
-rw-r--r-- | kmail/antispamconfig.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/antispamconfig.cpp b/kmail/antispamconfig.cpp index 448bd9ac1..9a5b4a23e 100644 --- a/kmail/antispamconfig.cpp +++ b/kmail/antispamconfig.cpp @@ -59,13 +59,13 @@ void AntiSpamConfig::readConfig() KConfigGroup general( &config, "General" ); unsigned int totalTools = general.readUnsignedNumEntry( "tools", 0 ); for ( unsigned int i = 1; i <= totalTools; ++i ) { - KConfigGroup tool( &config, QString("Spamtool #%1").arg( i ) ); + KConfigGroup tool( &config, TQString("Spamtool #%1").arg( i ) ); if ( tool.hasKey( "ScoreHeader" ) ) { - QString name = tool.readEntry( "ScoreName" ); - QCString header = tool.readEntry( "ScoreHeader" ).latin1(); - QCString type = tool.readEntry( "ScoreType" ).latin1(); - QString score = tool.readEntryUntranslated( "ScoreValueRegexp" ); - QString threshold = tool.readEntryUntranslated( "ScoreThresholdRegexp" ); + TQString name = tool.readEntry( "ScoreName" ); + TQCString header = tool.readEntry( "ScoreHeader" ).latin1(); + TQCString type = tool.readEntry( "ScoreType" ).latin1(); + TQString score = tool.readEntryUntranslated( "ScoreValueRegexp" ); + TQString threshold = tool.readEntryUntranslated( "ScoreThresholdRegexp" ); SpamAgentTypes typeE = SpamAgentNone; if ( kasciistricmp( type.data(), "bool" ) == 0 ) typeE = SpamAgentBool; @@ -75,20 +75,20 @@ void AntiSpamConfig::readConfig() typeE = SpamAgentFloatLarge; else if ( kasciistricmp( type.data(), "adjusted" ) == 0 ) typeE = SpamAgentAdjustedFloat; - mAgents.append( SpamAgent( name, typeE, header, QRegExp( score ), - QRegExp( threshold ) ) ); + mAgents.append( SpamAgent( name, typeE, header, TQRegExp( score ), + TQRegExp( threshold ) ) ); } } } const SpamAgents AntiSpamConfig::uniqueAgents() const { - QStringList seenAgents; + TQStringList seenAgents; SpamAgents agents; SpamAgents::ConstIterator it( mAgents.begin() ); SpamAgents::ConstIterator end( mAgents.end() ); for ( ; it != end ; ++it ) { - const QString agent( ( *it ).name() ); + const TQString agent( ( *it ).name() ); if ( seenAgents.find( agent ) == seenAgents.end() ) { agents.append( *it ); seenAgents.append( agent ); |