summaryrefslogtreecommitdiffstats
path: root/kspread/tests
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /kspread/tests
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kspread/tests')
-rw-r--r--kspread/tests/inspector.cc2
-rw-r--r--kspread/tests/testrunner.cc6
2 files changed, 4 insertions, 4 deletions
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, <b>%2 failed.</b>").tqarg( tester->count() ).
+ d->logView->append( TQString( "%1 tests, <b>%2 failed.</b>").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." );
}