From ad4317e2e02c018dcfb6c49259cfdf580637f5bd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:59:01 -0600 Subject: Remove additional unneeded tq method conversions (cherry picked from commit 716a5de8870d7c02bb4d0aed72f30291b17b763a) --- libkcal/htmlexport.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'libkcal/htmlexport.cpp') diff --git a/libkcal/htmlexport.cpp b/libkcal/htmlexport.cpp index 4bedf880..de436e0d 100644 --- a/libkcal/htmlexport.cpp +++ b/libkcal/htmlexport.cpp @@ -147,8 +147,8 @@ void HtmlExport::createMonthView(TQTextStream *ts) while ( start < toDate() ) { // Write header - *ts << "

" << (i18n("month_year","%1 %2").tqarg(KGlobal::locale()->calendar()->monthName(start)) - .tqarg(start.year())) << "

\n"; + *ts << "

" << (i18n("month_year","%1 %2").arg(KGlobal::locale()->calendar()->monthName(start)) + .arg(start.year())) << "

\n"; if ( KGlobal::locale()->weekStartDay() == 1 ) { start = start.addDays(1 - start.dayOfWeek()); } else { @@ -459,7 +459,7 @@ void HtmlExport::createTodo (TQTextStream *ts,Todo *todo) *ts << " \n"; - *ts << " " << i18n("%1 %").tqarg(todo->percentComplete()) << "\n"; + *ts << " " << i18n("%1 %").arg(todo->percentComplete()) << "\n"; *ts << " \n"; if ( mSettings->taskDueDate() ) { @@ -618,20 +618,20 @@ void HtmlExport::createFooter( TQTextStream *ts ) TQString mail, name, credit, creditURL;*/ if (!mSettings->eMail().isEmpty()) { if (!mSettings->name().isEmpty()) - trailer += i18n("by %2 ").tqarg( mSettings->eMail() ).tqarg( mSettings->name() ); + trailer += i18n("by %2 ").arg( mSettings->eMail() ).arg( mSettings->name() ); else - trailer += i18n("by %2 ").tqarg( mSettings->eMail() ).tqarg( mSettings->eMail() ); + trailer += i18n("by %2 ").arg( mSettings->eMail() ).arg( mSettings->eMail() ); } else { if (!mSettings->name().isEmpty()) - trailer += i18n("by %1 ").tqarg( mSettings->name() ); + trailer += i18n("by %1 ").arg( mSettings->name() ); } if (!mSettings->creditName().isEmpty()) { if (!mSettings->creditURL().isEmpty()) trailer += i18n("with %2") - .tqarg( mSettings->creditURL() ) - .tqarg( mSettings->creditName() ); + .arg( mSettings->creditURL() ) + .arg( mSettings->creditName() ); else - trailer += i18n("with %1").tqarg( mSettings->creditName() ); + trailer += i18n("with %1").arg( mSettings->creditName() ); } *ts << "

" << trailer << "

\n"; } @@ -706,7 +706,7 @@ void HtmlExport::addHoliday( const TQDate &date, const TQString &name) if ( mHolidayMap[date].isEmpty() ) { mHolidayMap[date] = name; } else { - mHolidayMap[date] = i18n("list of holidays", "%1, %2").tqarg(mHolidayMap[date]).tqarg(name); + mHolidayMap[date] = i18n("list of holidays", "%1, %2").arg(mHolidayMap[date]).arg(name); } } -- cgit v1.2.3