summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycalculator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:01:55 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:01:55 -0600
commit0e69180430cc0a6c356eaaa9c22d38c571727274 (patch)
tree4de94fb0924ed10d4d1c97a8ff8d485ad45cb2c0 /kmymoney2/widgets/kmymoneycalculator.cpp
parent5c184dbff213fb413a7559143e6317d6d0a75678 (diff)
downloadkmymoney-0e69180430cc0a6c356eaaa9c22d38c571727274.tar.gz
kmymoney-0e69180430cc0a6c356eaaa9c22d38c571727274.zip
Rename KLocale to enhance compatibility with KDE4
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;
}