summaryrefslogtreecommitdiffstats
path: root/atlantik/client/monopigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/client/monopigator.cpp')
-rw-r--r--atlantik/client/monopigator.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/atlantik/client/monopigator.cpp b/atlantik/client/monopigator.cpp
index 7e0a834d..178c1a54 100644
--- a/atlantik/client/monopigator.cpp
+++ b/atlantik/client/monopigator.cpp
@@ -45,7 +45,7 @@ void Monopigator::loadData(const KURL &url)
m_downloadData->open(IO_WriteOnly);
m_downloadData->reset();
- m_job = KIO::get(url, true, false);
+ m_job = TDEIO::get(url, true, false);
m_job->addMetaData(TQString::fromLatin1("UserAgent"), TQString::fromLatin1("Atlantik/" ATLANTIK_VERSION_STRING));
if (!m_timer)
@@ -54,18 +54,18 @@ void Monopigator::loadData(const KURL &url)
m_timer->start(10000, true);
}
- connect(m_job, TQT_SIGNAL(data(KIO::Job *, const TQByteArray &)), TQT_SLOT(slotData(KIO::Job *, const TQByteArray &)));
- connect(m_job, TQT_SIGNAL(result(KIO::Job *)), TQT_SLOT(slotResult(KIO::Job *)));
+ connect(m_job, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)), TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &)));
+ connect(m_job, TQT_SIGNAL(result(TDEIO::Job *)), TQT_SLOT(slotResult(TDEIO::Job *)));
connect(m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout()));
}
-void Monopigator::slotData(KIO::Job *, const TQByteArray &data)
+void Monopigator::slotData(TDEIO::Job *, const TQByteArray &data)
{
m_timer->stop();
m_downloadData->writeBlock(data.data(), data.size());
}
-void Monopigator::slotResult(KIO::Job *job)
+void Monopigator::slotResult(TDEIO::Job *job)
{
processData(m_downloadData->buffer(), !job->error());
m_job = 0;