summaryrefslogtreecommitdiffstats
path: root/src/gui/parafieldwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit0254ebaa5e056092461fd585b6851d15faa43035 (patch)
tree2bf41a1c189b92dc1b9ab89e3ce392f8132214c4 /src/gui/parafieldwidget.cpp
parentfa071926f015f39711632b3fb9fe16004d93d0ec (diff)
downloadtellico-0254ebaa5e056092461fd585b6851d15faa43035.tar.gz
tellico-0254ebaa5e056092461fd585b6851d15faa43035.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/parafieldwidget.cpp')
-rw-r--r--src/gui/parafieldwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/parafieldwidget.cpp b/src/gui/parafieldwidget.cpp
index 84af710..9aee35e 100644
--- a/src/gui/parafieldwidget.cpp
+++ b/src/gui/parafieldwidget.cpp
@@ -34,7 +34,7 @@ ParaFieldWidget::ParaFieldWidget(Data::FieldPtr field_, TQWidget* parent_, const
TQString ParaFieldWidget::text() const {
TQString text = m_textEdit->text();
- text.tqreplace('\n', TQString::tqfromLatin1("<br/>"));
+ text.replace('\n', TQString::tqfromLatin1("<br/>"));
return text;
}
@@ -44,7 +44,7 @@ void ParaFieldWidget::setText(const TQString& text_) {
TQRegExp rx(TQString::tqfromLatin1("<br/?>"), false /*case-sensitive*/);
TQString s = text_;
- s.tqreplace(rx, TQChar('\n'));
+ s.replace(rx, TQChar('\n'));
m_textEdit->setText(s);
m_textEdit->blockSignals(false);