summaryrefslogtreecommitdiffstats
path: root/kresources/slox/sloxaccounts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/slox/sloxaccounts.cpp')
-rw-r--r--kresources/slox/sloxaccounts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/slox/sloxaccounts.cpp b/kresources/slox/sloxaccounts.cpp
index a49594ea7..de694b4f5 100644
--- a/kresources/slox/sloxaccounts.cpp
+++ b/kresources/slox/sloxaccounts.cpp
@@ -78,7 +78,7 @@ void SloxAccounts::insertUser( const TQString &id, const KABC::Addressee &a )
KABC::Addressee SloxAccounts::lookupUser( const TQString &id )
{
TQMap<TQString, KABC::Addressee>::ConstIterator it;
- it = mUsers.find( id );
+ it = mUsers.tqfind( id );
if ( it == mUsers.end() ) {
requestAccounts();
return KABC::Addressee();
@@ -99,7 +99,7 @@ TQString SloxAccounts::lookupId( const TQString &email )
}
requestAccounts();
- int pos = email.find( '@' );
+ int pos = email.tqfind( '@' );
if ( pos < 0 ) return email;
else return email.left( pos );
}
@@ -127,7 +127,7 @@ void SloxAccounts::requestAccounts()
url.setPath( "/servlet/webdav.groupuser/" );
TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
+ TQDomElement root = WebdavHandler::addDavElement( doc, doc, "proptqfind" );
TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
WebdavHandler::addSloxElement( mRes, doc, prop, "user", "*" );
WebdavHandler::addSloxElement( mRes, doc, prop, "group", "*" );
@@ -207,7 +207,7 @@ void SloxAccounts::readAccounts()
TQDomElement e = n.toElement();
TQString tag = e.tagName();
// remove XML namespace
- tag = tag.right( tag.length() - ( tag.find( ':' ) + 1 ) );
+ tag = tag.right( tag.length() - ( tag.tqfind( ':' ) + 1 ) );
TQString value = e.text();
if ( tag == "uid" ) id = value;
else if ( tag == "mail" ) a.insertEmail( value, true );