summaryrefslogtreecommitdiffstats
path: root/languages/ada/addclass.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 /languages/ada/addclass.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 'languages/ada/addclass.cpp')
-rw-r--r--languages/ada/addclass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/ada/addclass.cpp b/languages/ada/addclass.cpp
index 8605e42a..75420266 100644
--- a/languages/ada/addclass.cpp
+++ b/languages/ada/addclass.cpp
@@ -33,7 +33,7 @@ AddClassInfo::AddClassInfo()
TQString AddClassInfo::adaFileName() const
{
TQString dest = className;
- dest.tqreplace(TQRegExp("\\."), "/");
+ dest.replace(TQRegExp("\\."), "/");
return sourceDir + "/" + dest + ".ada";
}
@@ -206,7 +206,7 @@ bool AddClass::generate()
// find class and package name
TQString className, packageName;
- int i = m_info.className.tqfindRev('.');
+ int i = m_info.className.findRev('.');
if (i == -1)
{
packageName = "";
@@ -322,7 +322,7 @@ bool AddClass::generate()
// create directories
TQString dest = packageName;
- dest.tqreplace(TQRegExp("\\."), "/");
+ dest.replace(TQRegExp("\\."), "/");
dest = m_info.sourceDir + "/" + dest;
if (!makeDirs(dest))