summaryrefslogtreecommitdiffstats
path: root/parts/appwizard/kdevlicense.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/appwizard/kdevlicense.cpp')
-rw-r--r--parts/appwizard/kdevlicense.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/parts/appwizard/kdevlicense.cpp b/parts/appwizard/kdevlicense.cpp
index 688c3177..1357c774 100644
--- a/parts/appwizard/kdevlicense.cpp
+++ b/parts/appwizard/kdevlicense.cpp
@@ -87,28 +87,28 @@ TQString KDevLicense::assemble( KDevFile::CommentingStyle commentingStyle, const
return str;
case KDevFile::PascalStyle:
- str.tqreplace(TQRegExp("/\\**\n \\*"), "{\n ");
- str.tqreplace(TQRegExp("\\*\n \\*"), " \n ");
- str.tqreplace(TQRegExp(" *\\**/\n"), "}\n");
+ str.replace(TQRegExp("/\\**\n \\*"), "{\n ");
+ str.replace(TQRegExp("\\*\n \\*"), " \n ");
+ str.replace(TQRegExp(" *\\**/\n"), "}\n");
return str;
case KDevFile::AdaStyle:
- str.tqreplace(TQRegExp("/\\*"), "--");
- str.tqreplace(TQRegExp(" \\*"), "--");
- str.tqreplace(TQRegExp("\\*/"), "*");
+ str.replace(TQRegExp("/\\*"), "--");
+ str.replace(TQRegExp(" \\*"), "--");
+ str.replace(TQRegExp("\\*/"), "*");
return str;
case KDevFile::BashStyle:
- str.tqreplace(TQRegExp("\\*|/"), "#");
- str.tqreplace(TQRegExp("\n ##"), "\n##");
- str.tqreplace(TQRegExp("\n #"), "\n# ");
+ str.replace(TQRegExp("\\*|/"), "#");
+ str.replace(TQRegExp("\n ##"), "\n##");
+ str.replace(TQRegExp("\n #"), "\n# ");
return str;
case KDevFile::XMLStyle:
- str.tqreplace(TQRegExp("/\\*"), "<!--");
- str.tqreplace(TQRegExp("\n \\*"), "\n<!--");
- str.tqreplace(TQRegExp("\\*/?\n"), "-->\n");
- str.tqreplace(TQRegExp("\\*"), "_");
+ str.replace(TQRegExp("/\\*"), "<!--");
+ str.replace(TQRegExp("\n \\*"), "\n<!--");
+ str.replace(TQRegExp("\\*/?\n"), "-->\n");
+ str.replace(TQRegExp("\\*"), "_");
return str;
}