summaryrefslogtreecommitdiffstats
path: root/kabc/lock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/lock.cpp')
-rw-r--r--kabc/lock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/lock.cpp b/kabc/lock.cpp
index b5e0ea5a6..fd300cfca 100644
--- a/kabc/lock.cpp
+++ b/kabc/lock.cpp
@@ -38,7 +38,7 @@ using namespace KABC;
Lock::Lock( const TQString &identifier )
: mIdentifier( identifier )
{
- mIdentifier.replace( "/", "_" );
+ mIdentifier.tqreplace( "/", "_" );
}
Lock::~Lock()
@@ -101,7 +101,7 @@ bool Lock::lock()
<< endl;
} else {
TQString identifier( mIdentifier );
- identifier.replace( '_', '/' );
+ identifier.tqreplace( '_', '/' );
mError = i18n("The address book '%1' is locked by application '%2'.\nIf you believe this is incorrect, just remove the lock file from '%3'")
.arg( identifier ).arg( app ).arg( locateLocal( "data", "kabc/lock/*.lock" ) );