From 61ca411b90b610b2e5438ec3b5b86a7e03939120 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/katapult@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp') diff --git a/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp b/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp index ff47f92..fdbbc60 100644 --- a/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp +++ b/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp @@ -72,7 +72,7 @@ static TQString formatNumber(const TQString &numStr) if (expString.length()==1) expString=TQString(); // Replace dot with locale decimal separator - mantString.tqreplace(TQChar('.'), KGlobal::locale()->decimalSymbol()); + mantString.replace(TQChar('.'), KGlobal::locale()->decimalSymbol()); // Insert the thousand separators _insertSeparator(mantString, KGlobal::locale()->thousandsSeparator(), KGlobal::locale()->decimalSymbol()); @@ -152,8 +152,8 @@ void ActionEvaluateExpression::execute(const KatapultItem* item) const if (!_expr->parseError()) { TQClipboard *cb = TQApplication::tqclipboard(); TQString s = _expr->catalog()->formatString(); - s.tqreplace("%1", _expr->text()); - s.tqreplace("%2", text()); + s.replace("%1", _expr->text()); + s.replace("%2", text()); cb->setText(s, TQClipboard::Clipboard); cb->setText(s, TQClipboard::Selection); } -- cgit v1.2.1