diff options
Diffstat (limited to 'languages/ada/addclass.cpp')
-rw-r--r-- | languages/ada/addclass.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/ada/addclass.cpp b/languages/ada/addclass.cpp index ee28ff93..8605e42a 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.replace(TQRegExp("\\."), "/"); + dest.tqreplace(TQRegExp("\\."), "/"); return sourceDir + "/" + dest + ".ada"; } @@ -183,12 +183,12 @@ bool AddClass::generate() " * published by the Free Software Foundation; either version 2 of the\n" " * License, or (at your option) any later version.\n"; } - else if (m_info.license == "QPL") + else if (m_info.license == "TQPL") { code += " * This program may be distributed under the terms of the Q Public\n" " * License as defined by Trolltech AS of Norway and appearing in the\n" - " * file LICENSE.QPL included in the packaging of this file.\n" + " * file LICENSE.TQPL included in the packaging of this file.\n" " *\n" " * This program is distributed in the hope that it will be useful,\n" " * but WITHOUT ANY WARRANTY; without even the implied warranty of\n" @@ -206,7 +206,7 @@ bool AddClass::generate() // find class and package name TQString className, packageName; - int i = m_info.className.findRev('.'); + int i = m_info.className.tqfindRev('.'); if (i == -1) { packageName = ""; @@ -322,7 +322,7 @@ bool AddClass::generate() // create directories TQString dest = packageName; - dest.replace(TQRegExp("\\."), "/"); + dest.tqreplace(TQRegExp("\\."), "/"); dest = m_info.sourceDir + "/" + dest; if (!makeDirs(dest)) |