From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfilereplace/report.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kfilereplace/report.cpp') 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("Cannot open the file %1.").arg(xmlFileName)); + KMessageBox::error(0, i18n("Cannot open the file %1.").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 << "\n" "" @@ -191,7 +191,7 @@ void Report::createStyleSheet() TQFile styleSheet(cssFileName); if (!styleSheet.open( IO_WriteOnly )) { - KMessageBox::error(0, i18n("Cannot open the file %1.").arg(cssFileName)); + KMessageBox::error(0, i18n("Cannot open the file %1.").tqarg(cssFileName)); return ; } -- cgit v1.2.3