summaryrefslogtreecommitdiffstats
path: root/kmail/tests/mimelibtests.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kmail/tests/mimelibtests.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
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
Diffstat (limited to 'kmail/tests/mimelibtests.cpp')
-rw-r--r--kmail/tests/mimelibtests.cpp8
1 files changed, 4 insertions, 4 deletions
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;
}