summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kablock.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 /kaddressbook/kablock.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 'kaddressbook/kablock.cpp')
-rw-r--r--kaddressbook/kablock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/kablock.cpp b/kaddressbook/kablock.cpp
index 259ee70da..9444df472 100644
--- a/kaddressbook/kablock.cpp
+++ b/kaddressbook/kablock.cpp
@@ -65,7 +65,7 @@ KABLock *KABLock::self( KABC::AddressBook *ab )
bool KABLock::lock( KABC::Resource *resource )
{
- if ( mLocks.tqfind( resource ) == mLocks.end() ) { // not locked yet
+ if ( mLocks.find( resource ) == mLocks.end() ) { // not locked yet
KABC::Ticket *ticket = mAddressBook->requestSaveTicket( resource );
if ( !ticket ) {
return false;
@@ -89,7 +89,7 @@ bool KABLock::unlock( KABC::Resource *resource )
if ( resource == 0 )
resource = wrapper->getStandardResource();
- if ( mLocks.tqfind( resource ) == mLocks.end() ) { // hmm, not good...
+ if ( mLocks.find( resource ) == mLocks.end() ) { // hmm, not good...
return false;
} else {
LockEntry &entry = mLocks[ resource ];