diff options
Diffstat (limited to 'kfilereplace/report.cpp')
-rw-r--r-- | kfilereplace/report.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kfilereplace/report.cpp b/kfilereplace/report.cpp index 62e59173..6d485eba 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>").tqarg(xmlFileName)); + KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b>.</qt>").arg(xmlFileName)); return ; } // b) Write the header of the XML file - TQDateTime datetime = TQDateTime::tqcurrentDateTime(Qt::LocalTime); + TQDateTime datetime = TQDateTime::currentDateTime(Qt::LocalTime); TQString dateString = datetime.toString(Qt::LocalDate); KUser user; TQString columnTextFour, @@ -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>").tqarg(cssFileName)); + KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b>.</qt>").arg(cssFileName)); return ; } |