summaryrefslogtreecommitdiffstats
path: root/plugins/partfileimport
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:12:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:12:44 -0600
commitd46a1fe34693137bbc38a0a79593af420ea0914b (patch)
tree038dbf461083bda9b7a6398908572591a80012d3 /plugins/partfileimport
parent604bf3f969d880708ea9a1affce0b304c29e6ff5 (diff)
downloadktorrent-d46a1fe34693137bbc38a0a79593af420ea0914b.tar.gz
ktorrent-d46a1fe34693137bbc38a0a79593af420ea0914b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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);