summaryrefslogtreecommitdiffstats
path: root/kabc/vcard/ContentLine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/vcard/ContentLine.cpp')
-rw-r--r--kabc/vcard/ContentLine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/vcard/ContentLine.cpp b/kabc/vcard/ContentLine.cpp
index 31151be9f..a301a0244 100644
--- a/kabc/vcard/ContentLine.cpp
+++ b/kabc/vcard/ContentLine.cpp
@@ -140,7 +140,7 @@ ContentLine::_parse()
vDebug("parse");
// Unqote newlines
- strRep_ = strRep_.replace( TQRegExp( "\\\\n" ), "\n" );
+ strRep_ = strRep_.tqreplace( TQRegExp( "\\\\n" ), "\n" );
int split = strRep_.tqfind(':');
@@ -275,7 +275,7 @@ ContentLine::_assemble()
}
// Quote newlines
- line = line.replace( TQRegExp( "\n" ), "\\n" );
+ line = line.tqreplace( TQRegExp( "\n" ), "\\n" );
// Fold lines longer than 72 chars
const int maxLen = 72;