Rename KLocale to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent b3a2f2e978
commit 0f2dc8b9f3

@ -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 );
}

Loading…
Cancel
Save