summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:05:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:05:37 -0600
commit95fa1b2e1f05fa546f5846267044032bcdb92493 (patch)
tree220464c1b4b2b3302c78e26a4c71652675362e94 /apps
parent7b0ae78a46b9be7342c9366e99c8956a61395733 (diff)
downloadktorrent-95fa1b2e1f05fa546f5846267044032bcdb92493.tar.gz
ktorrent-95fa1b2e1f05fa546f5846267044032bcdb92493.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'apps')
-rw-r--r--apps/ktorrent/trayicon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/ktorrent/trayicon.cpp b/apps/ktorrent/trayicon.cpp
index de633c4..05b9817 100644
--- a/apps/ktorrent/trayicon.cpp
+++ b/apps/ktorrent/trayicon.cpp
@@ -159,7 +159,7 @@ void TrayIcon::maxShareRatioReached(kt::TorrentInterface* tc)
return;
const TorrentStats & s = tc->getStats();
- KLocale* loc = TDEGlobal::locale();
+ TDELocale* loc = TDEGlobal::locale();
double speed_up = (double)s.bytes_uploaded / 1024.0;
TQString msg = i18n("<b>%1</b> has reached its maximum share ratio of %2 and has been stopped."
@@ -178,7 +178,7 @@ void TrayIcon::maxSeedTimeReached(kt::TorrentInterface* tc)
return;
const TorrentStats & s = tc->getStats();
- KLocale* loc = TDEGlobal::locale();
+ TDELocale* loc = TDEGlobal::locale();
double speed_up = (double)s.bytes_uploaded / 1024.0;
TQString msg = i18n("<b>%1</b> has reached its maximum seed time of %2 hours and has been stopped."
@@ -223,7 +223,7 @@ void TrayIcon::queuingNotPossible(kt::TorrentInterface* tc)
const TorrentStats & s = tc->getStats();
TQString msg;
- KLocale* loc = TDEGlobal::locale();
+ TDELocale* loc = TDEGlobal::locale();
if (tc->overMaxRatio())
msg = i18n("<b>%1</b> has reached its maximum share ratio of %2 and cannot be enqueued. Remove the limit manually if you want to continue seeding.")