summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:00:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:00:28 -0600
commit401bc51c194b27be9ffaad75a85bf3209c26891b (patch)
tree1f7ed433c34364db964a35e73df4e7bf00dcf111
parentc72c190591d9795beb852fd367100323979d85f1 (diff)
downloadfilelight-401bc51c.tar.gz
filelight-401bc51c.zip
Rename KLocale to enhance compatibility with KDE4
-rw-r--r--src/part/fileTree.cpp2
-rw-r--r--src/part/radialMap/segmentTip.cpp2
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;