summaryrefslogtreecommitdiffstats
path: root/kfilereplace/report.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfilereplace/report.cpp')
-rw-r--r--kfilereplace/report.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kfilereplace/report.cpp b/kfilereplace/report.cpp
index 6d485eba..5497b045 100644
--- a/kfilereplace/report.cpp
+++ b/kfilereplace/report.cpp
@@ -38,13 +38,13 @@ void Report::createReportFile()
TQFile report(xmlFileName);
if (!report.open( IO_WriteOnly ))
{
- KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b>.</qt>").arg(xmlFileName));
+ KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b>.</qt>").tqarg(xmlFileName));
return ;
}
// b) Write the header of the XML file
- TQDateTime datetime = TQDateTime::currentDateTime(Qt::LocalTime);
+ TQDateTime datetime = TQDateTime::tqcurrentDateTime(Qt::LocalTime);
TQString dateString = datetime.toString(Qt::LocalDate);
KUser user;
TQString columnTextFour,
@@ -60,7 +60,7 @@ void Report::createReportFile()
columnReplaceWith = i18n("-");
}
- TQString css = cssFileName.mid(cssFileName.findRev("/")+1,cssFileName.length()-(cssFileName.findRev("/")+1));
+ TQString css = cssFileName.mid(cssFileName.tqfindRev("/")+1,cssFileName.length()-(cssFileName.tqfindRev("/")+1));
TQTextStream oTStream( &report );
oTStream << "<?xml version=\"1.0\"?>\n"
"<?xml-stylesheet href=\""+css+"\" type=\"text/css\"?>"
@@ -191,7 +191,7 @@ void Report::createStyleSheet()
TQFile styleSheet(cssFileName);
if (!styleSheet.open( IO_WriteOnly ))
{
- KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b>.</qt>").arg(cssFileName));
+ KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b>.</qt>").tqarg(cssFileName));
return ;
}