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 /plugins/webinterface | |
parent | 7b0ae78a46b9be7342c9366e99c8956a61395733 (diff) | |
download | ktorrent-95fa1b2e1f05fa546f5846267044032bcdb92493.tar.gz ktorrent-95fa1b2e1f05fa546f5846267044032bcdb92493.zip |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'plugins/webinterface')
-rw-r--r-- | plugins/webinterface/php_interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/webinterface/php_interface.cpp b/plugins/webinterface/php_interface.cpp index bffc1fc..a4f5f6a 100644 --- a/plugins/webinterface/php_interface.cpp +++ b/plugins/webinterface/php_interface.cpp @@ -46,7 +46,7 @@ namespace kt TQString BytesToString2(Uint64 bytes,int precision = 2) { - KLocale* loc = TDEGlobal::locale(); + TDELocale* loc = TDEGlobal::locale(); if (bytes >= 1024 * 1024 * 1024) return TQString("%1 GB").arg(loc->formatNumber(bytes / TO_GIG,precision < 0 ? 2 : precision)); else if (bytes >= 1024*1024) @@ -59,7 +59,7 @@ namespace kt TQString KBytesPerSecToString2(double speed,int precision = 2) { - KLocale* loc = TDEGlobal::locale(); + TDELocale* loc = TDEGlobal::locale(); return TQString("%1 KB/s").arg(loc->formatNumber(speed,precision)); } |