summaryrefslogtreecommitdiffstats
path: root/korganizer/koprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koprefs.cpp')
-rw-r--r--korganizer/koprefs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index dc52c312..5b431f8e 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -262,7 +262,7 @@ void KOPrefs::usrWriteConfig()
void KOPrefs::setCategoryColor( const TQString &cat, const TQColor & color)
{
- mCategoryColors.tqreplace( cat, new TQColor( color ) );
+ mCategoryColors.replace( cat, new TQColor( color ) );
}
TQColor *KOPrefs::categoryColor( const TQString &cat )
@@ -285,7 +285,7 @@ void KOPrefs::setResourceColor ( const TQString &cal, const TQColor &color )
{
// kdDebug(5850)<<"KOPrefs::setResourceColor: " << cal << " color: "<<
// color.name()<<endl;
- mResourceColors.tqreplace( cal, new TQColor( color ) );
+ mResourceColors.replace( cal, new TQColor( color ) );
}
TQColor* KOPrefs::resourceColor( const TQString &cal )
@@ -418,14 +418,14 @@ bool KOPrefs::thatIsMe( const TQString& _email )
if ( email == (*it).primaryEmailAddress() )
return true;
const TQStringList & aliases = (*it).emailAliases();
- if ( aliases.tqfind( email ) != aliases.end() )
+ if ( aliases.find( email ) != aliases.end() )
return true;
}
- if ( mAdditionalMails.tqfind( email ) != mAdditionalMails.end() )
+ if ( mAdditionalMails.find( email ) != mAdditionalMails.end() )
return true;
TQStringList lst = mMyAddrBookMails;
- if ( lst.tqfind( email ) != lst.end() )
+ if ( lst.find( email ) != lst.end() )
return true;
return false;
}