summaryrefslogtreecommitdiffstats
path: root/parts/tools/tools_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/tools/tools_part.cpp')
-rw-r--r--parts/tools/tools_part.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index e7de47d9..b414fbbb 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -90,7 +90,7 @@ void ToolsPart::updateMenu()
unplugActionList("tools_list");
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("Tools");
TQStringList list = config->readListEntry("Tools");
@@ -167,7 +167,7 @@ void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName)
void ToolsPart::updateToolsMenu()
{
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("External Tools");
TQStringList l = config->readListEntry("Tool Menu");
@@ -176,7 +176,7 @@ void ToolsPart::updateToolsMenu()
TQStringList::ConstIterator it;
for (it = l.begin(); it != l.end(); ++it) {
TQString menutext = *it;
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("Tool Menu " + menutext);
bool isdesktopfile = config->readBoolEntry("DesktopFile");
KAction *action = new KAction(*it, 0,
@@ -204,7 +204,7 @@ void ToolsPart::contextMenu(TQPopupMenu *popup, const Context *context)
m_contextFileName = fcontext->urls().first().path();
externalToolMenuEntries.clear();
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("External Tools");
TQStringList filecontextList = config->readListEntry("File Context");
@@ -225,7 +225,7 @@ void ToolsPart::contextMenu(TQPopupMenu *popup, const Context *context)
void ToolsPart::toolsMenuActivated()
{
TQString menutext = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name();
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("Tool Menu " + menutext);
TQString cmdline = config->readPathEntry("CommandLine");
bool isdesktopfile = config->readBoolEntry("DesktopFile");
@@ -244,7 +244,7 @@ void ToolsPart::fileContextActivated(int id)
{
TQString menutext = externalToolMenuEntries[ id ];
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("File Context " + menutext);
TQString cmdline = config->readPathEntry("CommandLine");
bool captured = config->readBoolEntry("Captured");
@@ -259,7 +259,7 @@ void ToolsPart::dirContextActivated(int id)
{
TQString menutext = externalToolMenuEntries[ id ];
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("Dir Context " + menutext);
TQString cmdline = config->readPathEntry("CommandLine");
bool captured = config->readBoolEntry("Captured");