summaryrefslogtreecommitdiffstats
path: root/kspread/tests
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kspread/tests
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/tests')
-rwxr-xr-xkspread/tests/generate-openformula-tests2
-rw-r--r--kspread/tests/inspector.cc2
-rw-r--r--kspread/tests/testrunner.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/kspread/tests/generate-openformula-tests b/kspread/tests/generate-openformula-tests
index 39b93811..f39ce2aa 100755
--- a/kspread/tests/generate-openformula-tests
+++ b/kspread/tests/generate-openformula-tests
@@ -4,7 +4,7 @@
# Requires an open instance of KSpread, with openformula-test.ods loaded.
#
-KSPREAD=`dcoptqfind 'kspread*'`
+KSPREAD=`dcopfind 'kspread*'`
KSPREAD=`echo $KSPREAD | sed s/DCOPRef\(// | sed s/,\)//`
for i in `seq 51 514`
do
diff --git a/kspread/tests/inspector.cc b/kspread/tests/inspector.cc
index 72410f53..17179793 100644
--- a/kspread/tests/inspector.cc
+++ b/kspread/tests/inspector.cc
@@ -98,7 +98,7 @@ void Inspector::Private::handleCell()
new TQListViewItem( cellView, "Style Properties", longAsHexstring( static_cast<long>( cell->format()->style()->features() ) ) );
new TQListViewItem( cellView, "Text", cell->text() );
new TQListViewItem( cellView, "Text (Displayed)",
- cell->strOutText().tqreplace( TQChar('\n'), "\\n" ) );
+ cell->strOutText().replace( TQChar('\n'), "\\n" ) );
TQTextStream ts( &str, IO_WriteOnly );
ts << cell->value();
diff --git a/kspread/tests/testrunner.cc b/kspread/tests/testrunner.cc
index 71d3fcdb..53fe60b3 100644
--- a/kspread/tests/testrunner.cc
+++ b/kspread/tests/testrunner.cc
@@ -104,7 +104,7 @@ void TestRunner::addTester( Tester* tester )
void TestRunner::runTest()
{
TQString testName = d->testType->currentText();
- Tester* tester = d->testers.tqfind( testName );
+ Tester* tester = d->testers.find( testName );
if( tester )
{
d->logView->clear();