summaryrefslogtreecommitdiffstats
path: root/parts/scripting/scriptingglobalconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/scripting/scriptingglobalconfig.cpp')
-rw-r--r--parts/scripting/scriptingglobalconfig.cpp4
1 files changed, 2 insertions, 2 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