diff options
Diffstat (limited to 'plugins/upnp/upnpplugin.cpp')
-rw-r--r-- | plugins/upnp/upnpplugin.cpp | 6 |
1 files changed, 3 insertions, 3 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(); |