diff options
Diffstat (limited to 'languages/ada/addclass.cpp')
-rw-r--r-- | languages/ada/addclass.cpp | 6 |
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)) |