From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/tests/messagedicttests.cpp | 4 ++-- kmail/tests/mimelibtests.cpp | 8 ++++---- kmail/tests/utiltests.cpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kmail/tests') diff --git a/kmail/tests/messagedicttests.cpp b/kmail/tests/messagedicttests.cpp index cdb24f6d8..e6b4b899b 100644 --- a/kmail/tests/messagedicttests.cpp +++ b/kmail/tests/messagedicttests.cpp @@ -65,12 +65,12 @@ void MessageDictTester::testKMDictClear() void MessageDictTester::testKMDictReplace() { - p("Check replace: "); + p("Check tqreplace: "); m_dict->init( 31 ); KMDictItem *oldItem = new KMDictItem(); KMDictItem *newItem = new KMDictItem(); m_dict->insert( 12345, oldItem ); - m_dict->replace( 12345, newItem ); + m_dict->tqreplace( 12345, newItem ); KMDictItem *found = m_dict->find( 12345 ); CHECK( found, newItem ); } diff --git a/kmail/tests/mimelibtests.cpp b/kmail/tests/mimelibtests.cpp index b152fdcf6..34a4f4692 100644 --- a/kmail/tests/mimelibtests.cpp +++ b/kmail/tests/mimelibtests.cpp @@ -39,8 +39,8 @@ KUNITTEST_MODULE_REGISTER_TESTER( MimeLibTester ); static TQString makePrintable( const TQCString& str ) { TQString a = str; - a = a.replace( '\r', "\\r" ); - a = a.replace( '\n', "\\n" ); + a = a.tqreplace( '\r', "\\r" ); + a = a.tqreplace( '\n', "\\n" ); return a; } #endif @@ -48,8 +48,8 @@ static TQString makePrintable( const TQCString& str ) static TQString makePrintable( const DwString& str ) { TQString a = KMail::Util::CString( str ); // ## we assume latin1 - a = a.replace( '\r', "\\r" ); - a = a.replace( '\n', "\\n" ); + a = a.tqreplace( '\r', "\\r" ); + a = a.tqreplace( '\n', "\\n" ); return a; } diff --git a/kmail/tests/utiltests.cpp b/kmail/tests/utiltests.cpp index 22c141669..195758b87 100644 --- a/kmail/tests/utiltests.cpp +++ b/kmail/tests/utiltests.cpp @@ -30,8 +30,8 @@ void UtilTester::tearDown() static TQString makePrintable( const TQCString& str ) { TQString a = str; - a = a.replace( '\r', "\\r" ); - a = a.replace( '\n', "\\n" ); + a = a.tqreplace( '\r', "\\r" ); + a = a.tqreplace( '\n', "\\n" ); return a; } static TQString makePrintable( const TQByteArray& arr ) -- cgit v1.2.1