summaryrefslogtreecommitdiffstats
path: root/kate/xmltools/plugin_katexmltools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/xmltools/plugin_katexmltools.cpp')
-rw-r--r--kate/xmltools/plugin_katexmltools.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kate/xmltools/plugin_katexmltools.cpp b/kate/xmltools/plugin_katexmltools.cpp
index 06c1cf9..90108e1 100644
--- a/kate/xmltools/plugin_katexmltools.cpp
+++ b/kate/xmltools/plugin_katexmltools.cpp
@@ -484,22 +484,22 @@ void PluginKateXMLTools::getDTD()
m_docToAssignTo = kv->document();
TQApplication::setOverrideCursor( KCursor::waitCursor() );
- KIO::Job *job = KIO::get( url );
- connect( job, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SLOT(slotFinished(KIO::Job *)) );
- connect( job, TQT_SIGNAL(data(KIO::Job *, const TQByteArray &)),
- this, TQT_SLOT(slotData(KIO::Job *, const TQByteArray &)) );
+ TDEIO::Job *job = TDEIO::get( url );
+ connect( job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotFinished(TDEIO::Job *)) );
+ connect( job, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
+ this, TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &)) );
}
kdDebug()<<"XMLTools::getDTD: Documents: "<<m_docDtds.count()<<", DTDs: "<<m_dtds.count()<<endl;
}
-void PluginKateXMLTools::slotFinished( KIO::Job *job )
+void PluginKateXMLTools::slotFinished( TDEIO::Job *job )
{
if( job->error() )
{
//kdDebug() << "XML Plugin error: DTD in XML format (" << filename << " ) could not be loaded" << endl;
job->showErrorDialog( 0 );
}
- else if ( static_cast<KIO::TransferJob *>(job)->isErrorPage() )
+ else if ( static_cast<TDEIO::TransferJob *>(job)->isErrorPage() )
{
// catch failed loading loading via http:
KMessageBox::error(0, i18n("The file '%1' could not be opened. "
@@ -521,7 +521,7 @@ void PluginKateXMLTools::slotFinished( KIO::Job *job )
TQApplication::restoreOverrideCursor();
}
-void PluginKateXMLTools::slotData( KIO::Job *, const TQByteArray &data )
+void PluginKateXMLTools::slotData( TDEIO::Job *, const TQByteArray &data )
{
m_dtdString += TQString( data );
}