summaryrefslogtreecommitdiffstats
path: root/kmail/kmsearchpattern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmsearchpattern.cpp')
-rw-r--r--kmail/kmsearchpattern.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/kmsearchpattern.cpp b/kmail/kmsearchpattern.cpp
index 630c6f13b..2c003e49e 100644
--- a/kmail/kmsearchpattern.cpp
+++ b/kmail/kmsearchpattern.cpp
@@ -129,9 +129,9 @@ KMSearchRule * KMSearchRule::createInstanceFromConfig( const KConfig * config, i
{
const char cIdx = char( int('A') + aIdx );
- static const TQString & field = KGlobal::staticQString( "field" );
- static const TQString & func = KGlobal::staticQString( "func" );
- static const TQString & contents = KGlobal::staticQString( "contents" );
+ static const TQString & field = TDEGlobal::staticQString( "field" );
+ static const TQString & func = TDEGlobal::staticQString( "func" );
+ static const TQString & contents = TDEGlobal::staticQString( "contents" );
const TQCString &field2 = config->readEntry( field + cIdx ).latin1();
Function func2 = configValueToFunc( config->readEntry( func + cIdx ).latin1() );
@@ -163,9 +163,9 @@ TQString KMSearchRule::functionToString( Function function )
void KMSearchRule::writeConfig( KConfig * config, int aIdx ) const {
const char cIdx = char('A' + aIdx);
- static const TQString & field = KGlobal::staticQString( "field" );
- static const TQString & func = KGlobal::staticQString( "func" );
- static const TQString & contents = KGlobal::staticQString( "contents" );
+ static const TQString & field = TDEGlobal::staticQString( "field" );
+ static const TQString & func = TDEGlobal::staticQString( "func" );
+ static const TQString & contents = TDEGlobal::staticQString( "contents" );
config->writeEntry( field + cIdx, TQString(mField) );
config->writeEntry( func + cIdx, functionToString( mFunction ) );