diff options
Diffstat (limited to 'katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp')
-rw-r--r-- | katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp b/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp index 219fabf..5fbac5b 100644 --- a/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp +++ b/katapult/plugins/catalogs/calculatorcatalog/actionevalexpr.cpp @@ -72,13 +72,13 @@ static TQString formatNumber(const TQString &numStr) if (expString.length()==1) expString=TQString(); // Replace dot with locale decimal separator - mantString.replace(TQChar('.'), KGlobal::locale()->decimalSymbol()); + mantString.replace(TQChar('.'), TDEGlobal::locale()->decimalSymbol()); // Insert the thousand separators - _insertSeparator(mantString, KGlobal::locale()->thousandsSeparator(), KGlobal::locale()->decimalSymbol()); + _insertSeparator(mantString, TDEGlobal::locale()->thousandsSeparator(), TDEGlobal::locale()->decimalSymbol()); // How can we know where we should put the sign? - mantString.prepend(neg?KGlobal::locale()->negativeSign():KGlobal::locale()->positiveSign()); + mantString.prepend(neg?TDEGlobal::locale()->negativeSign():TDEGlobal::locale()->positiveSign()); return mantString + expString; } @@ -88,7 +88,7 @@ static TQString formatNumber(const TQString &numStr) static TQString formatNumber(const TQString& numStr) { - return KGlobal::locale()->formatNumber(numStr, false, 0); + return TDEGlobal::locale()->formatNumber(numStr, false, 0); } #endif @@ -128,7 +128,7 @@ TQString ActionEvaluateExpression::text() const TQPixmap ActionEvaluateExpression::icon(int size) const { - return KGlobal::iconLoader()->loadIcon("xcalc", KIcon::NoGroup, size); + return TDEGlobal::iconLoader()->loadIcon("xcalc", KIcon::NoGroup, size); } bool ActionEvaluateExpression::accepts(const KatapultItem* item) const |