diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:25:33 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:25:33 -0600 |
commit | 604bf3f969d880708ea9a1affce0b304c29e6ff5 (patch) | |
tree | e8fad7142f5d23041b1c9e6c2a1d0d8c814b0ebe /plugins/infowidget/peerview.cpp | |
parent | 93f5eb31173901d14b4376614f89d43973ddd45b (diff) | |
download | ktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.tar.gz ktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'plugins/infowidget/peerview.cpp')
-rw-r--r-- | plugins/infowidget/peerview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/infowidget/peerview.cpp b/plugins/infowidget/peerview.cpp index 77380b2..ab3b06f 100644 --- a/plugins/infowidget/peerview.cpp +++ b/plugins/infowidget/peerview.cpp @@ -65,7 +65,7 @@ namespace kt { if (!yes_no_pix_loaded) { - KIconLoader* iload = KGlobal::iconLoader(); + KIconLoader* iload = TDEGlobal::iconLoader(); /* Prefer builtin flag images to the ones provided by KDE */ flagDB.addFlagSource("data", TQString("ktorrent/geoip/%1.png")); flagDB.addFlagSource("locale", TQString("l10n/%1/flag.png")); @@ -155,7 +155,7 @@ namespace kt void PeerViewItem::update() { - KLocale* loc = KGlobal::locale(); + KLocale* loc = TDEGlobal::locale(); const PeerInterface::Stats & s = peer->getStats(); if (s.download_rate >= 103) // lowest "visible" speed, all below will be 0,0 Kb/s @@ -246,8 +246,8 @@ namespace kt setShowSortIndicator(true); menu = new KPopupMenu(this); - kick_id = menu->insertItem(KGlobal::iconLoader()->loadIcon("delete_user", KIcon::NoGroup), i18n("to kick", "Kick peer")); - ban_id = menu->insertItem(KGlobal::iconLoader()->loadIcon("filter",KIcon::NoGroup), i18n("to ban", "Ban peer")); + kick_id = menu->insertItem(TDEGlobal::iconLoader()->loadIcon("delete_user", KIcon::NoGroup), i18n("to kick", "Kick peer")); + ban_id = menu->insertItem(TDEGlobal::iconLoader()->loadIcon("filter",KIcon::NoGroup), i18n("to ban", "Ban peer")); connect(this,TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint& )), this,TQT_SLOT(showContextMenu(KListView*, TQListViewItem*, const TQPoint& ))); |