summaryrefslogtreecommitdiffstats
path: root/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
commit539a35866f0bac8f00e493654d4a8ec6863726e2 (patch)
tree8991e5472fe88379787cafa85542d94706bd6fa4 /tests
parent45598e35650c5806ecf2d684afeeb0da41c3ff6b (diff)
downloadkpilot-539a35866f0bac8f00e493654d4a8ec6863726e2.tar.gz
kpilot-539a35866f0bac8f00e493654d4a8ec6863726e2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'tests')
-rw-r--r--tests/mergecalendars.cc2
-rw-r--r--tests/testidmapper.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/mergecalendars.cc b/tests/mergecalendars.cc
index 0d390aa..2fc1e78 100644
--- a/tests/mergecalendars.cc
+++ b/tests/mergecalendars.cc
@@ -185,7 +185,7 @@ int main(int argc, char **argv)
next = *korgIt;
}
- if (ev->categoriesStr().tqcontains(categoryToken))
+ if (ev->categoriesStr().contains(categoryToken))
{
if (debug_level)
DEBUGKPILOT << " - Found matching event: ["
diff --git a/tests/testidmapper.cc b/tests/testidmapper.cc
index 94e6db8..8d60afc 100644
--- a/tests/testidmapper.cc
+++ b/tests/testidmapper.cc
@@ -170,7 +170,7 @@ bool test4()
// This prevents the test from chrashing when getHHObjectIds.size is 0.
if( result1 )
- result2 = ( mapper->getHHObjectIds( CONDUIT ).tqcontains( 150 ) );
+ result2 = ( mapper->getHHObjectIds( CONDUIT ).contains( 150 ) );
if( result1 && result2 )
{
@@ -210,7 +210,7 @@ bool test5()
bool result2 = false;
if( result1 )
- result2 = ( mapper->getPCObjectIds( CONDUIT ).tqcontains( "testuid-2" ) );
+ result2 = ( mapper->getPCObjectIds( CONDUIT ).contains( "testuid-2" ) );
if( result1 && result2 )