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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/parts/scripting/scriptingglobalconfig.cpp b/parts/scripting/scriptingglobalconfig.cpp
index e4076d15..78749465 100644
--- a/parts/scripting/scriptingglobalconfig.cpp
+++ b/parts/scripting/scriptingglobalconfig.cpp
@@ -24,12 +24,12 @@
#include <keditlistbox.h>
#include <kapplication.h>
#include <kconfig.h>
-scriptingGlobalConfig::scriptingGlobalConfig(scriptingPart *part, QWidget *parent, const char *name)
+scriptingGlobalConfig::scriptingGlobalConfig(scriptingPart *part, TQWidget *parent, const char *name)
: scriptingGlobalConfigBase(parent, name), m_part(part)
{
// read kconfig and post list to the m_dirs
KConfig *cfg = kapp->config();
- QStringList searchDirs = cfg->readListEntry("SearchDirs");
+ TQStringList searchDirs = cfg->readListEntry("SearchDirs");
m_dirs->clear();
m_dirs->insertStringList(searchDirs);
}
@@ -39,7 +39,7 @@ void scriptingGlobalConfig::accept()
// read mdirs and save to kconfig
KConfig *cfg = kapp->config();
if( !m_dirs->isEnabled() )
- cfg->writeEntry("SearchDirs", QStringList() );
+ cfg->writeEntry("SearchDirs", TQStringList() );
else
cfg->writeEntry("SearchDirs", m_dirs->items() );
m_part->setupActions();