summaryrefslogtreecommitdiffstats
path: root/kate/filelistloader
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:24 -0600
commit20de04ce44f63fb911103d7870d39d2782d14cda (patch)
treebddd13cef2fae98892caf538dc64b5357732c517 /kate/filelistloader
parent4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff)
downloadtdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz
tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kate/filelistloader')
-rw-r--r--kate/filelistloader/katefll_initplugin.cpp4
-rw-r--r--kate/filelistloader/katefll_plugin.cpp10
-rw-r--r--kate/filelistloader/katefll_plugin.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/kate/filelistloader/katefll_initplugin.cpp b/kate/filelistloader/katefll_initplugin.cpp
index 1bfecb6..ccc8afa 100644
--- a/kate/filelistloader/katefll_initplugin.cpp
+++ b/kate/filelistloader/katefll_initplugin.cpp
@@ -50,7 +50,7 @@ int InitPluginKateFileListLoader::initKate()
{
TQString tmpFile;
KURL tmpURL;
- if( KIO::NetAccess::download( configScript(), tmpFile ) )
+ if( TDEIO::NetAccess::download( configScript(), tmpFile ) )
{
TQFile file(tmpFile);
file.open(IO_ReadOnly);
@@ -72,7 +72,7 @@ int InitPluginKateFileListLoader::initKate()
file.close();
- KIO::NetAccess::removeTempFile( tmpFile );
+ TDEIO::NetAccess::removeTempFile( tmpFile );
} else application()->documentManager()->openURL(KURL());
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 );
}
diff --git a/kate/filelistloader/katefll_plugin.h b/kate/filelistloader/katefll_plugin.h
index 699b45f..dc5a85b 100644
--- a/kate/filelistloader/katefll_plugin.h
+++ b/kate/filelistloader/katefll_plugin.h
@@ -59,7 +59,7 @@ class PluginKateFileListLoader : public Kate::Plugin, Kate::PluginViewInterface
private:
TQPtrList<class PluginView> m_views;
KRecentFilesAction *m_recentFiles;
- KConfig* m_config;
+ TDEConfig* m_config;
KURL m_oldInitURL;
KURL m_saveURL;
bool m_saveAs;