summaryrefslogtreecommitdiffstats
path: root/plugins/webinterface/php_interface.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:25:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:25:33 -0600
commit604bf3f969d880708ea9a1affce0b304c29e6ff5 (patch)
treee8fad7142f5d23041b1c9e6c2a1d0d8c814b0ebe /plugins/webinterface/php_interface.cpp
parent93f5eb31173901d14b4376614f89d43973ddd45b (diff)
downloadktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.tar.gz
ktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'plugins/webinterface/php_interface.cpp')
-rw-r--r--plugins/webinterface/php_interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/webinterface/php_interface.cpp b/plugins/webinterface/php_interface.cpp
index 048310d..41693f3 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 = KGlobal::locale();
+ KLocale* 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 = KGlobal::locale();
+ KLocale* loc = TDEGlobal::locale();
return TQString("%1 KB/s").arg(loc->formatNumber(speed,precision));
}