summaryrefslogtreecommitdiffstats
path: root/plugins/upnp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/upnp')
-rw-r--r--plugins/upnp/upnpplugin.cpp6
-rw-r--r--plugins/upnp/upnpprefpage.cpp2
-rw-r--r--plugins/upnp/upnprouter.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/upnp/upnpplugin.cpp b/plugins/upnp/upnpplugin.cpp
index 66ee23c..8d2ff8f 100644
--- a/plugins/upnp/upnpplugin.cpp
+++ b/plugins/upnp/upnpplugin.cpp
@@ -59,12 +59,12 @@ namespace kt
void UPnPPlugin::load()
{
- //KIconLoader* iload = KGlobal::iconLoader();
+ //KIconLoader* iload = TDEGlobal::iconLoader();
sock = new UPnPMCastSocket();
pref = new UPnPPrefPage(sock);
this->getGUI()->addPrefPage(pref);
// load the routers list
- TQString routers_file = KGlobal::dirs()->saveLocation("data","ktorrent") + "routers";
+ TQString routers_file = TDEGlobal::dirs()->saveLocation("data","ktorrent") + "routers";
if (bt::Exists(routers_file))
sock->loadRouters(routers_file);
sock->discover();
@@ -72,7 +72,7 @@ namespace kt
void UPnPPlugin::unload()
{
- TQString routers_file = KGlobal::dirs()->saveLocation("data","ktorrent") + "routers";
+ TQString routers_file = TDEGlobal::dirs()->saveLocation("data","ktorrent") + "routers";
sock->saveRouters(routers_file);
this->getGUI()->removePrefPage(pref);
sock->close();
diff --git a/plugins/upnp/upnpprefpage.cpp b/plugins/upnp/upnpprefpage.cpp
index bce2285..7e9e095 100644
--- a/plugins/upnp/upnpprefpage.cpp
+++ b/plugins/upnp/upnpprefpage.cpp
@@ -28,7 +28,7 @@
namespace kt
{
- UPnPPrefPage::UPnPPrefPage(UPnPMCastSocket* sock): PrefPageInterface(i18n("UPnP"), i18n("UPnP Devices"),KGlobal::iconLoader()->loadIcon("ktupnp",KIcon::NoGroup)),sock(sock)
+ UPnPPrefPage::UPnPPrefPage(UPnPMCastSocket* sock): PrefPageInterface(i18n("UPnP"), i18n("UPnP Devices"),TDEGlobal::iconLoader()->loadIcon("ktupnp",KIcon::NoGroup)),sock(sock)
{
widget = 0;
}
diff --git a/plugins/upnp/upnprouter.cpp b/plugins/upnp/upnprouter.cpp
index 05d47a4..a5d1212 100644
--- a/plugins/upnp/upnprouter.cpp
+++ b/plugins/upnp/upnprouter.cpp
@@ -155,7 +155,7 @@ namespace kt
if (!ret)
{
Out(SYS_PNP|LOG_IMPORTANT) << "Error parsing router description !" << endl;
- TQString dest = KGlobal::dirs()->saveLocation("data","ktorrent") + "upnp_failure";
+ TQString dest = TDEGlobal::dirs()->saveLocation("data","ktorrent") + "upnp_failure";
KIO::file_copy(target,dest,-1,true,false,false);
}
else