summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel/contextview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabel/contextview.cpp')
-rw-r--r--kbabel/kbabel/contextview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kbabel/kbabel/contextview.cpp b/kbabel/kbabel/contextview.cpp
index 72303fef..94bbf000 100644
--- a/kbabel/kbabel/contextview.cpp
+++ b/kbabel/kbabel/contextview.cpp
@@ -106,15 +106,15 @@ void ContextView::updateView()
if(!temp.isEmpty())
{
temp = TQStyleSheet::convertFromPlainText(temp);
- temp.tqreplace(TQRegExp("^<p>"),"");
- temp.tqreplace(TQRegExp("</p>$"),"");
+ temp.replace(TQRegExp("^<p>"),"");
+ temp.replace(TQRegExp("</p>$"),"");
entry += "<i>"+temp+"</i><br/>";
}
// FIXME: should care about plural forms
temp = TQStyleSheet::convertFromPlainText(_catalog->msgid(i).first());
- temp.tqreplace(TQRegExp("^<p>"),"");
- temp.tqreplace(TQRegExp("</p>$"),"");
+ temp.replace(TQRegExp("^<p>"),"");
+ temp.replace(TQRegExp("</p>$"),"");
entry += temp + "<br/>---<br/>";
TQStringList tempList = _catalog->msgstr(i);
@@ -141,8 +141,8 @@ void ContextView::updateView()
}
}
temp = TQStyleSheet::convertFromPlainText(temp);
- temp.tqreplace(TQRegExp("^<p>"),"");
- temp.tqreplace(TQRegExp("</p>$"),"");
+ temp.replace(TQRegExp("^<p>"),"");
+ temp.replace(TQRegExp("</p>$"),"");
entry += temp+"<br/>";
}