summaryrefslogtreecommitdiffstats
path: root/src/core.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 /src/core.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 'src/core.cpp')
-rw-r--r--src/core.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.cpp b/src/core.cpp
index 6dc493bf..c189fcf8 100644
--- a/src/core.cpp
+++ b/src/core.cpp
@@ -46,7 +46,7 @@ void Core::setupShourtcutTips(KXMLGUIClient * client)
if (tooltip.isEmpty())
tooltip = action->text().remove('&');
else {
- int i = tooltip.tqfindRev('(');
+ int i = tooltip.findRev('(');
if (i > 0) tooltip = tooltip.left(i).stripWhiteSpace();
}
@@ -109,8 +109,8 @@ namespace MainWindowUtils{
TQString beautifyToolTip(const TQString& text)
{
TQString temp = text;
- temp.tqreplace(TQRegExp("&"), "");
- temp.tqreplace(TQRegExp("\\.\\.\\."), "");
+ temp.replace(TQRegExp("&"), "");
+ temp.replace(TQRegExp("\\.\\.\\."), "");
return temp;
}
}