summaryrefslogtreecommitdiffstats
path: root/parts/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'parts/scripting')
-rw-r--r--parts/scripting/scriptingglobalconfig.cpp4
-rw-r--r--parts/scripting/scriptingpart.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/parts/scripting/scriptingglobalconfig.cpp b/parts/scripting/scriptingglobalconfig.cpp
index 78749465..45d005a3 100644
--- a/parts/scripting/scriptingglobalconfig.cpp
+++ b/parts/scripting/scriptingglobalconfig.cpp
@@ -28,7 +28,7 @@ scriptingGlobalConfig::scriptingGlobalConfig(scriptingPart *part, TQWidget *pare
: scriptingGlobalConfigBase(parent, name), m_part(part)
{
// read kconfig and post list to the m_dirs
- KConfig *cfg = kapp->config();
+ TDEConfig *cfg = kapp->config();
TQStringList searchDirs = cfg->readListEntry("SearchDirs");
m_dirs->clear();
m_dirs->insertStringList(searchDirs);
@@ -37,7 +37,7 @@ scriptingGlobalConfig::scriptingGlobalConfig(scriptingPart *part, TQWidget *pare
void scriptingGlobalConfig::accept()
{
// read mdirs and save to kconfig
- KConfig *cfg = kapp->config();
+ TDEConfig *cfg = kapp->config();
if( !m_dirs->isEnabled() )
cfg->writeEntry("SearchDirs", TQStringList() );
else
diff --git a/parts/scripting/scriptingpart.cpp b/parts/scripting/scriptingpart.cpp
index 496746b2..f12625f8 100644
--- a/parts/scripting/scriptingpart.cpp
+++ b/parts/scripting/scriptingpart.cpp
@@ -79,11 +79,11 @@ void scriptingPart::init()
void scriptingPart::setupActions()
{
kdDebug() << "Load plugins" << endl;
- // Read KConfig and get the list of custom directories.
+ // Read TDEConfig and get the list of custom directories.
TQStringList searchDirs;
searchDirs += "kate/scripts";
- KConfig *cfg = kapp->config();
+ TDEConfig *cfg = kapp->config();
searchDirs += cfg->readListEntry("SearchDirs");
unplugActionList(TQString::fromLatin1( "script_actions" ));