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.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/parts/appwizard/kdevlicense.cpp b/parts/appwizard/kdevlicense.cpp
index 5e189422..688c3177 100644
--- a/parts/appwizard/kdevlicense.cpp
+++ b/parts/appwizard/kdevlicense.cpp
@@ -70,12 +70,12 @@ TQString KDevLicense::assemble( KDevFile::CommentingStyle commentingStyle, const
strFill + " * $EMAIL$ *\n" +
strFill + " * *\n";
-// str = str.arg(TQDate::currentDate().year()).arg(author.left(45),-45).arg(email.left(67),-67);
+// str = str.tqarg(TQDate::tqcurrentDate().year()).tqarg(author.left(45),-45).tqarg(email.left(67),-67);
TQStringList::Iterator it;
for( it = m_rawLines.begin(); it != m_rawLines.end(); ++it )
{
- str += TQString( "%1 * %2 *\n").arg( strFill ).arg( *it, -69 );
+ str += TQString( "%1 * %2 *\n").tqarg( strFill ).tqarg( *it, -69 );
}
str += strFill + " ***************************************************************************/\n";
@@ -87,28 +87,28 @@ TQString KDevLicense::assemble( KDevFile::CommentingStyle commentingStyle, const
return str;
case KDevFile::PascalStyle:
- str.replace(TQRegExp("/\\**\n \\*"), "{\n ");
- str.replace(TQRegExp("\\*\n \\*"), " \n ");
- str.replace(TQRegExp(" *\\**/\n"), "}\n");
+ str.tqreplace(TQRegExp("/\\**\n \\*"), "{\n ");
+ str.tqreplace(TQRegExp("\\*\n \\*"), " \n ");
+ str.tqreplace(TQRegExp(" *\\**/\n"), "}\n");
return str;
case KDevFile::AdaStyle:
- str.replace(TQRegExp("/\\*"), "--");
- str.replace(TQRegExp(" \\*"), "--");
- str.replace(TQRegExp("\\*/"), "*");
+ str.tqreplace(TQRegExp("/\\*"), "--");
+ str.tqreplace(TQRegExp(" \\*"), "--");
+ str.tqreplace(TQRegExp("\\*/"), "*");
return str;
case KDevFile::BashStyle:
- str.replace(TQRegExp("\\*|/"), "#");
- str.replace(TQRegExp("\n ##"), "\n##");
- str.replace(TQRegExp("\n #"), "\n# ");
+ str.tqreplace(TQRegExp("\\*|/"), "#");
+ str.tqreplace(TQRegExp("\n ##"), "\n##");
+ str.tqreplace(TQRegExp("\n #"), "\n# ");
return str;
case KDevFile::XMLStyle:
- str.replace(TQRegExp("/\\*"), "<!--");
- str.replace(TQRegExp("\n \\*"), "\n<!--");
- str.replace(TQRegExp("\\*/?\n"), "-->\n");
- str.replace(TQRegExp("\\*"), "_");
+ str.tqreplace(TQRegExp("/\\*"), "<!--");
+ str.tqreplace(TQRegExp("\n \\*"), "\n<!--");
+ str.tqreplace(TQRegExp("\\*/?\n"), "-->\n");
+ str.tqreplace(TQRegExp("\\*"), "_");
return str;
}