summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycalculator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneycalculator.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneycalculator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/widgets/kmymoneycalculator.cpp b/kmymoney2/widgets/kmymoneycalculator.cpp
index e3b72a4..ea6f035 100644
--- a/kmymoney2/widgets/kmymoneycalculator.cpp
+++ b/kmymoney2/widgets/kmymoneycalculator.cpp
@@ -41,7 +41,7 @@
kMyMoneyCalculator::kMyMoneyCalculator(TQWidget* parent, const char *name)
: TQFrame(parent, name)
{
- m_comma = KGlobal::locale()->monetaryDecimalSymbol()[0];
+ m_comma = TDEGlobal::locale()->monetaryDecimalSymbol()[0];
m_clearOperandOnDigit = false;
TQGridLayout* grid = new TQGridLayout(this, 5, 5, 1, 2);
@@ -322,7 +322,7 @@ const TQString kMyMoneyCalculator::result(void) const
if(txt[0] == '-') {
txt = txt.mid(1); // get rid of the minus sign
TQString mask;
- switch(KGlobal::locale()->negativeMonetarySignPosition()) {
+ switch(TDEGlobal::locale()->negativeMonetarySignPosition()) {
case KLocale::ParensAround:
mask = "(%1)";
break;
@@ -419,7 +419,7 @@ void kMyMoneyCalculator::setInitialValues(const TQString& value, TQKeyEvent* ev)
bool negative = false;
// setup operand
operand = value;
- operand.replace(TQRegExp(TQString("\\")+KGlobal::locale()->thousandsSeparator()), TQString());
+ operand.replace(TQRegExp(TQString("\\")+TDEGlobal::locale()->thousandsSeparator()), TQString());
operand.replace(TQRegExp(TQString("\\")+m_comma), ".");
if(operand.contains('(')) {
negative = true;