summaryrefslogtreecommitdiffstats
path: root/ksvg/impl
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:33:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:33:36 -0600
commit3c5631f74d1c75204f950140331e10f739082ee9 (patch)
treea2811ff6c81d3c771745cde47734e65b1da3d806 /ksvg/impl
parent6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef (diff)
downloadtdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.tar.gz
tdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'ksvg/impl')
-rw-r--r--ksvg/impl/SVGColorProfileElementImpl.cc4
-rw-r--r--ksvg/impl/SVGScriptElementImpl.cc10
-rw-r--r--ksvg/impl/SVGScriptElementImpl.h6
3 files changed, 10 insertions, 10 deletions
diff --git a/ksvg/impl/SVGColorProfileElementImpl.cc b/ksvg/impl/SVGColorProfileElementImpl.cc
index 7890f07e..85e3c035 100644
--- a/ksvg/impl/SVGColorProfileElementImpl.cc
+++ b/ksvg/impl/SVGColorProfileElementImpl.cc
@@ -186,7 +186,7 @@ bool SVGColorProfileElementImpl::canLoad(bool remote, bool &tempFile, TQString &
{
if(remote)
{
- if(KIO::NetAccess::download(file, open, 0))
+ if(TDEIO::NetAccess::download(file, open, 0))
tempFile = true;
}
}
@@ -218,7 +218,7 @@ bool SVGColorProfileElementImpl::loadColorProfile()
m_loaded = true;
if(tempFile)
- KIO::NetAccess::removeTempFile(open);
+ TDEIO::NetAccess::removeTempFile(open);
return true;
}
diff --git a/ksvg/impl/SVGScriptElementImpl.cc b/ksvg/impl/SVGScriptElementImpl.cc
index c7e6994e..b7ddf420 100644
--- a/ksvg/impl/SVGScriptElementImpl.cc
+++ b/ksvg/impl/SVGScriptElementImpl.cc
@@ -73,20 +73,20 @@ void SVGScriptElementImpl::setAttributes()
KURL url(ownerDoc()->baseUrl(), href);
if(m_job == 0)
- m_job = KIO::get(url, false, false);
+ m_job = TDEIO::get(url, false, false);
- connect(m_job, TQT_SIGNAL(data(KIO::Job *, const TQByteArray &)), this, TQT_SLOT(slotData(KIO::Job *, const TQByteArray &)));
- connect(m_job, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SLOT(slotResult(KIO::Job *)));
+ connect(m_job, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)), this, TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &)));
+ connect(m_job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotResult(TDEIO::Job *)));
}
}
-void SVGScriptElementImpl::slotData(KIO::Job *, const TQByteArray &data)
+void SVGScriptElementImpl::slotData(TDEIO::Job *, const TQByteArray &data)
{
TQDataStream dataStream(m_data, IO_WriteOnly | IO_Append);
dataStream.writeRawBytes(data.data(), data.size());
}
-void SVGScriptElementImpl::slotResult(KIO::Job *)
+void SVGScriptElementImpl::slotResult(TDEIO::Job *)
{
m_job = 0;
diff --git a/ksvg/impl/SVGScriptElementImpl.h b/ksvg/impl/SVGScriptElementImpl.h
index 560873e7..72c75506 100644
--- a/ksvg/impl/SVGScriptElementImpl.h
+++ b/ksvg/impl/SVGScriptElementImpl.h
@@ -58,11 +58,11 @@ public:
static bool executeScript(DOM::Node node, SVGDocumentImpl *document, const TQString &text);
private slots:
- void slotData(KIO::Job *, const TQByteArray &);
- void slotResult(KIO::Job *);
+ void slotData(TDEIO::Job *, const TQByteArray &);
+ void slotResult(TDEIO::Job *);
private:
- KIO::TransferJob *m_job;
+ TDEIO::TransferJob *m_job;
TQByteArray m_data;
TQString m_text;
bool m_added;