summaryrefslogtreecommitdiffstats
path: root/libkdepim/ldapclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/ldapclient.cpp')
-rw-r--r--libkdepim/ldapclient.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdepim/ldapclient.cpp b/libkdepim/ldapclient.cpp
index 2f29b7633..a7dcfcd26 100644
--- a/libkdepim/ldapclient.cpp
+++ b/libkdepim/ldapclient.cpp
@@ -196,7 +196,7 @@ void LdapClient::finishCurrentObject()
mCurrentObject.dn = mLdif.dn();
const TQString sClass( mCurrentObject.objectClass.lower() );
if( sClass == "groupofnames" || sClass == "kolabgroupofnames" ){
- LdapAttrMap::ConstIterator it = mCurrentObject.attrs.tqfind("mail");
+ LdapAttrMap::ConstIterator it = mCurrentObject.attrs.find("mail");
if( it == mCurrentObject.attrs.end() ){
// No explicit mail address found so far?
// Fine, then we use the address stored in the DN.
@@ -423,11 +423,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
@@ -575,7 +575,7 @@ void LdapSearch::makeSearchData( TQStringList& ret, LdapResultList& resList )
// must use the correct SMTP server, by definition.
//
//mail = (*it1).client->base().simplifyWhiteSpace();
- //mail.tqreplace( ",dc=", ".", false );
+ //mail.replace( ",dc=", ".", false );
//if( mail.startsWith("dc=", false) )
// mail.remove(0, 3);
//mail.prepend( '@' );