From 72aaee9802d447ee21340b011856b9b355a58f1a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- data/defscript/installer.kvs | 6 +++--- data/defscript/popups.kvs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'data/defscript') diff --git a/data/defscript/installer.kvs b/data/defscript/installer.kvs index f25aa78d..f974b7ed 100644 --- a/data/defscript/installer.kvs +++ b/data/defscript/installer.kvs @@ -71,7 +71,7 @@ class(installer,object) @$mkdir($2) foreach(%file,%files) { - $this->%lFiles <+ $str.tqreplace($file.fixpath("$2/%file"),"\\\\","\\") + $this->%lFiles <+ $str.replace($file.fixpath("$2/%file"),"\\\\","\\") file.copy -o $file.fixpath($0/%file) $file.fixpath($2/%file) } } @@ -117,7 +117,7 @@ class(installer,object) { foreach(%file,%files) { - $this->%lSources <+ $str.tqreplace($file.fixpath("$0/%file"),"\\\\","\\") + $this->%lSources <+ $str.replace($file.fixpath("$0/%file"),"\\\\","\\") include $file.fixpath("$0/%file") } } @@ -150,7 +150,7 @@ class(installer,object) else if($str.match("toolbar.create * *",%line,e)) %c .= " toolbar.destroy -q "$str.word(1,%line)"$lf" else if($str.match("action.create* (*)",%line,e)) - %c .= " action.destroy -q "$str.tqreplace($str.token(1,"(,)",%line),,\")"$lf" + %c .= " action.destroy -q "$str.replace($str.token(1,"(,)",%line),,\")"$lf" else if($str.match("class(*)*",%line,e)) %c .= " objects.killclass -q "$str.token(1,"(,)",%line)"$lf" } diff --git a/data/defscript/popups.kvs b/data/defscript/popups.kvs index 643a0377..7c5e1f67 100644 --- a/data/defscript/popups.kvs +++ b/data/defscript/popups.kvs @@ -1159,7 +1159,7 @@ defpopup(logging) # If this window is being logged actually , $log.file will be non empty # and pointing to the log file actually open. - %:logfile = $str.tqreplace($log.file,,$file.localdir) + %:logfile = $str.replace($log.file,,$file.localdir) } label($tr("Logging to"):
%:logfile) ("%:logfile" != "") -- cgit v1.2.1