summaryrefslogtreecommitdiffstats
path: root/parts/tools/tools_part.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
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /parts/tools/tools_part.cpp
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/tools/tools_part.cpp')
-rw-r--r--parts/tools/tools_part.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index fbc02bd9..b6420714 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -135,21 +135,21 @@ void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName)
TQString word = KDevEditorUtil::currentWord( doc );
// This should really be checked before inserting into the popup
- if (cmdline.tqcontains("%D") && projectDirectory.isNull())
+ if (cmdline.contains("%D") && projectDirectory.isNull())
return;
- cmdline.tqreplace(TQRegExp("%D"), projectDirectory);
+ cmdline.replace(TQRegExp("%D"), projectDirectory);
- if (cmdline.tqcontains("%S") && fileName.isNull())
+ if (cmdline.contains("%S") && fileName.isNull())
return;
- cmdline.tqreplace(TQRegExp("%S"), fileName);
+ cmdline.replace(TQRegExp("%S"), fileName);
- if (cmdline.tqcontains("%T") && selection.isNull())
+ if (cmdline.contains("%T") && selection.isNull())
return;
- cmdline.tqreplace(TQRegExp("%T"), selection);
+ cmdline.replace(TQRegExp("%T"), selection);
- if (cmdline.tqcontains("%W") && word.isNull())
+ if (cmdline.contains("%W") && word.isNull())
return;
- cmdline.tqreplace(TQRegExp("%W"), word);
+ cmdline.replace(TQRegExp("%W"), word);
if (captured)
{