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/util.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kmail/util.cpp') diff --git a/kmail/util.cpp b/kmail/util.cpp index 5d7173d2c..ca1b54b6e 100644 --- a/kmail/util.cpp +++ b/kmail/util.cpp @@ -60,7 +60,7 @@ size_t KMail::Util::crlf2lf( char* str, const size_t strLen ) return strLen; } - // replace all occurrences of "\r\n" with "\n" (in place) + // tqreplace all occurrences of "\r\n" with "\n" (in place) char* target = const_cast( source ); // target points to '\r' ++source; // source points to '\n' for ( ; source < sourceEnd; ++source ) { @@ -156,7 +156,7 @@ void KMail::Util::append( TQByteArray& that, const char* str ) return; // nothing to append that.detach(); uint len1 = that.size(); - uint len2 = qstrlen(str); + uint len2 = tqstrlen(str); if ( that.resize( len1 + len2, TQByteArray::SpeedOptim ) ) memcpy( that.data() + len1, str, len2 ); } @@ -173,7 +173,7 @@ void KMail::Util::append( TQByteArray& that, const TQCString& str ) // Code taken from TQCString::insert, but trailing nul removed void KMail::Util::insert( TQByteArray& that, uint index, const char* s ) { - int len = qstrlen(s); + int len = tqstrlen(s); if ( len == 0 ) return; uint olen = that.size(); -- cgit v1.2.1