summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneyedit.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneyedit.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/widgets/kmymoneyedit.cpp b/kmymoney2/widgets/kmymoneyedit.cpp
index c3ad220..b79ebfb 100644
--- a/kmymoney2/widgets/kmymoneyedit.cpp
+++ b/kmymoney2/widgets/kmymoneyedit.cpp
@@ -60,7 +60,7 @@ kMyMoneyMoneyValidator::kMyMoneyMoneyValidator( double bottom, double top, int d
TQValidator::State kMyMoneyMoneyValidator::validate( TQString & input, int & _p ) const
{
TQString s = input;
- KLocale * l = KGlobal::locale();
+ KLocale * l = TDEGlobal::locale();
// ok, we have to re-format the number to have:
// 1. decimalSymbol == '.'
// 2. negativeSign == '-'
@@ -159,7 +159,7 @@ kMyMoneyEdit::kMyMoneyEdit(TQWidget *parent, const char *name, const int prec)
{
m_prec = prec;
if(prec < -1 || prec > 20)
- m_prec = KGlobal::locale()->fracDigits();
+ m_prec = TDEGlobal::locale()->fracDigits();
init();
}
@@ -222,7 +222,7 @@ void kMyMoneyEdit::init(void)
m_calculatorFrame->setFixedSize(m_calculator->width()+3, m_calculator->height()+3);
m_calculatorFrame->hide();
- m_calcButton = new KPushButton(TQIconSet(TQPixmap(KGlobal::iconLoader()->iconPath("kcalc", -KIcon::SizeSmall))), TQString(""), this);
+ m_calcButton = new KPushButton(TQIconSet(TQPixmap(TDEGlobal::iconLoader()->iconPath("kcalc", -KIcon::SizeSmall))), TQString(""), this);
m_calcButton->setFixedWidth( m_calcButton->sizeHint().width() );
m_calcButton->setFixedHeight(m_edit->sizeHint().height());
m_calcButton->setFocusProxy(m_edit);
@@ -235,7 +235,7 @@ void kMyMoneyEdit::init(void)
m_resetButton->setEnabled(false);
m_resetButton->setFocusProxy(m_edit);
- KConfig *kconfig = KGlobal::config();
+ KConfig *kconfig = TDEGlobal::config();
kconfig->setGroup("General Options");
if(kconfig->readBoolEntry("DontShowCalculatorButton", false) == true)
setCalculatorButtonVisible(false);
@@ -319,7 +319,7 @@ void kMyMoneyEdit::resetText(void)
void kMyMoneyEdit::theTextChanged(const TQString & theText)
{
- KLocale * l = KGlobal::locale();
+ KLocale * l = TDEGlobal::locale();
TQString d = l->monetaryDecimalSymbol();
TQString l_text = theText;
TQString nsign, psign;
@@ -360,7 +360,7 @@ void kMyMoneyEdit::ensureFractionalPart(void)
void kMyMoneyEdit::ensureFractionalPart(TQString& s) const
{
- KLocale* locale = KGlobal::locale();
+ KLocale* locale = TDEGlobal::locale();
TQString decimalSymbol = locale->monetaryDecimalSymbol();
if(decimalSymbol.isEmpty())
decimalSymbol = ".";