diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /korganizer/koprefs.cpp | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/koprefs.cpp')
-rw-r--r-- | korganizer/koprefs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index dc52c312c..5b431f8e4 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; } |