summaryrefslogtreecommitdiffstats
path: root/tdeui/knuminput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/knuminput.cpp')
-rw-r--r--tdeui/knuminput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/knuminput.cpp b/tdeui/knuminput.cpp
index 238eeee7a..f6c3d9dd7 100644
--- a/tdeui/knuminput.cpp
+++ b/tdeui/knuminput.cpp
@@ -1129,7 +1129,7 @@ void KDoubleSpinBox::setLineStep( double step ) {
TQString KDoubleSpinBox::mapValueToText( int value ) {
if ( acceptLocalizedNumbers() )
- return KGlobal::locale()
+ return TDEGlobal::locale()
->formatNumber( d->mapToDouble( value ), d->mPrecision );
else
return TQString().setNum( d->mapToDouble( value ), 'f', d->mPrecision );
@@ -1138,7 +1138,7 @@ TQString KDoubleSpinBox::mapValueToText( int value ) {
int KDoubleSpinBox::mapTextToValue( bool * ok ) {
double value;
if ( acceptLocalizedNumbers() )
- value = KGlobal::locale()->readNumber( cleanText(), ok );
+ value = TDEGlobal::locale()->readNumber( cleanText(), ok );
else
value = cleanText().toDouble( ok );
if ( !*ok ) return 0;