Rename KLocale to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent c72c190591
commit 401bc51c19

@ -40,7 +40,7 @@ File::humanReadableSize( uint size, UnitPrefix key /*= mega*/ ) //static
TQString s; TQString s;
double prettySize = (double)size / (double)DENOMINATOR[key]; double prettySize = (double)size / (double)DENOMINATOR[key];
const KLocale &locale = *TDEGlobal::locale(); const TDELocale &locale = *TDEGlobal::locale();
if( prettySize >= 0.01 ) if( prettySize >= 0.01 )
{ {

@ -107,7 +107,7 @@ SegmentTip::updateTip( const File* const file, const Directory* const root )
{ {
const TQString s1 = file->fullPath( root ); const TQString s1 = file->fullPath( root );
TQString s2 = file->humanReadableSize(); TQString s2 = file->humanReadableSize();
KLocale *loc = TDEGlobal::locale(); TDELocale *loc = TDEGlobal::locale();
const uint MARGIN = 3; const uint MARGIN = 3;
const uint pc = 100 * file->size() / root->size(); const uint pc = 100 * file->size() / root->size();
uint maxw = 0; uint maxw = 0;

Loading…
Cancel
Save