summaryrefslogtreecommitdiffstats
path: root/kabc/ldapclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/ldapclient.cpp')
-rw-r--r--kabc/ldapclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kabc/ldapclient.cpp b/kabc/ldapclient.cpp
index 637d77da6..6ce467a46 100644
--- a/kabc/ldapclient.cpp
+++ b/kabc/ldapclient.cpp
@@ -306,11 +306,11 @@ void LdapSearch::startSearch( const TQString& txt )
cancelSearch();
- int pos = txt.tqfind( '\"' );
+ int pos = txt.find( '\"' );
if( pos >= 0 )
{
++pos;
- int pos2 = txt.tqfind( '\"', pos );
+ int pos2 = txt.find( '\"', pos );
if( pos2 >= 0 )
mSearchText = txt.mid( pos , pos2 - pos );
else
@@ -408,7 +408,7 @@ void LdapSearch::makeSearchData( TQStringList& ret, LdapResultList& resList )
}
LdapResult sr;
- sr.clientNumber = mClients.tqfindIndex( (*it1).client );
+ sr.clientNumber = mClients.findIndex( (*it1).client );
sr.name = name;
sr.email = mail;
resList.append( sr );