summaryrefslogtreecommitdiffstats
path: root/kmail/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/util.cpp')
-rw-r--r--kmail/util.cpp6
1 files changed, 3 insertions, 3 deletions
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<char*>( 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();