summaryrefslogtreecommitdiffstats
path: root/src/upnp/upnprouter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/upnp/upnprouter.cpp')
-rw-r--r--src/upnp/upnprouter.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/upnp/upnprouter.cpp b/src/upnp/upnprouter.cpp
index 8e39f33..e5764b5 100644
--- a/src/upnp/upnprouter.cpp
+++ b/src/upnp/upnprouter.cpp
@@ -18,13 +18,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include <stdlib.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kstandarddirs.h>
#include <ntqstringlist.h>
-#include <kio/netaccess.h>
-#include <kio/job.h>
+#include <tdeio/netaccess.h>
+#include <tdeio/job.h>
#include "httprequest.h"
#include "upnprouter.h"
#include "upnpdescriptionparser.h"
@@ -139,7 +139,7 @@ namespace kt
services.append(s);
}
- void UPnPRouter::downloadFinished(KIO::Job* j)
+ void UPnPRouter::downloadFinished(TDEIO::Job* j)
{
if (j->error())
{
@@ -154,8 +154,8 @@ namespace kt
if (!ret)
{
kdDebug() << "Error parsing router description !" << endl;
- TQString dest = KGlobal::dirs()->saveLocation("data","tork") + "upnp_failure";
- KIO::file_copy(target,dest,-1,true,false,false);
+ TQString dest = TDEGlobal::dirs()->saveLocation("data","tork") + "upnp_failure";
+ TDEIO::file_copy(target,dest,-1,true,false,false);
}
else
{
@@ -169,8 +169,8 @@ namespace kt
void UPnPRouter::downloadXMLFile()
{
// downlaod XML description into a temporary file in /tmp
- KIO::Job* job = KIO::file_copy(location,tmp_file,-1,true,false,false);
- connect(job,SIGNAL(result(KIO::Job *)),this,SLOT(downloadFinished( KIO::Job* )));
+ TDEIO::Job* job = TDEIO::file_copy(location,tmp_file,-1,true,false,false);
+ connect(job,SIGNAL(result(TDEIO::Job *)),this,SLOT(downloadFinished( TDEIO::Job* )));
}
void UPnPRouter::debugPrintData()
@@ -465,7 +465,7 @@ namespace kt
namespace bt
{
- WaitJob::WaitJob(Uint32 millis) : KIO::Job(false)
+ WaitJob::WaitJob(Uint32 millis) : TDEIO::Job(false)
{
connect(&timer,SIGNAL(timeout()),this,SLOT(timerDone()));
timer.start(millis,true);
@@ -510,14 +510,14 @@ namespace bt
void WaitJob::execute(WaitJob* job)
{
- KIO::NetAccess::synchronousRun(job,0);
+ TDEIO::NetAccess::synchronousRun(job,0);
}
void SynchronousWait(Uint32 millis)
{
kdDebug() << "SynchronousWait" << endl;
WaitJob* j = new WaitJob(millis);
- KIO::NetAccess::synchronousRun(j,0);
+ TDEIO::NetAccess::synchronousRun(j,0);
}