From 0254ebaa5e056092461fd585b6851d15faa43035 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/gui/parafieldwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/parafieldwidget.cpp') 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("
")); + text.replace('\n', TQString::tqfromLatin1("
")); return text; } @@ -44,7 +44,7 @@ void ParaFieldWidget::setText(const TQString& text_) { TQRegExp rx(TQString::tqfromLatin1("
"), false /*case-sensitive*/); TQString s = text_; - s.tqreplace(rx, TQChar('\n')); + s.replace(rx, TQChar('\n')); m_textEdit->setText(s); m_textEdit->blockSignals(false); -- cgit v1.2.1