summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycalculator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:21:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:21:28 -0600
commit6c1d52c8248adb9189c944a28efde52330e99b66 (patch)
tree842df8de70813d5097e5d7ffe04577c4077381d9 /kmymoney2/widgets/kmymoneycalculator.cpp
parent4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff)
downloadkmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz
kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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;