|
|
|
@ -146,7 +146,7 @@ double DoubleSpinBox::getMult()
|
|
|
|
|
|
|
|
|
|
double DoubleSpinBox::getDisplayedNumber( bool * ok )
|
|
|
|
|
{
|
|
|
|
|
KLocale * locale = TDEGlobal::locale();
|
|
|
|
|
TDELocale * locale = TDEGlobal::locale();
|
|
|
|
|
|
|
|
|
|
// Fetch the characters that we don't want to discard
|
|
|
|
|
const TQString exclude = locale->decimalSymbol()
|
|
|
|
@ -194,7 +194,7 @@ TQString DoubleSpinBox::mapValueToText( int v )
|
|
|
|
|
else if ( leftDigits > 3 )
|
|
|
|
|
leftDigits = 3;
|
|
|
|
|
|
|
|
|
|
KLocale * locale = TDEGlobal::locale();
|
|
|
|
|
TDELocale * locale = TDEGlobal::locale();
|
|
|
|
|
return locale->formatNumber( val, 3-leftDigits );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|