From 0813b39aed2cf4c84157a22c4c9594336d93d412 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kunittest/runnergui.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kunittest') diff --git a/kunittest/runnergui.cpp b/kunittest/runnergui.cpp index 8b4969a8..64fbd27a 100644 --- a/kunittest/runnergui.cpp +++ b/kunittest/runnergui.cpp @@ -70,7 +70,7 @@ namespace KUnitTest */ bool addDebugInfo(const TQString &name, const TQString &info) { - Tester *tester = Runner::self()->registry().tqfind(name.local8Bit()); + Tester *tester = Runner::self()->registry().find(name.local8Bit()); if ( tester == 0L ) return false; tester->results()->addDebugInfo(info); @@ -80,7 +80,7 @@ namespace KUnitTest bool addSlotDebugInfo(const TQString &name, const TQString &slt, const TQString &info) { - Tester *tester = Runner::self()->registry().tqfind(name.local8Bit()); + Tester *tester = Runner::self()->registry().find(name.local8Bit()); if ( tester == 0L ) return false; if ( ! tester->inherits("KUnitTest::SlotTester") ) return false; @@ -113,10 +113,10 @@ namespace KUnitTest addTester(it.currentKey(), it.current()); TQString test = it.currentKey(); - int index = test.tqfind("::"); + int index = test.find("::"); if ( index != -1 ) test = test.left(index); - if ( suites.tqcontains(test) == 0 ) + if ( suites.contains(test) == 0 ) suites.append(test); } @@ -322,7 +322,7 @@ namespace KUnitTest TQString prefix = fullName(item); if ( prefix.endsWith("()") ) { - int index = prefix.tqfindRev("::"); + int index = prefix.findRev("::"); prefix = prefix.left(index); } prefixes << prefix; @@ -360,7 +360,7 @@ namespace KUnitTest TQString name = fullName(item); if ( name.endsWith("()") ) name = fullName(item->tqparent()); - Tester *tester = Runner::self()->registry().tqfind(name.local8Bit()); + Tester *tester = Runner::self()->registry().find(name.local8Bit()); if ( tester == 0L ) return; -- cgit v1.2.1