From 401bc51c194b27be9ffaad75a85bf3209c26891b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 08:00:28 -0600 Subject: [PATCH] Rename KLocale to enhance compatibility with KDE4 --- src/part/fileTree.cpp | 2 +- src/part/radialMap/segmentTip.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/part/fileTree.cpp b/src/part/fileTree.cpp index 95f3c68..5409b33 100644 --- a/src/part/fileTree.cpp +++ b/src/part/fileTree.cpp @@ -40,7 +40,7 @@ File::humanReadableSize( uint size, UnitPrefix key /*= mega*/ ) //static TQString s; double prettySize = (double)size / (double)DENOMINATOR[key]; - const KLocale &locale = *TDEGlobal::locale(); + const TDELocale &locale = *TDEGlobal::locale(); if( prettySize >= 0.01 ) { diff --git a/src/part/radialMap/segmentTip.cpp b/src/part/radialMap/segmentTip.cpp index 4f3d042..f412e32 100644 --- a/src/part/radialMap/segmentTip.cpp +++ b/src/part/radialMap/segmentTip.cpp @@ -107,7 +107,7 @@ SegmentTip::updateTip( const File* const file, const Directory* const root ) { const TQString s1 = file->fullPath( root ); TQString s2 = file->humanReadableSize(); - KLocale *loc = TDEGlobal::locale(); + TDELocale *loc = TDEGlobal::locale(); const uint MARGIN = 3; const uint pc = 100 * file->size() / root->size(); uint maxw = 0;