summaryrefslogtreecommitdiffstats
path: root/plugins/partfileimport
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/partfileimport')
-rw-r--r--plugins/partfileimport/importdialog.cpp8
-rw-r--r--plugins/partfileimport/importdialog.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/partfileimport/importdialog.cpp b/plugins/partfileimport/importdialog.cpp
index ba43ac9..23b383f 100644
--- a/plugins/partfileimport/importdialog.cpp
+++ b/plugins/partfileimport/importdialog.cpp
@@ -185,7 +185,7 @@ namespace kt
accept();
}
- void ImportDialog::onTorrentGetReult(KIO::Job* j)
+ void ImportDialog::onTorrentGetReult(TDEIO::Job* j)
{
if (j->error())
{
@@ -194,7 +194,7 @@ namespace kt
}
else
{
- KIO::StoredTransferJob* stj = (KIO::StoredTransferJob*)j;
+ TDEIO::StoredTransferJob* stj = (TDEIO::StoredTransferJob*)j;
Torrent tor;
// try to load the torrent
@@ -225,8 +225,8 @@ namespace kt
if (!tor_url.isLocalFile())
{
// download the torrent file
- KIO::StoredTransferJob* j = KIO::storedGet(tor_url);
- connect(j,TQT_SIGNAL(result(KIO::Job* )),this,TQT_SLOT(onTorrentGetReult(KIO::Job*)));
+ TDEIO::StoredTransferJob* j = TDEIO::storedGet(tor_url);
+ connect(j,TQT_SIGNAL(result(TDEIO::Job* )),this,TQT_SLOT(onTorrentGetReult(TDEIO::Job*)));
}
else
{
diff --git a/plugins/partfileimport/importdialog.h b/plugins/partfileimport/importdialog.h
index 4a34483..1f1a82a 100644
--- a/plugins/partfileimport/importdialog.h
+++ b/plugins/partfileimport/importdialog.h
@@ -33,7 +33,7 @@ namespace bt
class Torrent;
}
-namespace KIO
+namespace TDEIO
{
class Job;
}
@@ -54,7 +54,7 @@ namespace kt
public slots:
void onImport();
- void onTorrentGetReult(KIO::Job* j);
+ void onTorrentGetReult(TDEIO::Job* j);
private:
void writeIndex(const TQString & file,const bt::BitSet & chunks);