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/filelistloader/katefll_plugin.cpp | |
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/filelistloader/katefll_plugin.cpp')
-rw-r--r-- | kate/filelistloader/katefll_plugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/filelistloader/katefll_plugin.cpp b/kate/filelistloader/katefll_plugin.cpp index e0a20f1..deec021 100644 --- a/kate/filelistloader/katefll_plugin.cpp +++ b/kate/filelistloader/katefll_plugin.cpp @@ -44,7 +44,7 @@ class PluginView : public KXMLGUIClient PluginKateFileListLoader::PluginKateFileListLoader (TQObject * parent, const char *name, const TQStringList) : Plugin((Kate::Application*)parent,name), PluginViewInterface(), - m_config( new KConfig("katefilelistpluginrc") ) + m_config( new TDEConfig("katefilelistpluginrc") ) { m_config->setGroup("General"); updateInit(); @@ -141,7 +141,7 @@ void PluginKateFileListLoader::slotOpenList() void PluginKateFileListLoader::slotOpenList(const KURL& url) { - if ( url.isValid() && KIO::NetAccess::exists(url, false, 0) ) + if ( url.isValid() && TDEIO::NetAccess::exists(url, false, 0) ) { addURLToList( url ); if ( KMessageBox::questionYesNo (0, @@ -152,7 +152,7 @@ void PluginKateFileListLoader::slotOpenList(const KURL& url) application()->documentManager()->closeAllDocuments(); TQString tmpFile; - if( KIO::NetAccess::download( url, tmpFile, 0 ) ) + if( TDEIO::NetAccess::download( url, tmpFile, 0 ) ) { TQFile file(tmpFile); file.open(IO_ReadOnly); @@ -171,7 +171,7 @@ void PluginKateFileListLoader::slotOpenList(const KURL& url) if ( ! tmp.isEmpty() ) application()->activeMainWindow()->viewManager()->openURL(tmp); - KIO::NetAccess::removeTempFile( tmpFile ); + TDEIO::NetAccess::removeTempFile( tmpFile ); } else application()->documentManager()->openURL(KURL()); } else @@ -223,7 +223,7 @@ void PluginKateFileListLoader::save() *file.textStream()<<application()->documentManager()->document(i)->url().url()<<endl; } file.close(); - KIO::NetAccess::upload(file.name(), m_saveURL, 0); + TDEIO::NetAccess::upload(file.name(), m_saveURL, 0); file.unlink(); addURLToList( m_saveURL ); } |