From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kabc/lock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kabc/lock.cpp') 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" ) ); -- cgit v1.2.3