diff options
Diffstat (limited to 'umbrello/umbrello/textblock.cpp')
-rw-r--r-- | umbrello/umbrello/textblock.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/umbrello/umbrello/textblock.cpp b/umbrello/umbrello/textblock.cpp index 1beae001..1a66c113 100644 --- a/umbrello/umbrello/textblock.cpp +++ b/umbrello/umbrello/textblock.cpp @@ -205,12 +205,12 @@ TQString TextBlock::formatMultiLineText ( const TQString &work, const TQString & TQString output = ""; TQString text = work; TQString endLine = getNewLineEndingChars(); - int matches = text.tqcontains(TQRegExp(breakStr)); + int matches = text.contains(TQRegExp(breakStr)); if(matches) { // check that last part of string matches, if not, then // we have to tack on extra match - if(!text.tqcontains(TQRegExp(breakStr+"\\$"))) + if(!text.contains(TQRegExp(breakStr+"\\$"))) matches++; for(int i=0; i < matches; i++) @@ -280,7 +280,7 @@ void TextBlock::setAttributesFromNode (TQDomElement & root ) { // entity. TQString TextBlock::encodeText(const TQString& text, const TQString &endLine) { TQString encoded = text; - encoded.tqreplace(TQRegExp(endLine),"
"); + encoded.replace(TQRegExp(endLine),"
"); return encoded; } @@ -289,7 +289,7 @@ TQString TextBlock::encodeText(const TQString& text, const TQString &endLine) { // entity. TQString TextBlock::decodeText(const TQString& text, const TQString &endLine) { TQString decoded = text; - decoded.tqreplace(TQRegExp("
"),endLine); + decoded.replace(TQRegExp("
"),endLine); return decoded; } |