summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/kabc_resourcexmlrpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/egroupware/kabc_resourcexmlrpc.cpp')
-rw-r--r--kresources/egroupware/kabc_resourcexmlrpc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/egroupware/kabc_resourcexmlrpc.cpp b/kresources/egroupware/kabc_resourcexmlrpc.cpp
index 115484c6a..ae789ef62 100644
--- a/kresources/egroupware/kabc_resourcexmlrpc.cpp
+++ b/kresources/egroupware/kabc_resourcexmlrpc.cpp
@@ -479,7 +479,7 @@ void ResourceXMLRPC::writeContact( const Addressee &addr, TQMap<TQString, TQVari
TQMap<TQString, TQVariant> catMap;
int counter = 0;
for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) {
- TQMap<TQString, int>::ConstIterator it = mCategoryMap.find( *catIt );
+ TQMap<TQString, int>::ConstIterator it = mCategoryMap.tqfind( *catIt );
if ( it == mCategoryMap.end() ) // new category
catMap.insert( TQString::number( counter-- ), *catIt );
else
@@ -575,9 +575,9 @@ void ResourceXMLRPC::writeContact( const Addressee &addr, TQMap<TQString, TQVari
const TQStringList customFields = addr.customs();
TQStringList::ConstIterator it;
for ( it = customFields.begin(); it != customFields.end(); ++it ) {
- int colon = (*it).find( ":" );
+ int colon = (*it).tqfind( ":" );
TQString identifier = (*it).left( colon );
- int dash = identifier.find( "-" );
+ int dash = identifier.tqfind( "-" );
TQString app = identifier.left( dash );
TQString name = identifier.mid( dash + 1 );
TQString value = (*it).mid( colon + 1 );
@@ -752,7 +752,7 @@ void ResourceXMLRPC::loadCategoriesFinished( const TQValueList<TQVariant> &mapLi
mCategoryMap.insert( it.data().toString(), it.key().toInt() );
TQStringList categories = prefs->customCategories();
- if ( categories.find( it.data().toString() ) == categories.end() )
+ if ( categories.tqfind( it.data().toString() ) == categories.end() )
categories.append( it.data().toString() );
prefs->mCustomCategories = categories;