summaryrefslogtreecommitdiffstats
path: root/libkmime/kmime_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/kmime_util.cpp')
-rw-r--r--libkmime/kmime_util.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkmime/kmime_util.cpp b/libkmime/kmime_util.cpp
index 313aabe72..2f0d04a1f 100644
--- a/libkmime/kmime_util.cpp
+++ b/libkmime/kmime_util.cpp
@@ -400,7 +400,7 @@ TQCString extractHeader(const TQCString &src, const char *name)
if (!folded)
return src.mid(pos1, pos2-pos1);
else
- return (src.mid(pos1, pos2-pos1).replace(TQRegExp("\\s*\\n\\s*")," "));
+ return (src.mid(pos1, pos2-pos1).tqreplace(TQRegExp("\\s*\\n\\s*")," "));
}
else {
return TQCString(0); //header not found
@@ -411,7 +411,7 @@ TQCString extractHeader(const TQCString &src, const char *name)
TQCString CRLFtoLF(const TQCString &s)
{
TQCString ret=s.copy();
- ret.replace(TQRegExp("\\r\\n"), "\n");
+ ret.tqreplace(TQRegExp("\\r\\n"), "\n");
return ret;
}
@@ -419,7 +419,7 @@ TQCString CRLFtoLF(const TQCString &s)
TQCString CRLFtoLF(const char *s)
{
TQCString ret=s;
- ret.replace(TQRegExp("\\r\\n"), "\n");
+ ret.tqreplace(TQRegExp("\\r\\n"), "\n");
return ret;
}
@@ -427,7 +427,7 @@ TQCString CRLFtoLF(const char *s)
TQCString LFtoCRLF(const TQCString &s)
{
TQCString ret=s.copy();
- ret.replace(TQRegExp("\\n"), "\r\n");
+ ret.tqreplace(TQRegExp("\\n"), "\r\n");
return ret;
}
@@ -563,7 +563,7 @@ DateFormatter::custom(time_t t) const
d.setTime_t(t);
if ( z != -1 ) {
- ret.replace(z,1,zone(t));
+ ret.tqreplace(z,1,zone(t));
}
ret = d.toString(ret);
@@ -737,7 +737,7 @@ DateFormatter::localized(time_t otime, bool shortFormat, bool includeSecs,
QString
DateFormatter::cTime(time_t otime) const
{
- return TQString::fromLatin1( ctime( &otime ) ).stripWhiteSpace() ;
+ return TQString::tqfromLatin1( ctime( &otime ) ).stripWhiteSpace() ;
}
QString