diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/scripting/scriptingglobalconfig.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/scripting/scriptingglobalconfig.cpp')
-rw-r--r-- | parts/scripting/scriptingglobalconfig.cpp | 6 |
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(); |