summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kablock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kablock.cpp')
-rw-r--r--kaddressbook/kablock.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/kablock.cpp b/kaddressbook/kablock.cpp
index acb6c287..259ee70d 100644
--- a/kaddressbook/kablock.cpp
+++ b/kaddressbook/kablock.cpp
@@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <kabc/addressbook.h>
@@ -65,7 +65,7 @@ KABLock *KABLock::self( KABC::AddressBook *ab )
bool KABLock::lock( KABC::Resource *resource )
{
- if ( mLocks.find( resource ) == mLocks.end() ) { // not locked yet
+ if ( mLocks.tqfind( 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.find( resource ) == mLocks.end() ) { // hmm, not good...
+ if ( mLocks.tqfind( resource ) == mLocks.end() ) { // hmm, not good...
return false;
} else {
LockEntry &entry = mLocks[ resource ];