diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:47:22 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:47:22 -0600 |
commit | 28edc0aa2ab09297288186f5bc15765eb7be58c0 (patch) | |
tree | 7b7a01768b3781763186c825af21bb14717d2c32 /tdeui/knuminput.cpp | |
parent | 07c48c43ff72c237e4028154f4594102b798073f (diff) | |
download | tdelibs-28edc0aa2ab09297288186f5bc15765eb7be58c0.tar.gz tdelibs-28edc0aa2ab09297288186f5bc15765eb7be58c0.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'tdeui/knuminput.cpp')
-rw-r--r-- | tdeui/knuminput.cpp | 4 |
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; |