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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/widgets/kmymoneycalculator.cpp b/kmymoney2/widgets/kmymoneycalculator.cpp
index ea6f035..cf3f7e6 100644
--- a/kmymoney2/widgets/kmymoneycalculator.cpp
+++ b/kmymoney2/widgets/kmymoneycalculator.cpp
@@ -323,17 +323,17 @@ const TQString kMyMoneyCalculator::result(void) const
txt = txt.mid(1); // get rid of the minus sign
TQString mask;
switch(TDEGlobal::locale()->negativeMonetarySignPosition()) {
- case KLocale::ParensAround:
+ case TDELocale::ParensAround:
mask = "(%1)";
break;
- case KLocale::AfterQuantityMoney:
+ case TDELocale::AfterQuantityMoney:
mask = "%1-";
break;
- case KLocale::AfterMoney:
- case KLocale::BeforeMoney:
+ case TDELocale::AfterMoney:
+ case TDELocale::BeforeMoney:
mask = "%1 -";
break;
- case KLocale::BeforeQuantityMoney:
+ case TDELocale::BeforeQuantityMoney:
mask = "-%1";
break;
}