summaryrefslogtreecommitdiffstats
path: root/kresources/slox/sloxaccounts.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/slox/sloxaccounts.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/slox/sloxaccounts.cpp')
-rw-r--r--kresources/slox/sloxaccounts.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/slox/sloxaccounts.cpp b/kresources/slox/sloxaccounts.cpp
index de694b4f5..a32df5fa2 100644
--- a/kresources/slox/sloxaccounts.cpp
+++ b/kresources/slox/sloxaccounts.cpp
@@ -65,7 +65,7 @@ void SloxAccounts::insertUser( const TQString &id, const KABC::Addressee &a )
{
kdDebug() << "SloxAccount::insertUser() " << id << endl;
- mUsers.tqreplace( id, a );
+ mUsers.replace( id, a );
TQString email = a.preferredEmail();
@@ -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.tqfind( id );
+ it = mUsers.find( id );
if ( it == mUsers.end() ) {
requestAccounts();
return KABC::Addressee();
@@ -99,7 +99,7 @@ TQString SloxAccounts::lookupId( const TQString &email )
}
requestAccounts();
- int pos = email.tqfind( '@' );
+ int pos = email.find( '@' );
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, "proptqfind" );
+ TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
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.tqfind( ':' ) + 1 ) );
+ tag = tag.right( tag.length() - ( tag.find( ':' ) + 1 ) );
TQString value = e.text();
if ( tag == "uid" ) id = value;
else if ( tag == "mail" ) a.insertEmail( value, true );