From f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:38:41 -0600 Subject: Remove additional unneeded tq method conversions --- kspread/tests/inspector.cc | 2 +- kspread/tests/testrunner.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kspread/tests') diff --git a/kspread/tests/inspector.cc b/kspread/tests/inspector.cc index 17179793..d44b7bf3 100644 --- a/kspread/tests/inspector.cc +++ b/kspread/tests/inspector.cc @@ -65,7 +65,7 @@ static TQString boolAsString( bool b ) static TQString longAsHexstring( long l ) { - return TQString("%1").tqarg(l, 8, 16); + return TQString("%1").arg(l, 8, 16); } static TQString dirAsString( Sheet::LayoutDirection dir ) diff --git a/kspread/tests/testrunner.cc b/kspread/tests/testrunner.cc index 0c9e9e97..5b4864ad 100644 --- a/kspread/tests/testrunner.cc +++ b/kspread/tests/testrunner.cc @@ -108,7 +108,7 @@ void TestRunner::runTest() if( tester ) { d->logView->clear(); - d->logView->append( TQString("Test: %1").tqarg( testName ) ); + d->logView->append( TQString("Test: %1").arg( testName ) ); TQApplication::setOverrideCursor(TQt::waitCursor); tester->run(); @@ -117,13 +117,13 @@ void TestRunner::runTest() TQStringList errorList = tester->errors(); if( tester->failed() ) { - d->logView->append( TQString( "%1 tests, %2 failed.").tqarg( tester->count() ). + d->logView->append( TQString( "%1 tests, %2 failed.").arg( tester->count() ). arg( tester->failed() ) ); for( unsigned k = 0; k < errorList.count(); k++ ) d->logView->append( errorList[k] ); } else - d->logView->append( TQString( "%1 tests, everything is OK. ").tqarg( tester->count() ) ); + d->logView->append( TQString( "%1 tests, everything is OK. ").arg( tester->count() ) ); d->logView->append( "Test finished." ); } -- cgit v1.2.1