diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:28:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:28:24 -0600 |
commit | 20de04ce44f63fb911103d7870d39d2782d14cda (patch) | |
tree | bddd13cef2fae98892caf538dc64b5357732c517 /kate/xmltools | |
parent | 4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff) | |
download | tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kate/xmltools')
-rw-r--r-- | kate/xmltools/plugin_katexmltools.cpp | 14 | ||||
-rw-r--r-- | kate/xmltools/plugin_katexmltools.h | 4 |
2 files changed, 9 insertions, 9 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 ); } diff --git a/kate/xmltools/plugin_katexmltools.h b/kate/xmltools/plugin_katexmltools.h index 450a1b7..56fff4e 100644 --- a/kate/xmltools/plugin_katexmltools.h +++ b/kate/xmltools/plugin_katexmltools.h @@ -69,8 +69,8 @@ class PluginKateXMLTools : public Kate::Plugin, Kate::PluginViewInterface void completionDone( KTextEditor::CompletionEntry completionEntry ); void completionAborted(); - void slotFinished( KIO::Job *job ); - void slotData( KIO::Job *, const TQByteArray &data ); + void slotFinished( TDEIO::Job *job ); + void slotData( TDEIO::Job *, const TQByteArray &data ); void backspacePressed(); void emptyKeyEvent(); |