diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:05:37 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:05:37 -0600 |
commit | 95fa1b2e1f05fa546f5846267044032bcdb92493 (patch) | |
tree | 220464c1b4b2b3302c78e26a4c71652675362e94 /libktorrent/interfaces | |
parent | 7b0ae78a46b9be7342c9366e99c8956a61395733 (diff) | |
download | ktorrent-95fa1b2e1f05fa546f5846267044032bcdb92493.tar.gz ktorrent-95fa1b2e1f05fa546f5846267044032bcdb92493.zip |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'libktorrent/interfaces')
-rw-r--r-- | libktorrent/interfaces/functions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/interfaces/functions.cpp b/libktorrent/interfaces/functions.cpp index 630e32a..709b647 100644 --- a/libktorrent/interfaces/functions.cpp +++ b/libktorrent/interfaces/functions.cpp @@ -30,7 +30,7 @@ namespace kt TQString BytesToString(Uint64 bytes,int precision) { - KLocale* loc = TDEGlobal::locale(); + TDELocale* loc = TDEGlobal::locale(); if (bytes >= 1024 * 1024 * 1024) return i18n("%1 GB").arg(loc->formatNumber(bytes / TO_GIG,precision < 0 ? 2 : precision)); else if (bytes >= 1024*1024) @@ -43,13 +43,13 @@ namespace kt TQString KBytesPerSecToString(double speed,int precision) { - KLocale* loc = TDEGlobal::locale(); + TDELocale* loc = TDEGlobal::locale(); return i18n("%1 KB/s").arg(loc->formatNumber(speed,precision)); } TQString DurationToString(Uint32 nsecs) { - KLocale* loc = TDEGlobal::locale(); + TDELocale* loc = TDEGlobal::locale(); TQTime t; int ndays = nsecs / 86400; t = t.addSecs(nsecs % 86400); |