summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.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
commit61ca411b90b610b2e5438ec3b5b86a7e03939120 (patch)
tree33846bc1f0bae7162b315d74d2c0688ba14d620c /katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp
parent9e5a161735de07d1f5296ae7e633f4e31578936a (diff)
downloadkatapult-61ca411b90b610b2e5438ec3b5b86a7e03939120.tar.gz
katapult-61ca411b90b610b2e5438ec3b5b86a7e03939120.zip
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
Diffstat (limited to 'katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp')
-rw-r--r--katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}