From 6c1d52c8248adb9189c944a28efde52330e99b66 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:21:28 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kmymoney2/widgets/kmymoneycalculator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kmymoney2/widgets/kmymoneycalculator.cpp') 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; -- cgit v1.2.1