summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/kcal_resourcexmlrpc.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kresources/egroupware/kcal_resourcexmlrpc.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-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 'kresources/egroupware/kcal_resourcexmlrpc.cpp')
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/egroupware/kcal_resourcexmlrpc.cpp b/kresources/egroupware/kcal_resourcexmlrpc.cpp
index 177ce9def..25f4c1f2d 100644
--- a/kresources/egroupware/kcal_resourcexmlrpc.cpp
+++ b/kresources/egroupware/kcal_resourcexmlrpc.cpp
@@ -651,7 +651,7 @@ void ResourceXMLRPC::loadEventCategoriesFinished( const TQValueList<TQVariant> &
for ( it = map.begin(); it != map.end(); ++it ) {
mEventCategoryMap.insert( it.data().toString(), it.key().toInt() );
- if ( prefs.mCustomCategories.tqfind( it.data().toString() ) == prefs.mCustomCategories.end() )
+ if ( prefs.mCustomCategories.find( it.data().toString() ) == prefs.mCustomCategories.end() )
prefs.mCustomCategories.append( it.data().toString() );
}
@@ -756,7 +756,7 @@ void ResourceXMLRPC::loadTodoCategoriesFinished( const TQValueList<TQVariant> &m
for ( it = map.begin(); it != map.end(); ++it ) {
mTodoCategoryMap.insert( it.data().toString(), it.key().toInt() );
- if ( prefs.mCustomCategories.tqfind( it.data().toString() ) == prefs.mCustomCategories.end() )
+ if ( prefs.mCustomCategories.find( it.data().toString() ) == prefs.mCustomCategories.end() )
prefs.mCustomCategories.append( it.data().toString() );
}
@@ -964,7 +964,7 @@ void ResourceXMLRPC::writeEvent( Event *event, TQMap<TQString, TQVariant> &args
TQMap<TQString, TQVariant> catMap;
int counter = 0;
for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) {
- TQMap<TQString, int>::Iterator it = mEventCategoryMap.tqfind( *catIt );
+ TQMap<TQString, int>::Iterator it = mEventCategoryMap.find( *catIt );
if ( it == mEventCategoryMap.end() ) // new category
catMap.insert( TQString::number( counter-- ), *catIt );
else
@@ -1099,7 +1099,7 @@ void ResourceXMLRPC::writeTodo( Todo* todo, TQMap<TQString, TQVariant>& args )
TQStringList::ConstIterator catIt;
int counter = 0;
for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) {
- TQMap<TQString, int>::Iterator it = mTodoCategoryMap.tqfind( *catIt );
+ TQMap<TQString, int>::Iterator it = mTodoCategoryMap.find( *catIt );
if ( it == mTodoCategoryMap.end() )
catMap.insert( TQString::number( counter-- ), *catIt );
else